1 From 12c3ec878cbe3709782e85b88124abecc3bb8617 Mon Sep 17 00:00:00 2001
2 From: Jonas Karlman <jonas@kwiboo.se>
3 Date: Tue, 21 May 2024 21:10:16 +0000
4 Subject: [PATCH] arm64: dts: rockchip: Update WIFi/BT related nodes on
7 Update WiFi SDIO and BT UART related props to better reflect details
8 about the optional onboard RTL8723DS WiFi/BT module.
10 Also correct the compatible used for bluetooth to match the WiFi/BT
11 module used on the board.
13 Fixes: bc3753aed81f ("arm64: dts: rockchip: rock-pi-s add more peripherals")
14 Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
15 Link: https://lore.kernel.org/r/20240521211029.1236094-14-jonas@kwiboo.se
16 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
18 .../boot/dts/rockchip/rk3308-rock-pi-s.dts | 40 +++++++++++++++++--
19 1 file changed, 36 insertions(+), 4 deletions(-)
21 --- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
22 +++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
32 pinctrl-names = "default";
33 pinctrl-0 = <&rtc_32k>;
36 + bt_reg_on: bt-reg-on {
37 + rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
40 + bt_wake_host: bt-wake-host {
41 + rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
44 + host_wake_bt: host-wake-bt {
45 + rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
51 rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>;
55 keep-power-in-suspend;
56 - max-frequency = <1000000>;
57 + max-frequency = <100000000>;
58 mmc-pwrseq = <&sdio_pwrseq>;
64 + vmmc-supply = <&vcc_io>;
65 + vqmmc-supply = <&vcc_1v8>;
70 + interrupt-parent = <&gpio0>;
71 + interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>;
72 + interrupt-names = "host-wake";
73 + pinctrl-names = "default";
74 + pinctrl-0 = <&wifi_host_wake>;
87 - compatible = "realtek,rtl8723bs-bt";
88 - device-wake-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
89 + compatible = "realtek,rtl8723ds-bt";
90 + device-wake-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
91 + enable-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
92 host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
93 + pinctrl-names = "default";
94 + pinctrl-0 = <&bt_reg_on &bt_wake_host &host_wake_bt>;