forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-07-06 0d92c6001e626cf3cfa86b826ccc10a16115901e
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -585,6 +585,10 @@
585585 <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>,
586586 <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,
587587 <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>,
588
+ <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3
589
+ <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3
590
+ <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3
591
+ <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,//96 SPI2_CLK_M1_3V3
588592 <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
589593 };
590594 };
....@@ -674,20 +678,25 @@
674678 clock-names = "ext_clock";
675679 //wifi-bt-power-toggle;
676680 uart_rts_gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
677
- BT,power_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
678681 pinctrl-names = "default", "rts_gpio";
679682 pinctrl-0 = <&uart1m0_rtsn>;
680683 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";
684
+ BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
685
+ BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
686
+ BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
687
+ status = "okay";
685688 };
686689
687690 &uart0 {
688691 status = "okay";
689692 };
690693
694
+&uart1 {
695
+ pinctrl-names = "default";
696
+ pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
697
+ status = "okay";
698
+};
699
+
691700 &uart3 {
692701 status = "okay";
693702 pinctrl-0 = <&uart3m1_xfer>;