From: Luan Yuan Date: Thu, 20 Jun 2019 11:32:22 +0000 (+0800) Subject: p231: cannot open wifi. [2/2] X-Git-Tag: khadas-vims-v0.9.6-release~336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58d0b3d5dab6534cbd8228568911c9c1589d1a3b;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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>;