diff --git a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts index 62bc63f68052..b80b98991b52 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-nanopi-r76s.dts @@ -175,6 +175,18 @@ regulator-max-microvolt = <12000000>; }; + wireless_bluetooth: wireless-bluetooth { + compatible = "bluetooth-platdata"; + uart_rts_gpios = <&gpio3 RK_PD4 GPIO_ACTIVE_LOW>; + pinctrl-names = "default", "rts_gpio"; + pinctrl-0 = <&uart5m0_rtsn>; + pinctrl-1 = <&uart5_gpios>; + BT,power_gpio = <&gpio3 RK_PC7 GPIO_ACTIVE_HIGH>; + //BT,wake_gpio = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>; + //BT,wake_host_irq = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + wireless_wlan: wireless-wlan { compatible = "wlan-platdata"; wifi_chip_type = "rtl8822cs"; @@ -403,6 +415,12 @@ }; }; + wireless-bluetooth { + uart5_gpios: uart5-gpios { + rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + wireless-wlan { wifi_host_wake_irq: wifi-host-wake-irq { rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>; @@ -567,15 +585,8 @@ &uart5 { pinctrl-names = "default"; - pinctrl-0 = <&uart5m0_xfer &uart5m0_ctsn &uart5m0_rtsn>; + pinctrl-0 = <&uart5m0_xfer &uart5m0_ctsn>; status = "okay"; - - bluetooth { - compatible = "realtek,rtl8822cs-bt"; - enable-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_HIGH>; - host-wake-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; - device-wake-gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>; - }; }; &uart6 {