.. | .. |
---|
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 | |
---|
.. | .. |
---|
312 | 335 | * when dsi0 is enabled |
---|
313 | 336 | */ |
---|
314 | 337 | &video_phy0 { |
---|
315 | | - status = "okay"; |
---|
| 338 | + status = "disabled"; |
---|
316 | 339 | }; |
---|
317 | 340 | |
---|
318 | 341 | &dsi0 { |
---|
.. | .. |
---|
398 | 421 | }; |
---|
399 | 422 | |
---|
400 | 423 | &lvds { |
---|
401 | | - status = "okay"; |
---|
| 424 | + status = "disabled"; |
---|
402 | 425 | ports { |
---|
403 | 426 | port@1 { |
---|
404 | 427 | reg = <1>; |
---|
.. | .. |
---|
415 | 438 | }; |
---|
416 | 439 | |
---|
417 | 440 | &lvds_in_vp1 { |
---|
418 | | - status = "okay"; |
---|
| 441 | + status = "disabled"; |
---|
419 | 442 | }; |
---|
420 | 443 | |
---|
421 | 444 | /* |
---|
.. | .. |
---|
698 | 721 | <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
699 | 722 | <3 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
700 | 723 | <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>, |
---|
701 | | - <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3 |
---|
702 | | - <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3 |
---|
703 | | - <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3 |
---|
704 | | - <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>,//96 SPI2_CLK_M1_3V3 |
---|
705 | | - <3 RK_PA3 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 |
---|
706 | 735 | <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
---|
707 | 736 | }; |
---|
708 | 737 | }; |
---|
.. | .. |
---|
768 | 797 | pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; |
---|
769 | 798 | }; |
---|
770 | 799 | |
---|
771 | | -&vcc3v3_lcd0_n { |
---|
772 | | - gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; |
---|
773 | | - enable-active-high; |
---|
774 | | -}; |
---|
775 | | - |
---|
776 | | -//&vcc3v3_lcd1_n { |
---|
777 | | - //gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
---|
778 | | - //enable-active-high; |
---|
779 | | -//}; |
---|
780 | 800 | |
---|
781 | 801 | &wireless_wlan { |
---|
782 | 802 | pinctrl-names = "default"; |
---|
.. | .. |
---|
800 | 820 | }; |
---|
801 | 821 | |
---|
802 | 822 | &uart0 { |
---|
803 | | - status = "okay"; |
---|
| 823 | + status = "disabled"; |
---|
804 | 824 | }; |
---|
805 | 825 | |
---|
806 | 826 | &uart1 { |
---|
.. | .. |
---|
815 | 835 | }; |
---|
816 | 836 | |
---|
817 | 837 | &uart4 { |
---|
818 | | - status = "okay"; |
---|
| 838 | + status = "disabled"; |
---|
819 | 839 | pinctrl-0 = <&uart4m1_xfer>; |
---|
820 | 840 | }; |
---|
821 | 841 | |
---|
.. | .. |
---|
824 | 844 | pinctrl-0 = <&uart5m1_xfer>; |
---|
825 | 845 | }; |
---|
826 | 846 | |
---|
827 | | -&uart6 { |
---|
828 | | - status = "okay"; |
---|
829 | | - pinctrl-0 = <&uart6m1_xfer>; |
---|
830 | | -}; |
---|
831 | 847 | |
---|
832 | 848 | &uart7 { |
---|
833 | 849 | status = "okay"; |
---|
.. | .. |
---|
835 | 851 | }; |
---|
836 | 852 | |
---|
837 | 853 | &uart8 { |
---|
838 | | - status = "okay"; |
---|
| 854 | + status = "disabled"; |
---|
839 | 855 | pinctrl-0 = <&uart8m1_xfer>; |
---|
840 | 856 | }; |
---|
841 | 857 | |
---|
842 | 858 | &uart9 { |
---|
843 | | - status = "okay"; |
---|
| 859 | + status = "disabled"; |
---|
844 | 860 | pinctrl-0 = <&uart9m1_xfer>; |
---|
845 | 861 | }; |
---|