hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
old mode 100755new mode 100644
....@@ -8,20 +8,12 @@
88
99 #include <dt-bindings/gpio/gpio.h>
1010 #include <dt-bindings/pinctrl/rockchip.h>
11
-#include <dt-bindings/display/media-bus-format.h>
1211 #include "rk3568.dtsi"
1312 #include "rk3568-evb.dtsi"
1413
1514 / {
1615 model = "Rockchip RK3568 EVB1 DDR4 V10 Board";
1716 compatible = "rockchip,rk3568-evb1-ddr4-v10", "rockchip,rk3568";
18
-
19
- rk_headset: rk-headset {
20
- compatible = "rockchip_headset";
21
- headset_gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_LOW>;
22
- pinctrl-names = "default";
23
- pinctrl-0 = <&hp_det>;
24
- };
2517
2618 vcc2v5_sys: vcc2v5-ddr {
2719 compatible = "regulator-fixed";
....@@ -33,6 +25,15 @@
3325 vin-supply = <&vcc3v3_sys>;
3426 };
3527
28
+ vcc3v3_vga: vcc3v3-vga {
29
+ compatible = "regulator-fixed";
30
+ regulator-name = "vcc3v3_vga";
31
+ regulator-always-on;
32
+ regulator-boot-on;
33
+ gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>;
34
+ enable-active-high;
35
+ vin-supply = <&vcc3v3_sys>;
36
+ };
3637
3738 pcie30_avdd0v9: pcie30-avdd0v9 {
3839 compatible = "regulator-fixed";
....@@ -59,9 +60,7 @@
5960 regulator-name = "vcc3v3_pcie";
6061 regulator-min-microvolt = <3300000>;
6162 regulator-max-microvolt = <3300000>;
62
- regulator-always-on;
6363 enable-active-high;
64
- regulator-boot-on;
6564 gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
6665 startup-delay-us = <5000>;
6766 vin-supply = <&dc_12v>;
....@@ -86,70 +85,107 @@
8685 enable-active-high;
8786 regulator-always-on;
8887 regulator-boot-on;
89
- };
88
+ };
9089 #endif
9190
92
- nk_io_init {
93
- compatible = "nk_io_control";
94
- vcc3_io_en_gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3
95
- hub_host2_5V_rest_gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; //HUB_RST_GPIO4_D2_3V3
96
- hub_host3_5v_gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; //HOST3_EN_GPIO4_B2_1V8
97
- vcc_5v_io = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
98
- vcc_12v_io = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; //VCC12_IO_EN_GPIO0_C7_3V3
99
- en_4g_gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; //4G_PWREN_H_GPIO0_C6
100
- reset_4g_gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>; //4G_RST_GPIO01_B2_3V3
101
- air_mode_4g_gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_HIGH>; //4G_AIR_MODE_GPIO01_B0_3V3
102
- wake_4g_gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; //4G_WAKEUP_GPIO01_B1_3V3
103
- hp_en_gpio = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3
104
- spk_out_gpio = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>;//AMP_SD_GPIO4_C2_3V3
105
- wifi_power_en_gpio = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
106
-// pcie_power_en_gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;//PCIE_PWREN_H_GPIO0_D4
107
- pinctrl-names = "default";
108
- pinctrl-0 = <&nk_io_gpio>;
109
- };
110
-
111
- panel: panel {
112
- compatible = "simple-panel";
113
- backlight = <&backlight>;
114
- power-supply = <&vcc3v3_lcd0_n>;
115
- enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4
116
- reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>; //7511_RST_GPIO3_D1
117
- edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3
118
- edp-bl-en = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3
119
- bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
120
- bpc = <8>;
121
- prepare-delay-ms = <200>;
122
- enable-delay-ms = <20>;
123
- lvds-gpio0 = <&gpio3 RK_PD2 GPIO_ACTIVE_HIGH>; //7511_GPIO0-GPIO3_D2
124
- lvds-gpio1 = <&gpio3 RK_PD3 GPIO_ACTIVE_HIGH>; //7511_GPIO1-GPIO3_D3
125
- lvds-gpio2 = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>; //7511_GPIO2-GPIO3_D4
126
- lvds-gpio3 = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; //7511_GPIO3-GPIO3_D5
127
- nodka-lvds = <15>;
128
-
129
- display-timings {
130
- native-mode = <&timing0>;
131
- timing0: timing0 {
132
- clock-frequency = <72500000>;
133
- hactive = <1280>;
134
- vactive = <800>;
135
- hfront-porch = <70>;
136
- hsync-len = <2>;
137
- hback-porch = <88>;
138
- vfront-porch = <7>;
139
- vsync-len = <4>;
140
- vback-porch = <17>;
141
- hsync-active = <21>;
142
- vsync-active = <0>;
143
- de-active = <0>;
144
- pixelclk-active = <0>;
145
- };
146
- };
147
- ports {
148
- panel_in: endpoint {
149
- remote-endpoint = <&edp_out>;
150
- };
151
- };
152
- };
91
+ ndj_io_init {
92
+ compatible = "nk_io_control";
93
+ pinctrl-names = "default";
94
+ pinctrl-0 = <&nk_io_gpio>;
95
+
96
+ //gpio_op0 = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
97
+
98
+ vcc_5v {
99
+ gpio_num = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
100
+ gpio_function = <0>;
101
+ };
102
+
103
+ vcc_12v {
104
+ gpio_num = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; //VCC12_IO_EN_GPIO0_C7_3V3
105
+ gpio_function = <0>;
106
+ };
107
+
108
+ hub_host2_rst {
109
+ gpio_num = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; //HUB_RST_GPIO4_D2_3V3
110
+ gpio_function = <3>;
111
+ };
112
+
113
+ hub_host3 {
114
+ gpio_num = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; //HOST3_EN_GPIO4_B2_1V8
115
+ gpio_function = <0>;
116
+ };
117
+
118
+ wake_4g {
119
+ gpio_num = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>; //4G_WAKEUP_GPIO01_B1_3V3
120
+ gpio_function = <0>;
121
+ };
122
+
123
+ air_mode_4g {
124
+ gpio_num = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>; //4G_AIR_MODE_GPIO01_B0_3V3
125
+ gpio_function = <0>;
126
+ };
127
+
128
+ reset_4g {
129
+ gpio_num = <&gpio1 RK_PB2 GPIO_ACTIVE_LOW>; //4G_RST_GPIO01_B2_3V3
130
+ gpio_function = <3>;
131
+ };
132
+
133
+ en_4g {
134
+ gpio_num = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; //4G_PWREN_H_GPIO0_C6
135
+ gpio_function = <0>;
136
+ };
137
+
138
+ hp_en {
139
+ gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3
140
+ gpio_function = <0>;
141
+ };
142
+
143
+ wifi_power_en {
144
+ gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
145
+ gpio_function = <0>;
146
+ };
147
+ #if 0
148
+ do1 {
149
+ gpio_num = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>;
150
+ gpio_function = <0>;
151
+ };
152
+
153
+ do2 {
154
+ gpio_num = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>;
155
+ gpio_function = <0>;
156
+ };
157
+
158
+ do3 {
159
+ gpio_num = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>;
160
+ gpio_function = <0>;
161
+ };
162
+
163
+ do4 {
164
+ gpio_num = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>;
165
+ gpio_function = <0>;
166
+ };
167
+
168
+ do5 {
169
+ gpio_num = <&gpio2 RK_PD6 GPIO_ACTIVE_LOW>;
170
+ gpio_function = <0>;
171
+ };
172
+
173
+ do6 {
174
+ gpio_num = <&gpio2 RK_PD7 GPIO_ACTIVE_LOW>;
175
+ gpio_function = <0>;
176
+ };
177
+
178
+ do7 {
179
+ gpio_num = <&gpio3 RK_PA0 GPIO_ACTIVE_LOW>;
180
+ gpio_function = <0>;
181
+ };
182
+
183
+ di1 {
184
+ gpio_num = <&gpio2 RK_PD5 GPIO_ACTIVE_HIGH>;
185
+ gpio_function = <1>;
186
+ };
187
+ #endif
188
+};
153189 };
154190
155191 &combphy0_us {
....@@ -212,10 +248,6 @@
212248 * video_phy0 needs to be enabled
213249 * when dsi0 is enabled
214250 */
215
-&video_phy0 {
216
- status = "disabled";
217
-};
218
-
219251 &dsi0 {
220252 status = "disabled";
221253 };
....@@ -236,10 +268,6 @@
236268 * video_phy1 needs to be enabled
237269 * when dsi1 is enabled
238270 */
239
-
240
-&video_phy1 {
241
- status = "okay";
242
-};
243271 &dsi1 {
244272 status = "disabled";
245273 };
....@@ -249,102 +277,29 @@
249277 };
250278
251279 &dsi1_in_vp1 {
252
- status = "okay";
280
+ status = "disabled";
253281 };
254282
255283 &dsi1_panel {
256
- power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3
257
- vddio-mipi = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; //MIPI_EN_1V8_GPIO3_A4_d_3V3
258
- reset-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; //MIPI_RST_L_GPIO3_C7
259
- vcc-5v-gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
260
- pinctrl-names = "default";
261
- pinctrl-0 = <&lcd1_rst_gpio>;
284
+ power-supply = <&vcc3v3_lcd1_n>;
262285 };
263
-
264
-&route_dsi1 {
265
- status = "disabled";
266
- connect = <&vp1_out_dsi1>;
267
-};
268
-
269
-
270
-/*
271
-* edp_start
272
-*/
273286
274287 &edp {
275
- force-hpd;
276
- status = "okay";
277
- ports {
278
- port@1 {
279
- reg = <1>;
280
- edp_out: endpoint {
281
- remote-endpoint = <&panel_in>;
282
- };
283
- };
284
- };
288
+ hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
289
+ status = "okay";
285290 };
286291
287292 &edp_phy {
288
- status = "okay";
289
-
293
+ status = "okay";
290294 };
291295
292296 &edp_in_vp0 {
293
- status = "disabled";
297
+ status = "okay";
294298 };
295299
296300 &edp_in_vp1 {
297
- status = "okay";
298
-
299
-};
300
-
301
-&route_edp {
302
- status = "okay";
303
- connect = <&vp1_out_edp>;
304
-};
305
-
306
-&route_edp {
307
- status = "okay";
308
-};
309
-/*
310
-* edp_end
311
-*/
312
-
313
-/*
314
-* Hdmi_start
315
-*/
316
-
317
-&hdmi {
318
- status = "okay";
319
- rockchip,phy-table =
320
- <92812500 0x8009 0x0000 0x0270>,
321
- <165000000 0x800b 0x0000 0x026d>,
322
- <185625000 0x800b 0x0000 0x01ed>,
323
- <297000000 0x800b 0x0000 0x01ad>,
324
- <594000000 0x8029 0x0000 0x0088>,
325
- <000000000 0x0000 0x0000 0x0000>;
326
-};
327
-
328
-&route_hdmi {
329
- status = "okay";
330
- connect = <&vp0_out_hdmi>;
331
-};
332
-
333
-&hdmi_in_vp0 {
334
- status = "okay";
335
-};
336
-
337
-&hdmi_in_vp1 {
338301 status = "disabled";
339302 };
340
-
341
-&hdmi_sound {
342
- status = "okay";
343
-};
344
-
345
-/*
346
- * Hdmi_END
347
-*/
348303
349304 &gmac0 {
350305 phy-mode = "rgmii";
....@@ -408,24 +363,8 @@
408363 power-supply = <&vcc3v3_lcd0_n>;
409364 };
410365
411
-&i2c3 {
412
- status = "okay";
413
- //mac eeprom
414
- eeprom@51 {
415
- //compatible = "atmel,24c02";
416
- compatible = "atmel,24c256";
417
- reg = <0x51>;
418
- };
419
-
420
- //nk-mcu
421
- nkmcu@15 {
422
- compatible = "nk_mcu";
423
- reg = <0x15>;
424
- };
425
-};
426
-
427366 &i2c4 {
428
- status = "okay";
367
+ status = "disabled";
429368 gc8034: gc8034@37 {
430369 compatible = "galaxycore,gc8034";
431370 status = "okay";
....@@ -471,7 +410,7 @@
471410 };
472411 };
473412 ov5695: ov5695@36 {
474
- status = "okay";
413
+ status = "disabled";
475414 compatible = "ovti,ov5695";
476415 reg = <0x36>;
477416 clocks = <&cru CLK_CIF_OUT>;
....@@ -494,19 +433,6 @@
494433 };
495434 };
496435
497
-&i2c5 {
498
- status = "okay";
499
-
500
- hym8563: hym8563@51 {
501
- compatible = "haoyu,hym8563";
502
- reg = <0x51>;
503
- #clock-cells = <0>;
504
- clock-frequency = <32768>;
505
- clock-output-names = "xin32k";
506
- /* rtc_int is not connected */
507
- };
508
-};
509
-
510436 &mdio0 {
511437 rgmii_phy0: phy@0 {
512438 compatible = "ethernet-phy-ieee802.3-c22";
....@@ -521,50 +447,50 @@
521447 };
522448 };
523449
450
+&video_phy0 {
451
+ status = "disabled";
452
+};
524453
454
+&video_phy1 {
455
+ status = "disabled";
456
+};
525457
526458 &pcie30phy {
527459 status = "okay";
528460 };
529461
530
-&pcie2x1 {
531
- reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
462
+&pcie3x2 {
463
+ reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
532464 vpcie3v3-supply = <&vcc3v3_pcie>;
533465 status = "okay";
534466 };
535467
536468 &pinctrl {
537
-// cam {
538
-// camera_pwr: camera-pwr {
539
-// rockchip,pins =
540
-// /* camera power en */
541
-// <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
542
-// };
543
-// };
469
+ cam {
470
+ camera_pwr: camera-pwr {
471
+ rockchip,pins =
472
+ /* camera power en */
473
+ <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
474
+ };
475
+ };
544476 headphone {
545477 hp_det: hp-det {
546
- rockchip,pins = <0 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>;
478
+ rockchip,pins = <3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
547479 };
548480 };
549481
550482 wireless-wlan {
551483 wifi_host_wake_irq: wifi-host-wake-irq {
552
- rockchip,pins = <2 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>;
484
+ rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_down>;
553485 };
554486 };
555487
556488 wireless-bluetooth {
557
- uart1_gpios: uart1-gpios {
558
- rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
489
+ uart8_gpios: uart8-gpios {
490
+ rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
559491 };
560492 };
561493
562
- lcd1 {
563
- lcd1_rst_gpio: lcd1-rst-gpio {
564
- rockchip,pins = <3 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
565
- };
566
- };
567
-
568494 nk_io_init{
569495 nk_io_gpio: nk-io-gpio{
570496 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
....@@ -574,19 +500,26 @@
574500 <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
575501 <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>,
576502 <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>,
577
- <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
503
+ <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>,
578504 <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,
579505 <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>,
580506 <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>,
581
- <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>,
582507 <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>,
583508 <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>,
584509 <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>,
585510 <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,
586511 <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>,
512
+ <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3
513
+ <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3
514
+ <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3
515
+ <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,//96 SPI2_CLK_M1_3V3
587516 <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
588517 };
589518 };
519
+};
520
+
521
+&rk809_sound {
522
+ hp-det-gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
590523 };
591524
592525 &rkisp {
....@@ -598,7 +531,7 @@
598531 };
599532
600533 &rkisp_vir0 {
601
- status = "disabled";
534
+ status = "okay";
602535
603536 port {
604537 #address-cells = <1>;
....@@ -611,32 +544,34 @@
611544 };
612545 };
613546
547
+&route_dsi0 {
548
+ status = "disabled";
549
+ connect = <&vp1_out_dsi0>;
550
+};
614551
615
-
616
-
552
+&route_edp {
553
+ status = "okay";
554
+ connect = <&vp0_out_edp>;
555
+};
617556
618557 &sata2 {
619558 status = "okay";
620559 };
621560
622561 &sdmmc2 {
623
- status = "disabled";
624
-};
625
-
626
-&sdmmc1 {
627
- max-frequency = <150000000>;
628
- supports-sdio;
629
- bus-width = <4>;
630
- disable-wp;
631
- cap-sd-highspeed;
632
- cap-sdio-irq;
633
- keep-power-in-suspend;
634
- mmc-pwrseq = <&sdio_pwrseq>;
635
- non-removable;
636
- pinctrl-names = "default";
637
- pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_cmd &sdmmc1_clk>;
638
- sd-uhs-sdr104;
639
- status = "okay";
562
+ max-frequency = <150000000>;
563
+ supports-sdio;
564
+ bus-width = <4>;
565
+ disable-wp;
566
+ cap-sd-highspeed;
567
+ cap-sdio-irq;
568
+ keep-power-in-suspend;
569
+ mmc-pwrseq = <&sdio_pwrseq>;
570
+ non-removable;
571
+ pinctrl-names = "default";
572
+ pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_cmd &sdmmc2m0_clk>;
573
+ sd-uhs-sdr104;
574
+ status = "okay";
640575 };
641576
642577 &spdif_8ch {
....@@ -646,25 +581,25 @@
646581 };
647582
648583 &uart8 {
649
- status = "disabled";
584
+ status = "okay";
650585 pinctrl-names = "default";
651586 pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>;
652587 };
653588
654589 &vcc3v3_lcd0_n {
655
- gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>;
590
+ gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
656591 enable-active-high;
657592 };
658593
659594 &vcc3v3_lcd1_n {
660
- gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; //MIPI_3V3EN_GPIO3_A3_d_3V3
595
+ gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
661596 enable-active-high;
662597 };
663598
664599 &wireless_wlan {
665600 pinctrl-names = "default";
666601 pinctrl-0 = <&wifi_host_wake_irq>;
667
- WIFI,host_wake_irq = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>;
602
+ WIFI,host_wake_irq = <&gpio3 RK_PD4 GPIO_ACTIVE_HIGH>;
668603 };
669604
670605 &wireless_bluetooth {
....@@ -672,42 +607,12 @@
672607 clocks = <&rk809 1>;
673608 clock-names = "ext_clock";
674609 //wifi-bt-power-toggle;
675
- uart_rts_gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
676
- BT,power_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>;
610
+ uart_rts_gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
677611 pinctrl-names = "default", "rts_gpio";
678
- pinctrl-0 = <&uart1m0_rtsn>;
679
- pinctrl-1 = <&uart1_gpios>;
612
+ pinctrl-0 = <&uart8m0_rtsn>;
613
+ pinctrl-1 = <&uart8_gpios>;
680614 BT,reset_gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>;
681615 BT,wake_gpio = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>;
682616 BT,wake_host_irq = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;
683
- status = "disabled";
684
-};
685
-
686
-&uart0 {
687617 status = "okay";
688
-};
689
-
690
-&uart3 {
691
- status = "okay";
692
- pinctrl-0 = <&uart3m1_xfer>;
693
-};
694
-
695
-&uart4 {
696
- status = "okay";
697
- pinctrl-0 = <&uart4m1_xfer>;
698
-};
699
-
700
-&uart5 {
701
- status = "okay";
702
- pinctrl-0 = <&uart5m1_xfer>;
703
-};
704
-
705
-&uart7 {
706
- status = "okay";
707
- pinctrl-0 = <&uart7m1_xfer>;
708
-};
709
-
710
-&uart9 {
711
- status = "okay";
712
- pinctrl-0 = <&uart9m1_xfer>;
713618 };