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