]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: Further describe the WiFi for the Pinephone Pro
authorPeter Robinson <pbrobinson@gmail.com>
Fri, 29 Aug 2025 11:38:24 +0000 (12:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 30 Aug 2025 12:11:41 +0000 (14:11 +0200)
Update the wake-up pin and associated interupt details for the
Pinephone Pro WiFi module. Details obtained from the published
PinephonePro-Schematic-V1.0-20211127.pdf page 19.

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

index 585ef0fd88ef052277c4d94c6175eea3080c9bec..a4031dc12e4888e9f1799b8bb3bb055fb3089220 100644 (file)
                };
        };
 
+       wifi {
+               wifi_host_wake_l: wifi-host-wake-l {
+                       rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
+               };
+       };
+
        wireless-bluetooth {
                bt_wake_pin: bt-wake-pin {
                        rockchip,pins = <2 RK_PD2 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 = <&gpio4>;
+               interrupts = <RK_PD0 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "host-wake";
+               pinctrl-names = "default";
+               pinctrl-0 = <&wifi_host_wake_l>;
+       };
 };
 
 &pwm0 {