| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
|
| 3 |
/dts-v1/; |
| 4 |
|
| 5 |
#include <dt-bindings/gpio/gpio.h> |
| 6 |
#include <dt-bindings/leds/common.h> |
| 7 |
#include <dt-bindings/pinctrl/rockchip.h> |
| 8 |
#include <dt-bindings/soc/rockchip,vop2.h> |
| 9 |
#include "rk3588s.dtsi" |
| 10 |
|
| 11 |
/ { |
| 12 |
model = "Radxa ROCK 5A"; |
| 13 |
compatible = "radxa,rock-5a", "rockchip,rk3588s"; |
| 14 |
|
| 15 |
aliases { |
| 16 |
ethernet0 = &gmac1; |
| 17 |
mmc0 = &sdhci; |
| 18 |
mmc1 = &sdmmc; |
| 19 |
}; |
| 20 |
|
| 21 |
analog-sound { |
| 22 |
compatible = "audio-graph-card"; |
| 23 |
label = "rk3588-es8316"; |
| 24 |
|
| 25 |
widgets = "Microphone", "Mic Jack", |
| 26 |
"Headphone", "Headphones"; |
| 27 |
|
| 28 |
routing = "MIC2", "Mic Jack", |
| 29 |
"Headphones", "HPOL", |
| 30 |
"Headphones", "HPOR"; |
| 31 |
|
| 32 |
dais = <&i2s0_8ch_p0>; |
| 33 |
}; |
| 34 |
|
| 35 |
chosen { |
| 36 |
stdout-path = "serial2:1500000n8"; |
| 37 |
}; |
| 38 |
|
| 39 |
hdmi0-con { |
| 40 |
compatible = "hdmi-connector"; |
| 41 |
type = "d"; |
| 42 |
|
| 43 |
port { |
| 44 |
hdmi0_con_in: endpoint { |
| 45 |
remote-endpoint = <&hdmi0_out_con>; |
| 46 |
}; |
| 47 |
}; |
| 48 |
}; |
| 49 |
|
| 50 |
leds { |
| 51 |
compatible = "gpio-leds"; |
| 52 |
pinctrl-names = "default"; |
| 53 |
pinctrl-0 = <&io_led>; |
| 54 |
|
| 55 |
io-led { |
| 56 |
color = <LED_COLOR_ID_BLUE>; |
| 57 |
function = LED_FUNCTION_STATUS; |
| 58 |
gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>; |
| 59 |
linux,default-trigger = "heartbeat"; |
| 60 |
}; |
| 61 |
|
| 62 |
power-led { |
| 63 |
color = <LED_COLOR_ID_GREEN>; |
| 64 |
default-state = "on"; |
| 65 |
function = LED_FUNCTION_POWER; |
| 66 |
gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>; |
| 67 |
}; |
| 68 |
}; |
| 69 |
|
| 70 |
fan: pwm-fan { |
| 71 |
compatible = "pwm-fan"; |
| 72 |
cooling-levels = <0 95 145 195 255>; |
| 73 |
fan-supply = <&vcc_5v0>; |
| 74 |
pwms = <&pwm3 0 50000 0>; |
| 75 |
#cooling-cells = <2>; |
| 76 |
}; |
| 77 |
|
| 78 |
vcc12v_dcin: regulator-vcc12v-dcin { |
| 79 |
compatible = "regulator-fixed"; |
| 80 |
regulator-name = "vcc12v_dcin"; |
| 81 |
regulator-always-on; |
| 82 |
regulator-boot-on; |
| 83 |
regulator-min-microvolt = <12000000>; |
| 84 |
regulator-max-microvolt = <12000000>; |
| 85 |
}; |
| 86 |
|
| 87 |
vcc3v3_wf: regulator-vcc3v3-wf { |
| 88 |
compatible = "regulator-fixed"; |
| 89 |
regulator-name = "vcc3v3_wf"; |
| 90 |
regulator-min-microvolt = <3300000>; |
| 91 |
regulator-max-microvolt = <3300000>; |
| 92 |
enable-active-high; |
| 93 |
gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; |
| 94 |
pinctrl-0 = <&pow_en>; |
| 95 |
pinctrl-names = "default"; |
| 96 |
vin-supply = <&vcc5v0_sys>; |
| 97 |
}; |
| 98 |
|
| 99 |
vcc5v0_host: regulator-vcc5v0-host { |
| 100 |
compatible = "regulator-fixed"; |
| 101 |
regulator-name = "vcc5v0_host"; |
| 102 |
regulator-boot-on; |
| 103 |
regulator-always-on; |
| 104 |
regulator-min-microvolt = <5000000>; |
| 105 |
regulator-max-microvolt = <5000000>; |
| 106 |
enable-active-high; |
| 107 |
gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>; |
| 108 |
pinctrl-names = "default"; |
| 109 |
pinctrl-0 = <&vcc5v0_host_en>; |
| 110 |
vin-supply = <&vcc5v0_sys>; |
| 111 |
}; |
| 112 |
|
| 113 |
vcc5v0_sys: regulator-vcc5v0-sys { |
| 114 |
compatible = "regulator-fixed"; |
| 115 |
regulator-name = "vcc5v0_sys"; |
| 116 |
regulator-always-on; |
| 117 |
regulator-boot-on; |
| 118 |
regulator-min-microvolt = <5000000>; |
| 119 |
regulator-max-microvolt = <5000000>; |
| 120 |
vin-supply = <&vcc12v_dcin>; |
| 121 |
}; |
| 122 |
|
| 123 |
vcc_5v0: regulator-vcc-5v0 { |
| 124 |
compatible = "regulator-fixed"; |
| 125 |
regulator-name = "vcc_5v0"; |
| 126 |
regulator-min-microvolt = <5000000>; |
| 127 |
regulator-max-microvolt = <5000000>; |
| 128 |
regulator-boot-on; |
| 129 |
regulator-always-on; |
| 130 |
enable-active-high; |
| 131 |
gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>; |
| 132 |
pinctrl-names = "default"; |
| 133 |
pinctrl-0 = <&vcc_5v0_en>; |
| 134 |
vin-supply = <&vcc5v0_sys>; |
| 135 |
}; |
| 136 |
|
| 137 |
vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { |
| 138 |
compatible = "regulator-fixed"; |
| 139 |
regulator-name = "vcc_1v1_nldo_s3"; |
| 140 |
regulator-always-on; |
| 141 |
regulator-boot-on; |
| 142 |
regulator-min-microvolt = <1100000>; |
| 143 |
regulator-max-microvolt = <1100000>; |
| 144 |
vin-supply = <&vcc5v0_sys>; |
| 145 |
}; |
| 146 |
}; |
| 147 |
|
| 148 |
&combphy0_ps { |
| 149 |
status = "okay"; |
| 150 |
}; |
| 151 |
|
| 152 |
&combphy2_psu { |
| 153 |
status = "okay"; |
| 154 |
}; |
| 155 |
|
| 156 |
&cpu_b0 { |
| 157 |
cpu-supply = <&vdd_cpu_big0_s0>; |
| 158 |
}; |
| 159 |
|
| 160 |
&cpu_b1 { |
| 161 |
cpu-supply = <&vdd_cpu_big0_s0>; |
| 162 |
}; |
| 163 |
|
| 164 |
&cpu_b2 { |
| 165 |
cpu-supply = <&vdd_cpu_big1_s0>; |
| 166 |
}; |
| 167 |
|
| 168 |
&cpu_b3 { |
| 169 |
cpu-supply = <&vdd_cpu_big1_s0>; |
| 170 |
}; |
| 171 |
|
| 172 |
&cpu_l0 { |
| 173 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 174 |
}; |
| 175 |
|
| 176 |
&cpu_l1 { |
| 177 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 178 |
}; |
| 179 |
|
| 180 |
&cpu_l2 { |
| 181 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 182 |
}; |
| 183 |
|
| 184 |
&cpu_l3 { |
| 185 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 186 |
}; |
| 187 |
|
| 188 |
&gpu { |
| 189 |
mali-supply = <&vdd_gpu_s0>; |
| 190 |
status = "okay"; |
| 191 |
}; |
| 192 |
|
| 193 |
&i2c0 { |
| 194 |
pinctrl-names = "default"; |
| 195 |
pinctrl-0 = <&i2c0m2_xfer>; |
| 196 |
status = "okay"; |
| 197 |
|
| 198 |
vdd_cpu_big0_s0: regulator@42 { |
| 199 |
compatible = "rockchip,rk8602"; |
| 200 |
reg = <0x42>; |
| 201 |
fcs,suspend-voltage-selector = <1>; |
| 202 |
regulator-name = "vdd_cpu_big0_s0"; |
| 203 |
regulator-always-on; |
| 204 |
regulator-boot-on; |
| 205 |
regulator-min-microvolt = <550000>; |
| 206 |
regulator-max-microvolt = <1050000>; |
| 207 |
regulator-ramp-delay = <2300>; |
| 208 |
vin-supply = <&vcc5v0_sys>; |
| 209 |
|
| 210 |
regulator-state-mem { |
| 211 |
regulator-off-in-suspend; |
| 212 |
}; |
| 213 |
}; |
| 214 |
|
| 215 |
vdd_cpu_big1_s0: regulator@43 { |
| 216 |
compatible = "rockchip,rk8603", "rockchip,rk8602"; |
| 217 |
reg = <0x43>; |
| 218 |
fcs,suspend-voltage-selector = <1>; |
| 219 |
regulator-name = "vdd_cpu_big1_s0"; |
| 220 |
regulator-always-on; |
| 221 |
regulator-boot-on; |
| 222 |
regulator-min-microvolt = <550000>; |
| 223 |
regulator-max-microvolt = <1050000>; |
| 224 |
regulator-ramp-delay = <2300>; |
| 225 |
vin-supply = <&vcc5v0_sys>; |
| 226 |
|
| 227 |
regulator-state-mem { |
| 228 |
regulator-off-in-suspend; |
| 229 |
}; |
| 230 |
}; |
| 231 |
|
| 232 |
eeprom: eeprom@50 { |
| 233 |
compatible = "belling,bl24c16a", "atmel,24c16"; |
| 234 |
reg = <0x50>; |
| 235 |
pagesize = <16>; |
| 236 |
read-only; |
| 237 |
vcc-supply = <&vcc_3v3_pmu>; |
| 238 |
}; |
| 239 |
}; |
| 240 |
|
| 241 |
&i2c2 { |
| 242 |
status = "okay"; |
| 243 |
|
| 244 |
vdd_npu_s0: regulator@42 { |
| 245 |
compatible = "rockchip,rk8602"; |
| 246 |
reg = <0x42>; |
| 247 |
fcs,suspend-voltage-selector = <1>; |
| 248 |
regulator-name = "vdd_npu_s0"; |
| 249 |
regulator-always-on; |
| 250 |
regulator-boot-on; |
| 251 |
regulator-min-microvolt = <550000>; |
| 252 |
regulator-max-microvolt = <950000>; |
| 253 |
regulator-ramp-delay = <2300>; |
| 254 |
vin-supply = <&vcc5v0_sys>; |
| 255 |
|
| 256 |
regulator-state-mem { |
| 257 |
regulator-off-in-suspend; |
| 258 |
}; |
| 259 |
}; |
| 260 |
}; |
| 261 |
|
| 262 |
&i2c3 { |
| 263 |
status = "okay"; |
| 264 |
}; |
| 265 |
|
| 266 |
&i2c5 { |
| 267 |
status = "okay"; |
| 268 |
pinctrl-names = "default"; |
| 269 |
pinctrl-0 = <&i2c5m2_xfer>; |
| 270 |
}; |
| 271 |
|
| 272 |
&i2c7 { |
| 273 |
status = "okay"; |
| 274 |
|
| 275 |
es8316: audio-codec@11 { |
| 276 |
compatible = "everest,es8316"; |
| 277 |
reg = <0x11>; |
| 278 |
clocks = <&cru I2S0_8CH_MCLKOUT>; |
| 279 |
clock-names = "mclk"; |
| 280 |
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; |
| 281 |
assigned-clock-rates = <12288000>; |
| 282 |
#sound-dai-cells = <0>; |
| 283 |
|
| 284 |
port { |
| 285 |
es8316_p0_0: endpoint { |
| 286 |
remote-endpoint = <&i2s0_8ch_p0_0>; |
| 287 |
}; |
| 288 |
}; |
| 289 |
}; |
| 290 |
}; |
| 291 |
|
| 292 |
&i2s0_8ch { |
| 293 |
pinctrl-names = "default"; |
| 294 |
pinctrl-0 = <&i2s0_lrck |
| 295 |
&i2s0_mclk |
| 296 |
&i2s0_sclk |
| 297 |
&i2s0_sdi0 |
| 298 |
&i2s0_sdo0>; |
| 299 |
status = "okay"; |
| 300 |
|
| 301 |
i2s0_8ch_p0: port { |
| 302 |
i2s0_8ch_p0_0: endpoint { |
| 303 |
dai-format = "i2s"; |
| 304 |
mclk-fs = <256>; |
| 305 |
remote-endpoint = <&es8316_p0_0>; |
| 306 |
}; |
| 307 |
}; |
| 308 |
}; |
| 309 |
|
| 310 |
&gmac1 { |
| 311 |
clock_in_out = "output"; |
| 312 |
phy-handle = <&rgmii_phy1>; |
| 313 |
phy-mode = "rgmii"; |
| 314 |
pinctrl-0 = <&gmac1_miim |
| 315 |
&gmac1_tx_bus2 |
| 316 |
&gmac1_rx_bus2 |
| 317 |
&gmac1_rgmii_clk |
| 318 |
&gmac1_rgmii_bus>; |
| 319 |
pinctrl-names = "default"; |
| 320 |
tx_delay = <0x3a>; |
| 321 |
rx_delay = <0x3e>; |
| 322 |
status = "okay"; |
| 323 |
}; |
| 324 |
|
| 325 |
&hdmi0 { |
| 326 |
pinctrl-names = "default"; |
| 327 |
pinctrl-0 = <&hdmim0_tx0_cec |
| 328 |
&hdmim1_tx0_hpd |
| 329 |
&hdmim0_tx0_scl |
| 330 |
&hdmim0_tx0_sda>; |
| 331 |
status = "okay"; |
| 332 |
}; |
| 333 |
|
| 334 |
&hdmi0_in { |
| 335 |
hdmi0_in_vp0: endpoint { |
| 336 |
remote-endpoint = <&vp0_out_hdmi0>; |
| 337 |
}; |
| 338 |
}; |
| 339 |
|
| 340 |
&hdmi0_out { |
| 341 |
hdmi0_out_con: endpoint { |
| 342 |
remote-endpoint = <&hdmi0_con_in>; |
| 343 |
}; |
| 344 |
}; |
| 345 |
|
| 346 |
&hdptxphy0 { |
| 347 |
status = "okay"; |
| 348 |
}; |
| 349 |
|
| 350 |
&mdio1 { |
| 351 |
rgmii_phy1: ethernet-phy@1 { |
| 352 |
/* RTL8211F */ |
| 353 |
compatible = "ethernet-phy-id001c.c916"; |
| 354 |
reg = <0x1>; |
| 355 |
pinctrl-names = "default"; |
| 356 |
pinctrl-0 = <&rtl8211f_rst>; |
| 357 |
reset-assert-us = <20000>; |
| 358 |
reset-deassert-us = <100000>; |
| 359 |
reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; |
| 360 |
}; |
| 361 |
}; |
| 362 |
|
| 363 |
&pcie2x1l2 { |
| 364 |
pinctrl-0 = <&pcie2_reset>, <&pcie20x1m0_clkreqn>, <&pcie20x1m0_waken>; |
| 365 |
pinctrl-names = "default"; |
| 366 |
reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; |
| 367 |
vpcie3v3-supply = <&vcc3v3_wf>; |
| 368 |
status = "okay"; |
| 369 |
}; |
| 370 |
|
| 371 |
&pd_gpu { |
| 372 |
domain-supply = <&vdd_gpu_s0>; |
| 373 |
}; |
| 374 |
|
| 375 |
&pinctrl { |
| 376 |
leds { |
| 377 |
io_led: io-led { |
| 378 |
rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 379 |
}; |
| 380 |
}; |
| 381 |
|
| 382 |
mmc { |
| 383 |
sdmmc_det_pin: sdmmc-det-pin { |
| 384 |
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; |
| 385 |
}; |
| 386 |
}; |
| 387 |
|
| 388 |
pcie { |
| 389 |
pow_en: pow-en { |
| 390 |
rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 391 |
}; |
| 392 |
|
| 393 |
pcie2_reset: pcie2-reset { |
| 394 |
rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 395 |
}; |
| 396 |
}; |
| 397 |
|
| 398 |
power { |
| 399 |
vcc_5v0_en: vcc-5v0-en { |
| 400 |
rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; |
| 401 |
}; |
| 402 |
}; |
| 403 |
|
| 404 |
rtl8211f { |
| 405 |
rtl8211f_rst: rtl8211f-rst { |
| 406 |
rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; |
| 407 |
}; |
| 408 |
}; |
| 409 |
|
| 410 |
usb { |
| 411 |
vcc5v0_host_en: vcc5v0-host-en { |
| 412 |
rockchip,pins = <4 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 413 |
}; |
| 414 |
}; |
| 415 |
}; |
| 416 |
|
| 417 |
&pwm3 { |
| 418 |
pinctrl-names = "default"; |
| 419 |
pinctrl-0 = <&pwm3m1_pins>; |
| 420 |
status = "okay"; |
| 421 |
}; |
| 422 |
|
| 423 |
&saradc { |
| 424 |
vref-supply = <&avcc_1v8_s0>; |
| 425 |
status = "okay"; |
| 426 |
}; |
| 427 |
|
| 428 |
&sdhci { |
| 429 |
bus-width = <8>; |
| 430 |
no-sdio; |
| 431 |
no-sd; |
| 432 |
non-removable; |
| 433 |
mmc-hs400-1_8v; |
| 434 |
mmc-hs400-enhanced-strobe; |
| 435 |
status = "okay"; |
| 436 |
}; |
| 437 |
|
| 438 |
&sdmmc { |
| 439 |
bus-width = <4>; |
| 440 |
cap-mmc-highspeed; |
| 441 |
cap-sd-highspeed; |
| 442 |
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; |
| 443 |
disable-wp; |
| 444 |
max-frequency = <150000000>; |
| 445 |
no-sdio; |
| 446 |
no-mmc; |
| 447 |
pinctrl-names = "default"; |
| 448 |
pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc_det_pin>; |
| 449 |
sd-uhs-sdr104; |
| 450 |
vmmc-supply = <&vcc_3v3_s0>; |
| 451 |
vqmmc-supply = <&vccio_sd_s0>; |
| 452 |
status = "okay"; |
| 453 |
}; |
| 454 |
|
| 455 |
&sfc { |
| 456 |
pinctrl-names = "default"; |
| 457 |
pinctrl-0 = <&fspim0_pins>; |
| 458 |
|
| 459 |
flash@0 { |
| 460 |
compatible = "jedec,spi-nor"; |
| 461 |
reg = <0>; |
| 462 |
spi-max-frequency = <104000000>; |
| 463 |
spi-rx-bus-width = <4>; |
| 464 |
spi-tx-bus-width = <1>; |
| 465 |
}; |
| 466 |
}; |
| 467 |
|
| 468 |
&spi2 { |
| 469 |
status = "okay"; |
| 470 |
assigned-clocks = <&cru CLK_SPI2>; |
| 471 |
assigned-clock-rates = <200000000>; |
| 472 |
num-cs = <1>; |
| 473 |
pinctrl-names = "default"; |
| 474 |
pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; |
| 475 |
|
| 476 |
pmic@0 { |
| 477 |
compatible = "rockchip,rk806"; |
| 478 |
reg = <0x0>; |
| 479 |
interrupt-parent = <&gpio0>; |
| 480 |
interrupts = <7 IRQ_TYPE_LEVEL_LOW>; |
| 481 |
pinctrl-names = "default"; |
| 482 |
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, |
| 483 |
<&rk806_dvs2_null>, <&rk806_dvs3_null>; |
| 484 |
spi-max-frequency = <1000000>; |
| 485 |
system-power-controller; |
| 486 |
|
| 487 |
vcc1-supply = <&vcc5v0_sys>; |
| 488 |
vcc2-supply = <&vcc5v0_sys>; |
| 489 |
vcc3-supply = <&vcc5v0_sys>; |
| 490 |
vcc4-supply = <&vcc5v0_sys>; |
| 491 |
vcc5-supply = <&vcc5v0_sys>; |
| 492 |
vcc6-supply = <&vcc5v0_sys>; |
| 493 |
vcc7-supply = <&vcc5v0_sys>; |
| 494 |
vcc8-supply = <&vcc5v0_sys>; |
| 495 |
vcc9-supply = <&vcc5v0_sys>; |
| 496 |
vcc10-supply = <&vcc5v0_sys>; |
| 497 |
vcc11-supply = <&vcc_2v0_pldo_s3>; |
| 498 |
vcc12-supply = <&vcc5v0_sys>; |
| 499 |
vcc13-supply = <&vcc_1v1_nldo_s3>; |
| 500 |
vcc14-supply = <&vcc_1v1_nldo_s3>; |
| 501 |
vcca-supply = <&vcc5v0_sys>; |
| 502 |
|
| 503 |
gpio-controller; |
| 504 |
#gpio-cells = <2>; |
| 505 |
|
| 506 |
rk806_dvs1_null: dvs1-null-pins { |
| 507 |
pins = "gpio_pwrctrl1"; |
| 508 |
function = "pin_fun0"; |
| 509 |
}; |
| 510 |
|
| 511 |
rk806_dvs2_null: dvs2-null-pins { |
| 512 |
pins = "gpio_pwrctrl2"; |
| 513 |
function = "pin_fun0"; |
| 514 |
}; |
| 515 |
|
| 516 |
rk806_dvs3_null: dvs3-null-pins { |
| 517 |
pins = "gpio_pwrctrl3"; |
| 518 |
function = "pin_fun0"; |
| 519 |
}; |
| 520 |
|
| 521 |
regulators { |
| 522 |
vdd_gpu_s0: vdd_gpu_mem_s0: dcdc-reg1 { |
| 523 |
regulator-name = "vdd_gpu_s0"; |
| 524 |
regulator-boot-on; |
| 525 |
regulator-min-microvolt = <550000>; |
| 526 |
regulator-max-microvolt = <950000>; |
| 527 |
regulator-ramp-delay = <12500>; |
| 528 |
regulator-enable-ramp-delay = <400>; |
| 529 |
|
| 530 |
regulator-state-mem { |
| 531 |
regulator-off-in-suspend; |
| 532 |
}; |
| 533 |
}; |
| 534 |
|
| 535 |
vdd_cpu_lit_s0: vdd_cpu_lit_mem_s0: dcdc-reg2 { |
| 536 |
regulator-name = "vdd_cpu_lit_s0"; |
| 537 |
regulator-always-on; |
| 538 |
regulator-boot-on; |
| 539 |
regulator-min-microvolt = <550000>; |
| 540 |
regulator-max-microvolt = <950000>; |
| 541 |
regulator-ramp-delay = <12500>; |
| 542 |
|
| 543 |
regulator-state-mem { |
| 544 |
regulator-off-in-suspend; |
| 545 |
}; |
| 546 |
}; |
| 547 |
|
| 548 |
vdd_log_s0: dcdc-reg3 { |
| 549 |
regulator-name = "vdd_log_s0"; |
| 550 |
regulator-always-on; |
| 551 |
regulator-boot-on; |
| 552 |
regulator-min-microvolt = <675000>; |
| 553 |
regulator-max-microvolt = <750000>; |
| 554 |
regulator-ramp-delay = <12500>; |
| 555 |
|
| 556 |
regulator-state-mem { |
| 557 |
regulator-off-in-suspend; |
| 558 |
regulator-suspend-microvolt = <750000>; |
| 559 |
}; |
| 560 |
}; |
| 561 |
|
| 562 |
vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { |
| 563 |
regulator-name = "vdd_vdenc_s0"; |
| 564 |
regulator-always-on; |
| 565 |
regulator-boot-on; |
| 566 |
regulator-min-microvolt = <550000>; |
| 567 |
regulator-max-microvolt = <950000>; |
| 568 |
regulator-ramp-delay = <12500>; |
| 569 |
|
| 570 |
regulator-state-mem { |
| 571 |
regulator-off-in-suspend; |
| 572 |
}; |
| 573 |
}; |
| 574 |
|
| 575 |
vdd_ddr_s0: dcdc-reg5 { |
| 576 |
regulator-name = "vdd_ddr_s0"; |
| 577 |
regulator-always-on; |
| 578 |
regulator-boot-on; |
| 579 |
regulator-min-microvolt = <675000>; |
| 580 |
regulator-max-microvolt = <900000>; |
| 581 |
regulator-ramp-delay = <12500>; |
| 582 |
|
| 583 |
regulator-state-mem { |
| 584 |
regulator-off-in-suspend; |
| 585 |
regulator-suspend-microvolt = <850000>; |
| 586 |
}; |
| 587 |
}; |
| 588 |
|
| 589 |
vdd2_ddr_s3: dcdc-reg6 { |
| 590 |
regulator-name = "vdd2_ddr_s3"; |
| 591 |
regulator-always-on; |
| 592 |
regulator-boot-on; |
| 593 |
|
| 594 |
regulator-state-mem { |
| 595 |
regulator-on-in-suspend; |
| 596 |
}; |
| 597 |
}; |
| 598 |
|
| 599 |
vcc_2v0_pldo_s3: dcdc-reg7 { |
| 600 |
regulator-name = "vdd_2v0_pldo_s3"; |
| 601 |
regulator-always-on; |
| 602 |
regulator-boot-on; |
| 603 |
regulator-min-microvolt = <2000000>; |
| 604 |
regulator-max-microvolt = <2000000>; |
| 605 |
regulator-ramp-delay = <12500>; |
| 606 |
|
| 607 |
regulator-state-mem { |
| 608 |
regulator-on-in-suspend; |
| 609 |
regulator-suspend-microvolt = <2000000>; |
| 610 |
}; |
| 611 |
}; |
| 612 |
|
| 613 |
vcc_3v3_pmu: vcc_3v3_s3: dcdc-reg8 { |
| 614 |
regulator-name = "vcc_3v3_s3"; |
| 615 |
regulator-always-on; |
| 616 |
regulator-boot-on; |
| 617 |
regulator-min-microvolt = <3300000>; |
| 618 |
regulator-max-microvolt = <3300000>; |
| 619 |
|
| 620 |
regulator-state-mem { |
| 621 |
regulator-on-in-suspend; |
| 622 |
regulator-suspend-microvolt = <3300000>; |
| 623 |
}; |
| 624 |
}; |
| 625 |
|
| 626 |
vddq_ddr_s0: dcdc-reg9 { |
| 627 |
regulator-name = "vddq_ddr_s0"; |
| 628 |
regulator-always-on; |
| 629 |
regulator-boot-on; |
| 630 |
|
| 631 |
regulator-state-mem { |
| 632 |
regulator-off-in-suspend; |
| 633 |
}; |
| 634 |
}; |
| 635 |
|
| 636 |
vcc_1v8_s3: dcdc-reg10 { |
| 637 |
regulator-name = "vcc_1v8_s3"; |
| 638 |
regulator-always-on; |
| 639 |
regulator-boot-on; |
| 640 |
regulator-min-microvolt = <1800000>; |
| 641 |
regulator-max-microvolt = <1800000>; |
| 642 |
|
| 643 |
regulator-state-mem { |
| 644 |
regulator-on-in-suspend; |
| 645 |
regulator-suspend-microvolt = <1800000>; |
| 646 |
}; |
| 647 |
}; |
| 648 |
|
| 649 |
avcc_1v8_s0: pldo-reg1 { |
| 650 |
regulator-name = "avcc_1v8_s0"; |
| 651 |
regulator-always-on; |
| 652 |
regulator-boot-on; |
| 653 |
regulator-min-microvolt = <1800000>; |
| 654 |
regulator-max-microvolt = <1800000>; |
| 655 |
|
| 656 |
regulator-state-mem { |
| 657 |
regulator-off-in-suspend; |
| 658 |
}; |
| 659 |
}; |
| 660 |
|
| 661 |
vcc_1v8_s0: pldo-reg2 { |
| 662 |
regulator-name = "vcc_1v8_s0"; |
| 663 |
regulator-always-on; |
| 664 |
regulator-boot-on; |
| 665 |
regulator-min-microvolt = <1800000>; |
| 666 |
regulator-max-microvolt = <1800000>; |
| 667 |
|
| 668 |
regulator-state-mem { |
| 669 |
regulator-off-in-suspend; |
| 670 |
regulator-suspend-microvolt = <1800000>; |
| 671 |
}; |
| 672 |
}; |
| 673 |
|
| 674 |
avdd_1v2_s0: pldo-reg3 { |
| 675 |
regulator-name = "avdd_1v2_s0"; |
| 676 |
regulator-always-on; |
| 677 |
regulator-boot-on; |
| 678 |
regulator-min-microvolt = <1200000>; |
| 679 |
regulator-max-microvolt = <1200000>; |
| 680 |
|
| 681 |
regulator-state-mem { |
| 682 |
regulator-off-in-suspend; |
| 683 |
}; |
| 684 |
}; |
| 685 |
|
| 686 |
vcc_3v3_s0: pldo-reg4 { |
| 687 |
regulator-name = "vcc_3v3_s0"; |
| 688 |
regulator-always-on; |
| 689 |
regulator-boot-on; |
| 690 |
regulator-min-microvolt = <3300000>; |
| 691 |
regulator-max-microvolt = <3300000>; |
| 692 |
regulator-ramp-delay = <12500>; |
| 693 |
|
| 694 |
regulator-state-mem { |
| 695 |
regulator-off-in-suspend; |
| 696 |
}; |
| 697 |
}; |
| 698 |
|
| 699 |
vccio_sd_s0: pldo-reg5 { |
| 700 |
regulator-name = "vccio_sd_s0"; |
| 701 |
regulator-always-on; |
| 702 |
regulator-boot-on; |
| 703 |
regulator-min-microvolt = <1800000>; |
| 704 |
regulator-max-microvolt = <3300000>; |
| 705 |
regulator-ramp-delay = <12500>; |
| 706 |
|
| 707 |
regulator-state-mem { |
| 708 |
regulator-off-in-suspend; |
| 709 |
}; |
| 710 |
}; |
| 711 |
|
| 712 |
pldo6_s3: pldo-reg6 { |
| 713 |
regulator-name = "pldo6_s3"; |
| 714 |
regulator-always-on; |
| 715 |
regulator-boot-on; |
| 716 |
regulator-min-microvolt = <1800000>; |
| 717 |
regulator-max-microvolt = <1800000>; |
| 718 |
|
| 719 |
regulator-state-mem { |
| 720 |
regulator-on-in-suspend; |
| 721 |
regulator-suspend-microvolt = <1800000>; |
| 722 |
}; |
| 723 |
}; |
| 724 |
|
| 725 |
vdd_0v75_s3: nldo-reg1 { |
| 726 |
regulator-name = "vdd_0v75_s3"; |
| 727 |
regulator-always-on; |
| 728 |
regulator-boot-on; |
| 729 |
regulator-min-microvolt = <750000>; |
| 730 |
regulator-max-microvolt = <750000>; |
| 731 |
|
| 732 |
regulator-state-mem { |
| 733 |
regulator-on-in-suspend; |
| 734 |
regulator-suspend-microvolt = <750000>; |
| 735 |
}; |
| 736 |
}; |
| 737 |
|
| 738 |
vdd_ddr_pll_s0: nldo-reg2 { |
| 739 |
regulator-name = "vdd_ddr_pll_s0"; |
| 740 |
regulator-always-on; |
| 741 |
regulator-boot-on; |
| 742 |
regulator-min-microvolt = <850000>; |
| 743 |
regulator-max-microvolt = <850000>; |
| 744 |
|
| 745 |
regulator-state-mem { |
| 746 |
regulator-off-in-suspend; |
| 747 |
regulator-suspend-microvolt = <850000>; |
| 748 |
}; |
| 749 |
}; |
| 750 |
|
| 751 |
avdd_0v75_s0: nldo-reg3 { |
| 752 |
regulator-name = "avdd_0v75_s0"; |
| 753 |
regulator-always-on; |
| 754 |
regulator-boot-on; |
| 755 |
regulator-min-microvolt = <750000>; |
| 756 |
regulator-max-microvolt = <750000>; |
| 757 |
|
| 758 |
regulator-state-mem { |
| 759 |
regulator-off-in-suspend; |
| 760 |
}; |
| 761 |
}; |
| 762 |
|
| 763 |
vdd_0v85_s0: nldo-reg4 { |
| 764 |
regulator-name = "vdd_0v85_s0"; |
| 765 |
regulator-always-on; |
| 766 |
regulator-boot-on; |
| 767 |
regulator-min-microvolt = <850000>; |
| 768 |
regulator-max-microvolt = <850000>; |
| 769 |
|
| 770 |
regulator-state-mem { |
| 771 |
regulator-off-in-suspend; |
| 772 |
}; |
| 773 |
}; |
| 774 |
|
| 775 |
vdd_0v75_s0: nldo-reg5 { |
| 776 |
regulator-name = "vdd_0v75_s0"; |
| 777 |
regulator-always-on; |
| 778 |
regulator-boot-on; |
| 779 |
regulator-min-microvolt = <750000>; |
| 780 |
regulator-max-microvolt = <750000>; |
| 781 |
|
| 782 |
regulator-state-mem { |
| 783 |
regulator-off-in-suspend; |
| 784 |
}; |
| 785 |
}; |
| 786 |
}; |
| 787 |
}; |
| 788 |
}; |
| 789 |
|
| 790 |
&tsadc { |
| 791 |
status = "okay"; |
| 792 |
}; |
| 793 |
|
| 794 |
&u2phy0 { |
| 795 |
status = "okay"; |
| 796 |
}; |
| 797 |
|
| 798 |
&u2phy0_otg { |
| 799 |
status = "okay"; |
| 800 |
}; |
| 801 |
|
| 802 |
&u2phy2 { |
| 803 |
status = "okay"; |
| 804 |
}; |
| 805 |
|
| 806 |
&u2phy2_host { |
| 807 |
status = "okay"; |
| 808 |
phy-supply = <&vcc5v0_host>; |
| 809 |
}; |
| 810 |
|
| 811 |
&u2phy3 { |
| 812 |
status = "okay"; |
| 813 |
}; |
| 814 |
|
| 815 |
&u2phy3_host { |
| 816 |
phy-supply = <&vcc5v0_host>; |
| 817 |
status = "okay"; |
| 818 |
}; |
| 819 |
|
| 820 |
&uart2 { |
| 821 |
pinctrl-0 = <&uart2m0_xfer>; |
| 822 |
status = "okay"; |
| 823 |
}; |
| 824 |
|
| 825 |
&usbdp_phy0 { |
| 826 |
status = "okay"; |
| 827 |
rockchip,dp-lane-mux = <2 3>; |
| 828 |
}; |
| 829 |
|
| 830 |
&usb_host0_ehci { |
| 831 |
status = "okay"; |
| 832 |
}; |
| 833 |
|
| 834 |
&usb_host0_ohci { |
| 835 |
status = "okay"; |
| 836 |
}; |
| 837 |
|
| 838 |
&usb_host0_xhci { |
| 839 |
dr_mode = "host"; |
| 840 |
status = "okay"; |
| 841 |
}; |
| 842 |
|
| 843 |
&usb_host1_ehci { |
| 844 |
status = "okay"; |
| 845 |
}; |
| 846 |
|
| 847 |
&usb_host1_ohci { |
| 848 |
status = "okay"; |
| 849 |
}; |
| 850 |
|
| 851 |
&usb_host2_xhci { |
| 852 |
status = "okay"; |
| 853 |
}; |
| 854 |
|
| 855 |
&vop_mmu { |
| 856 |
status = "okay"; |
| 857 |
}; |
| 858 |
|
| 859 |
&vop { |
| 860 |
status = "okay"; |
| 861 |
}; |
| 862 |
|
| 863 |
&vp0 { |
| 864 |
vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { |
| 865 |
reg = <ROCKCHIP_VOP2_EP_HDMI0>; |
| 866 |
remote-endpoint = <&hdmi0_in_vp0>; |
| 867 |
}; |
| 868 |
}; |