| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2024 Rockchip Electronics Co., Ltd. |
| 4 |
* |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
|
| 9 |
#include <dt-bindings/gpio/gpio.h> |
| 10 |
#include <dt-bindings/input/input.h> |
| 11 |
#include <dt-bindings/pinctrl/rockchip.h> |
| 12 |
#include <dt-bindings/soc/rockchip,vop2.h> |
| 13 |
#include <dt-bindings/usb/pd.h> |
| 14 |
#include "rk3588s.dtsi" |
| 15 |
|
| 16 |
/ { |
| 17 |
model = "Rockchip RK3588S EVB1 V10 Board"; |
| 18 |
compatible = "rockchip,rk3588s-evb1-v10", "rockchip,rk3588s"; |
| 19 |
|
| 20 |
aliases { |
| 21 |
mmc0 = &sdhci; |
| 22 |
mmc1 = &sdmmc; |
| 23 |
}; |
| 24 |
|
| 25 |
chosen { |
| 26 |
stdout-path = "serial2:1500000n8"; |
| 27 |
}; |
| 28 |
|
| 29 |
adc-keys { |
| 30 |
compatible = "adc-keys"; |
| 31 |
io-channels = <&saradc 1>; |
| 32 |
io-channel-names = "buttons"; |
| 33 |
keyup-threshold-microvolt = <1800000>; |
| 34 |
poll-interval = <100>; |
| 35 |
|
| 36 |
button-escape { |
| 37 |
label = "Escape"; |
| 38 |
linux,code = <KEY_ESC>; |
| 39 |
press-threshold-microvolt = <1235000>; |
| 40 |
}; |
| 41 |
|
| 42 |
button-menu { |
| 43 |
label = "Menu"; |
| 44 |
linux,code = <KEY_MENU>; |
| 45 |
press-threshold-microvolt = <890000>; |
| 46 |
}; |
| 47 |
|
| 48 |
button-vol-up { |
| 49 |
label = "Volume Up"; |
| 50 |
linux,code = <KEY_VOLUMEUP>; |
| 51 |
press-threshold-microvolt = <17000>; |
| 52 |
}; |
| 53 |
|
| 54 |
button-vol-down { |
| 55 |
label = "Volume Down"; |
| 56 |
linux,code = <KEY_VOLUMEDOWN>; |
| 57 |
press-threshold-microvolt = <417000>; |
| 58 |
}; |
| 59 |
}; |
| 60 |
|
| 61 |
amp_headphone: amplifier-headphone { |
| 62 |
compatible = "simple-audio-amplifier"; |
| 63 |
enable-gpios = <&gpio4 RK_PA4 GPIO_ACTIVE_HIGH>; |
| 64 |
pinctrl-names = "default"; |
| 65 |
pinctrl-0 = <&headphone_amplifier_en>; |
| 66 |
sound-name-prefix = "Headphones Amplifier"; |
| 67 |
}; |
| 68 |
|
| 69 |
amp_speaker: amplifier-speaker { |
| 70 |
compatible = "simple-audio-amplifier"; |
| 71 |
enable-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; |
| 72 |
pinctrl-names = "default"; |
| 73 |
pinctrl-0 = <&speaker_amplifier_en>; |
| 74 |
sound-name-prefix = "Speaker Amplifier"; |
| 75 |
}; |
| 76 |
|
| 77 |
analog-sound { |
| 78 |
compatible = "simple-audio-card"; |
| 79 |
pinctrl-names = "default"; |
| 80 |
pinctrl-0 = <&hp_detect>; |
| 81 |
simple-audio-card,name = "RK3588 EVB1 Audio"; |
| 82 |
simple-audio-card,aux-devs = <&_headphone>, <&_speaker>; |
| 83 |
simple-audio-card,bitclock-master = <&masterdai>; |
| 84 |
simple-audio-card,format = "i2s"; |
| 85 |
simple-audio-card,frame-master = <&masterdai>; |
| 86 |
simple-audio-card,hp-det-gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>; |
| 87 |
simple-audio-card,mclk-fs = <256>; |
| 88 |
simple-audio-card,pin-switches = "Headphones", "Speaker"; |
| 89 |
simple-audio-card,routing = |
| 90 |
"Speaker Amplifier INL", "LOUT2", |
| 91 |
"Speaker Amplifier INR", "ROUT2", |
| 92 |
"Speaker", "Speaker Amplifier OUTL", |
| 93 |
"Speaker", "Speaker Amplifier OUTR", |
| 94 |
"Headphones Amplifier INL", "LOUT1", |
| 95 |
"Headphones Amplifier INR", "ROUT1", |
| 96 |
"Headphones", "Headphones Amplifier OUTL", |
| 97 |
"Headphones", "Headphones Amplifier OUTR", |
| 98 |
"LINPUT1", "Onboard Microphone", |
| 99 |
"RINPUT1", "Onboard Microphone", |
| 100 |
"LINPUT2", "Microphone Jack", |
| 101 |
"RINPUT2", "Microphone Jack"; |
| 102 |
simple-audio-card,widgets = |
| 103 |
"Microphone", "Microphone Jack", |
| 104 |
"Microphone", "Onboard Microphone", |
| 105 |
"Headphone", "Headphones", |
| 106 |
"Speaker", "Speaker"; |
| 107 |
|
| 108 |
simple-audio-card,cpu { |
| 109 |
sound-dai = <&i2s0_8ch>; |
| 110 |
}; |
| 111 |
|
| 112 |
masterdai: simple-audio-card,codec { |
| 113 |
sound-dai = <&es8388>; |
| 114 |
system-clock-frequency = <12288000>; |
| 115 |
}; |
| 116 |
}; |
| 117 |
|
| 118 |
backlight: backlight { |
| 119 |
compatible = "pwm-backlight"; |
| 120 |
power-supply = <&vcc3v3_lcd_edp>; |
| 121 |
pwms = <&pwm12 0 25000 0>; |
| 122 |
}; |
| 123 |
|
| 124 |
combophy_avdd0v85: regulator-combophy-avdd0v85 { |
| 125 |
compatible = "regulator-fixed"; |
| 126 |
regulator-name = "combophy_avdd0v85"; |
| 127 |
regulator-always-on; |
| 128 |
regulator-boot-on; |
| 129 |
regulator-min-microvolt = <850000>; |
| 130 |
regulator-max-microvolt = <850000>; |
| 131 |
vin-supply = <&vdd_0v85_s0>; |
| 132 |
}; |
| 133 |
|
| 134 |
combophy_avdd1v8: regulator-combophy-avdd1v8 { |
| 135 |
compatible = "regulator-fixed"; |
| 136 |
regulator-name = "combophy_avdd1v8"; |
| 137 |
regulator-always-on; |
| 138 |
regulator-boot-on; |
| 139 |
regulator-min-microvolt = <1800000>; |
| 140 |
regulator-max-microvolt = <1800000>; |
| 141 |
vin-supply = <&avcc_1v8_s0>; |
| 142 |
}; |
| 143 |
|
| 144 |
vbus5v0_typec: regulator-vbus5v0-typec { |
| 145 |
compatible = "regulator-fixed"; |
| 146 |
enable-active-high; |
| 147 |
gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_HIGH>; |
| 148 |
pinctrl-names = "default"; |
| 149 |
pinctrl-0 = <&typec5v_pwren>; |
| 150 |
regulator-name = "vbus5v0_typec"; |
| 151 |
regulator-min-microvolt = <5000000>; |
| 152 |
regulator-max-microvolt = <5000000>; |
| 153 |
vin-supply = <&vcc5v0_usb>; |
| 154 |
}; |
| 155 |
|
| 156 |
vcc12v_dcin: regulator-vcc12v-dcin { |
| 157 |
compatible = "regulator-fixed"; |
| 158 |
regulator-name = "vcc12v_dcin"; |
| 159 |
regulator-always-on; |
| 160 |
regulator-boot-on; |
| 161 |
regulator-min-microvolt = <12000000>; |
| 162 |
regulator-max-microvolt = <12000000>; |
| 163 |
}; |
| 164 |
|
| 165 |
vcc3v3_lcd_edp: regulator-vcc3v3-lcd-edp { |
| 166 |
compatible = "regulator-fixed"; |
| 167 |
enable-active-high; |
| 168 |
gpios = <&gpio1 RK_PA5 GPIO_ACTIVE_HIGH>; |
| 169 |
pinctrl-names = "default"; |
| 170 |
pinctrl-0 = <&vcc3v3_lcd_edp_en>; |
| 171 |
regulator-name = "vcc3v3_lcd_edp"; |
| 172 |
regulator-boot-on; |
| 173 |
vin-supply = <&vcc_3v3_s3>; |
| 174 |
}; |
| 175 |
|
| 176 |
vcc3v3_pcie20: regulator-vcc3v3-pcie20 { |
| 177 |
compatible = "regulator-fixed"; |
| 178 |
enable-active-high; |
| 179 |
gpios = <&gpio4 RK_PB1 GPIO_ACTIVE_HIGH>; |
| 180 |
pinctrl-names = "default"; |
| 181 |
pinctrl-0 = <&vcc3v3_pcie20_en>; |
| 182 |
regulator-name = "vcc3v3_pcie20"; |
| 183 |
regulator-min-microvolt = <3300000>; |
| 184 |
regulator-max-microvolt = <3300000>; |
| 185 |
startup-delay-us = <5000>; |
| 186 |
vin-supply = <&vcc12v_dcin>; |
| 187 |
}; |
| 188 |
|
| 189 |
vcc5v0_host: regulator-vcc5v0-host { |
| 190 |
compatible = "regulator-fixed"; |
| 191 |
enable-active-high; |
| 192 |
gpios = <&gpio1 RK_PB1 GPIO_ACTIVE_HIGH>; |
| 193 |
pinctrl-names = "default"; |
| 194 |
pinctrl-0 = <&vcc5v0_host_en>; |
| 195 |
regulator-name = "vcc5v0_host"; |
| 196 |
regulator-always-on; |
| 197 |
regulator-boot-on; |
| 198 |
regulator-min-microvolt = <5000000>; |
| 199 |
regulator-max-microvolt = <5000000>; |
| 200 |
vin-supply = <&vcc5v0_usb>; |
| 201 |
}; |
| 202 |
|
| 203 |
vcc5v0_sys: regulator-vcc5v0-sys { |
| 204 |
compatible = "regulator-fixed"; |
| 205 |
regulator-name = "vcc5v0_sys"; |
| 206 |
regulator-always-on; |
| 207 |
regulator-boot-on; |
| 208 |
regulator-min-microvolt = <5000000>; |
| 209 |
regulator-max-microvolt = <5000000>; |
| 210 |
vin-supply = <&vcc12v_dcin>; |
| 211 |
}; |
| 212 |
|
| 213 |
vcc5v0_usb: regulator-vcc5v0-usb { |
| 214 |
compatible = "regulator-fixed"; |
| 215 |
regulator-name = "vcc5v0_usb"; |
| 216 |
regulator-always-on; |
| 217 |
regulator-boot-on; |
| 218 |
regulator-min-microvolt = <5000000>; |
| 219 |
regulator-max-microvolt = <5000000>; |
| 220 |
vin-supply = <&vcc5v0_usbdcin>; |
| 221 |
}; |
| 222 |
|
| 223 |
vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { |
| 224 |
compatible = "regulator-fixed"; |
| 225 |
regulator-name = "vcc5v0_usbdcin"; |
| 226 |
regulator-always-on; |
| 227 |
regulator-boot-on; |
| 228 |
regulator-min-microvolt = <5000000>; |
| 229 |
regulator-max-microvolt = <5000000>; |
| 230 |
vin-supply = <&vcc12v_dcin>; |
| 231 |
}; |
| 232 |
}; |
| 233 |
|
| 234 |
&combphy0_ps { |
| 235 |
status = "okay"; |
| 236 |
}; |
| 237 |
|
| 238 |
&combphy2_psu { |
| 239 |
status = "okay"; |
| 240 |
}; |
| 241 |
|
| 242 |
&edp0 { |
| 243 |
force-hpd; |
| 244 |
status = "okay"; |
| 245 |
|
| 246 |
aux-bus { |
| 247 |
panel { |
| 248 |
compatible = "edp-panel"; |
| 249 |
backlight = <&backlight>; |
| 250 |
power-supply = <&vcc3v3_lcd_edp>; |
| 251 |
no-hpd; |
| 252 |
|
| 253 |
port { |
| 254 |
panel_in_edp: endpoint { |
| 255 |
remote-endpoint = <&edp_out_panel>; |
| 256 |
}; |
| 257 |
}; |
| 258 |
}; |
| 259 |
}; |
| 260 |
}; |
| 261 |
|
| 262 |
&edp0_in { |
| 263 |
edp0_in_vp2: endpoint { |
| 264 |
remote-endpoint = <&vp2_out_edp0>; |
| 265 |
}; |
| 266 |
}; |
| 267 |
|
| 268 |
&edp0_out { |
| 269 |
edp_out_panel: endpoint { |
| 270 |
remote-endpoint = <&panel_in_edp>; |
| 271 |
}; |
| 272 |
}; |
| 273 |
|
| 274 |
&hdptxphy0 { |
| 275 |
status = "okay"; |
| 276 |
}; |
| 277 |
|
| 278 |
&i2c3 { |
| 279 |
status = "okay"; |
| 280 |
|
| 281 |
es8388: audio-codec@11 { |
| 282 |
compatible = "everest,es8388", "everest,es8328"; |
| 283 |
reg = <0x11>; |
| 284 |
clocks = <&cru I2S0_8CH_MCLKOUT>; |
| 285 |
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; |
| 286 |
assigned-clock-rates = <12288000>; |
| 287 |
AVDD-supply = <&avcc_1v8_s0>; |
| 288 |
DVDD-supply = <&avcc_1v8_s0>; |
| 289 |
HPVDD-supply = <&vcc_3v3_s0>; |
| 290 |
PVDD-supply = <&vcc_3v3_s0>; |
| 291 |
#sound-dai-cells = <0>; |
| 292 |
}; |
| 293 |
}; |
| 294 |
|
| 295 |
&i2c8 { |
| 296 |
pinctrl-names = "default"; |
| 297 |
pinctrl-0 = <&i2c8m2_xfer>; |
| 298 |
status = "okay"; |
| 299 |
|
| 300 |
usbc0: usb-typec@22 { |
| 301 |
compatible = "fcs,fusb302"; |
| 302 |
reg = <0x22>; |
| 303 |
interrupt-parent = <&gpio0>; |
| 304 |
interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; |
| 305 |
pinctrl-names = "default"; |
| 306 |
pinctrl-0 = <&usbc0_int>; |
| 307 |
vbus-supply = <&vbus5v0_typec>; |
| 308 |
|
| 309 |
usb_con: connector { |
| 310 |
compatible = "usb-c-connector"; |
| 311 |
label = "USB-C"; |
| 312 |
data-role = "dual"; |
| 313 |
op-sink-microwatt = <1000000>; |
| 314 |
power-role = "dual"; |
| 315 |
sink-pdos = |
| 316 |
<PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; |
| 317 |
source-pdos = |
| 318 |
<PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; |
| 319 |
try-power-role = "source"; |
| 320 |
|
| 321 |
ports { |
| 322 |
#address-cells = <1>; |
| 323 |
#size-cells = <0>; |
| 324 |
|
| 325 |
port@0 { |
| 326 |
reg = <0>; |
| 327 |
|
| 328 |
usbc0_orien_sw: endpoint { |
| 329 |
remote-endpoint = <&usbdp_phy0_orientation_switch>; |
| 330 |
}; |
| 331 |
}; |
| 332 |
|
| 333 |
port@1 { |
| 334 |
reg = <1>; |
| 335 |
|
| 336 |
usbc0_role_sw: endpoint { |
| 337 |
remote-endpoint = <&dwc3_0_role_switch>; |
| 338 |
}; |
| 339 |
}; |
| 340 |
|
| 341 |
port@2 { |
| 342 |
reg = <2>; |
| 343 |
|
| 344 |
dp_altmode_mux: endpoint { |
| 345 |
remote-endpoint = <&usbdp_phy0_dp_altmode_mux>; |
| 346 |
}; |
| 347 |
}; |
| 348 |
}; |
| 349 |
}; |
| 350 |
}; |
| 351 |
|
| 352 |
hym8563: rtc@51 { |
| 353 |
compatible = "haoyu,hym8563"; |
| 354 |
reg = <0x51>; |
| 355 |
#clock-cells = <0>; |
| 356 |
clock-output-names = "hym8563"; |
| 357 |
pinctrl-names = "default"; |
| 358 |
pinctrl-0 = <&hym8563_int>; |
| 359 |
interrupt-parent = <&gpio0>; |
| 360 |
interrupts = <RK_PC4 IRQ_TYPE_LEVEL_LOW>; |
| 361 |
wakeup-source; |
| 362 |
}; |
| 363 |
}; |
| 364 |
|
| 365 |
&pcie2x1l1 { |
| 366 |
pinctrl-names = "default"; |
| 367 |
pinctrl-0 = <&pcie2_1_rst>; |
| 368 |
reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; |
| 369 |
vpcie3v3-supply = <&vcc3v3_pcie20>; |
| 370 |
status = "okay"; |
| 371 |
}; |
| 372 |
|
| 373 |
&pcie2x1l2 { |
| 374 |
pinctrl-names = "default"; |
| 375 |
pinctrl-0 = <&pcie2_2_rst>; |
| 376 |
reset-gpios = <&gpio4 RK_PC1 GPIO_ACTIVE_HIGH>; |
| 377 |
status = "okay"; |
| 378 |
}; |
| 379 |
|
| 380 |
&pd_gpu { |
| 381 |
domain-supply = <&vdd_gpu_s0>; |
| 382 |
}; |
| 383 |
|
| 384 |
&pinctrl { |
| 385 |
audio { |
| 386 |
hp_detect: headphone-detect { |
| 387 |
rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; |
| 388 |
}; |
| 389 |
|
| 390 |
headphone_amplifier_en: headphone-amplifier-en { |
| 391 |
rockchip,pins = <4 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; |
| 392 |
}; |
| 393 |
|
| 394 |
speaker_amplifier_en: speaker-amplifier-en { |
| 395 |
rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 396 |
}; |
| 397 |
}; |
| 398 |
|
| 399 |
hym8563 { |
| 400 |
hym8563_int: hym8563-int { |
| 401 |
rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>; |
| 402 |
}; |
| 403 |
}; |
| 404 |
|
| 405 |
lcd-edp { |
| 406 |
vcc3v3_lcd_edp_en: vcc3v3-lcd-edp-en { |
| 407 |
rockchip,pins = <1 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; |
| 408 |
}; |
| 409 |
}; |
| 410 |
|
| 411 |
pcie2 { |
| 412 |
pcie2_1_rst: pcie2-1-rst { |
| 413 |
rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; |
| 414 |
}; |
| 415 |
|
| 416 |
pcie2_2_rst: pcie2-2-rst { |
| 417 |
rockchip,pins = <4 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 418 |
}; |
| 419 |
|
| 420 |
vcc3v3_pcie20_en: vcc3v3-pcie20-en { |
| 421 |
rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 422 |
}; |
| 423 |
}; |
| 424 |
|
| 425 |
usb { |
| 426 |
vcc5v0_host_en: vcc5v0-host-en { |
| 427 |
rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 428 |
}; |
| 429 |
}; |
| 430 |
|
| 431 |
usb-typec { |
| 432 |
typec5v_pwren: typec5v-pwren { |
| 433 |
rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; |
| 434 |
}; |
| 435 |
|
| 436 |
usbc0_int: usbc0-int { |
| 437 |
rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; |
| 438 |
}; |
| 439 |
}; |
| 440 |
}; |
| 441 |
|
| 442 |
&pwm12 { |
| 443 |
pinctrl-0 = <&pwm12m1_pins>; |
| 444 |
status = "okay"; |
| 445 |
}; |
| 446 |
|
| 447 |
&saradc { |
| 448 |
vref-supply = <&vcc_1v8_s0>; |
| 449 |
status = "okay"; |
| 450 |
}; |
| 451 |
|
| 452 |
&sdhci { |
| 453 |
bus-width = <8>; |
| 454 |
mmc-hs400-1_8v; |
| 455 |
mmc-hs400-enhanced-strobe; |
| 456 |
no-sdio; |
| 457 |
no-sd; |
| 458 |
non-removable; |
| 459 |
status = "okay"; |
| 460 |
}; |
| 461 |
|
| 462 |
&sdmmc { |
| 463 |
bus-width = <4>; |
| 464 |
cap-mmc-highspeed; |
| 465 |
cap-sd-highspeed; |
| 466 |
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; |
| 467 |
disable-wp; |
| 468 |
no-mmc; |
| 469 |
no-sdio; |
| 470 |
sd-uhs-sdr104; |
| 471 |
vmmc-supply = <&vcc_3v3_sd_s0>; |
| 472 |
vqmmc-supply = <&vccio_sd_s0>; |
| 473 |
status = "okay"; |
| 474 |
}; |
| 475 |
|
| 476 |
&spi2 { |
| 477 |
assigned-clocks = <&cru CLK_SPI2>; |
| 478 |
assigned-clock-rates = <200000000>; |
| 479 |
num-cs = <2>; |
| 480 |
status = "okay"; |
| 481 |
|
| 482 |
pmic@0 { |
| 483 |
compatible = "rockchip,rk806"; |
| 484 |
reg = <0x0>; |
| 485 |
#gpio-cells = <2>; |
| 486 |
gpio-controller; |
| 487 |
interrupt-parent = <&gpio0>; |
| 488 |
interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>; |
| 489 |
pinctrl-names = "default"; |
| 490 |
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, |
| 491 |
<&rk806_dvs2_null>, <&rk806_dvs3_null>; |
| 492 |
spi-max-frequency = <1000000>; |
| 493 |
system-power-controller; |
| 494 |
|
| 495 |
vcc1-supply = <&vcc5v0_sys>; |
| 496 |
vcc2-supply = <&vcc5v0_sys>; |
| 497 |
vcc3-supply = <&vcc5v0_sys>; |
| 498 |
vcc4-supply = <&vcc5v0_sys>; |
| 499 |
vcc5-supply = <&vcc5v0_sys>; |
| 500 |
vcc6-supply = <&vcc5v0_sys>; |
| 501 |
vcc7-supply = <&vcc5v0_sys>; |
| 502 |
vcc8-supply = <&vcc5v0_sys>; |
| 503 |
vcc9-supply = <&vcc5v0_sys>; |
| 504 |
vcc10-supply = <&vcc5v0_sys>; |
| 505 |
vcc11-supply = <&vcc_2v0_pldo_s3>; |
| 506 |
vcc12-supply = <&vcc5v0_sys>; |
| 507 |
vcc13-supply = <&vcc5v0_sys>; |
| 508 |
vcc14-supply = <&vcc_1v1_nldo_s3>; |
| 509 |
vcca-supply = <&vcc5v0_sys>; |
| 510 |
|
| 511 |
rk806_dvs1_null: dvs1-null-pins { |
| 512 |
pins = "gpio_pwrctrl1"; |
| 513 |
function = "pin_fun0"; |
| 514 |
}; |
| 515 |
|
| 516 |
rk806_dvs2_null: dvs2-null-pins { |
| 517 |
pins = "gpio_pwrctrl2"; |
| 518 |
function = "pin_fun0"; |
| 519 |
}; |
| 520 |
|
| 521 |
rk806_dvs3_null: dvs3-null-pins { |
| 522 |
pins = "gpio_pwrctrl3"; |
| 523 |
function = "pin_fun0"; |
| 524 |
}; |
| 525 |
|
| 526 |
regulators { |
| 527 |
vdd_gpu_s0: dcdc-reg1 { |
| 528 |
regulator-name = "vdd_gpu_s0"; |
| 529 |
regulator-boot-on; |
| 530 |
regulator-min-microvolt = <550000>; |
| 531 |
regulator-max-microvolt = <950000>; |
| 532 |
regulator-ramp-delay = <12500>; |
| 533 |
regulator-enable-ramp-delay = <400>; |
| 534 |
|
| 535 |
regulator-state-mem { |
| 536 |
regulator-off-in-suspend; |
| 537 |
}; |
| 538 |
}; |
| 539 |
|
| 540 |
vdd_npu_s0: dcdc-reg2 { |
| 541 |
regulator-name = "vdd_npu_s0"; |
| 542 |
regulator-always-on; |
| 543 |
regulator-boot-on; |
| 544 |
regulator-min-microvolt = <550000>; |
| 545 |
regulator-max-microvolt = <950000>; |
| 546 |
regulator-ramp-delay = <12500>; |
| 547 |
|
| 548 |
regulator-state-mem { |
| 549 |
regulator-off-in-suspend; |
| 550 |
}; |
| 551 |
}; |
| 552 |
|
| 553 |
vdd_log_s0: dcdc-reg3 { |
| 554 |
regulator-name = "vdd_log_s0"; |
| 555 |
regulator-always-on; |
| 556 |
regulator-boot-on; |
| 557 |
regulator-min-microvolt = <675000>; |
| 558 |
regulator-max-microvolt = <800000>; |
| 559 |
regulator-ramp-delay = <12500>; |
| 560 |
|
| 561 |
regulator-state-mem { |
| 562 |
regulator-off-in-suspend; |
| 563 |
regulator-suspend-microvolt = <750000>; |
| 564 |
}; |
| 565 |
}; |
| 566 |
|
| 567 |
vdd_vdenc_s0: dcdc-reg4 { |
| 568 |
regulator-name = "vdd_vdenc_s0"; |
| 569 |
regulator-always-on; |
| 570 |
regulator-boot-on; |
| 571 |
regulator-min-microvolt = <550000>; |
| 572 |
regulator-max-microvolt = <950000>; |
| 573 |
regulator-ramp-delay = <12500>; |
| 574 |
|
| 575 |
regulator-state-mem { |
| 576 |
regulator-off-in-suspend; |
| 577 |
}; |
| 578 |
}; |
| 579 |
|
| 580 |
vdd_gpu_mem_s0: dcdc-reg5 { |
| 581 |
regulator-name = "vdd_gpu_mem_s0"; |
| 582 |
regulator-boot-on; |
| 583 |
regulator-min-microvolt = <675000>; |
| 584 |
regulator-max-microvolt = <950000>; |
| 585 |
regulator-ramp-delay = <12500>; |
| 586 |
regulator-enable-ramp-delay = <400>; |
| 587 |
|
| 588 |
regulator-state-mem { |
| 589 |
regulator-off-in-suspend; |
| 590 |
}; |
| 591 |
}; |
| 592 |
|
| 593 |
vdd_npu_mem_s0: dcdc-reg6 { |
| 594 |
regulator-name = "vdd_npu_mem_s0"; |
| 595 |
regulator-always-on; |
| 596 |
regulator-boot-on; |
| 597 |
regulator-min-microvolt = <675000>; |
| 598 |
regulator-max-microvolt = <950000>; |
| 599 |
regulator-ramp-delay = <12500>; |
| 600 |
|
| 601 |
regulator-state-mem { |
| 602 |
regulator-off-in-suspend; |
| 603 |
}; |
| 604 |
}; |
| 605 |
|
| 606 |
vcc_2v0_pldo_s3: dcdc-reg7 { |
| 607 |
regulator-name = "vdd_2v0_pldo_s3"; |
| 608 |
regulator-always-on; |
| 609 |
regulator-boot-on; |
| 610 |
regulator-min-microvolt = <2000000>; |
| 611 |
regulator-max-microvolt = <2000000>; |
| 612 |
regulator-ramp-delay = <12500>; |
| 613 |
|
| 614 |
regulator-state-mem { |
| 615 |
regulator-on-in-suspend; |
| 616 |
regulator-suspend-microvolt = <2000000>; |
| 617 |
}; |
| 618 |
}; |
| 619 |
|
| 620 |
vdd_vdenc_mem_s0: dcdc-reg8 { |
| 621 |
regulator-name = "vdd_vdenc_mem_s0"; |
| 622 |
regulator-always-on; |
| 623 |
regulator-boot-on; |
| 624 |
regulator-min-microvolt = <675000>; |
| 625 |
regulator-max-microvolt = <950000>; |
| 626 |
regulator-ramp-delay = <12500>; |
| 627 |
|
| 628 |
regulator-state-mem { |
| 629 |
regulator-off-in-suspend; |
| 630 |
}; |
| 631 |
}; |
| 632 |
|
| 633 |
vdd2_ddr_s3: dcdc-reg9 { |
| 634 |
regulator-name = "vdd2_ddr_s3"; |
| 635 |
regulator-always-on; |
| 636 |
regulator-boot-on; |
| 637 |
|
| 638 |
regulator-state-mem { |
| 639 |
regulator-on-in-suspend; |
| 640 |
}; |
| 641 |
}; |
| 642 |
|
| 643 |
vcc_1v1_nldo_s3: dcdc-reg10 { |
| 644 |
regulator-name = "vcc_1v1_nldo_s3"; |
| 645 |
regulator-always-on; |
| 646 |
regulator-boot-on; |
| 647 |
regulator-min-microvolt = <1100000>; |
| 648 |
regulator-max-microvolt = <1100000>; |
| 649 |
regulator-ramp-delay = <12500>; |
| 650 |
|
| 651 |
regulator-state-mem { |
| 652 |
regulator-on-in-suspend; |
| 653 |
regulator-suspend-microvolt = <1100000>; |
| 654 |
}; |
| 655 |
}; |
| 656 |
|
| 657 |
avcc_1v8_s0: pldo-reg1 { |
| 658 |
regulator-name = "avcc_1v8_s0"; |
| 659 |
regulator-always-on; |
| 660 |
regulator-boot-on; |
| 661 |
regulator-min-microvolt = <1800000>; |
| 662 |
regulator-max-microvolt = <1800000>; |
| 663 |
regulator-ramp-delay = <12500>; |
| 664 |
|
| 665 |
regulator-state-mem { |
| 666 |
regulator-off-in-suspend; |
| 667 |
}; |
| 668 |
}; |
| 669 |
|
| 670 |
vdd1_1v8_ddr_s3: pldo-reg2 { |
| 671 |
regulator-name = "vdd1_1v8_ddr_s3"; |
| 672 |
regulator-always-on; |
| 673 |
regulator-boot-on; |
| 674 |
regulator-min-microvolt = <1800000>; |
| 675 |
regulator-max-microvolt = <1800000>; |
| 676 |
regulator-ramp-delay = <12500>; |
| 677 |
|
| 678 |
regulator-state-mem { |
| 679 |
regulator-on-in-suspend; |
| 680 |
regulator-suspend-microvolt = <1800000>; |
| 681 |
}; |
| 682 |
}; |
| 683 |
|
| 684 |
vcc_1v8_s3: pldo-reg3 { |
| 685 |
regulator-name = "vcc_1v8_s3"; |
| 686 |
regulator-always-on; |
| 687 |
regulator-boot-on; |
| 688 |
regulator-min-microvolt = <1800000>; |
| 689 |
regulator-max-microvolt = <1800000>; |
| 690 |
regulator-ramp-delay = <12500>; |
| 691 |
|
| 692 |
regulator-state-mem { |
| 693 |
regulator-on-in-suspend; |
| 694 |
regulator-suspend-microvolt = <1800000>; |
| 695 |
}; |
| 696 |
}; |
| 697 |
|
| 698 |
vcc_3v3_s0: pldo-reg4 { |
| 699 |
regulator-name = "vcc_3v3_s0"; |
| 700 |
regulator-always-on; |
| 701 |
regulator-boot-on; |
| 702 |
regulator-min-microvolt = <3300000>; |
| 703 |
regulator-max-microvolt = <3300000>; |
| 704 |
regulator-ramp-delay = <12500>; |
| 705 |
|
| 706 |
regulator-state-mem { |
| 707 |
regulator-off-in-suspend; |
| 708 |
}; |
| 709 |
}; |
| 710 |
|
| 711 |
vccio_sd_s0: pldo-reg5 { |
| 712 |
regulator-name = "vccio_sd_s0"; |
| 713 |
regulator-always-on; |
| 714 |
regulator-boot-on; |
| 715 |
regulator-min-microvolt = <1800000>; |
| 716 |
regulator-max-microvolt = <3300000>; |
| 717 |
regulator-ramp-delay = <12500>; |
| 718 |
|
| 719 |
regulator-state-mem { |
| 720 |
regulator-off-in-suspend; |
| 721 |
}; |
| 722 |
}; |
| 723 |
|
| 724 |
master_pldo6_s3: pldo-reg6 { |
| 725 |
regulator-name = "master_pldo6_s3"; |
| 726 |
regulator-always-on; |
| 727 |
regulator-boot-on; |
| 728 |
regulator-min-microvolt = <1800000>; |
| 729 |
regulator-max-microvolt = <1800000>; |
| 730 |
|
| 731 |
regulator-state-mem { |
| 732 |
regulator-on-in-suspend; |
| 733 |
regulator-suspend-microvolt = <1800000>; |
| 734 |
}; |
| 735 |
}; |
| 736 |
|
| 737 |
vdd_0v75_s3: nldo-reg1 { |
| 738 |
regulator-name = "vdd_0v75_s3"; |
| 739 |
regulator-always-on; |
| 740 |
regulator-boot-on; |
| 741 |
regulator-min-microvolt = <750000>; |
| 742 |
regulator-max-microvolt = <750000>; |
| 743 |
regulator-ramp-delay = <12500>; |
| 744 |
|
| 745 |
regulator-state-mem { |
| 746 |
regulator-on-in-suspend; |
| 747 |
regulator-suspend-microvolt = <750000>; |
| 748 |
}; |
| 749 |
}; |
| 750 |
|
| 751 |
vdd2l_0v9_ddr_s3: nldo-reg2 { |
| 752 |
regulator-name = "vdd2l_0v9_ddr_s3"; |
| 753 |
regulator-always-on; |
| 754 |
regulator-boot-on; |
| 755 |
regulator-min-microvolt = <900000>; |
| 756 |
regulator-max-microvolt = <900000>; |
| 757 |
|
| 758 |
regulator-state-mem { |
| 759 |
regulator-on-in-suspend; |
| 760 |
regulator-suspend-microvolt = <900000>; |
| 761 |
}; |
| 762 |
}; |
| 763 |
|
| 764 |
master_nldo3: nldo-reg3 { |
| 765 |
regulator-name = "master_nldo3"; |
| 766 |
|
| 767 |
regulator-state-mem { |
| 768 |
regulator-off-in-suspend; |
| 769 |
}; |
| 770 |
}; |
| 771 |
|
| 772 |
avdd_0v75_s0: nldo-reg4 { |
| 773 |
regulator-name = "avdd_0v75_s0"; |
| 774 |
regulator-always-on; |
| 775 |
regulator-boot-on; |
| 776 |
regulator-min-microvolt = <750000>; |
| 777 |
regulator-max-microvolt = <750000>; |
| 778 |
|
| 779 |
regulator-state-mem { |
| 780 |
regulator-off-in-suspend; |
| 781 |
}; |
| 782 |
}; |
| 783 |
|
| 784 |
vdd_0v85_s0: nldo-reg5 { |
| 785 |
regulator-name = "vdd_0v85_s0"; |
| 786 |
regulator-always-on; |
| 787 |
regulator-boot-on; |
| 788 |
regulator-min-microvolt = <850000>; |
| 789 |
regulator-max-microvolt = <850000>; |
| 790 |
|
| 791 |
regulator-state-mem { |
| 792 |
regulator-off-in-suspend; |
| 793 |
}; |
| 794 |
}; |
| 795 |
}; |
| 796 |
}; |
| 797 |
|
| 798 |
pmic@1 { |
| 799 |
compatible = "rockchip,rk806"; |
| 800 |
reg = <0x01>; |
| 801 |
#gpio-cells = <2>; |
| 802 |
gpio-controller; |
| 803 |
interrupt-parent = <&gpio0>; |
| 804 |
interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>; |
| 805 |
pinctrl-names = "default"; |
| 806 |
pinctrl-0 = <&rk806_slave_dvs1_null>, <&rk806_slave_dvs2_null>, |
| 807 |
<&rk806_slave_dvs3_null>; |
| 808 |
spi-max-frequency = <1000000>; |
| 809 |
|
| 810 |
vcc1-supply = <&vcc5v0_sys>; |
| 811 |
vcc2-supply = <&vcc5v0_sys>; |
| 812 |
vcc3-supply = <&vcc5v0_sys>; |
| 813 |
vcc4-supply = <&vcc5v0_sys>; |
| 814 |
vcc5-supply = <&vcc5v0_sys>; |
| 815 |
vcc6-supply = <&vcc5v0_sys>; |
| 816 |
vcc7-supply = <&vcc5v0_sys>; |
| 817 |
vcc8-supply = <&vcc5v0_sys>; |
| 818 |
vcc9-supply = <&vcc5v0_sys>; |
| 819 |
vcc10-supply = <&vcc5v0_sys>; |
| 820 |
vcc11-supply = <&vcc_2v0_pldo_s3>; |
| 821 |
vcc12-supply = <&vcc5v0_sys>; |
| 822 |
vcc13-supply = <&vcc_1v1_nldo_s3>; |
| 823 |
vcc14-supply = <&vcc_2v0_pldo_s3>; |
| 824 |
vcca-supply = <&vcc5v0_sys>; |
| 825 |
|
| 826 |
rk806_slave_dvs1_null: dvs1-null-pins { |
| 827 |
pins = "gpio_pwrctrl1"; |
| 828 |
function = "pin_fun0"; |
| 829 |
}; |
| 830 |
|
| 831 |
rk806_slave_dvs2_null: dvs2-null-pins { |
| 832 |
pins = "gpio_pwrctrl2"; |
| 833 |
function = "pin_fun0"; |
| 834 |
}; |
| 835 |
|
| 836 |
rk806_slave_dvs3_null: dvs3-null-pins { |
| 837 |
pins = "gpio_pwrctrl3"; |
| 838 |
function = "pin_fun0"; |
| 839 |
}; |
| 840 |
|
| 841 |
regulators { |
| 842 |
vdd_cpu_big1_s0: dcdc-reg1 { |
| 843 |
regulator-name = "vdd_cpu_big1_s0"; |
| 844 |
regulator-always-on; |
| 845 |
regulator-boot-on; |
| 846 |
regulator-coupled-with = <&vdd_cpu_big1_mem_s0>; |
| 847 |
regulator-coupled-max-spread = <10000>; |
| 848 |
regulator-min-microvolt = <550000>; |
| 849 |
regulator-max-microvolt = <1050000>; |
| 850 |
regulator-ramp-delay = <12500>; |
| 851 |
|
| 852 |
regulator-state-mem { |
| 853 |
regulator-off-in-suspend; |
| 854 |
}; |
| 855 |
}; |
| 856 |
|
| 857 |
vdd_cpu_big0_s0: dcdc-reg2 { |
| 858 |
regulator-name = "vdd_cpu_big0_s0"; |
| 859 |
regulator-always-on; |
| 860 |
regulator-boot-on; |
| 861 |
regulator-coupled-with = <&vdd_cpu_big0_mem_s0>; |
| 862 |
regulator-coupled-max-spread = <10000>; |
| 863 |
regulator-min-microvolt = <550000>; |
| 864 |
regulator-max-microvolt = <1050000>; |
| 865 |
regulator-ramp-delay = <12500>; |
| 866 |
|
| 867 |
regulator-state-mem { |
| 868 |
regulator-off-in-suspend; |
| 869 |
}; |
| 870 |
}; |
| 871 |
|
| 872 |
vdd_cpu_lit_s0: dcdc-reg3 { |
| 873 |
regulator-name = "vdd_cpu_lit_s0"; |
| 874 |
regulator-always-on; |
| 875 |
regulator-boot-on; |
| 876 |
regulator-coupled-with = <&vdd_cpu_lit_mem_s0>; |
| 877 |
regulator-coupled-max-spread = <10000>; |
| 878 |
regulator-min-microvolt = <550000>; |
| 879 |
regulator-max-microvolt = <950000>; |
| 880 |
regulator-ramp-delay = <12500>; |
| 881 |
|
| 882 |
regulator-state-mem { |
| 883 |
regulator-off-in-suspend; |
| 884 |
}; |
| 885 |
}; |
| 886 |
|
| 887 |
vcc_3v3_s3: dcdc-reg4 { |
| 888 |
regulator-name = "vcc_3v3_s3"; |
| 889 |
regulator-always-on; |
| 890 |
regulator-boot-on; |
| 891 |
regulator-min-microvolt = <3300000>; |
| 892 |
regulator-max-microvolt = <3300000>; |
| 893 |
regulator-ramp-delay = <12500>; |
| 894 |
|
| 895 |
regulator-state-mem { |
| 896 |
regulator-on-in-suspend; |
| 897 |
regulator-suspend-microvolt = <3300000>; |
| 898 |
}; |
| 899 |
}; |
| 900 |
|
| 901 |
vdd_cpu_big1_mem_s0: dcdc-reg5 { |
| 902 |
regulator-name = "vdd_cpu_big1_mem_s0"; |
| 903 |
regulator-always-on; |
| 904 |
regulator-boot-on; |
| 905 |
regulator-coupled-with = <&vdd_cpu_big1_s0>; |
| 906 |
regulator-coupled-max-spread = <10000>; |
| 907 |
regulator-min-microvolt = <675000>; |
| 908 |
regulator-max-microvolt = <1050000>; |
| 909 |
regulator-ramp-delay = <12500>; |
| 910 |
|
| 911 |
regulator-state-mem { |
| 912 |
regulator-off-in-suspend; |
| 913 |
}; |
| 914 |
}; |
| 915 |
|
| 916 |
|
| 917 |
vdd_cpu_big0_mem_s0: dcdc-reg6 { |
| 918 |
regulator-name = "vdd_cpu_big0_mem_s0"; |
| 919 |
regulator-always-on; |
| 920 |
regulator-boot-on; |
| 921 |
regulator-coupled-with = <&vdd_cpu_big0_s0>; |
| 922 |
regulator-coupled-max-spread = <10000>; |
| 923 |
regulator-min-microvolt = <675000>; |
| 924 |
regulator-max-microvolt = <1050000>; |
| 925 |
regulator-ramp-delay = <12500>; |
| 926 |
|
| 927 |
regulator-state-mem { |
| 928 |
regulator-off-in-suspend; |
| 929 |
}; |
| 930 |
}; |
| 931 |
|
| 932 |
vcc_1v8_s0: dcdc-reg7 { |
| 933 |
regulator-name = "vcc_1v8_s0"; |
| 934 |
regulator-always-on; |
| 935 |
regulator-boot-on; |
| 936 |
regulator-min-microvolt = <1800000>; |
| 937 |
regulator-max-microvolt = <1800000>; |
| 938 |
regulator-ramp-delay = <12500>; |
| 939 |
|
| 940 |
regulator-state-mem { |
| 941 |
regulator-off-in-suspend; |
| 942 |
}; |
| 943 |
}; |
| 944 |
|
| 945 |
vdd_cpu_lit_mem_s0: dcdc-reg8 { |
| 946 |
regulator-name = "vdd_cpu_lit_mem_s0"; |
| 947 |
regulator-always-on; |
| 948 |
regulator-boot-on; |
| 949 |
regulator-coupled-with = <&vdd_cpu_lit_s0>; |
| 950 |
regulator-coupled-max-spread = <10000>; |
| 951 |
regulator-min-microvolt = <675000>; |
| 952 |
regulator-max-microvolt = <950000>; |
| 953 |
regulator-ramp-delay = <12500>; |
| 954 |
|
| 955 |
regulator-state-mem { |
| 956 |
regulator-off-in-suspend; |
| 957 |
}; |
| 958 |
}; |
| 959 |
|
| 960 |
vddq_ddr_s0: dcdc-reg9 { |
| 961 |
regulator-name = "vddq_ddr_s0"; |
| 962 |
regulator-always-on; |
| 963 |
regulator-boot-on; |
| 964 |
|
| 965 |
regulator-state-mem { |
| 966 |
regulator-off-in-suspend; |
| 967 |
}; |
| 968 |
}; |
| 969 |
|
| 970 |
vdd_ddr_s0: dcdc-reg10 { |
| 971 |
regulator-name = "vdd_ddr_s0"; |
| 972 |
regulator-always-on; |
| 973 |
regulator-boot-on; |
| 974 |
regulator-min-microvolt = <675000>; |
| 975 |
regulator-max-microvolt = <900000>; |
| 976 |
regulator-ramp-delay = <12500>; |
| 977 |
|
| 978 |
regulator-state-mem { |
| 979 |
regulator-off-in-suspend; |
| 980 |
}; |
| 981 |
}; |
| 982 |
|
| 983 |
vcc_1v8_cam_s0: pldo-reg1 { |
| 984 |
regulator-name = "vcc_1v8_cam_s0"; |
| 985 |
regulator-always-on; |
| 986 |
regulator-boot-on; |
| 987 |
regulator-min-microvolt = <1800000>; |
| 988 |
regulator-max-microvolt = <1800000>; |
| 989 |
regulator-ramp-delay = <12500>; |
| 990 |
|
| 991 |
regulator-state-mem { |
| 992 |
regulator-off-in-suspend; |
| 993 |
}; |
| 994 |
}; |
| 995 |
|
| 996 |
avdd1v8_ddr_pll_s0: pldo-reg2 { |
| 997 |
regulator-name = "avdd1v8_ddr_pll_s0"; |
| 998 |
regulator-always-on; |
| 999 |
regulator-boot-on; |
| 1000 |
regulator-min-microvolt = <1800000>; |
| 1001 |
regulator-max-microvolt = <1800000>; |
| 1002 |
regulator-ramp-delay = <12500>; |
| 1003 |
|
| 1004 |
regulator-state-mem { |
| 1005 |
regulator-off-in-suspend; |
| 1006 |
}; |
| 1007 |
}; |
| 1008 |
|
| 1009 |
vdd_1v8_pll_s0: pldo-reg3 { |
| 1010 |
regulator-name = "vdd_1v8_pll_s0"; |
| 1011 |
regulator-always-on; |
| 1012 |
regulator-boot-on; |
| 1013 |
regulator-min-microvolt = <1800000>; |
| 1014 |
regulator-max-microvolt = <1800000>; |
| 1015 |
regulator-ramp-delay = <12500>; |
| 1016 |
|
| 1017 |
regulator-state-mem { |
| 1018 |
regulator-off-in-suspend; |
| 1019 |
}; |
| 1020 |
}; |
| 1021 |
|
| 1022 |
vcc_3v3_sd_s0: pldo-reg4 { |
| 1023 |
regulator-name = "vcc_3v3_sd_s0"; |
| 1024 |
regulator-always-on; |
| 1025 |
regulator-boot-on; |
| 1026 |
regulator-min-microvolt = <3300000>; |
| 1027 |
regulator-max-microvolt = <3300000>; |
| 1028 |
regulator-ramp-delay = <12500>; |
| 1029 |
|
| 1030 |
regulator-state-mem { |
| 1031 |
regulator-off-in-suspend; |
| 1032 |
}; |
| 1033 |
}; |
| 1034 |
|
| 1035 |
vcc_2v8_cam_s0: pldo-reg5 { |
| 1036 |
regulator-name = "vcc_2v8_cam_s0"; |
| 1037 |
regulator-always-on; |
| 1038 |
regulator-boot-on; |
| 1039 |
regulator-min-microvolt = <2800000>; |
| 1040 |
regulator-max-microvolt = <2800000>; |
| 1041 |
regulator-ramp-delay = <12500>; |
| 1042 |
|
| 1043 |
regulator-state-mem { |
| 1044 |
regulator-off-in-suspend; |
| 1045 |
}; |
| 1046 |
}; |
| 1047 |
|
| 1048 |
pldo6_s3: pldo-reg6 { |
| 1049 |
regulator-name = "pldo6_s3"; |
| 1050 |
regulator-always-on; |
| 1051 |
regulator-boot-on; |
| 1052 |
regulator-min-microvolt = <1800000>; |
| 1053 |
regulator-max-microvolt = <1800000>; |
| 1054 |
|
| 1055 |
regulator-state-mem { |
| 1056 |
regulator-on-in-suspend; |
| 1057 |
regulator-suspend-microvolt = <1800000>; |
| 1058 |
}; |
| 1059 |
}; |
| 1060 |
|
| 1061 |
vdd_0v75_pll_s0: nldo-reg1 { |
| 1062 |
regulator-name = "vdd_0v75_pll_s0"; |
| 1063 |
regulator-always-on; |
| 1064 |
regulator-boot-on; |
| 1065 |
regulator-min-microvolt = <750000>; |
| 1066 |
regulator-max-microvolt = <750000>; |
| 1067 |
regulator-ramp-delay = <12500>; |
| 1068 |
|
| 1069 |
regulator-state-mem { |
| 1070 |
regulator-off-in-suspend; |
| 1071 |
}; |
| 1072 |
}; |
| 1073 |
|
| 1074 |
vdd_ddr_pll_s0: nldo-reg2 { |
| 1075 |
regulator-name = "vdd_ddr_pll_s0"; |
| 1076 |
regulator-always-on; |
| 1077 |
regulator-boot-on; |
| 1078 |
regulator-min-microvolt = <850000>; |
| 1079 |
regulator-max-microvolt = <850000>; |
| 1080 |
|
| 1081 |
regulator-state-mem { |
| 1082 |
regulator-off-in-suspend; |
| 1083 |
}; |
| 1084 |
}; |
| 1085 |
|
| 1086 |
slave_nldo3: nldo-reg3 { |
| 1087 |
regulator-name = "slave_nldo3"; |
| 1088 |
|
| 1089 |
regulator-state-mem { |
| 1090 |
regulator-off-in-suspend; |
| 1091 |
}; |
| 1092 |
}; |
| 1093 |
|
| 1094 |
avdd_1v2_cam_s0: nldo-reg4 { |
| 1095 |
regulator-always-on; |
| 1096 |
regulator-boot-on; |
| 1097 |
regulator-min-microvolt = <1200000>; |
| 1098 |
regulator-max-microvolt = <1200000>; |
| 1099 |
regulator-ramp-delay = <12500>; |
| 1100 |
regulator-name = "avdd_1v2_cam_s0"; |
| 1101 |
|
| 1102 |
regulator-state-mem { |
| 1103 |
regulator-off-in-suspend; |
| 1104 |
}; |
| 1105 |
}; |
| 1106 |
|
| 1107 |
avdd_1v2_s0: nldo-reg5 { |
| 1108 |
regulator-always-on; |
| 1109 |
regulator-boot-on; |
| 1110 |
regulator-min-microvolt = <1200000>; |
| 1111 |
regulator-max-microvolt = <1200000>; |
| 1112 |
regulator-ramp-delay = <12500>; |
| 1113 |
regulator-name = "avdd_1v2_s0"; |
| 1114 |
|
| 1115 |
regulator-state-mem { |
| 1116 |
regulator-off-in-suspend; |
| 1117 |
}; |
| 1118 |
}; |
| 1119 |
}; |
| 1120 |
}; |
| 1121 |
}; |
| 1122 |
|
| 1123 |
&tsadc { |
| 1124 |
status = "okay"; |
| 1125 |
}; |
| 1126 |
|
| 1127 |
&u2phy0 { |
| 1128 |
status = "okay"; |
| 1129 |
}; |
| 1130 |
|
| 1131 |
&u2phy2 { |
| 1132 |
status = "okay"; |
| 1133 |
}; |
| 1134 |
|
| 1135 |
&u2phy3 { |
| 1136 |
status = "okay"; |
| 1137 |
}; |
| 1138 |
|
| 1139 |
&u2phy0_otg { |
| 1140 |
status = "okay"; |
| 1141 |
}; |
| 1142 |
|
| 1143 |
&u2phy2_host { |
| 1144 |
phy-supply = <&vcc5v0_host>; |
| 1145 |
status = "okay"; |
| 1146 |
}; |
| 1147 |
|
| 1148 |
&u2phy3_host { |
| 1149 |
phy-supply = <&vcc5v0_host>; |
| 1150 |
status = "okay"; |
| 1151 |
}; |
| 1152 |
|
| 1153 |
&uart2 { |
| 1154 |
pinctrl-names = "default"; |
| 1155 |
pinctrl-0 = <&uart2m0_xfer>; |
| 1156 |
status = "okay"; |
| 1157 |
}; |
| 1158 |
|
| 1159 |
&usb_host0_ehci { |
| 1160 |
status = "okay"; |
| 1161 |
}; |
| 1162 |
|
| 1163 |
&usb_host0_ohci { |
| 1164 |
status = "okay"; |
| 1165 |
}; |
| 1166 |
|
| 1167 |
&usb_host0_xhci { |
| 1168 |
usb-role-switch; |
| 1169 |
status = "okay"; |
| 1170 |
|
| 1171 |
port { |
| 1172 |
#address-cells = <1>; |
| 1173 |
#size-cells = <0>; |
| 1174 |
|
| 1175 |
dwc3_0_role_switch: endpoint@0 { |
| 1176 |
reg = <0>; |
| 1177 |
remote-endpoint = <&usbc0_role_sw>; |
| 1178 |
}; |
| 1179 |
}; |
| 1180 |
}; |
| 1181 |
|
| 1182 |
&usb_host1_ehci { |
| 1183 |
status = "okay"; |
| 1184 |
}; |
| 1185 |
|
| 1186 |
&usb_host1_ohci { |
| 1187 |
status = "okay"; |
| 1188 |
}; |
| 1189 |
|
| 1190 |
&usbdp_phy0 { |
| 1191 |
mode-switch; |
| 1192 |
orientation-switch; |
| 1193 |
sbu1-dc-gpios = <&gpio1 RK_PB6 GPIO_ACTIVE_HIGH>; |
| 1194 |
sbu2-dc-gpios = <&gpio1 RK_PB7 GPIO_ACTIVE_HIGH>; |
| 1195 |
status = "okay"; |
| 1196 |
|
| 1197 |
port { |
| 1198 |
#address-cells = <1>; |
| 1199 |
#size-cells = <0>; |
| 1200 |
|
| 1201 |
usbdp_phy0_orientation_switch: endpoint@0 { |
| 1202 |
reg = <0>; |
| 1203 |
remote-endpoint = <&usbc0_orien_sw>; |
| 1204 |
}; |
| 1205 |
|
| 1206 |
usbdp_phy0_dp_altmode_mux: endpoint@1 { |
| 1207 |
reg = <1>; |
| 1208 |
remote-endpoint = <&dp_altmode_mux>; |
| 1209 |
}; |
| 1210 |
}; |
| 1211 |
}; |
| 1212 |
|
| 1213 |
&vop_mmu { |
| 1214 |
status = "okay"; |
| 1215 |
}; |
| 1216 |
|
| 1217 |
&vop { |
| 1218 |
assigned-clocks = <&cru DCLK_VOP2_SRC>; |
| 1219 |
assigned-clock-parents = <&cru PLL_V0PLL>; |
| 1220 |
status = "okay"; |
| 1221 |
}; |
| 1222 |
|
| 1223 |
&vp2 { |
| 1224 |
vp2_out_edp0: endpoint@ROCKCHIP_VOP2_EP_EDP0 { |
| 1225 |
reg = <ROCKCHIP_VOP2_EP_EDP0>; |
| 1226 |
remote-endpoint = <&edp0_in_vp2>; |
| 1227 |
}; |
| 1228 |
}; |