From 2f23fcccca35798d5a2ecc9f7e4973c6b47e2fbc Mon Sep 17 00:00:00 2001 From: Luan Yuan Date: Thu, 20 Jun 2019 19:32:22 +0800 Subject: [PATCH] p231: cannot open wifi. [2/2] PD#SWPL-10117 Problem: p231 can not enable wifi Solution: add pre-assign memory Verify: verify by p231 Change-Id: I10c11743033d049be2dbab0555d49f9e470d6f04 Signed-off-by: Luan Yuan --- arch/arm/boot/dts/amlogic/gxl_p231_1g.dts | 2 ++ arch/arm/boot/dts/amlogic/gxl_p231_2g.dts | 2 ++ arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts | 2 ++ arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts | 2 ++ 4 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/gxl_p231_1g.dts b/arch/arm/boot/dts/amlogic/gxl_p231_1g.dts index 5fdbc780e00e..91c214f123d3 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p231_1g.dts +++ b/arch/arm/boot/dts/amlogic/gxl_p231_1g.dts @@ -164,6 +164,8 @@ interrupt_pin = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>; irq_trigger_type = "GPIO_IRQ_LOW"; power_on_pin = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>; + //if use bcm wifi, config dhd_static_buf and 32k as bellow + dhd_static_buf; pinctrl-names = "default"; pinctrl-0 = <&wifi_32k_pins>; pwm_config = <&wifi_pwm_conf>; diff --git a/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts b/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts index 0a35a0dfe4f7..0ee4c7d8ebee 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts +++ b/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts @@ -163,6 +163,8 @@ interrupt_pin = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>; irq_trigger_type = "GPIO_IRQ_LOW"; power_on_pin = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>; + //if use bcm wifi, config dhd_static_buf and 32k as bellow + dhd_static_buf; pinctrl-names = "default"; pinctrl-0 = <&wifi_32k_pins>; pwm_config = <&wifi_pwm_conf>; diff --git a/arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts b/arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts index 7d8d55ab43b9..62dae97a00ea 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts @@ -163,6 +163,8 @@ interrupt_pin = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>; irq_trigger_type = "GPIO_IRQ_LOW"; power_on_pin = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>; + //if use bcm wifi, config dhd_static_buf and 32k as bellow + dhd_static_buf; pinctrl-names = "default"; pinctrl-0 = <&wifi_32k_pins>; pwm_config = <&wifi_pwm_conf>; diff --git a/arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts b/arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts index ba85a853779d..45648afb2ace 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts @@ -163,6 +163,8 @@ interrupt_pin = <&gpio GPIOX_7 GPIO_ACTIVE_HIGH>; irq_trigger_type = "GPIO_IRQ_LOW"; power_on_pin = <&gpio GPIOX_6 GPIO_ACTIVE_HIGH>; + //if use bcm wifi, config dhd_static_buf and 32k as bellow + dhd_static_buf; pinctrl-names = "default"; pinctrl-0 = <&wifi_32k_pins>; pwm_config = <&wifi_pwm_conf>;