]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: Further describe the WiFi for the Pinebook Pro
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 27 Aug 2025 14:30:37 +0000 (15:30 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 28 Aug 2025 12:42:10 +0000 (14:42 +0200)
Update the wake-up pin and associated interupt details for the
Pinebook Pro WiFi module.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20250827143040.1644867-1-pbrobinson@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts

index 5a8551d9ffe47e918abcbe1d46a893ba684fe9a5..191feaecf7bf140a025c9d2d57e0ebddceb50926 100644 (file)
                };
        };
 
+       wifi {
+               wifi_host_wake_l: wifi-host-wake-l {
+                       rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        wireless-bluetooth {
                bt_wake_pin: bt-wake-pin {
                        rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
        pinctrl-names = "default";
        pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
        sd-uhs-sdr104;
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
+
+       brcmf: wifi@1 {
+               compatible = "brcm,bcm4329-fmac";
+               reg = <1>;
+               interrupt-parent = <&gpio0>;
+               interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "host-wake";
+               pinctrl-names = "default";
+               pinctrl-0 = <&wifi_host_wake_l>;
+       };
 };
 
 &sdhci {