p231: cannot open wifi. [2/2]
authorLuan Yuan <luan.yuan@amlogic.com>
Thu, 20 Jun 2019 11:32:22 +0000 (19:32 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 07:05:20 +0000 (15:05 +0800)
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 de8e236..a85e804 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 396c759..755c591 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 66e5c18..2428d41 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 9f90568..25ed89d 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>;