.. | .. |
---|
34 | 34 | vin-supply = <&vcc3v3_sys>; |
---|
35 | 35 | }; |
---|
36 | 36 | |
---|
37 | | - vcc3v3_vga: vcc3v3-vga { |
---|
38 | | - compatible = "regulator-fixed"; |
---|
39 | | - regulator-name = "vcc3v3_vga"; |
---|
40 | | - regulator-always-on; |
---|
41 | | - regulator-boot-on; |
---|
42 | | - gpio = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; |
---|
43 | | - enable-active-high; |
---|
44 | | - vin-supply = <&vcc3v3_sys>; |
---|
45 | | - }; |
---|
46 | 37 | |
---|
47 | 38 | pcie30_avdd0v9: pcie30-avdd0v9 { |
---|
48 | 39 | compatible = "regulator-fixed"; |
---|
.. | .. |
---|
98 | 89 | regulator-boot-on; |
---|
99 | 90 | }; |
---|
100 | 91 | #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 | + |
---|
| 109 | + |
---|
101 | 110 | ndj_io_init { |
---|
102 | 111 | compatible = "nk_io_control"; |
---|
103 | 112 | pinctrl-names = "default"; |
---|
.. | .. |
---|
115 | 124 | gpio_function = <0>; |
---|
116 | 125 | }; |
---|
117 | 126 | |
---|
118 | | - hub_host2_rst { |
---|
119 | | - 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 |
---|
120 | 139 | gpio_function = <3>; |
---|
121 | 140 | }; |
---|
122 | 141 | |
---|
.. | .. |
---|
145 | 164 | gpio_function = <0>; |
---|
146 | 165 | }; |
---|
147 | 166 | |
---|
148 | | - hp_en { |
---|
149 | | - gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;//HP_EN_GPIO3_A6_3V3 |
---|
150 | | - gpio_function = <0>; |
---|
151 | | - }; |
---|
| 167 | + //gpio99 { |
---|
| 168 | + // gpio_num = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;//HP_EN_GPIO3_A6_3V3 |
---|
| 169 | + // gpio_function = <1>; |
---|
| 170 | + //}; |
---|
152 | 171 | |
---|
153 | 172 | wifi_power_en { |
---|
154 | 173 | gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8 |
---|
.. | .. |
---|
235 | 254 | nodka-lvds = <15>; |
---|
236 | 255 | |
---|
237 | 256 | display-timings { |
---|
238 | | - native-mode = <&timing0>; |
---|
239 | | - timing0: timing0 { |
---|
| 257 | + native-mode = <&timing>; |
---|
| 258 | + timing: timing { |
---|
240 | 259 | clock-frequency = <72500000>; |
---|
241 | 260 | hactive = <1280>; |
---|
242 | 261 | vactive = <800>; |
---|
.. | .. |
---|
253 | 272 | }; |
---|
254 | 273 | }; |
---|
255 | 274 | ports { |
---|
256 | | - panel_in: endpoint { |
---|
257 | | - remote-endpoint = <&edp_out>; |
---|
| 275 | + panel_in_lvds: endpoint { |
---|
| 276 | + remote-endpoint = <&lvds_out>; |
---|
258 | 277 | }; |
---|
259 | 278 | }; |
---|
260 | 279 | }; |
---|
.. | .. |
---|
346 | 365 | */ |
---|
347 | 366 | |
---|
348 | 367 | &video_phy1 { |
---|
349 | | - status = "okay"; |
---|
| 368 | + status = "disabled"; |
---|
350 | 369 | }; |
---|
351 | 370 | &dsi1 { |
---|
352 | 371 | status = "disabled"; |
---|
.. | .. |
---|
357 | 376 | }; |
---|
358 | 377 | |
---|
359 | 378 | &dsi1_in_vp1 { |
---|
360 | | - status = "okay"; |
---|
| 379 | + status = "disabled"; |
---|
361 | 380 | }; |
---|
362 | 381 | |
---|
363 | 382 | &dsi1_panel { |
---|
364 | | - power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
| 383 | +// power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
365 | 384 | vddio-mipi = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; //MIPI_EN_1V8_GPIO3_A4_d_3V3 |
---|
366 | 385 | reset-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; //MIPI_RST_L_GPIO3_C7 |
---|
367 | 386 | vcc-5v-gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3 |
---|
.. | .. |
---|
381 | 400 | |
---|
382 | 401 | &edp { |
---|
383 | 402 | force-hpd; |
---|
384 | | - status = "okay"; |
---|
385 | | - ports { |
---|
386 | | - port@1 { |
---|
387 | | - reg = <1>; |
---|
388 | | - edp_out: endpoint { |
---|
389 | | - remote-endpoint = <&panel_in>; |
---|
390 | | - }; |
---|
391 | | - }; |
---|
392 | | - |
---|
393 | | - }; |
---|
| 403 | + status = "disabled"; |
---|
394 | 404 | }; |
---|
395 | 405 | |
---|
396 | 406 | &edp_phy { |
---|
397 | | - status = "okay"; |
---|
| 407 | + status = "disabled"; |
---|
398 | 408 | }; |
---|
399 | 409 | |
---|
400 | 410 | &edp_in_vp0 { |
---|
.. | .. |
---|
402 | 412 | }; |
---|
403 | 413 | |
---|
404 | 414 | &edp_in_vp1 { |
---|
405 | | - status = "okay"; |
---|
| 415 | + status = "disabled"; |
---|
406 | 416 | |
---|
407 | 417 | }; |
---|
408 | 418 | |
---|
409 | 419 | &route_edp { |
---|
410 | | - status = "okay"; |
---|
| 420 | + status = "disabled"; |
---|
411 | 421 | connect = <&vp1_out_edp>; |
---|
412 | 422 | }; |
---|
413 | 423 | |
---|
414 | 424 | &route_edp { |
---|
415 | | - status = "okay"; |
---|
| 425 | + status = "disabled"; |
---|
416 | 426 | }; |
---|
| 427 | + |
---|
| 428 | +&lvds { |
---|
| 429 | + status = "disabled"; |
---|
| 430 | + ports { |
---|
| 431 | + port@1 { |
---|
| 432 | + reg = <1>; |
---|
| 433 | + lvds_out:endpoint { |
---|
| 434 | + remote-endpoint = <&panel_in_lvds>; |
---|
| 435 | + }; |
---|
| 436 | + }; |
---|
| 437 | + }; |
---|
| 438 | +}; |
---|
| 439 | + |
---|
| 440 | +&route_lvds{ |
---|
| 441 | + status = "okay"; |
---|
| 442 | + connect = <&vp1_out_lvds>; |
---|
| 443 | +}; |
---|
| 444 | + |
---|
| 445 | +&lvds_in_vp1 { |
---|
| 446 | + status = "disabled"; |
---|
| 447 | +}; |
---|
| 448 | + |
---|
417 | 449 | /* |
---|
418 | 450 | * edp_end |
---|
419 | 451 | */ |
---|
.. | .. |
---|
631 | 663 | |
---|
632 | 664 | |
---|
633 | 665 | &pcie30phy { |
---|
634 | | - status = "okay"; |
---|
| 666 | + status = "disabled"; |
---|
635 | 667 | }; |
---|
636 | 668 | |
---|
637 | 669 | &pcie2x1 { |
---|
.. | .. |
---|
690 | 722 | <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
691 | 723 | <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
692 | 724 | <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>, |
---|
693 | 728 | <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
694 | | - <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3 |
---|
695 | | - <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3 |
---|
696 | | - <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3 |
---|
697 | | - <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 |
---|
698 | 740 | <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
699 | 741 | }; |
---|
700 | 742 | }; |
---|
.. | .. |
---|
760 | 802 | pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; |
---|
761 | 803 | }; |
---|
762 | 804 | |
---|
763 | | -&vcc3v3_lcd0_n { |
---|
764 | | - gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; |
---|
765 | | - enable-active-high; |
---|
766 | | -}; |
---|
767 | | - |
---|
768 | | -&vcc3v3_lcd1_n { |
---|
769 | | - gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
770 | | - enable-active-high; |
---|
771 | | -}; |
---|
772 | 805 | |
---|
773 | 806 | &wireless_wlan { |
---|
774 | 807 | pinctrl-names = "default"; |
---|
.. | .. |
---|
788 | 821 | BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; |
---|
789 | 822 | BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; |
---|
790 | 823 | BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; |
---|
791 | | - status = "okay"; |
---|
| 824 | + status = "disabled"; |
---|
792 | 825 | }; |
---|
793 | 826 | |
---|
794 | 827 | &uart0 { |
---|
795 | | - status = "okay"; |
---|
| 828 | + status = "disabled"; |
---|
796 | 829 | }; |
---|
797 | 830 | |
---|
798 | 831 | &uart1 { |
---|
799 | 832 | pinctrl-names = "default"; |
---|
800 | 833 | pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>; |
---|
801 | | - status = "okay"; |
---|
| 834 | + status = "disabled"; |
---|
802 | 835 | }; |
---|
803 | 836 | |
---|
804 | 837 | &uart3 { |
---|
.. | .. |
---|
807 | 840 | }; |
---|
808 | 841 | |
---|
809 | 842 | &uart4 { |
---|
810 | | - status = "okay"; |
---|
| 843 | + status = "disabled"; |
---|
811 | 844 | pinctrl-0 = <&uart4m1_xfer>; |
---|
812 | 845 | }; |
---|
813 | 846 | |
---|
.. | .. |
---|
816 | 849 | pinctrl-0 = <&uart5m1_xfer>; |
---|
817 | 850 | }; |
---|
818 | 851 | |
---|
| 852 | + |
---|
819 | 853 | &uart7 { |
---|
820 | 854 | status = "okay"; |
---|
821 | 855 | pinctrl-0 = <&uart7m1_xfer>; |
---|
822 | 856 | }; |
---|
823 | 857 | |
---|
| 858 | +&uart8 { |
---|
| 859 | + status = "disabled"; |
---|
| 860 | + pinctrl-0 = <&uart8m1_xfer>; |
---|
| 861 | +}; |
---|
| 862 | + |
---|
824 | 863 | &uart9 { |
---|
825 | | - status = "okay"; |
---|
| 864 | + status = "disabled"; |
---|
826 | 865 | pinctrl-0 = <&uart9m1_xfer>; |
---|
827 | 866 | }; |
---|