| .. | .. |
|---|
| 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"; |
|---|
| .. | .. |
|---|
| 106 | 124 | gpio_function = <0>; |
|---|
| 107 | 125 | }; |
|---|
| 108 | 126 | |
|---|
| 109 | | - hub_host2_rst { |
|---|
| 110 | | - 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 |
|---|
| 111 | 139 | gpio_function = <3>; |
|---|
| 112 | 140 | }; |
|---|
| 113 | 141 | |
|---|
| .. | .. |
|---|
| 136 | 164 | gpio_function = <0>; |
|---|
| 137 | 165 | }; |
|---|
| 138 | 166 | |
|---|
| 139 | | - hp_en { |
|---|
| 140 | | - gpio_num = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;//HP_EN_GPIO3_A6_3V3 |
|---|
| 141 | | - gpio_function = <0>; |
|---|
| 142 | | - }; |
|---|
| 167 | + //gpio99 { |
|---|
| 168 | + // gpio_num = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;//HP_EN_GPIO3_A6_3V3 |
|---|
| 169 | + // gpio_function = <1>; |
|---|
| 170 | + //}; |
|---|
| 143 | 171 | |
|---|
| 144 | 172 | wifi_power_en { |
|---|
| 145 | 173 | gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8 |
|---|
| .. | .. |
|---|
| 312 | 340 | * when dsi0 is enabled |
|---|
| 313 | 341 | */ |
|---|
| 314 | 342 | &video_phy0 { |
|---|
| 315 | | - status = "okay"; |
|---|
| 343 | + status = "disabled"; |
|---|
| 316 | 344 | }; |
|---|
| 317 | 345 | |
|---|
| 318 | 346 | &dsi0 { |
|---|
| .. | .. |
|---|
| 398 | 426 | }; |
|---|
| 399 | 427 | |
|---|
| 400 | 428 | &lvds { |
|---|
| 401 | | - status = "okay"; |
|---|
| 429 | + status = "disabled"; |
|---|
| 402 | 430 | ports { |
|---|
| 403 | 431 | port@1 { |
|---|
| 404 | 432 | reg = <1>; |
|---|
| .. | .. |
|---|
| 415 | 443 | }; |
|---|
| 416 | 444 | |
|---|
| 417 | 445 | &lvds_in_vp1 { |
|---|
| 418 | | - status = "okay"; |
|---|
| 446 | + status = "disabled"; |
|---|
| 419 | 447 | }; |
|---|
| 420 | 448 | |
|---|
| 421 | 449 | /* |
|---|
| .. | .. |
|---|
| 635 | 663 | |
|---|
| 636 | 664 | |
|---|
| 637 | 665 | &pcie30phy { |
|---|
| 638 | | - status = "okay"; |
|---|
| 666 | + status = "disabled"; |
|---|
| 639 | 667 | }; |
|---|
| 640 | 668 | |
|---|
| 641 | 669 | &pcie2x1 { |
|---|
| .. | .. |
|---|
| 694 | 722 | <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 695 | 723 | <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 696 | 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>, |
|---|
| 697 | 728 | <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 698 | | - <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3 |
|---|
| 699 | | - <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3 |
|---|
| 700 | | - <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3 |
|---|
| 701 | | - <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 |
|---|
| 702 | 740 | <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; |
|---|
| 703 | 741 | }; |
|---|
| 704 | 742 | }; |
|---|
| .. | .. |
|---|
| 764 | 802 | pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; |
|---|
| 765 | 803 | }; |
|---|
| 766 | 804 | |
|---|
| 767 | | -&vcc3v3_lcd0_n { |
|---|
| 768 | | - gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; |
|---|
| 769 | | - enable-active-high; |
|---|
| 770 | | -}; |
|---|
| 771 | | - |
|---|
| 772 | | -&vcc3v3_lcd1_n { |
|---|
| 773 | | - gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>; //MIPI_3V3EN_GPIO3_A3_d_3V3 |
|---|
| 774 | | - enable-active-high; |
|---|
| 775 | | -}; |
|---|
| 776 | 805 | |
|---|
| 777 | 806 | &wireless_wlan { |
|---|
| 778 | 807 | pinctrl-names = "default"; |
|---|
| .. | .. |
|---|
| 792 | 821 | BT,reset_gpio = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; |
|---|
| 793 | 822 | BT,wake_gpio = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; |
|---|
| 794 | 823 | BT,wake_host_irq = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; |
|---|
| 795 | | - status = "okay"; |
|---|
| 824 | + status = "disabled"; |
|---|
| 796 | 825 | }; |
|---|
| 797 | 826 | |
|---|
| 798 | 827 | &uart0 { |
|---|
| 799 | | - status = "okay"; |
|---|
| 828 | + status = "disabled"; |
|---|
| 800 | 829 | }; |
|---|
| 801 | 830 | |
|---|
| 802 | 831 | &uart1 { |
|---|
| 803 | 832 | pinctrl-names = "default"; |
|---|
| 804 | 833 | pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>; |
|---|
| 805 | | - status = "okay"; |
|---|
| 834 | + status = "disabled"; |
|---|
| 806 | 835 | }; |
|---|
| 807 | 836 | |
|---|
| 808 | 837 | &uart3 { |
|---|
| .. | .. |
|---|
| 811 | 840 | }; |
|---|
| 812 | 841 | |
|---|
| 813 | 842 | &uart4 { |
|---|
| 814 | | - status = "okay"; |
|---|
| 843 | + status = "disabled"; |
|---|
| 815 | 844 | pinctrl-0 = <&uart4m1_xfer>; |
|---|
| 816 | 845 | }; |
|---|
| 817 | 846 | |
|---|
| .. | .. |
|---|
| 820 | 849 | pinctrl-0 = <&uart5m1_xfer>; |
|---|
| 821 | 850 | }; |
|---|
| 822 | 851 | |
|---|
| 852 | + |
|---|
| 823 | 853 | &uart7 { |
|---|
| 824 | 854 | status = "okay"; |
|---|
| 825 | 855 | pinctrl-0 = <&uart7m1_xfer>; |
|---|
| 826 | 856 | }; |
|---|
| 827 | 857 | |
|---|
| 858 | +&uart8 { |
|---|
| 859 | + status = "disabled"; |
|---|
| 860 | + pinctrl-0 = <&uart8m1_xfer>; |
|---|
| 861 | +}; |
|---|
| 862 | + |
|---|
| 828 | 863 | &uart9 { |
|---|
| 829 | | - status = "okay"; |
|---|
| 864 | + status = "disabled"; |
|---|
| 830 | 865 | pinctrl-0 = <&uart9m1_xfer>; |
|---|
| 831 | 866 | }; |
|---|