Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
arm64: dts: rockchip: cm3s: use bcmdhd wifi driver (torvalds#157)
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Wang <ken@radxa.com.com>
  • Loading branch information
Ken-Vamrs authored Jul 19, 2023
1 parent b931da4 commit c18f24b
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@
vin-supply = <&vcc_sys>;
};

wireless_wlan: wireless-wlan {
compatible = "wlan-platdata";
wifi_chip_type = "ap6212";
rockchip,grf = <&grf>;
clock-names = "clk_wifi";
pinctrl-names = "default";
pinctrl-0 = <&wifi_host_wake_irq>;
WIFI,host_wake_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
status = "okay";
};

sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk817 1>;
Expand Down Expand Up @@ -525,18 +536,6 @@
pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
sd-uhs-sdr104;
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

brcmf: wifi@1 {
compatible = "brcm,bcm4329-fmac";
reg = <1>;
interrupt-parent = <&gpio2>;
interrupts = <RK_PC1 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "host-wake";
pinctrl-names = "default";
pinctrl-0 = <&wifi_host_wake_l>;
};
};

&uart1 {
Expand Down Expand Up @@ -680,13 +679,15 @@
};
};

wifi {
sdio-pwrseq {
wifi_enable_h: wifi-enable-h {
rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
};
};

wifi_host_wake_l: wifi-host-wake-irq {
rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
wireless-wlan {
wifi_host_wake_irq: wifi-host-wake-irq {
rockchip,pins = <2 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
};
};

Expand Down

0 comments on commit c18f24b

Please sign in to comment.