.. | .. |
---|
89 | 89 | regulator-boot-on; |
---|
90 | 90 | }; |
---|
91 | 91 | #endif |
---|
| 92 | + |
---|
| 93 | + leds: leds { |
---|
| 94 | + compatible = "gpio-leds"; |
---|
| 95 | + sig_led: sig_led { |
---|
| 96 | + gpios = <&gpio4 RK_PC3 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 | + |
---|
| 109 | + |
---|
92 | 110 | ndj_io_init { |
---|
93 | 111 | compatible = "nk_io_control"; |
---|
94 | 112 | pinctrl-names = "default"; |
---|
.. | .. |
---|
103 | 121 | |
---|
104 | 122 | vcc_12v { |
---|
105 | 123 | gpio_num = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; //VCC12_IO_EN_GPIO0_C7_3V3 |
---|
| 124 | + gpio_function = <0>; |
---|
| 125 | + }; |
---|
| 126 | + |
---|
| 127 | + vcc_3.3v { |
---|
| 128 | + gpio_num = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 |
---|
106 | 129 | gpio_function = <0>; |
---|
107 | 130 | }; |
---|
108 | 131 | |
---|
.. | .. |
---|
136 | 159 | gpio_function = <0>; |
---|
137 | 160 | }; |
---|
138 | 161 | |
---|
139 | | - hp_en { |
---|
140 | | - gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3 |
---|
141 | | - gpio_function = <0>; |
---|
142 | | - }; |
---|
| 162 | + //gpio99 { |
---|
| 163 | + // gpio_num = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;//HP_EN_GPIO3_A6_3V3 |
---|
| 164 | + // gpio_function = <1>; |
---|
| 165 | + //}; |
---|
143 | 166 | |
---|
144 | 167 | wifi_power_en { |
---|
145 | 168 | gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8 |
---|
.. | .. |
---|
226 | 249 | nodka-lvds = <15>; |
---|
227 | 250 | |
---|
228 | 251 | display-timings { |
---|
229 | | - native-mode = <&timing0>; |
---|
230 | | - timing0: timing0 { |
---|
| 252 | + native-mode = <&timing>; |
---|
| 253 | + timing: timing { |
---|
231 | 254 | clock-frequency = <72500000>; |
---|
232 | 255 | hactive = <1280>; |
---|
233 | 256 | vactive = <800>; |
---|
.. | .. |
---|
244 | 267 | }; |
---|
245 | 268 | }; |
---|
246 | 269 | ports { |
---|
247 | | - panel_in: endpoint { |
---|
248 | | - remote-endpoint = <&edp_out>; |
---|
| 270 | + panel_in_lvds: endpoint { |
---|
| 271 | + remote-endpoint = <&lvds_out>; |
---|
249 | 272 | }; |
---|
250 | 273 | }; |
---|
251 | 274 | }; |
---|
.. | .. |
---|
337 | 360 | */ |
---|
338 | 361 | |
---|
339 | 362 | &video_phy1 { |
---|
340 | | - status = "okay"; |
---|
| 363 | + status = "disabled"; |
---|
341 | 364 | }; |
---|
342 | 365 | &dsi1 { |
---|
343 | 366 | status = "disabled"; |
---|
.. | .. |
---|
348 | 371 | }; |
---|
349 | 372 | |
---|
350 | 373 | &dsi1_in_vp1 { |
---|
351 | | - status = "okay"; |
---|
| 374 | + status = "disabled"; |
---|
352 | 375 | }; |
---|
353 | 376 | |
---|
354 | 377 | &dsi1_panel { |
---|
355 | | - power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
| 378 | +// power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
356 | 379 | vddio-mipi = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; //MIPI_EN_1V8_GPIO3_A4_d_3V3 |
---|
357 | 380 | reset-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; //MIPI_RST_L_GPIO3_C7 |
---|
358 | 381 | vcc-5v-gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3 |
---|
.. | .. |
---|
372 | 395 | |
---|
373 | 396 | &edp { |
---|
374 | 397 | force-hpd; |
---|
375 | | - status = "okay"; |
---|
376 | | - ports { |
---|
377 | | - port@1 { |
---|
378 | | - reg = <1>; |
---|
379 | | - edp_out: endpoint { |
---|
380 | | - remote-endpoint = <&panel_in>; |
---|
381 | | - }; |
---|
382 | | - }; |
---|
383 | | - }; |
---|
| 398 | + status = "disabled"; |
---|
384 | 399 | }; |
---|
385 | 400 | |
---|
386 | 401 | &edp_phy { |
---|
387 | | - status = "okay"; |
---|
388 | | - |
---|
| 402 | + status = "disabled"; |
---|
389 | 403 | }; |
---|
390 | 404 | |
---|
391 | 405 | &edp_in_vp0 { |
---|
.. | .. |
---|
393 | 407 | }; |
---|
394 | 408 | |
---|
395 | 409 | &edp_in_vp1 { |
---|
396 | | - status = "okay"; |
---|
| 410 | + status = "disabled"; |
---|
397 | 411 | |
---|
398 | 412 | }; |
---|
399 | 413 | |
---|
400 | 414 | &route_edp { |
---|
401 | | - status = "okay"; |
---|
| 415 | + status = "disabled"; |
---|
402 | 416 | connect = <&vp1_out_edp>; |
---|
403 | 417 | }; |
---|
404 | 418 | |
---|
405 | 419 | &route_edp { |
---|
406 | | - status = "okay"; |
---|
| 420 | + status = "disabled"; |
---|
407 | 421 | }; |
---|
| 422 | + |
---|
| 423 | +&lvds { |
---|
| 424 | + status = "disabled"; |
---|
| 425 | + ports { |
---|
| 426 | + port@1 { |
---|
| 427 | + reg = <1>; |
---|
| 428 | + lvds_out:endpoint { |
---|
| 429 | + remote-endpoint = <&panel_in_lvds>; |
---|
| 430 | + }; |
---|
| 431 | + }; |
---|
| 432 | + }; |
---|
| 433 | +}; |
---|
| 434 | + |
---|
| 435 | +&route_lvds{ |
---|
| 436 | + status = "okay"; |
---|
| 437 | + connect = <&vp1_out_lvds>; |
---|
| 438 | +}; |
---|
| 439 | + |
---|
| 440 | +&lvds_in_vp1 { |
---|
| 441 | + status = "disabled"; |
---|
| 442 | +}; |
---|
| 443 | + |
---|
408 | 444 | /* |
---|
409 | 445 | * edp_end |
---|
410 | 446 | */ |
---|
.. | .. |
---|
449 | 485 | phy-mode = "rgmii"; |
---|
450 | 486 | clock_in_out = "output"; |
---|
451 | 487 | |
---|
452 | | - snps,reset-gpio = <&gpio2 RK_PD3 GPIO_ACTIVE_LOW>; |
---|
| 488 | + snps,reset-gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; |
---|
453 | 489 | snps,reset-active-low; |
---|
454 | 490 | /* Reset time is 20ms, 100ms for rtl8211f */ |
---|
455 | 491 | snps,reset-delays-us = <0 20000 100000>; |
---|
.. | .. |
---|
469 | 505 | rx_delay = <0x2f>; |
---|
470 | 506 | |
---|
471 | 507 | phy-handle = <&rgmii_phy0>; |
---|
| 508 | + |
---|
472 | 509 | status = "disabled"; |
---|
| 510 | + |
---|
473 | 511 | }; |
---|
474 | 512 | |
---|
475 | 513 | &gmac1 { |
---|
.. | .. |
---|
503 | 541 | * power-supply should switche to vcc3v3_lcd1_n |
---|
504 | 542 | * when mipi panel is connected to dsi1. |
---|
505 | 543 | */ |
---|
506 | | ->1x { |
---|
507 | | - power-supply = <&vcc3v3_lcd0_n>; |
---|
508 | | -}; |
---|
| 544 | + |
---|
509 | 545 | |
---|
510 | 546 | &i2c3 { |
---|
511 | 547 | status = "okay"; |
---|
.. | .. |
---|
524 | 560 | }; |
---|
525 | 561 | |
---|
526 | 562 | &i2c4 { |
---|
527 | | - status = "okay"; |
---|
| 563 | + status = "disabled"; |
---|
528 | 564 | gc8034: gc8034@37 { |
---|
529 | 565 | compatible = "galaxycore,gc8034"; |
---|
530 | 566 | status = "okay"; |
---|
.. | .. |
---|
536 | 572 | reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_LOW>; |
---|
537 | 573 | pwdn-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>; |
---|
538 | 574 | rockchip,grf = <&grf>; |
---|
539 | | - power-domains = <&power RK3568_PD_VI>; |
---|
540 | 575 | rockchip,camera-module-index = <0>; |
---|
541 | 576 | rockchip,camera-module-facing = "back"; |
---|
542 | 577 | rockchip,camera-module-name = "RK-CMK-8M-2-v1"; |
---|
.. | .. |
---|
570 | 605 | }; |
---|
571 | 606 | }; |
---|
572 | 607 | ov5695: ov5695@36 { |
---|
573 | | - status = "okay"; |
---|
| 608 | + status = "disabled"; |
---|
574 | 609 | compatible = "ovti,ov5695"; |
---|
575 | 610 | reg = <0x36>; |
---|
576 | 611 | clocks = <&cru CLK_CIF_OUT>; |
---|
.. | .. |
---|
623 | 658 | |
---|
624 | 659 | |
---|
625 | 660 | &pcie30phy { |
---|
626 | | - status = "okay"; |
---|
| 661 | + status = "disabled"; |
---|
627 | 662 | }; |
---|
628 | 663 | |
---|
629 | 664 | &pcie2x1 { |
---|
.. | .. |
---|
674 | 709 | <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
675 | 710 | <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
676 | 711 | <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
677 | | - <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 712 | + <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
678 | 713 | <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
679 | 714 | <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
680 | 715 | <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
.. | .. |
---|
682 | 717 | <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
683 | 718 | <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
684 | 719 | <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 720 | + <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 721 | + <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
| 722 | + <3 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
685 | 723 | <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
686 | | - <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3 |
---|
687 | | - <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3 |
---|
688 | | - <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3 |
---|
689 | | - <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,//96 SPI2_CLK_M1_3V3 |
---|
| 724 | + <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B0_u_3V3 DO1 |
---|
| 725 | + <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B3_u_3V3 DO2 |
---|
| 726 | + <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B4_u_3V3 DO3 |
---|
| 727 | + <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B5_u_3V3 DO4 |
---|
| 728 | + <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B6_u_3V3 DO5 |
---|
| 729 | + |
---|
| 730 | + <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C0_d_3V3 DI1_1 |
---|
| 731 | + <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C1_d_3V3 DI2_1 |
---|
| 732 | + <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C2_d_3V3 DI3_1 |
---|
| 733 | + <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C3_d_3V3 DI4_1 |
---|
| 734 | + <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C5_d_3V3 DI5_1 |
---|
690 | 735 | <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
691 | 736 | }; |
---|
692 | 737 | }; |
---|
.. | .. |
---|
713 | 758 | }; |
---|
714 | 759 | }; |
---|
715 | 760 | }; |
---|
716 | | - |
---|
717 | | - |
---|
718 | 761 | |
---|
719 | 762 | |
---|
720 | 763 | |
---|
.. | .. |
---|
754 | 797 | pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; |
---|
755 | 798 | }; |
---|
756 | 799 | |
---|
757 | | -&vcc3v3_lcd0_n { |
---|
758 | | - gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; |
---|
759 | | - enable-active-high; |
---|
760 | | -}; |
---|
761 | | - |
---|
762 | | -&vcc3v3_lcd1_n { |
---|
763 | | - gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
764 | | - enable-active-high; |
---|
765 | | -}; |
---|
766 | 800 | |
---|
767 | 801 | &wireless_wlan { |
---|
768 | 802 | pinctrl-names = "default"; |
---|
.. | .. |
---|
782 | 816 | BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; |
---|
783 | 817 | BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; |
---|
784 | 818 | BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; |
---|
785 | | - status = "okay"; |
---|
| 819 | + status = "disabled"; |
---|
786 | 820 | }; |
---|
787 | 821 | |
---|
788 | 822 | &uart0 { |
---|
789 | | - status = "okay"; |
---|
| 823 | + status = "disabled"; |
---|
790 | 824 | }; |
---|
791 | 825 | |
---|
792 | 826 | &uart1 { |
---|
793 | 827 | pinctrl-names = "default"; |
---|
794 | 828 | pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>; |
---|
795 | | - status = "okay"; |
---|
| 829 | + status = "disabled"; |
---|
796 | 830 | }; |
---|
797 | 831 | |
---|
798 | 832 | &uart3 { |
---|
.. | .. |
---|
801 | 835 | }; |
---|
802 | 836 | |
---|
803 | 837 | &uart4 { |
---|
804 | | - status = "okay"; |
---|
| 838 | + status = "disabled"; |
---|
805 | 839 | pinctrl-0 = <&uart4m1_xfer>; |
---|
806 | 840 | }; |
---|
807 | 841 | |
---|
.. | .. |
---|
810 | 844 | pinctrl-0 = <&uart5m1_xfer>; |
---|
811 | 845 | }; |
---|
812 | 846 | |
---|
| 847 | + |
---|
813 | 848 | &uart7 { |
---|
814 | 849 | status = "okay"; |
---|
815 | 850 | pinctrl-0 = <&uart7m1_xfer>; |
---|
816 | 851 | }; |
---|
817 | 852 | |
---|
| 853 | +&uart8 { |
---|
| 854 | + status = "disabled"; |
---|
| 855 | + pinctrl-0 = <&uart8m1_xfer>; |
---|
| 856 | +}; |
---|
| 857 | + |
---|
818 | 858 | &uart9 { |
---|
819 | | - status = "okay"; |
---|
| 859 | + status = "disabled"; |
---|
820 | 860 | pinctrl-0 = <&uart9m1_xfer>; |
---|
821 | 861 | }; |
---|