Skip to content

Commit c18f24b

Browse files
authored
arm64: dts: rockchip: cm3s: use bcmdhd wifi driver (torvalds#157)
Signed-off-by: Ken Wang <[email protected]>
1 parent b931da4 commit c18f24b

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3s.dtsi

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,17 @@
9292
vin-supply = <&vcc_sys>;
9393
};
9494

95+
wireless_wlan: wireless-wlan {
96+
compatible = "wlan-platdata";
97+
wifi_chip_type = "ap6212";
98+
rockchip,grf = <&grf>;
99+
clock-names = "clk_wifi";
100+
pinctrl-names = "default";
101+
pinctrl-0 = <&wifi_host_wake_irq>;
102+
WIFI,host_wake_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
103+
status = "okay";
104+
};
105+
95106
sdio_pwrseq: sdio-pwrseq {
96107
compatible = "mmc-pwrseq-simple";
97108
clocks = <&rk817 1>;
@@ -525,18 +536,6 @@
525536
pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
526537
sd-uhs-sdr104;
527538
status = "okay";
528-
#address-cells = <1>;
529-
#size-cells = <0>;
530-
531-
brcmf: wifi@1 {
532-
compatible = "brcm,bcm4329-fmac";
533-
reg = <1>;
534-
interrupt-parent = <&gpio2>;
535-
interrupts = <RK_PC1 IRQ_TYPE_LEVEL_HIGH>;
536-
interrupt-names = "host-wake";
537-
pinctrl-names = "default";
538-
pinctrl-0 = <&wifi_host_wake_l>;
539-
};
540539
};
541540

542541
&uart1 {
@@ -680,13 +679,15 @@
680679
};
681680
};
682681

683-
wifi {
682+
sdio-pwrseq {
684683
wifi_enable_h: wifi-enable-h {
685684
rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
686685
};
686+
};
687687

688-
wifi_host_wake_l: wifi-host-wake-irq {
689-
rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
688+
wireless-wlan {
689+
wifi_host_wake_irq: wifi-host-wake-irq {
690+
rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
690691
};
691692
};
692693

0 commit comments

Comments
 (0)