dts: arm64: nanopi r76s fixing bluetooth issue causing reset of entire module (#395)

This commit is contained in:
SuperKali 2025-09-07 22:38:15 +02:00 committed by GitHub
parent af2a5e7041
commit e616b735ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {