forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -16,6 +16,14 @@
1616 model = "Rockchip RK3568 EVB1 DDR4 V10 Board";
1717 compatible = "rockchip,rk3568-evb1-ddr4-v10", "rockchip,rk3568";
1818
19
+ rk_headset: rk-headset {
20
+ compatible = "rockchip_headset";
21
+ headset_gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_LOW>;
22
+ spk_ctl_gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_LOW>;//AMP_SD_GPIO4_C2_3V3
23
+ pinctrl-names = "default";
24
+ pinctrl-0 = <&hp_det>;
25
+ };
26
+
1927 vcc2v5_sys: vcc2v5-ddr {
2028 compatible = "regulator-fixed";
2129 regulator-name = "vcc2v5-sys";
....@@ -26,15 +34,6 @@
2634 vin-supply = <&vcc3v3_sys>;
2735 };
2836
29
- vcc3v3_vga: vcc3v3-vga {
30
- compatible = "regulator-fixed";
31
- regulator-name = "vcc3v3_vga";
32
- regulator-always-on;
33
- regulator-boot-on;
34
- gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
35
- enable-active-high;
36
- vin-supply = <&vcc3v3_sys>;
37
- };
3837
3938 pcie30_avdd0v9: pcie30-avdd0v9 {
4039 compatible = "regulator-fixed";
....@@ -61,7 +60,9 @@
6160 regulator-name = "vcc3v3_pcie";
6261 regulator-min-microvolt = <3300000>;
6362 regulator-max-microvolt = <3300000>;
63
+ regulator-always-on;
6464 enable-active-high;
65
+ regulator-boot-on;
6566 gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
6667 startup-delay-us = <5000>;
6768 vin-supply = <&dc_12v>;
....@@ -86,8 +87,25 @@
8687 enable-active-high;
8788 regulator-always-on;
8889 regulator-boot-on;
89
- };
90
+ };
9091 #endif
92
+
93
+ leds: leds {
94
+ compatible = "gpio-leds";
95
+ sig_led: sig_led {
96
+ gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
97
+ default-state = "on";
98
+ };
99
+ };
100
+
101
+ leds: leds {
102
+ compatible = "gpio-leds";
103
+ err_led: err_led {
104
+ gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
105
+ default-state = "on";
106
+ };
107
+ };
108
+
91109
92110 ndj_io_init {
93111 compatible = "nk_io_control";
....@@ -106,8 +124,18 @@
106124 gpio_function = <0>;
107125 };
108126
109
- hub_host2_rst {
110
- gpio_num = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; //HUB_RST_GPIO4_D2_3V3
127
+ vcc_3.3v {
128
+ gpio_num = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
129
+ gpio_function = <0>;
130
+ };
131
+
132
+ ax88772_rst {
133
+ gpio_num = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>; //AX88772_RST_GPIO3_B5_3V3
134
+ gpio_function = <3>;
135
+ };
136
+
137
+ ax88631_rst {
138
+ gpio_num = <&gpio3 RK_PB6 GPIO_ACTIVE_HIGH>; //AX88772_RST_GPIO3_B6_3V3
111139 gpio_function = <3>;
112140 };
113141
....@@ -136,22 +164,15 @@
136164 gpio_function = <0>;
137165 };
138166
139
- hp_en {
140
- gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3
167
+ //gpio99 {
168
+ // gpio_num = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;//HP_EN_GPIO3_A6_3V3
169
+ // gpio_function = <1>;
170
+ //};
171
+
172
+ wifi_power_en {
173
+ gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
141174 gpio_function = <0>;
142175 };
143
-
144
- usb_ogt {
145
- gpio_num = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; //OTG_EN_OC_GPIO0_C2
146
- gpio_function = <0>;
147
- };
148
-
149
- m2_wifi_pwr {
150
- gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;//WIFI_PWREN_GPIO3_C6_1V8
151
- gpio_function = <0>;
152
- };
153
-
154
-
155176 #if 0
156177 do1 {
157178 gpio_num = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>;
....@@ -193,19 +214,44 @@
193214 gpio_function = <1>;
194215 };
195216 #endif
196
- };
197
-
198
- panel: panel {
217
+ };
218
+#if 0
219
+ nk_io_init {
220
+ compatible = "nk_io_control";
221
+// vcc3_io_en_gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
222
+ hub_host2_5V_rest_gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; //HUB_RST_GPIO4_D2_3V3
223
+ hub_host3_5v_gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; //HOST3_EN_GPIO4_B2_1V8
224
+ vcc_5v_io = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
225
+ vcc_12v_io = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; //VCC12_IO_EN_GPIO0_C7_3V3
226
+ en_4g_gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; //4G_PWREN_H_GPIO0_C6
227
+ reset_4g_gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; //4G_RST_GPIO01_B2_3V3
228
+ air_mode_4g_gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; //4G_AIR_MODE_GPIO01_B0_3V3
229
+ wake_4g_gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; //4G_WAKEUP_GPIO01_B1_3V3
230
+ hp_en_gpio = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3
231
+// spk_out_gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;//AMP_SD_GPIO4_C2_3V3
232
+ wifi_power_en_gpio = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
233
+// pcie_power_en_gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;//PCIE_PWREN_H_GPIO0_D4
234
+ pinctrl-names = "default";
235
+ pinctrl-0 = <&nk_io_gpio>;
236
+ };
237
+#endif
238
+ panel: panel {
199239 compatible = "simple-panel";
200240 backlight = <&backlight>;
201241 power-supply = <&vcc3v3_lcd0_n>;
202
- enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4
203
- edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_PWBLK_H_GPIO0_B7
242
+ enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4
243
+ reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>; //7511_RST_GPIO3_D1
244
+ edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3
204245 edp-bl-en = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3
205246 bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
206247 bpc = <8>;
207248 prepare-delay-ms = <200>;
208249 enable-delay-ms = <20>;
250
+ lvds-gpio0 = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; //7511_GPIO0-GPIO3_D2
251
+ lvds-gpio1 = <&gpio3 RK_PD3 GPIO_ACTIVE_HIGH>; //7511_GPIO1-GPIO3_D3
252
+ lvds-gpio2 = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>; //7511_GPIO2-GPIO3_D4
253
+ lvds-gpio3 = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; //7511_GPIO3-GPIO3_D5
254
+ nodka-lvds = <15>;
209255
210256 display-timings {
211257 native-mode = <&timing>;
....@@ -293,6 +339,10 @@
293339 * video_phy0 needs to be enabled
294340 * when dsi0 is enabled
295341 */
342
+&video_phy0 {
343
+ status = "disabled";
344
+};
345
+
296346 &dsi0 {
297347 status = "disabled";
298348 };
....@@ -313,6 +363,10 @@
313363 * video_phy1 needs to be enabled
314364 * when dsi1 is enabled
315365 */
366
+
367
+&video_phy1 {
368
+ status = "disabled";
369
+};
316370 &dsi1 {
317371 status = "disabled";
318372 };
....@@ -326,48 +380,111 @@
326380 };
327381
328382 &dsi1_panel {
329
- power-supply = <&vcc3v3_lcd1_n>;
383
+// power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3
384
+ vddio-mipi = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; //MIPI_EN_1V8_GPIO3_A4_d_3V3
385
+ reset-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; //MIPI_RST_L_GPIO3_C7
386
+ vcc-5v-gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
387
+ pinctrl-names = "default";
388
+ pinctrl-0 = <&lcd1_rst_gpio>;
330389 };
331390
391
+&route_dsi1 {
392
+ status = "disabled";
393
+ connect = <&vp1_out_dsi1>;
394
+};
395
+
396
+
397
+/*
398
+* edp_start
399
+*/
400
+
332401 &edp {
333
- //hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
334402 force-hpd;
403
+ status = "disabled";
404
+};
405
+
406
+&edp_phy {
407
+ status = "disabled";
408
+};
409
+
410
+&edp_in_vp0 {
335411 status = "disabled";
336412 };
337413
414
+&edp_in_vp1 {
415
+ status = "disabled";
416
+
417
+};
418
+
419
+&route_edp {
420
+ status = "disabled";
421
+ connect = <&vp1_out_edp>;
422
+};
423
+
424
+&route_edp {
425
+ status = "disabled";
426
+};
427
+
338428 &lvds {
339
- status = "okay";
340
- ports {
341
- port@1 {
342
- reg = <1>;
343
- lvds_out: endpoint {
344
- remote-endpoint = <&panel_in_lvds>;
345
- };
346
- };
347
-
429
+ status = "disabled";
430
+ ports {
431
+ port@1 {
432
+ reg = <1>;
433
+ lvds_out:endpoint {
434
+ remote-endpoint = <&panel_in_lvds>;
435
+ };
436
+ };
348437 };
349438 };
350439
351440 &route_lvds{
352
- status = "okay";
353
- connect = <&vp2_out_lvds>;
354
-};
355
-
356
-&lvds_in_vp2 {
357441 status = "okay";
442
+ connect = <&vp1_out_lvds>;
358443 };
359444
360
-&edp_phy {
361
- status = "okay";
362
-};
363
-
364
-&edp_in_vp0 {
445
+&lvds_in_vp1 {
365446 status = "disabled";
366447 };
367448
368
-&edp_in_vp1 {
449
+/*
450
+* edp_end
451
+*/
452
+
453
+/*
454
+* Hdmi_start
455
+*/
456
+
457
+&hdmi {
458
+ status = "okay";
459
+ rockchip,phy-table =
460
+ <92812500 0x8009 0x0000 0x0270>,
461
+ <165000000 0x800b 0x0000 0x026d>,
462
+ <185625000 0x800b 0x0000 0x01ed>,
463
+ <297000000 0x800b 0x0000 0x01ad>,
464
+ <594000000 0x8029 0x0000 0x0088>,
465
+ <000000000 0x0000 0x0000 0x0000>;
466
+};
467
+
468
+&route_hdmi {
469
+ status = "okay";
470
+ connect = <&vp0_out_hdmi>;
471
+};
472
+
473
+&hdmi_in_vp0 {
369474 status = "okay";
370475 };
476
+
477
+&hdmi_in_vp1 {
478
+ status = "disabled";
479
+};
480
+
481
+&hdmi_sound {
482
+ status = "okay";
483
+};
484
+
485
+/*
486
+ * Hdmi_END
487
+*/
371488
372489 &gmac0 {
373490 phy-mode = "rgmii";
....@@ -394,7 +511,7 @@
394511
395512 phy-handle = <&rgmii_phy0>;
396513
397
- status = "okay";
514
+ status = "disabled";
398515
399516 };
400517
....@@ -460,7 +577,6 @@
460577 reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>;
461578 pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;
462579 rockchip,grf = <&grf>;
463
- power-domains = <&power RK3568_PD_VI>;
464580 rockchip,camera-module-index = <0>;
465581 rockchip,camera-module-facing = "back";
466582 rockchip,camera-module-name = "RK-CMK-8M-2-v1";
....@@ -517,6 +633,19 @@
517633 };
518634 };
519635
636
+&i2c5 {
637
+ status = "okay";
638
+
639
+ hym8563: hym8563@51 {
640
+ compatible = "haoyu,hym8563";
641
+ reg = <0x51>;
642
+ #clock-cells = <0>;
643
+ clock-frequency = <32768>;
644
+ clock-output-names = "xin32k";
645
+ /* rtc_int is not connected */
646
+ };
647
+};
648
+
520649 &mdio0 {
521650 rgmii_phy0: phy@0 {
522651 compatible = "ethernet-phy-ieee802.3-c22";
....@@ -531,16 +660,10 @@
531660 };
532661 };
533662
534
-&video_phy0 {
535
- status = "okay";
536
-};
537663
538
-&video_phy1 {
539
- status = "disabled";
540
-};
541664
542665 &pcie30phy {
543
- status = "okay";
666
+ status = "disabled";
544667 };
545668
546669 &pcie2x1 {
....@@ -549,33 +672,39 @@
549672 status = "okay";
550673 };
551674
552
-&pcie3x2 {
553
- reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
554
- vpcie3v3-supply = <&vcc3v3_pcie>;
555
- status = "disabled";
556
-};
557
-
558
-&pcie3x1 {
559
- rockchip,bifurcation;
560
- reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
561
- vpcie3v3-supply = <&vcc3v3_pcie>;
562
- status = "okay";
563
-};
564
-
565675 &pinctrl {
566
-
676
+// cam {
677
+// camera_pwr: camera-pwr {
678
+// rockchip,pins =
679
+// /* camera power en */
680
+// <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
681
+// };
682
+// };
567683 headphone {
568684 hp_det: hp-det {
569
- rockchip,pins = <3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
685
+ rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>,
686
+ <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
570687 };
571688 };
572689
573690 wireless-wlan {
574691 wifi_host_wake_irq: wifi-host-wake-irq {
575
- rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_down>;
692
+ rockchip,pins = <2 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>;
693
+ };
694
+ };
695
+
696
+ wireless-bluetooth {
697
+ uart1_gpios: uart1-gpios {
698
+ rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
576699 };
577700 };
578701
702
+ lcd1 {
703
+ lcd1_rst_gpio: lcd1-rst-gpio {
704
+ rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
705
+ };
706
+ };
707
+
579708 nk_io_init{
580709 nk_io_gpio: nk-io-gpio{
581710 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -585,7 +714,7 @@
585714 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
586715 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
587716 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
588
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
717
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
589718 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
590719 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
591720 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -593,18 +722,24 @@
593722 <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>,
594723 <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>,
595724 <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,
725
+ <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
726
+ <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
727
+ <3 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,
596728 <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>,
597
- <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3
598
- <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3
599
- <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3
600
- <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,//96 SPI2_CLK_M1_3V3
729
+ <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B0_u_3V3 DO1 8
730
+ <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B3_u_3V3 DO2 11
731
+ <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B4_u_3V3 DO3 12
732
+ <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B5_u_3V3 DO4 13
733
+ <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B6_u_3V3 DO5 14
734
+
735
+ <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C0_d_3V3 DI1 16
736
+ <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C1_d_3V3 DI2 17
737
+ <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C2_d_3V3 DI3 18
738
+ <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C3_d_3V3 DI4 19
739
+ <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C5_d_3V3 DI5 21
601740 <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
602741 };
603742 };
604
-};
605
-
606
-&rk809_sound {
607
- hp-det-gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
608743 };
609744
610745 &rkisp {
....@@ -629,36 +764,30 @@
629764 };
630765 };
631766
632
-&route_dsi0 {
633
- status = "disabled";
634
- connect = <&vp1_out_dsi0>;
635
-};
636767
637
-
638
-
639
-&route_edp {
640
- status = "disabled";
641
- connect = <&vp1_out_edp>;
642
-};
643768
644769 &sata2 {
645770 status = "okay";
646771 };
647772
648773 &sdmmc2 {
649
- max-frequency = <150000000>;
650
- supports-sdio;
651
- bus-width = <4>;
652
- disable-wp;
653
- cap-sd-highspeed;
654
- cap-sdio-irq;
655
- keep-power-in-suspend;
656
- mmc-pwrseq = <&sdio_pwrseq>;
657
- non-removable;
658
- pinctrl-names = "default";
659
- pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
660
- sd-uhs-sdr104;
661
- status = "okay";
774
+ status = "disabled";
775
+};
776
+
777
+&sdmmc1 {
778
+ max-frequency = <150000000>;
779
+ supports-sdio;
780
+ bus-width = <4>;
781
+ disable-wp;
782
+ cap-sd-highspeed;
783
+ cap-sdio-irq;
784
+ keep-power-in-suspend;
785
+ mmc-pwrseq = <&sdio_pwrseq>;
786
+ non-removable;
787
+ pinctrl-names = "default";
788
+ pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
789
+ sd-uhs-sdr104;
790
+ status = "okay";
662791 };
663792
664793 &spdif_8ch {
....@@ -673,15 +802,6 @@
673802 pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>;
674803 };
675804
676
-&vcc3v3_lcd0_n {
677
- gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
678
- enable-active-high;
679
-};
680
-
681
-&vcc3v3_lcd1_n {
682
- gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; //MIPI_3V3EN_GPIO3_A3_d_3V3
683
- enable-active-high;
684
-};
685805
686806 &wireless_wlan {
687807 pinctrl-names = "default";
....@@ -691,11 +811,21 @@
691811
692812 &wireless_bluetooth {
693813 compatible = "bluetooth-platdata";
814
+ clocks = <&rk809 1>;
815
+ clock-names = "ext_clock";
816
+ //wifi-bt-power-toggle;
817
+ uart_rts_gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
818
+ pinctrl-names = "default", "rts_gpio";
819
+ pinctrl-0 = <&uart1m0_rtsn>;
820
+ pinctrl-1 = <&uart1_gpios>;
821
+ BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
822
+ BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>;
823
+ BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>;
694824 status = "disabled";
695825 };
696826
697827 &uart0 {
698
- status = "okay";
828
+ status = "disabled";
699829 };
700830
701831 &uart1 {
....@@ -710,7 +840,7 @@
710840 };
711841
712842 &uart4 {
713
- status = "okay";
843
+ status = "disabled";
714844 pinctrl-0 = <&uart4m1_xfer>;
715845 };
716846
....@@ -719,12 +849,18 @@
719849 pinctrl-0 = <&uart5m1_xfer>;
720850 };
721851
852
+
722853 &uart7 {
723854 status = "okay";
724855 pinctrl-0 = <&uart7m1_xfer>;
725856 };
726857
858
+&uart8 {
859
+ status = "disabled";
860
+ pinctrl-0 = <&uart8m1_xfer>;
861
+};
862
+
727863 &uart9 {
728
- status = "okay";
864
+ status = "disabled";
729865 pinctrl-0 = <&uart9m1_xfer>;
730
-};
866
+};