p231: cannot open wifi. [2/2]
authorLuan Yuan <luan.yuan@amlogic.com>
Thu, 20 Jun 2019 11:32:22 +0000 (19:32 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 21 Jun 2019 05:37:21 +0000 (22:37 -0700)
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 <luan.yuan@amlogic.com>
arch/arm/boot/dts/amlogic/gxl_p231_1g.dts
arch/arm/boot/dts/amlogic/gxl_p231_2g.dts
arch/arm64/boot/dts/amlogic/gxl_p231_1g.dts
arch/arm64/boot/dts/amlogic/gxl_p231_2g.dts

index 320208c..e811080 100644 (file)
                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>;
index fce199f..a816fa2 100644 (file)
                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>;
index 3effc5a..0e4d538 100644 (file)
                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>;
index 2a80438..20528ff 100644 (file)
                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>;