Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame^] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | |
| 3 | /dts-v1/; |
| 4 | |
| 5 | #include <dt-bindings/pinctrl/rockchip.h> |
| 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | #include <dt-bindings/input/input.h> |
| 8 | #include "rk3588s.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "FriendlyElec NanoPi R6S"; |
| 12 | compatible = "friendlyarm,nanopi-r6s", "rockchip,rk3588s"; |
| 13 | |
| 14 | aliases { |
| 15 | ethernet0 = &gmac1; |
| 16 | mmc0 = &sdmmc; |
| 17 | mmc1 = &sdhci; |
| 18 | }; |
| 19 | |
| 20 | chosen { |
| 21 | stdout-path = "serial2:1500000n8"; |
| 22 | }; |
| 23 | |
| 24 | adc-keys { |
| 25 | compatible = "adc-keys"; |
| 26 | io-channels = <&saradc 0>; |
| 27 | io-channel-names = "buttons"; |
| 28 | keyup-threshold-microvolt = <1800000>; |
| 29 | poll-interval = <100>; |
| 30 | |
| 31 | button-maskrom { |
| 32 | label = "Maskrom"; |
| 33 | linux,code = <KEY_VENDOR>; |
| 34 | press-threshold-microvolt = <1800>; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | gpio-keys { |
| 39 | compatible = "gpio-keys"; |
| 40 | pinctrl-names = "default"; |
| 41 | pinctrl-0 = <&key1_pin>; |
| 42 | |
| 43 | button-user { |
| 44 | label = "User"; |
| 45 | linux,code = <BTN_1>; |
| 46 | gpios = <&gpio1 RK_PC0 GPIO_ACTIVE_LOW>; |
| 47 | debounce-interval = <50>; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | leds { |
| 52 | compatible = "gpio-leds"; |
| 53 | |
| 54 | sys_led: led-0 { |
| 55 | label = "sys_led"; |
| 56 | gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; |
| 57 | linux,default-trigger = "heartbeat"; |
| 58 | pinctrl-names = "default"; |
| 59 | pinctrl-0 = <&sys_led_pin>; |
| 60 | }; |
| 61 | |
| 62 | wan_led: led-1 { |
| 63 | label = "wan_led"; |
| 64 | gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; |
| 65 | pinctrl-names = "default"; |
| 66 | pinctrl-0 = <&wan_led_pin>; |
| 67 | }; |
| 68 | |
| 69 | lan1_led: led-2 { |
| 70 | label = "lan1_led"; |
| 71 | gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_HIGH>; |
| 72 | pinctrl-names = "default"; |
| 73 | pinctrl-0 = <&lan1_led_pin>; |
| 74 | }; |
| 75 | |
| 76 | lan2_led: led-3 { |
| 77 | label = "lan2_led"; |
| 78 | gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>; |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&lan2_led_pin>; |
| 81 | }; |
| 82 | }; |
| 83 | |
| 84 | vcc5v0_sys: vcc5v0-sys-regulator { |
| 85 | compatible = "regulator-fixed"; |
| 86 | regulator-name = "vcc5v0_sys"; |
| 87 | regulator-always-on; |
| 88 | regulator-boot-on; |
| 89 | regulator-min-microvolt = <5000000>; |
| 90 | regulator-max-microvolt = <5000000>; |
| 91 | }; |
| 92 | |
| 93 | vcc_1v1_nldo_s3: vcc-1v1-nldo-s3-regulator { |
| 94 | compatible = "regulator-fixed"; |
| 95 | regulator-name = "vcc_1v1_nldo_s3"; |
| 96 | regulator-always-on; |
| 97 | regulator-boot-on; |
| 98 | regulator-min-microvolt = <1100000>; |
| 99 | regulator-max-microvolt = <1100000>; |
| 100 | vin-supply = <&vcc5v0_sys>; |
| 101 | }; |
| 102 | |
| 103 | vcc_3v3_s0: vcc-3v3-s0-regulator { |
| 104 | compatible = "regulator-fixed"; |
| 105 | regulator-always-on; |
| 106 | regulator-boot-on; |
| 107 | regulator-min-microvolt = <3300000>; |
| 108 | regulator-max-microvolt = <3300000>; |
| 109 | regulator-name = "vcc_3v3_s0"; |
| 110 | vin-supply = <&vcc_3v3_s3>; |
| 111 | }; |
| 112 | |
| 113 | vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator { |
| 114 | compatible = "regulator-fixed"; |
| 115 | enable-active-high; |
| 116 | gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; |
| 117 | pinctrl-names = "default"; |
| 118 | pinctrl-0 = <&sd_s0_pwr>; |
| 119 | regulator-name = "vcc_3v3_sd_s0"; |
| 120 | regulator-boot-on; |
| 121 | regulator-max-microvolt = <3000000>; |
| 122 | regulator-min-microvolt = <3000000>; |
| 123 | vin-supply = <&vcc_3v3_s3>; |
| 124 | }; |
| 125 | |
| 126 | vcc_3v3_pcie20: vcc3v3-pcie20-regulator { |
| 127 | compatible = "regulator-fixed"; |
| 128 | regulator-name = "vcc_3v3_pcie20"; |
| 129 | regulator-always-on; |
| 130 | regulator-boot-on; |
| 131 | regulator-min-microvolt = <3300000>; |
| 132 | regulator-max-microvolt = <3300000>; |
| 133 | vin-supply = <&vcc_3v3_s3>; |
| 134 | }; |
| 135 | |
| 136 | vcc5v0_usb: vcc5v0-usb-regulator { |
| 137 | compatible = "regulator-fixed"; |
| 138 | regulator-name = "vcc5v0_usb"; |
| 139 | regulator-always-on; |
| 140 | regulator-boot-on; |
| 141 | regulator-min-microvolt = <5000000>; |
| 142 | regulator-max-microvolt = <5000000>; |
| 143 | vin-supply = <&vcc5v0_sys>; |
| 144 | }; |
| 145 | |
| 146 | vcc5v0_usb_otg0: vcc5v0-usb-otg0-regulator { |
| 147 | compatible = "regulator-fixed"; |
| 148 | enable-active-high; |
| 149 | gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; |
| 150 | pinctrl-names = "default"; |
| 151 | pinctrl-0 = <&typec5v_pwren>; |
| 152 | regulator-name = "vcc5v0_usb_otg0"; |
| 153 | regulator-min-microvolt = <5000000>; |
| 154 | regulator-max-microvolt = <5000000>; |
| 155 | vin-supply = <&vcc5v0_usb>; |
| 156 | }; |
| 157 | |
| 158 | vcc5v0_host_20: vcc5v0-host-20-regulator { |
| 159 | compatible = "regulator-fixed"; |
| 160 | enable-active-high; |
| 161 | gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; |
| 162 | pinctrl-names = "default"; |
| 163 | pinctrl-0 = <&vcc5v0_host20_en>; |
| 164 | regulator-name = "vcc5v0_host_20"; |
| 165 | regulator-min-microvolt = <5000000>; |
| 166 | regulator-max-microvolt = <5000000>; |
| 167 | vin-supply = <&vcc5v0_usb>; |
| 168 | }; |
| 169 | }; |
| 170 | |
| 171 | &combphy0_ps { |
| 172 | status = "okay"; |
| 173 | }; |
| 174 | |
| 175 | &combphy2_psu { |
| 176 | status = "okay"; |
| 177 | }; |
| 178 | |
| 179 | &cpu_b0 { |
| 180 | cpu-supply = <&vdd_cpu_big0_s0>; |
| 181 | }; |
| 182 | |
| 183 | &cpu_b1 { |
| 184 | cpu-supply = <&vdd_cpu_big0_s0>; |
| 185 | }; |
| 186 | |
| 187 | &cpu_b2 { |
| 188 | cpu-supply = <&vdd_cpu_big1_s0>; |
| 189 | }; |
| 190 | |
| 191 | &cpu_b3 { |
| 192 | cpu-supply = <&vdd_cpu_big1_s0>; |
| 193 | }; |
| 194 | |
| 195 | &cpu_l0 { |
| 196 | cpu-supply = <&vdd_cpu_lit_s0>; |
| 197 | }; |
| 198 | |
| 199 | &cpu_l1 { |
| 200 | cpu-supply = <&vdd_cpu_lit_s0>; |
| 201 | }; |
| 202 | |
| 203 | &cpu_l2 { |
| 204 | cpu-supply = <&vdd_cpu_lit_s0>; |
| 205 | }; |
| 206 | |
| 207 | &cpu_l3 { |
| 208 | cpu-supply = <&vdd_cpu_lit_s0>; |
| 209 | }; |
| 210 | |
| 211 | &gmac1 { |
| 212 | clock_in_out = "output"; |
| 213 | phy-handle = <&rgmii_phy1>; |
| 214 | phy-mode = "rgmii-rxid"; |
| 215 | pinctrl-0 = <&gmac1_miim |
| 216 | &gmac1_tx_bus2 |
| 217 | &gmac1_rx_bus2 |
| 218 | &gmac1_rgmii_clk |
| 219 | &gmac1_rgmii_bus>; |
| 220 | pinctrl-names = "default"; |
| 221 | tx_delay = <0x42>; |
| 222 | status = "okay"; |
| 223 | }; |
| 224 | |
| 225 | &i2c0 { |
| 226 | pinctrl-names = "default"; |
| 227 | pinctrl-0 = <&i2c0m2_xfer>; |
| 228 | status = "okay"; |
| 229 | |
| 230 | vdd_cpu_big0_s0: regulator@42 { |
| 231 | compatible = "rockchip,rk8602"; |
| 232 | reg = <0x42>; |
| 233 | fcs,suspend-voltage-selector = <1>; |
| 234 | regulator-name = "vdd_cpu_big0_s0"; |
| 235 | regulator-always-on; |
| 236 | regulator-boot-on; |
| 237 | regulator-min-microvolt = <550000>; |
| 238 | regulator-max-microvolt = <1050000>; |
| 239 | regulator-ramp-delay = <2300>; |
| 240 | vin-supply = <&vcc5v0_sys>; |
| 241 | |
| 242 | regulator-state-mem { |
| 243 | regulator-off-in-suspend; |
| 244 | }; |
| 245 | }; |
| 246 | |
| 247 | vdd_cpu_big1_s0: regulator@43 { |
| 248 | compatible = "rockchip,rk8603", "rockchip,rk8602"; |
| 249 | reg = <0x43>; |
| 250 | fcs,suspend-voltage-selector = <1>; |
| 251 | regulator-name = "vdd_cpu_big1_s0"; |
| 252 | regulator-always-on; |
| 253 | regulator-boot-on; |
| 254 | regulator-min-microvolt = <550000>; |
| 255 | regulator-max-microvolt = <1050000>; |
| 256 | regulator-ramp-delay = <2300>; |
| 257 | vin-supply = <&vcc5v0_sys>; |
| 258 | |
| 259 | regulator-state-mem { |
| 260 | regulator-off-in-suspend; |
| 261 | }; |
| 262 | }; |
| 263 | }; |
| 264 | |
| 265 | &i2c2 { |
| 266 | status = "okay"; |
| 267 | |
| 268 | vdd_npu_s0: regulator@42 { |
| 269 | compatible = "rockchip,rk8602"; |
| 270 | reg = <0x42>; |
| 271 | fcs,suspend-voltage-selector = <1>; |
| 272 | regulator-name = "vdd_npu_s0"; |
| 273 | regulator-min-microvolt = <550000>; |
| 274 | regulator-max-microvolt = <950000>; |
| 275 | regulator-ramp-delay = <2300>; |
| 276 | regulator-boot-on; |
| 277 | regulator-always-on; |
| 278 | vin-supply = <&vcc5v0_sys>; |
| 279 | |
| 280 | regulator-state-mem { |
| 281 | regulator-off-in-suspend; |
| 282 | }; |
| 283 | }; |
| 284 | }; |
| 285 | |
| 286 | &i2c6 { |
| 287 | clock-frequency = <200000>; |
| 288 | pinctrl-names = "default"; |
| 289 | pinctrl-0 = <&i2c6m0_xfer>; |
| 290 | status = "okay"; |
| 291 | |
| 292 | hym8563: rtc@51 { |
| 293 | compatible = "haoyu,hym8563"; |
| 294 | reg = <0x51>; |
| 295 | #clock-cells = <0>; |
| 296 | clock-output-names = "hym8563"; |
| 297 | pinctrl-names = "default"; |
| 298 | pinctrl-0 = <&rtc_int>; |
| 299 | interrupt-parent = <&gpio0>; |
| 300 | interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; |
| 301 | wakeup-source; |
| 302 | }; |
| 303 | }; |
| 304 | |
| 305 | &mdio1 { |
| 306 | rgmii_phy1: ethernet-phy@1 { |
| 307 | compatible = "ethernet-phy-id001c.c916"; |
| 308 | reg = <0x1>; |
| 309 | pinctrl-names = "default"; |
| 310 | pinctrl-0 = <&rtl8211f_rst>; |
| 311 | reset-assert-us = <20000>; |
| 312 | reset-deassert-us = <100000>; |
| 313 | reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; |
| 314 | }; |
| 315 | }; |
| 316 | |
| 317 | &pcie2x1l1 { |
| 318 | reset-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; |
| 319 | vpcie3v3-supply = <&vcc_3v3_pcie20>; |
| 320 | status = "okay"; |
| 321 | }; |
| 322 | |
| 323 | &pcie2x1l2 { |
| 324 | reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; |
| 325 | vpcie3v3-supply = <&vcc_3v3_pcie20>; |
| 326 | status = "okay"; |
| 327 | }; |
| 328 | |
| 329 | &pinctrl { |
| 330 | gpio-key { |
| 331 | key1_pin: key1-pin { |
| 332 | rockchip,pins = <1 RK_PC0 RK_FUNC_GPIO &pcfg_pull_up>; |
| 333 | }; |
| 334 | }; |
| 335 | |
| 336 | gpio-leds { |
| 337 | sys_led_pin: sys-led-pin { |
| 338 | rockchip,pins = |
| 339 | <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 340 | }; |
| 341 | |
| 342 | wan_led_pin: wan-led-pin { |
| 343 | rockchip,pins = |
| 344 | <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; |
| 345 | }; |
| 346 | |
| 347 | lan1_led_pin: lan1-led-pin { |
| 348 | rockchip,pins = |
| 349 | <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; |
| 350 | }; |
| 351 | |
| 352 | lan2_led_pin: lan2-led-pin { |
| 353 | rockchip,pins = |
| 354 | <1 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>; |
| 355 | }; |
| 356 | }; |
| 357 | |
| 358 | hym8563 { |
| 359 | rtc_int: rtc-int { |
| 360 | rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; |
| 361 | }; |
| 362 | }; |
| 363 | |
| 364 | sdmmc { |
| 365 | sd_s0_pwr: sd-s0-pwr { |
| 366 | rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; |
| 367 | }; |
| 368 | }; |
| 369 | |
| 370 | usb { |
| 371 | typec5v_pwren: typec5v-pwren { |
| 372 | rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; |
| 373 | }; |
| 374 | |
| 375 | vcc5v0_host20_en: vcc5v0-host20-en { |
| 376 | rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 377 | }; |
| 378 | }; |
| 379 | |
| 380 | rtl8211f { |
| 381 | rtl8211f_rst: rtl8211f-rst { |
| 382 | rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; |
| 383 | }; |
| 384 | }; |
| 385 | }; |
| 386 | |
| 387 | &saradc { |
| 388 | vref-supply = <&avcc_1v8_s0>; |
| 389 | status = "okay"; |
| 390 | }; |
| 391 | |
| 392 | &sdhci { |
| 393 | bus-width = <8>; |
| 394 | no-sdio; |
| 395 | no-sd; |
| 396 | non-removable; |
| 397 | mmc-hs200-1_8v; |
| 398 | status = "okay"; |
| 399 | }; |
| 400 | |
| 401 | &sdmmc { |
| 402 | bus-width = <4>; |
| 403 | cap-sd-highspeed; |
| 404 | disable-wp; |
| 405 | max-frequency = <150000000>; |
| 406 | no-mmc; |
| 407 | no-sdio; |
| 408 | sd-uhs-sdr104; |
| 409 | vmmc-supply = <&vcc_3v3_sd_s0>; |
| 410 | vqmmc-supply = <&vccio_sd_s0>; |
| 411 | status = "okay"; |
| 412 | }; |
| 413 | |
| 414 | &spi2 { |
| 415 | status = "okay"; |
| 416 | assigned-clocks = <&cru CLK_SPI2>; |
| 417 | assigned-clock-rates = <200000000>; |
| 418 | pinctrl-names = "default"; |
| 419 | pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; |
| 420 | num-cs = <1>; |
| 421 | |
| 422 | pmic@0 { |
| 423 | compatible = "rockchip,rk806"; |
| 424 | spi-max-frequency = <1000000>; |
| 425 | reg = <0x0>; |
| 426 | |
| 427 | interrupt-parent = <&gpio0>; |
| 428 | interrupts = <7 IRQ_TYPE_LEVEL_LOW>; |
| 429 | |
| 430 | pinctrl-names = "default"; |
| 431 | pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, |
| 432 | <&rk806_dvs2_null>, <&rk806_dvs3_null>; |
| 433 | |
| 434 | system-power-controller; |
| 435 | |
| 436 | vcc1-supply = <&vcc5v0_sys>; |
| 437 | vcc2-supply = <&vcc5v0_sys>; |
| 438 | vcc3-supply = <&vcc5v0_sys>; |
| 439 | vcc4-supply = <&vcc5v0_sys>; |
| 440 | vcc5-supply = <&vcc5v0_sys>; |
| 441 | vcc6-supply = <&vcc5v0_sys>; |
| 442 | vcc7-supply = <&vcc5v0_sys>; |
| 443 | vcc8-supply = <&vcc5v0_sys>; |
| 444 | vcc9-supply = <&vcc5v0_sys>; |
| 445 | vcc10-supply = <&vcc5v0_sys>; |
| 446 | vcc11-supply = <&vcc_2v0_pldo_s3>; |
| 447 | vcc12-supply = <&vcc5v0_sys>; |
| 448 | vcc13-supply = <&vcc_1v1_nldo_s3>; |
| 449 | vcc14-supply = <&vcc_1v1_nldo_s3>; |
| 450 | vcca-supply = <&vcc5v0_sys>; |
| 451 | |
| 452 | gpio-controller; |
| 453 | #gpio-cells = <2>; |
| 454 | |
| 455 | rk806_dvs1_null: dvs1-null-pins { |
| 456 | pins = "gpio_pwrctrl1"; |
| 457 | function = "pin_fun0"; |
| 458 | }; |
| 459 | |
| 460 | rk806_dvs2_null: dvs2-null-pins { |
| 461 | pins = "gpio_pwrctrl2"; |
| 462 | function = "pin_fun0"; |
| 463 | }; |
| 464 | |
| 465 | rk806_dvs3_null: dvs3-null-pins { |
| 466 | pins = "gpio_pwrctrl3"; |
| 467 | function = "pin_fun0"; |
| 468 | }; |
| 469 | |
| 470 | regulators { |
| 471 | vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { |
| 472 | regulator-boot-on; |
| 473 | regulator-min-microvolt = <550000>; |
| 474 | regulator-max-microvolt = <950000>; |
| 475 | regulator-ramp-delay = <12500>; |
| 476 | regulator-name = "vdd_gpu_s0"; |
| 477 | regulator-enable-ramp-delay = <400>; |
| 478 | |
| 479 | regulator-state-mem { |
| 480 | regulator-off-in-suspend; |
| 481 | }; |
| 482 | }; |
| 483 | |
| 484 | vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 { |
| 485 | regulator-always-on; |
| 486 | regulator-boot-on; |
| 487 | regulator-min-microvolt = <550000>; |
| 488 | regulator-max-microvolt = <950000>; |
| 489 | regulator-ramp-delay = <12500>; |
| 490 | regulator-name = "vdd_cpu_lit_s0"; |
| 491 | |
| 492 | regulator-state-mem { |
| 493 | regulator-off-in-suspend; |
| 494 | }; |
| 495 | }; |
| 496 | |
| 497 | vdd_log_s0: dcdc-reg3 { |
| 498 | regulator-always-on; |
| 499 | regulator-boot-on; |
| 500 | regulator-min-microvolt = <675000>; |
| 501 | regulator-max-microvolt = <750000>; |
| 502 | regulator-ramp-delay = <12500>; |
| 503 | regulator-name = "vdd_log_s0"; |
| 504 | |
| 505 | regulator-state-mem { |
| 506 | regulator-off-in-suspend; |
| 507 | regulator-suspend-microvolt = <750000>; |
| 508 | }; |
| 509 | }; |
| 510 | |
| 511 | vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { |
| 512 | regulator-always-on; |
| 513 | regulator-boot-on; |
| 514 | regulator-min-microvolt = <550000>; |
| 515 | regulator-max-microvolt = <950000>; |
| 516 | regulator-ramp-delay = <12500>; |
| 517 | regulator-name = "vdd_vdenc_s0"; |
| 518 | |
| 519 | regulator-state-mem { |
| 520 | regulator-off-in-suspend; |
| 521 | }; |
| 522 | }; |
| 523 | |
| 524 | vdd_ddr_s0: dcdc-reg5 { |
| 525 | regulator-always-on; |
| 526 | regulator-boot-on; |
| 527 | regulator-min-microvolt = <675000>; |
| 528 | regulator-max-microvolt = <900000>; |
| 529 | regulator-ramp-delay = <12500>; |
| 530 | regulator-name = "vdd_ddr_s0"; |
| 531 | |
| 532 | regulator-state-mem { |
| 533 | regulator-off-in-suspend; |
| 534 | regulator-suspend-microvolt = <850000>; |
| 535 | }; |
| 536 | }; |
| 537 | |
| 538 | vdd2_ddr_s3: dcdc-reg6 { |
| 539 | regulator-always-on; |
| 540 | regulator-boot-on; |
| 541 | regulator-name = "vdd2_ddr_s3"; |
| 542 | |
| 543 | regulator-state-mem { |
| 544 | regulator-on-in-suspend; |
| 545 | }; |
| 546 | }; |
| 547 | |
| 548 | vcc_2v0_pldo_s3: dcdc-reg7 { |
| 549 | regulator-always-on; |
| 550 | regulator-boot-on; |
| 551 | regulator-min-microvolt = <2000000>; |
| 552 | regulator-max-microvolt = <2000000>; |
| 553 | regulator-ramp-delay = <12500>; |
| 554 | regulator-name = "vdd_2v0_pldo_s3"; |
| 555 | |
| 556 | regulator-state-mem { |
| 557 | regulator-on-in-suspend; |
| 558 | regulator-suspend-microvolt = <2000000>; |
| 559 | }; |
| 560 | }; |
| 561 | |
| 562 | vcc_3v3_s3: dcdc-reg8 { |
| 563 | regulator-always-on; |
| 564 | regulator-boot-on; |
| 565 | regulator-min-microvolt = <3300000>; |
| 566 | regulator-max-microvolt = <3300000>; |
| 567 | regulator-name = "vcc_3v3_s3"; |
| 568 | |
| 569 | regulator-state-mem { |
| 570 | regulator-on-in-suspend; |
| 571 | regulator-suspend-microvolt = <3300000>; |
| 572 | }; |
| 573 | }; |
| 574 | |
| 575 | vddq_ddr_s0: dcdc-reg9 { |
| 576 | regulator-always-on; |
| 577 | regulator-boot-on; |
| 578 | regulator-name = "vddq_ddr_s0"; |
| 579 | |
| 580 | regulator-state-mem { |
| 581 | regulator-off-in-suspend; |
| 582 | }; |
| 583 | }; |
| 584 | |
| 585 | vcc_1v8_s3: dcdc-reg10 { |
| 586 | regulator-always-on; |
| 587 | regulator-boot-on; |
| 588 | regulator-min-microvolt = <1800000>; |
| 589 | regulator-max-microvolt = <1800000>; |
| 590 | regulator-name = "vcc_1v8_s3"; |
| 591 | |
| 592 | regulator-state-mem { |
| 593 | regulator-on-in-suspend; |
| 594 | regulator-suspend-microvolt = <1800000>; |
| 595 | }; |
| 596 | }; |
| 597 | |
| 598 | avcc_1v8_s0: pldo-reg1 { |
| 599 | regulator-always-on; |
| 600 | regulator-boot-on; |
| 601 | regulator-min-microvolt = <1800000>; |
| 602 | regulator-max-microvolt = <1800000>; |
| 603 | regulator-name = "avcc_1v8_s0"; |
| 604 | |
| 605 | regulator-state-mem { |
| 606 | regulator-off-in-suspend; |
| 607 | regulator-suspend-microvolt = <1800000>; |
| 608 | }; |
| 609 | }; |
| 610 | |
| 611 | vcc_1v8_s0: pldo-reg2 { |
| 612 | regulator-always-on; |
| 613 | regulator-boot-on; |
| 614 | regulator-min-microvolt = <1800000>; |
| 615 | regulator-max-microvolt = <1800000>; |
| 616 | regulator-name = "vcc_1v8_s0"; |
| 617 | |
| 618 | regulator-state-mem { |
| 619 | regulator-off-in-suspend; |
| 620 | regulator-suspend-microvolt = <1800000>; |
| 621 | }; |
| 622 | }; |
| 623 | |
| 624 | avdd_1v2_s0: pldo-reg3 { |
| 625 | regulator-always-on; |
| 626 | regulator-boot-on; |
| 627 | regulator-min-microvolt = <1200000>; |
| 628 | regulator-max-microvolt = <1200000>; |
| 629 | regulator-name = "avdd_1v2_s0"; |
| 630 | |
| 631 | regulator-state-mem { |
| 632 | regulator-off-in-suspend; |
| 633 | }; |
| 634 | }; |
| 635 | |
| 636 | avcc_3v3_s0: pldo-reg4 { |
| 637 | regulator-always-on; |
| 638 | regulator-boot-on; |
| 639 | regulator-min-microvolt = <3300000>; |
| 640 | regulator-max-microvolt = <3300000>; |
| 641 | regulator-ramp-delay = <12500>; |
| 642 | regulator-name = "avcc_3v3_s0"; |
| 643 | |
| 644 | regulator-state-mem { |
| 645 | regulator-off-in-suspend; |
| 646 | }; |
| 647 | }; |
| 648 | |
| 649 | vccio_sd_s0: pldo-reg5 { |
| 650 | regulator-always-on; |
| 651 | regulator-boot-on; |
| 652 | regulator-min-microvolt = <1800000>; |
| 653 | regulator-max-microvolt = <3300000>; |
| 654 | regulator-ramp-delay = <12500>; |
| 655 | regulator-name = "vccio_sd_s0"; |
| 656 | |
| 657 | regulator-state-mem { |
| 658 | regulator-off-in-suspend; |
| 659 | }; |
| 660 | }; |
| 661 | |
| 662 | pldo6_s3: pldo-reg6 { |
| 663 | regulator-always-on; |
| 664 | regulator-boot-on; |
| 665 | regulator-min-microvolt = <1800000>; |
| 666 | regulator-max-microvolt = <1800000>; |
| 667 | regulator-name = "pldo6_s3"; |
| 668 | |
| 669 | regulator-state-mem { |
| 670 | regulator-on-in-suspend; |
| 671 | regulator-suspend-microvolt = <1800000>; |
| 672 | }; |
| 673 | }; |
| 674 | |
| 675 | vdd_0v75_s3: nldo-reg1 { |
| 676 | regulator-always-on; |
| 677 | regulator-boot-on; |
| 678 | regulator-min-microvolt = <750000>; |
| 679 | regulator-max-microvolt = <750000>; |
| 680 | regulator-name = "vdd_0v75_s3"; |
| 681 | |
| 682 | regulator-state-mem { |
| 683 | regulator-on-in-suspend; |
| 684 | regulator-suspend-microvolt = <750000>; |
| 685 | }; |
| 686 | }; |
| 687 | |
| 688 | avdd_ddr_pll_s0: nldo-reg2 { |
| 689 | regulator-always-on; |
| 690 | regulator-boot-on; |
| 691 | regulator-min-microvolt = <850000>; |
| 692 | regulator-max-microvolt = <850000>; |
| 693 | regulator-name = "avdd_ddr_pll_s0"; |
| 694 | |
| 695 | regulator-state-mem { |
| 696 | regulator-off-in-suspend; |
| 697 | regulator-suspend-microvolt = <850000>; |
| 698 | }; |
| 699 | }; |
| 700 | |
| 701 | avdd_0v75_s0: nldo-reg3 { |
| 702 | regulator-always-on; |
| 703 | regulator-boot-on; |
| 704 | regulator-min-microvolt = <750000>; |
| 705 | regulator-max-microvolt = <750000>; |
| 706 | regulator-name = "avdd_0v75_s0"; |
| 707 | |
| 708 | regulator-state-mem { |
| 709 | regulator-off-in-suspend; |
| 710 | }; |
| 711 | }; |
| 712 | |
| 713 | avdd_0v85_s0: nldo-reg4 { |
| 714 | regulator-always-on; |
| 715 | regulator-boot-on; |
| 716 | regulator-min-microvolt = <850000>; |
| 717 | regulator-max-microvolt = <850000>; |
| 718 | regulator-name = "avdd_0v85_s0"; |
| 719 | |
| 720 | regulator-state-mem { |
| 721 | regulator-off-in-suspend; |
| 722 | }; |
| 723 | }; |
| 724 | |
| 725 | vdd_0v75_s0: nldo-reg5 { |
| 726 | regulator-always-on; |
| 727 | regulator-boot-on; |
| 728 | regulator-min-microvolt = <750000>; |
| 729 | regulator-max-microvolt = <750000>; |
| 730 | regulator-name = "vdd_0v75_s0"; |
| 731 | |
| 732 | regulator-state-mem { |
| 733 | regulator-off-in-suspend; |
| 734 | }; |
| 735 | }; |
| 736 | }; |
| 737 | }; |
| 738 | }; |
| 739 | |
| 740 | &tsadc { |
| 741 | status = "okay"; |
| 742 | }; |
| 743 | |
| 744 | &u2phy2 { |
| 745 | status = "okay"; |
| 746 | }; |
| 747 | |
| 748 | &u2phy2_host { |
| 749 | phy-supply = <&vcc5v0_host_20>; |
| 750 | status = "okay"; |
| 751 | }; |
| 752 | |
| 753 | &uart2 { |
| 754 | pinctrl-0 = <&uart2m0_xfer>; |
| 755 | status = "okay"; |
| 756 | }; |
| 757 | |
| 758 | &usb_host0_ehci { |
| 759 | status = "okay"; |
| 760 | }; |
| 761 | |
| 762 | &usb_host0_ohci { |
| 763 | status = "okay"; |
| 764 | }; |