hc
2023-08-08 f92d6635abca482ea1018fed138d654cb14b2138
add bluetooth
1 files modified
15 ■■■■■ changed files
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi 15 ●●●●● patch | view | raw | blame | history
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -674,20 +674,25 @@
674674 clock-names = "ext_clock";
675675 //wifi-bt-power-toggle;
676676 uart_rts_gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
677
- BT,power_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
678677 pinctrl-names = "default", "rts_gpio";
679678 pinctrl-0 = <&uart1m0_rtsn>;
680679 pinctrl-1 = <&uart1_gpios>;
681
- BT,reset_gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>;
682
- BT,wake_gpio = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>;
683
- BT,wake_host_irq = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
684
- status = "disabled";
680
+ BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
681
+ BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
682
+ BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
683
+ status = "okay";
685684 };
686685
687686 &uart0 {
688687 status = "okay";
689688 };
690689
690
+&uart1 {
691
+ pinctrl-names = "default";
692
+ pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
693
+ status = "okay";
694
+};
695
+
691696 &uart3 {
692697 status = "okay";
693698 pinctrl-0 = <&uart3m1_xfer>;