From 58d0b3d5dab6534cbd8228568911c9c1589d1a3b 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 de8e236..a85e804 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p231_1g.dts +++ b/arch/arm/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/arm/boot/dts/amlogic/gxl_p231_2g.dts b/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts index 396c759..755c591 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts +++ b/arch/arm/boot/dts/amlogic/gxl_p231_2g.dts @@ -162,6 +162,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 66e5c18..2428d41 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts @@ -162,6 +162,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 9f90568..25ed89d 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts @@ -162,6 +162,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>; -- 2.7.4