| .. | .. |
|---|
| 27 | 27 | }; |
|---|
| 28 | 28 | |
|---|
| 29 | 29 | es8316_sound: es8316-sound { |
|---|
| 30 | | - status = "okay"; |
|---|
| 30 | + status = "disabled"; |
|---|
| 31 | 31 | compatible = "rockchip,multicodecs-card"; |
|---|
| 32 | 32 | rockchip,card-name = "rockchip-es8316"; |
|---|
| 33 | 33 | rockchip,format = "i2s"; |
|---|
| .. | .. |
|---|
| 235 | 235 | BT,reset_gpio = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; //BT_DISABLE_GPIO0_B2_u_1V8 |
|---|
| 236 | 236 | //BT,wake_gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>;//HOST_WAKE_BT_H |
|---|
| 237 | 237 | //BT,wake_host_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;//BT_WAKE_HOST_H |
|---|
| 238 | | - status = "okay"; |
|---|
| 238 | + status = "disabled"; |
|---|
| 239 | 239 | }; |
|---|
| 240 | 240 | |
|---|
| 241 | 241 | wireless_wlan: wireless-wlan { |
|---|
| .. | .. |
|---|
| 245 | 245 | // pinctrl-0 = <&wifi_host_wake_irq>; |
|---|
| 246 | 246 | // WIFI,host_wake_irq = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>; //GPIO2_B5_u_1V8_WF-BT_WAKEUP_IN |
|---|
| 247 | 247 | // WIFI,poweren_gpio = <&gpio0 RK_PC4 GPIO_ACTIVE_HIGH>; |
|---|
| 248 | | - status = "okay"; |
|---|
| 248 | + status = "disabled"; |
|---|
| 249 | 249 | }; |
|---|
| 250 | 250 | |
|---|
| 251 | 251 | ndj_io_init { |
|---|
| .. | .. |
|---|
| 253 | 253 | pinctrl-names = "default"; |
|---|
| 254 | 254 | pinctrl-0 = <&ndj_io_gpio>; |
|---|
| 255 | 255 | |
|---|
| 256 | | - vcc_12v { |
|---|
| 257 | | - gpio_num = <&gpio0 RK_PD3 GPIO_ACTIVE_HIGH>; |
|---|
| 258 | | - gpio_function = <0>; |
|---|
| 259 | | - };//VCC12_IO_EN_GPIO0_D3_u_3V3 |
|---|
| 260 | | - |
|---|
| 261 | | - vcc_3v { |
|---|
| 262 | | - gpio_num = <&gpio4 RK_PA1 GPIO_ACTIVE_HIGH>; |
|---|
| 263 | | - gpio_function = <0>; |
|---|
| 264 | | - };//VCC3_IO_EN_GPIO4_A1_d_3V3 |
|---|
| 256 | + |
|---|
| 265 | 257 | |
|---|
| 266 | 258 | hub_5V_reset { |
|---|
| 267 | 259 | gpio_num = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; |
|---|
| 268 | 260 | gpio_function = <3>; |
|---|
| 269 | 261 | };//HUB_RESET_GPIO4_B6_d_3V3 |
|---|
| 270 | 262 | |
|---|
| 271 | | - 4g_power { |
|---|
| 272 | | - gpio_num = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; |
|---|
| 273 | | - gpio_function = <0>; |
|---|
| 274 | | - };//4G_PWREN_GPIO3_C7_u_3V3 |
|---|
| 275 | 263 | |
|---|
| 276 | | - wake_wifi_bt { |
|---|
| 277 | | - gpio_num = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; |
|---|
| 278 | | - gpio_function = <0>; |
|---|
| 279 | | - };//GPIO2_B5_u_1V8_WF-BT_WAKEUP_IN |
|---|
| 280 | 264 | |
|---|
| 281 | | - air_mode_4g { |
|---|
| 282 | | - gpio_num = <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>; |
|---|
| 283 | | - gpio_function = <0>; |
|---|
| 284 | | - }; //GPIO2_B4_u_1V8_4G_AIR_MODE_IN |
|---|
| 285 | | - |
|---|
| 286 | | - reset_4g { |
|---|
| 287 | | - gpio_num = <&gpio2 RK_PC3 GPIO_ACTIVE_LOW>; |
|---|
| 288 | | - gpio_function = <3>; |
|---|
| 289 | | - }; //GPIO2_C3_d_1V8_4G_RESET_N_IN |
|---|
| 290 | 265 | }; |
|---|
| 291 | 266 | |
|---|
| 292 | 267 | |
|---|
| .. | .. |
|---|
| 365 | 340 | }; |
|---|
| 366 | 341 | |
|---|
| 367 | 342 | &backlight { |
|---|
| 368 | | - pwms = <&pwm10 0 25000 0>; |
|---|
| 343 | + pwms = <&pwm3 0 25000 0>; |
|---|
| 369 | 344 | status = "okay"; |
|---|
| 370 | 345 | }; |
|---|
| 371 | 346 | |
|---|
| 372 | 347 | &backlight1 { |
|---|
| 373 | 348 | pwms = <&pwm11 0 25000 0>; |
|---|
| 374 | | - status = "okay"; |
|---|
| 349 | + status = "disabled"; |
|---|
| 375 | 350 | }; |
|---|
| 376 | 351 | |
|---|
| 377 | 352 | &combphy0_ps { |
|---|
| .. | .. |
|---|
| 432 | 407 | }; |
|---|
| 433 | 408 | |
|---|
| 434 | 409 | &dsi0_in_vp3 { |
|---|
| 435 | | - status = "okay"; |
|---|
| 410 | + status = "disabled"; |
|---|
| 436 | 411 | }; |
|---|
| 437 | 412 | |
|---|
| 438 | 413 | /* |
|---|
| .. | .. |
|---|
| 465 | 440 | //pinctrl-0 = <&lcd_rst_gpio>; |
|---|
| 466 | 441 | }; |
|---|
| 467 | 442 | |
|---|
| 443 | +&gmac0 { |
|---|
| 444 | + /* Use rgmii-rxid mode to disable rx delay inside Soc */ |
|---|
| 445 | + phy-mode = "rgmii-rxid"; |
|---|
| 446 | + clock_in_out = "output"; |
|---|
| 447 | + |
|---|
| 448 | + snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; |
|---|
| 449 | + snps,reset-active-low; |
|---|
| 450 | + /* Reset time is 20ms, 100ms for rtl8211f */ |
|---|
| 451 | + snps,reset-delays-us = <0 20000 100000>; |
|---|
| 452 | + |
|---|
| 453 | + pinctrl-names = "default"; |
|---|
| 454 | + pinctrl-0 = <&gmac0_miim |
|---|
| 455 | + &gmac0_tx_bus2 |
|---|
| 456 | + &gmac0_rx_bus2 |
|---|
| 457 | + &gmac0_rgmii_clk |
|---|
| 458 | + &gmac0_rgmii_bus |
|---|
| 459 | + ð0_pins |
|---|
| 460 | + &gmac0_clkinout>; |
|---|
| 461 | + tx_delay = <0x44>; |
|---|
| 462 | + /* rx_delay = <0x4f>; */ |
|---|
| 463 | + |
|---|
| 464 | + phy-handle = <&rgmii_phy0>; |
|---|
| 465 | + status = "okay"; |
|---|
| 466 | +}; |
|---|
| 467 | + |
|---|
| 468 | 468 | &gmac1 { |
|---|
| 469 | 469 | /* Use rgmii-rxid mode to disable rx delay inside Soc */ |
|---|
| 470 | 470 | phy-mode = "rgmii-rxid"; |
|---|
| .. | .. |
|---|
| 485 | 485 | tx_delay = <0x43>; |
|---|
| 486 | 486 | /* rx_delay = <0x3f>; */ |
|---|
| 487 | 487 | |
|---|
| 488 | | - phy-handle = <&rgmii_phy>; |
|---|
| 488 | + phy-handle = <&rgmii_phy1>; |
|---|
| 489 | 489 | status = "okay"; |
|---|
| 490 | 490 | }; |
|---|
| 491 | 491 | |
|---|
| .. | .. |
|---|
| 522 | 522 | #sound-dai-cells = <1>; |
|---|
| 523 | 523 | /* Effective level used to trigger HPD: 0-low, 1-high */ |
|---|
| 524 | 524 | hpd-trigger-level = <1>; |
|---|
| 525 | | - hdmirx-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; |
|---|
| 525 | + hdmirx-det-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_LOW>; |
|---|
| 526 | 526 | pinctrl-names = "default"; |
|---|
| 527 | 527 | pinctrl-0 = <&hdmim1_rx &hdmirx_det>; |
|---|
| 528 | 528 | }; |
|---|
| .. | .. |
|---|
| 817 | 817 | }; |
|---|
| 818 | 818 | |
|---|
| 819 | 819 | &mdio1 { |
|---|
| 820 | | - rgmii_phy: phy@1 { |
|---|
| 820 | + rgmii_phy1: phy@1 { |
|---|
| 821 | 821 | compatible = "ethernet-phy-ieee802.3-c22"; |
|---|
| 822 | 822 | reg = <0x1>; |
|---|
| 823 | 823 | }; |
|---|
| 824 | 824 | }; |
|---|
| 825 | 825 | |
|---|
| 826 | +&mdio0 { |
|---|
| 827 | + rgmii_phy0: phy@1 { |
|---|
| 828 | + compatible = "ethernet-phy-ieee802.3-c22"; |
|---|
| 829 | + reg = <0x1>; |
|---|
| 830 | + }; |
|---|
| 831 | +}; |
|---|
| 826 | 832 | |
|---|
| 827 | 833 | |
|---|
| 828 | 834 | &mipi_dcphy1 { |
|---|
| .. | .. |
|---|
| 831 | 837 | |
|---|
| 832 | 838 | &pcie2x1l2 { |
|---|
| 833 | 839 | phys = <&combphy0_ps PHY_TYPE_PCIE>; |
|---|
| 834 | | - reset-gpios = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;//PCIE20x1_2_RSTn_GPIO3_D0_3V3 |
|---|
| 840 | + reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;//PCIE20x1_2_RSTn_GPIO3_D0_3V3 |
|---|
| 835 | 841 | vpcie3v3-supply = <&vcc3v3_pcie30>; |
|---|
| 836 | 842 | status = "okay"; |
|---|
| 837 | 843 | };//MINIPCIE |
|---|
| .. | .. |
|---|
| 890 | 896 | |
|---|
| 891 | 897 | hdmi { |
|---|
| 892 | 898 | hdmirx_det: hdmirx-det { |
|---|
| 893 | | - rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_up>; |
|---|
| 899 | + rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_up>; |
|---|
| 894 | 900 | }; |
|---|
| 895 | 901 | }; |
|---|
| 896 | 902 | |
|---|
| .. | .. |
|---|
| 969 | 975 | ndj_io_init{ |
|---|
| 970 | 976 | ndj_io_gpio: ndj_io_gpio_col{ |
|---|
| 971 | 977 | rockchip,pins = |
|---|
| 972 | | - <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 973 | | - <4 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 974 | | - <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 975 | | - <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 976 | | - <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 977 | | - <2 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>, |
|---|
| 978 | | - <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, //vcc_5v |
|---|
| 979 | | - <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_MISO_M2_1V8 41 |
|---|
| 980 | | - <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_MISO_M2_1V8 32 |
|---|
| 981 | | - <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_MOSI_M2_3V3 42 |
|---|
| 982 | | - <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_MOSI_M2_1V8 33 |
|---|
| 983 | | - <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_CLK_M2_1V8 43 |
|---|
| 984 | | - <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>, //SPI4_CLK_M2_1V8 34 |
|---|
| 985 | | - <1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>, //SPI0_CS0_M2_1V8 44 |
|---|
| 978 | + |
|---|
| 986 | 979 | <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; //SPI4_CS0_M2_1V8 35 |
|---|
| 987 | 980 | }; |
|---|
| 988 | 981 | }; |
|---|
| 989 | 982 | }; |
|---|
| 990 | 983 | &pwm3 { |
|---|
| 991 | | - pinctrl-0 = <&pwm3m1_pins>; |
|---|
| 992 | 984 | status = "okay"; |
|---|
| 985 | + pinctrl-0 = <&pwm3m1_pins>; |
|---|
| 993 | 986 | }; |
|---|
| 994 | 987 | |
|---|
| 995 | 988 | &route_dsi0 { |
|---|
| .. | .. |
|---|
| 1003 | 996 | }; |
|---|
| 1004 | 997 | |
|---|
| 1005 | 998 | &pwm10 { |
|---|
| 1006 | | - status = "okay"; |
|---|
| 999 | + status = "disabled"; |
|---|
| 1007 | 1000 | pinctrl-0 = <&pwm10m2_pins>; |
|---|
| 1008 | 1001 | }; |
|---|
| 1009 | 1002 | |
|---|
| 1010 | 1003 | &pwm11 { |
|---|
| 1011 | | - status = "okay"; |
|---|
| 1004 | + status = "disabled"; |
|---|
| 1012 | 1005 | pinctrl-0 = <&pwm11m3_pins>; |
|---|
| 1013 | 1006 | }; |
|---|
| 1014 | 1007 | |
|---|
| .. | .. |
|---|
| 1022 | 1015 | |
|---|
| 1023 | 1016 | &sata0 { |
|---|
| 1024 | 1017 | status = "disabled"; |
|---|
| 1018 | +}; |
|---|
| 1019 | + |
|---|
| 1020 | +&sata2 { |
|---|
| 1021 | + status = "okay"; |
|---|
| 1025 | 1022 | }; |
|---|
| 1026 | 1023 | |
|---|
| 1027 | 1024 | &sdio { |
|---|
| .. | .. |
|---|
| 1038 | 1035 | pinctrl-names = "default"; |
|---|
| 1039 | 1036 | pinctrl-0 = <&sdiom0_pins>; |
|---|
| 1040 | 1037 | sd-uhs-sdr104; |
|---|
| 1041 | | - status = "okay"; |
|---|
| 1038 | + status = "disabled"; |
|---|
| 1042 | 1039 | }; |
|---|
| 1043 | 1040 | |
|---|
| 1044 | 1041 | &sdmmc { |
|---|
| .. | .. |
|---|
| 1098 | 1095 | #endif |
|---|
| 1099 | 1096 | |
|---|
| 1100 | 1097 | &uart1 { |
|---|
| 1101 | | - status = "okay"; |
|---|
| 1098 | + status = "disabled"; |
|---|
| 1102 | 1099 | // dma-names = "tx", "rx"; //ʹÓÃdma´«Êäģʽ |
|---|
| 1103 | 1100 | pinctrl-names = "default"; |
|---|
| 1104 | 1101 | pinctrl-0 = <&uart1m0_xfer>; |
|---|
| .. | .. |
|---|
| 1112 | 1109 | |
|---|
| 1113 | 1110 | |
|---|
| 1114 | 1111 | &uart4 { |
|---|
| 1115 | | - status = "okay"; |
|---|
| 1112 | + status = "disabled"; |
|---|
| 1116 | 1113 | pinctrl-names = "default"; |
|---|
| 1117 | 1114 | pinctrl-0 = <&uart4m0_xfer>; |
|---|
| 1118 | 1115 | }; |
|---|
| .. | .. |
|---|
| 1130 | 1127 | }; |
|---|
| 1131 | 1128 | |
|---|
| 1132 | 1129 | &uart7 { |
|---|
| 1133 | | - status = "okay"; |
|---|
| 1130 | + status = "disabled"; |
|---|
| 1134 | 1131 | pinctrl-names = "default"; |
|---|
| 1135 | 1132 | pinctrl-0 = <&uart7m1_xfer>; |
|---|
| 1136 | 1133 | }; |
|---|
| .. | .. |
|---|
| 1143 | 1140 | |
|---|
| 1144 | 1141 | |
|---|
| 1145 | 1142 | &uart9 { |
|---|
| 1146 | | - status = "okay"; |
|---|
| 1143 | + status = "disabled"; |
|---|
| 1147 | 1144 | pinctrl-names = "default"; |
|---|
| 1148 | 1145 | pinctrl-0 = <&uart9m0_xfer &uart9m0_ctsn>; |
|---|
| 1149 | 1146 | }; |
|---|