| .. | .. |
|---|
| 89 | 89 | regulator-boot-on; |
|---|
| 90 | 90 | }; |
|---|
| 91 | 91 | #endif |
|---|
| 92 | + |
|---|
| 93 | +#if 0 |
|---|
| 94 | + leds: leds { |
|---|
| 95 | + compatible = "gpio-leds"; |
|---|
| 96 | + sig_led: sig_led { |
|---|
| 97 | + gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>; |
|---|
| 98 | + default-state = "on"; |
|---|
| 99 | + }; |
|---|
| 100 | + }; |
|---|
| 101 | + |
|---|
| 102 | + leds: leds { |
|---|
| 103 | + compatible = "gpio-leds"; |
|---|
| 104 | + err_led: err_led { |
|---|
| 105 | + gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; |
|---|
| 106 | + default-state = "on"; |
|---|
| 107 | + }; |
|---|
| 108 | + }; |
|---|
| 109 | +#endif |
|---|
| 110 | + |
|---|
| 92 | 111 | ndj_io_init { |
|---|
| 93 | 112 | compatible = "nk_io_control"; |
|---|
| 94 | 113 | pinctrl-names = "default"; |
|---|
| .. | .. |
|---|
| 106 | 125 | gpio_function = <0>; |
|---|
| 107 | 126 | }; |
|---|
| 108 | 127 | |
|---|
| 109 | | - hub_host2_rst { |
|---|
| 110 | | - gpio_num = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; //HUB_RST_GPIO4_D2_3V3 |
|---|
| 128 | + vcc_3.3v { |
|---|
| 129 | + gpio_num = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; //VCC3_IO_EN_GPIO0_C4_3V3 |
|---|
| 130 | + gpio_function = <0>; |
|---|
| 131 | + }; |
|---|
| 132 | + |
|---|
| 133 | + ax88772_rst { |
|---|
| 134 | + gpio_num = <&gpio3 RK_PB5 GPIO_ACTIVE_HIGH>; //AX88772_RST_GPIO3_B5_3V3 |
|---|
| 111 | 135 | gpio_function = <3>; |
|---|
| 112 | 136 | }; |
|---|
| 113 | 137 | |
|---|
| 138 | + ax88631_rst { |
|---|
| 139 | + gpio_num = <&gpio3 RK_PB6 GPIO_ACTIVE_HIGH>; //AX88772_RST_GPIO3_B6_3V3 |
|---|
| 140 | + gpio_function = <3>; |
|---|
| 141 | + }; |
|---|
| 142 | +/* |
|---|
| 114 | 143 | hub_host3 { |
|---|
| 115 | 144 | gpio_num = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; //HOST3_EN_GPIO4_B2_1V8 |
|---|
| 116 | 145 | gpio_function = <0>; |
|---|
| 117 | 146 | }; |
|---|
| 118 | | - |
|---|
| 147 | +*/ |
|---|
| 119 | 148 | wake_4g { |
|---|
| 120 | 149 | gpio_num = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>; //4G_WAKEUP_GPIO01_B1_3V3 |
|---|
| 121 | 150 | gpio_function = <0>; |
|---|
| .. | .. |
|---|
| 312 | 341 | * when dsi0 is enabled |
|---|
| 313 | 342 | */ |
|---|
| 314 | 343 | &video_phy0 { |
|---|
| 315 | | - status = "okay"; |
|---|
| 344 | + status = "disabled"; |
|---|
| 316 | 345 | }; |
|---|
| 317 | 346 | |
|---|
| 318 | 347 | &dsi0 { |
|---|
| .. | .. |
|---|
| 398 | 427 | }; |
|---|
| 399 | 428 | |
|---|
| 400 | 429 | &lvds { |
|---|
| 401 | | - status = "okay"; |
|---|
| 430 | + status = "disabled"; |
|---|
| 402 | 431 | ports { |
|---|
| 403 | 432 | port@1 { |
|---|
| 404 | 433 | reg = <1>; |
|---|
| .. | .. |
|---|
| 415 | 444 | }; |
|---|
| 416 | 445 | |
|---|
| 417 | 446 | &lvds_in_vp1 { |
|---|
| 418 | | - status = "okay"; |
|---|
| 447 | + status = "disabled"; |
|---|
| 419 | 448 | }; |
|---|
| 420 | 449 | |
|---|
| 421 | 450 | /* |
|---|
| .. | .. |
|---|
| 698 | 727 | <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 699 | 728 | <3 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 700 | 729 | <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 |
|---|
| 706 | | - <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 730 | + <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B0_u_3V3 DO1 8 |
|---|
| 731 | + <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B3_u_3V3 DO2 11 |
|---|
| 732 | + <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B4_u_3V3 DO3 12 |
|---|
| 733 | + <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B5_u_3V3 DO4 13 |
|---|
| 734 | + <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_B6_u_3V3 DO5 14 |
|---|
| 735 | + |
|---|
| 736 | + <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C0_d_3V3 DI1 16 |
|---|
| 737 | + <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C1_d_3V3 DI2 17 |
|---|
| 738 | + <0 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C2_d_3V3 DI3 18 |
|---|
| 739 | + <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C3_d_3V3 DI4 19 |
|---|
| 740 | + <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>,//GPIO0_C5_d_3V3 DI5 21 |
|---|
| 741 | + <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 742 | + <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>, //sig_led |
|---|
| 743 | + <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>, //err_led |
|---|
| 744 | + <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>, //run_led |
|---|
| 745 | + <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; //HOST3_EN_GPIO4_B2_1V8 |
|---|
| 746 | + |
|---|
| 707 | 747 | }; |
|---|
| 708 | 748 | }; |
|---|
| 709 | 749 | }; |
|---|
| .. | .. |
|---|
| 768 | 808 | pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; |
|---|
| 769 | 809 | }; |
|---|
| 770 | 810 | |
|---|
| 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 | 811 | |
|---|
| 781 | 812 | &wireless_wlan { |
|---|
| 782 | 813 | pinctrl-names = "default"; |
|---|
| .. | .. |
|---|
| 796 | 827 | BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; |
|---|
| 797 | 828 | BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; |
|---|
| 798 | 829 | BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; |
|---|
| 799 | | - status = "okay"; |
|---|
| 830 | + status = "disabled"; |
|---|
| 800 | 831 | }; |
|---|
| 801 | 832 | |
|---|
| 802 | 833 | &uart0 { |
|---|
| 803 | | - status = "okay"; |
|---|
| 834 | + status = "disabled"; |
|---|
| 804 | 835 | }; |
|---|
| 805 | 836 | |
|---|
| 806 | 837 | &uart1 { |
|---|
| 807 | 838 | pinctrl-names = "default"; |
|---|
| 808 | 839 | pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>; |
|---|
| 809 | | - status = "okay"; |
|---|
| 840 | + status = "disabled"; |
|---|
| 810 | 841 | }; |
|---|
| 811 | 842 | |
|---|
| 812 | 843 | &uart3 { |
|---|
| .. | .. |
|---|
| 815 | 846 | }; |
|---|
| 816 | 847 | |
|---|
| 817 | 848 | &uart4 { |
|---|
| 818 | | - status = "okay"; |
|---|
| 849 | + status = "disabled"; |
|---|
| 819 | 850 | pinctrl-0 = <&uart4m1_xfer>; |
|---|
| 820 | 851 | }; |
|---|
| 821 | 852 | |
|---|
| .. | .. |
|---|
| 824 | 855 | pinctrl-0 = <&uart5m1_xfer>; |
|---|
| 825 | 856 | }; |
|---|
| 826 | 857 | |
|---|
| 858 | + |
|---|
| 827 | 859 | &uart7 { |
|---|
| 828 | 860 | status = "okay"; |
|---|
| 829 | 861 | pinctrl-0 = <&uart7m1_xfer>; |
|---|
| 830 | 862 | }; |
|---|
| 831 | 863 | |
|---|
| 864 | +&uart8 { |
|---|
| 865 | + status = "disabled"; |
|---|
| 866 | + pinctrl-0 = <&uart8m1_xfer>; |
|---|
| 867 | +}; |
|---|
| 868 | + |
|---|
| 832 | 869 | &uart9 { |
|---|
| 833 | | - status = "okay"; |
|---|
| 870 | + status = "disabled"; |
|---|
| 834 | 871 | pinctrl-0 = <&uart9m1_xfer>; |
|---|
| 835 | 872 | }; |
|---|