| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2023 Theobroma Systems Design und Consulting GmbH |
| 4 |
*/ |
| 5 |
|
| 6 |
#include <dt-bindings/gpio/gpio.h> |
| 7 |
#include <dt-bindings/leds/common.h> |
| 8 |
#include <dt-bindings/pinctrl/rockchip.h> |
| 9 |
#include "rk8xx.h" |
| 10 |
#include "rk3588.dtsi" |
| 11 |
|
| 12 |
/ { |
| 13 |
compatible = "tsd,rk3588-tiger", "rockchip,rk3588"; |
| 14 |
|
| 15 |
aliases { |
| 16 |
i2c10 = &i2c10; |
| 17 |
mmc0 = &sdhci; |
| 18 |
rtc0 = &rtc_twi; |
| 19 |
}; |
| 20 |
|
| 21 |
emmc_pwrseq: emmc-pwrseq { |
| 22 |
compatible = "mmc-pwrseq-emmc"; |
| 23 |
pinctrl-0 = <&emmc_reset>; |
| 24 |
pinctrl-names = "default"; |
| 25 |
reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>; |
| 26 |
}; |
| 27 |
|
| 28 |
extcon_usb3: extcon-usb3 { |
| 29 |
compatible = "linux,extcon-usb-gpio"; |
| 30 |
id-gpios = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; |
| 31 |
pinctrl-names = "default"; |
| 32 |
pinctrl-0 = <&usb3_id>; |
| 33 |
status = "disabled"; |
| 34 |
}; |
| 35 |
|
| 36 |
leds { |
| 37 |
compatible = "gpio-leds"; |
| 38 |
pinctrl-names = "default"; |
| 39 |
pinctrl-0 = <&module_led_pin>; |
| 40 |
|
| 41 |
/* Named LED1 on the board */ |
| 42 |
led-1 { |
| 43 |
gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>; |
| 44 |
function = LED_FUNCTION_HEARTBEAT; |
| 45 |
linux,default-trigger = "heartbeat"; |
| 46 |
color = <LED_COLOR_ID_AMBER>; |
| 47 |
}; |
| 48 |
}; |
| 49 |
|
| 50 |
/* |
| 51 |
* 100MHz reference clock for PCIe peripherals from PI6C557-05BLE |
| 52 |
* clock generator. |
| 53 |
* The clock output is gated via the OE pin on the clock generator. |
| 54 |
* This is modeled as a fixed-clock plus a gpio-gate-clock. |
| 55 |
*/ |
| 56 |
pcie_refclk_gen: pcie-refclk-gen-clock { |
| 57 |
compatible = "fixed-clock"; |
| 58 |
#clock-cells = <0>; |
| 59 |
clock-frequency = <100000000>; |
| 60 |
}; |
| 61 |
|
| 62 |
pcie_refclk: pcie-refclk-clock { |
| 63 |
compatible = "gpio-gate-clock"; |
| 64 |
clocks = <&pcie_refclk_gen>; |
| 65 |
#clock-cells = <0>; |
| 66 |
enable-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; /* PCIE30X4_CLKREQN_M1_L */ |
| 67 |
}; |
| 68 |
|
| 69 |
vcc_1v1_nldo_s3: regulator-vcc-1v1-nldo-s3 { |
| 70 |
compatible = "regulator-fixed"; |
| 71 |
regulator-name = "vcc_1v1_nldo_s3"; |
| 72 |
regulator-always-on; |
| 73 |
regulator-boot-on; |
| 74 |
regulator-min-microvolt = <1100000>; |
| 75 |
regulator-max-microvolt = <1100000>; |
| 76 |
vin-supply = <&vcc5v0_sys>; |
| 77 |
}; |
| 78 |
|
| 79 |
vcc_1v2_s3: regulator-vcc-1v2-s3 { |
| 80 |
compatible = "regulator-fixed"; |
| 81 |
regulator-name = "vcc_1v2_s3"; |
| 82 |
regulator-always-on; |
| 83 |
regulator-boot-on; |
| 84 |
regulator-min-microvolt = <1200000>; |
| 85 |
regulator-max-microvolt = <1200000>; |
| 86 |
vin-supply = <&vcc5v0_sys>; |
| 87 |
}; |
| 88 |
|
| 89 |
vcc5v0_sys: regulator-vcc5v0-sys { |
| 90 |
compatible = "regulator-fixed"; |
| 91 |
regulator-name = "vcc5v0_sys"; |
| 92 |
regulator-always-on; |
| 93 |
regulator-boot-on; |
| 94 |
regulator-min-microvolt = <5000000>; |
| 95 |
regulator-max-microvolt = <5000000>; |
| 96 |
vin-supply = <&vcc5v0_baseboard>; |
| 97 |
}; |
| 98 |
}; |
| 99 |
|
| 100 |
&cpu_b0 { |
| 101 |
cpu-supply = <&vdd_cpu_big0_s0>; |
| 102 |
}; |
| 103 |
|
| 104 |
&cpu_b1 { |
| 105 |
cpu-supply = <&vdd_cpu_big0_s0>; |
| 106 |
}; |
| 107 |
|
| 108 |
&cpu_b2 { |
| 109 |
cpu-supply = <&vdd_cpu_big1_s0>; |
| 110 |
}; |
| 111 |
|
| 112 |
&cpu_b3 { |
| 113 |
cpu-supply = <&vdd_cpu_big1_s0>; |
| 114 |
}; |
| 115 |
|
| 116 |
&cpu_l0 { |
| 117 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 118 |
}; |
| 119 |
|
| 120 |
&cpu_l1 { |
| 121 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 122 |
}; |
| 123 |
|
| 124 |
&cpu_l2 { |
| 125 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 126 |
}; |
| 127 |
|
| 128 |
&cpu_l3 { |
| 129 |
cpu-supply = <&vdd_cpu_lit_s0>; |
| 130 |
}; |
| 131 |
|
| 132 |
&gmac0 { |
| 133 |
clock_in_out = "output"; |
| 134 |
phy-handle = <&rgmii_phy>; |
| 135 |
phy-mode = "rgmii"; |
| 136 |
phy-supply = <&vcc_1v2_s3>; |
| 137 |
pinctrl-names = "default"; |
| 138 |
pinctrl-0 = <&gmac0_miim |
| 139 |
&gmac0_rx_bus2 |
| 140 |
&gmac0_tx_bus2 |
| 141 |
&gmac0_rgmii_clk |
| 142 |
&gmac0_rgmii_bus |
| 143 |
ð0_pins |
| 144 |
ð_reset>; |
| 145 |
tx_delay = <0x10>; |
| 146 |
rx_delay = <0x10>; |
| 147 |
snps,reset-gpio = <&gpio4 RK_PC3 GPIO_ACTIVE_LOW>; |
| 148 |
snps,reset-active-low; |
| 149 |
snps,reset-delays-us = <0 10000 100000>; |
| 150 |
}; |
| 151 |
|
| 152 |
&gpu { |
| 153 |
mali-supply = <&vdd_gpu_s0>; |
| 154 |
status = "okay"; |
| 155 |
}; |
| 156 |
|
| 157 |
&hdmi0 { |
| 158 |
pinctrl-names = "default"; |
| 159 |
pinctrl-0 = <&hdmim1_tx0_cec &hdmim0_tx0_hpd &hdmim1_tx0_scl |
| 160 |
&hdmim1_tx0_sda>; |
| 161 |
}; |
| 162 |
|
| 163 |
&i2c1 { |
| 164 |
pinctrl-0 = <&i2c1m0_xfer>; |
| 165 |
}; |
| 166 |
|
| 167 |
&i2c1m0_xfer { |
| 168 |
rockchip,pins = |
| 169 |
/* i2c1_scl_m0 */ |
| 170 |
<0 RK_PB5 9 &pcfg_pull_none_drv_level_0>, |
| 171 |
/* i2c1_sda_m0 */ |
| 172 |
<0 RK_PB6 9 &pcfg_pull_none_drv_level_0>; |
| 173 |
}; |
| 174 |
|
| 175 |
&i2c2 { |
| 176 |
pinctrl-0 = <&i2c2m3_xfer>; |
| 177 |
}; |
| 178 |
|
| 179 |
&i2c2m3_xfer { |
| 180 |
rockchip,pins = |
| 181 |
/* i2c2_scl_m3 */ |
| 182 |
<1 RK_PC5 9 &pcfg_pull_none_drv_level_0>, |
| 183 |
/* i2c2_sda_m3 */ |
| 184 |
<1 RK_PC4 9 &pcfg_pull_none_drv_level_0>; |
| 185 |
}; |
| 186 |
|
| 187 |
&i2c3 { |
| 188 |
pinctrl-0 = <&i2c3m0_xfer>; |
| 189 |
}; |
| 190 |
|
| 191 |
&i2c4 { |
| 192 |
pinctrl-0 = <&i2c4m4_xfer>; |
| 193 |
status = "okay"; |
| 194 |
|
| 195 |
vdd_npu_s0: regulator@42 { |
| 196 |
compatible = "rockchip,rk8602"; |
| 197 |
reg = <0x42>; |
| 198 |
fcs,suspend-voltage-selector = <1>; |
| 199 |
regulator-name = "vdd_npu_s0"; |
| 200 |
regulator-boot-on; |
| 201 |
regulator-min-microvolt = <550000>; |
| 202 |
regulator-max-microvolt = <950000>; |
| 203 |
regulator-ramp-delay = <2300>; |
| 204 |
vin-supply = <&vcc5v0_sys>; |
| 205 |
|
| 206 |
regulator-state-mem { |
| 207 |
regulator-off-in-suspend; |
| 208 |
}; |
| 209 |
}; |
| 210 |
}; |
| 211 |
|
| 212 |
&i2c5 { |
| 213 |
pinctrl-0 = <&i2c5m1_xfer>; |
| 214 |
}; |
| 215 |
|
| 216 |
&i2c5m1_xfer { |
| 217 |
rockchip,pins = |
| 218 |
/* i2c5_scl_m1 */ |
| 219 |
<4 RK_PB6 9 &pcfg_pull_none_drv_level_0>, |
| 220 |
/* i2c5_sda_m1 */ |
| 221 |
<4 RK_PB7 9 &pcfg_pull_none_drv_level_0>; |
| 222 |
}; |
| 223 |
|
| 224 |
&i2c6 { |
| 225 |
/* |
| 226 |
* Mule-ATtiny can handle up to Fast mode Plus (1MHz) on I2C bus, |
| 227 |
* but SOC can handle only up to (400kHz). |
| 228 |
*/ |
| 229 |
clock-frequency = <400000>; |
| 230 |
status = "okay"; |
| 231 |
|
| 232 |
fan@18 { |
| 233 |
compatible = "tsd,mule", "ti,amc6821"; |
| 234 |
reg = <0x18>; |
| 235 |
|
| 236 |
i2c-mux { |
| 237 |
compatible = "tsd,mule-i2c-mux"; |
| 238 |
#address-cells = <1>; |
| 239 |
#size-cells = <0>; |
| 240 |
|
| 241 |
i2c10: i2c@0 { |
| 242 |
reg = <0x0>; |
| 243 |
#address-cells = <1>; |
| 244 |
#size-cells = <0>; |
| 245 |
|
| 246 |
rtc_twi: rtc@6f { |
| 247 |
compatible = "isil,isl1208"; |
| 248 |
reg = <0x6f>; |
| 249 |
}; |
| 250 |
}; |
| 251 |
}; |
| 252 |
}; |
| 253 |
}; |
| 254 |
|
| 255 |
&i2c6m0_xfer { |
| 256 |
rockchip,pins = |
| 257 |
/* i2c6_scl_m0 */ |
| 258 |
<0 RK_PD0 9 &pcfg_pull_none_drv_level_0>, |
| 259 |
/* i2c6_sda_m0 */ |
| 260 |
<0 RK_PC7 9 &pcfg_pull_none_drv_level_0>; |
| 261 |
}; |
| 262 |
|
| 263 |
&i2c7 { |
| 264 |
status = "okay"; |
| 265 |
|
| 266 |
vdd_cpu_big0_s0: regulator@42 { |
| 267 |
compatible = "rockchip,rk8602"; |
| 268 |
reg = <0x42>; |
| 269 |
fcs,suspend-voltage-selector = <1>; |
| 270 |
regulator-name = "vdd_cpu_big0_s0"; |
| 271 |
regulator-always-on; |
| 272 |
regulator-boot-on; |
| 273 |
regulator-min-microvolt = <550000>; |
| 274 |
regulator-max-microvolt = <1050000>; |
| 275 |
regulator-ramp-delay = <2300>; |
| 276 |
vin-supply = <&vcc5v0_sys>; |
| 277 |
|
| 278 |
regulator-state-mem { |
| 279 |
regulator-off-in-suspend; |
| 280 |
}; |
| 281 |
}; |
| 282 |
|
| 283 |
vdd_cpu_big1_s0: regulator@43 { |
| 284 |
compatible = "rockchip,rk8603", "rockchip,rk8602"; |
| 285 |
reg = <0x43>; |
| 286 |
fcs,suspend-voltage-selector = <1>; |
| 287 |
regulator-name = "vdd_cpu_big1_s0"; |
| 288 |
regulator-always-on; |
| 289 |
regulator-boot-on; |
| 290 |
regulator-min-microvolt = <550000>; |
| 291 |
regulator-max-microvolt = <1050000>; |
| 292 |
regulator-ramp-delay = <2300>; |
| 293 |
vin-supply = <&vcc5v0_sys>; |
| 294 |
|
| 295 |
regulator-state-mem { |
| 296 |
regulator-off-in-suspend; |
| 297 |
}; |
| 298 |
}; |
| 299 |
}; |
| 300 |
|
| 301 |
&i2c7m0_xfer { |
| 302 |
rockchip,pins = |
| 303 |
/* i2c7_scl_m0 */ |
| 304 |
<1 RK_PD0 9 &pcfg_pull_none_drv_level_0>, |
| 305 |
/* i2c7_sda_m0 */ |
| 306 |
<1 RK_PD1 9 &pcfg_pull_none_drv_level_0>; |
| 307 |
}; |
| 308 |
|
| 309 |
&i2c8 { |
| 310 |
pinctrl-0 = <&i2c8m2_xfer>; |
| 311 |
}; |
| 312 |
|
| 313 |
&mdio0 { |
| 314 |
rgmii_phy: ethernet-phy@6 { |
| 315 |
/* KSZ9031 or KSZ9131 */ |
| 316 |
compatible = "ethernet-phy-ieee802.3-c22"; |
| 317 |
reg = <0x6>; |
| 318 |
clocks = <&cru REFCLKO25M_ETH0_OUT>; |
| 319 |
}; |
| 320 |
}; |
| 321 |
|
| 322 |
&pcie3x4 { |
| 323 |
/* |
| 324 |
* The board has a gpio-controlled "pcie_refclk" generator, |
| 325 |
* so add it to the list of clocks. |
| 326 |
*/ |
| 327 |
clocks = <&cru ACLK_PCIE_4L_MSTR>, <&cru ACLK_PCIE_4L_SLV>, |
| 328 |
<&cru ACLK_PCIE_4L_DBI>, <&cru PCLK_PCIE_4L>, |
| 329 |
<&cru CLK_PCIE_AUX0>, <&cru CLK_PCIE4L_PIPE>, |
| 330 |
<&pcie_refclk>; |
| 331 |
clock-names = "aclk_mst", "aclk_slv", |
| 332 |
"aclk_dbi", "pclk", |
| 333 |
"aux", "pipe", |
| 334 |
"ref"; |
| 335 |
reset-gpios = <&gpio3 RK_PB6 GPIO_ACTIVE_HIGH>; |
| 336 |
}; |
| 337 |
|
| 338 |
&pd_gpu { |
| 339 |
domain-supply = <&vdd_gpu_s0>; |
| 340 |
}; |
| 341 |
|
| 342 |
&pd_npu { |
| 343 |
domain-supply = <&vdd_npu_s0>; |
| 344 |
}; |
| 345 |
|
| 346 |
&pinctrl { |
| 347 |
emmc { |
| 348 |
emmc_reset: emmc-reset { |
| 349 |
rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; |
| 350 |
}; |
| 351 |
}; |
| 352 |
|
| 353 |
ethernet { |
| 354 |
eth_reset: eth-reset { |
| 355 |
rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; |
| 356 |
}; |
| 357 |
}; |
| 358 |
|
| 359 |
leds { |
| 360 |
module_led_pin: module-led-pin { |
| 361 |
rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; |
| 362 |
}; |
| 363 |
}; |
| 364 |
|
| 365 |
usb3 { |
| 366 |
usb3_id: usb3-id { |
| 367 |
rockchip,pins = |
| 368 |
<3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; |
| 369 |
}; |
| 370 |
}; |
| 371 |
}; |
| 372 |
|
| 373 |
&pwm0 { |
| 374 |
pinctrl-0 = <&pwm0m1_pins>; |
| 375 |
pinctrl-names = "default"; |
| 376 |
}; |
| 377 |
|
| 378 |
&rknn_core_0 { |
| 379 |
npu-supply = <&vdd_npu_s0>; |
| 380 |
sram-supply = <&vdd_npu_s0>; |
| 381 |
status = "okay"; |
| 382 |
}; |
| 383 |
|
| 384 |
&rknn_core_1 { |
| 385 |
npu-supply = <&vdd_npu_s0>; |
| 386 |
sram-supply = <&vdd_npu_s0>; |
| 387 |
status = "okay"; |
| 388 |
}; |
| 389 |
|
| 390 |
&rknn_core_2 { |
| 391 |
npu-supply = <&vdd_npu_s0>; |
| 392 |
sram-supply = <&vdd_npu_s0>; |
| 393 |
status = "okay"; |
| 394 |
}; |
| 395 |
|
| 396 |
&rknn_mmu_0 { |
| 397 |
status = "okay"; |
| 398 |
}; |
| 399 |
|
| 400 |
&rknn_mmu_1 { |
| 401 |
status = "okay"; |
| 402 |
}; |
| 403 |
|
| 404 |
&rknn_mmu_2 { |
| 405 |
status = "okay"; |
| 406 |
}; |
| 407 |
|
| 408 |
&saradc { |
| 409 |
vref-supply = <&vcc_1v8_s0>; |
| 410 |
status = "okay"; |
| 411 |
}; |
| 412 |
|
| 413 |
&sdhci { |
| 414 |
bus-width = <8>; |
| 415 |
cap-mmc-highspeed; |
| 416 |
mmc-ddr-1_8v; |
| 417 |
mmc-hs200-1_8v; |
| 418 |
mmc-pwrseq = <&emmc_pwrseq>; |
| 419 |
no-sdio; |
| 420 |
no-sd; |
| 421 |
non-removable; |
| 422 |
pinctrl-names = "default"; |
| 423 |
pinctrl-0 = <&emmc_bus8 &emmc_cmd &emmc_clk>; |
| 424 |
vmmc-supply = <&vcc_3v3_s3>; |
| 425 |
vqmmc-supply = <&vcc_1v8_s3>; |
| 426 |
status = "okay"; |
| 427 |
}; |
| 428 |
|
| 429 |
&sdmmc { |
| 430 |
bus-width = <4>; |
| 431 |
cap-sd-highspeed; |
| 432 |
max-frequency = <150000000>; |
| 433 |
vqmmc-supply = <&vccio_sd_s0>; |
| 434 |
}; |
| 435 |
|
| 436 |
&spi0 { |
| 437 |
pinctrl-0 = <&spi0m1_cs0 &spi0m1_cs1 &spi0m3_pins>; |
| 438 |
}; |
| 439 |
|
| 440 |
&spi2 { |
| 441 |
assigned-clocks = <&cru CLK_SPI2>; |
| 442 |
assigned-clock-rates = <200000000>; |
| 443 |
num-cs = <1>; |
| 444 |
pinctrl-names = "default"; |
| 445 |
pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; |
| 446 |
status = "okay"; |
| 447 |
|
| 448 |
pmic@0 { |
| 449 |
compatible = "rockchip,rk806"; |
| 450 |
reg = <0x0>; |
| 451 |
interrupt-parent = <&gpio0>; |
| 452 |
interrupts = <7 IRQ_TYPE_LEVEL_LOW>; |
| 453 |
gpio-controller; |
| 454 |
#gpio-cells = <2>; |
| 455 |
pinctrl-names = "default"; |
| 456 |
pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, |
| 457 |
<&rk806_dvs2_null>, <&rk806_dvs3_null>; |
| 458 |
spi-max-frequency = <1000000>; |
| 459 |
system-power-controller; |
| 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 |
rockchip,reset-mode = <RK806_RESTART>; |
| 476 |
|
| 477 |
rk806_dvs1_null: dvs1-null-pins { |
| 478 |
pins = "gpio_pwrctrl1"; |
| 479 |
function = "pin_fun0"; |
| 480 |
}; |
| 481 |
|
| 482 |
rk806_dvs2_null: dvs2-null-pins { |
| 483 |
pins = "gpio_pwrctrl2"; |
| 484 |
function = "pin_fun0"; |
| 485 |
}; |
| 486 |
|
| 487 |
rk806_dvs3_null: dvs3-null-pins { |
| 488 |
pins = "gpio_pwrctrl3"; |
| 489 |
function = "pin_fun0"; |
| 490 |
}; |
| 491 |
|
| 492 |
regulators { |
| 493 |
vdd_gpu_s0: dcdc-reg1 { |
| 494 |
regulator-boot-on; |
| 495 |
regulator-min-microvolt = <550000>; |
| 496 |
regulator-max-microvolt = <950000>; |
| 497 |
regulator-ramp-delay = <12500>; |
| 498 |
regulator-name = "vdd_gpu_s0"; |
| 499 |
regulator-enable-ramp-delay = <400>; |
| 500 |
|
| 501 |
regulator-state-mem { |
| 502 |
regulator-off-in-suspend; |
| 503 |
}; |
| 504 |
}; |
| 505 |
|
| 506 |
vdd_cpu_lit_s0: dcdc-reg2 { |
| 507 |
regulator-name = "vdd_cpu_lit_s0"; |
| 508 |
regulator-always-on; |
| 509 |
regulator-boot-on; |
| 510 |
regulator-min-microvolt = <550000>; |
| 511 |
regulator-max-microvolt = <950000>; |
| 512 |
regulator-ramp-delay = <12500>; |
| 513 |
|
| 514 |
regulator-state-mem { |
| 515 |
regulator-off-in-suspend; |
| 516 |
}; |
| 517 |
}; |
| 518 |
|
| 519 |
vdd_log_s0: dcdc-reg3 { |
| 520 |
regulator-name = "vdd_log_s0"; |
| 521 |
regulator-always-on; |
| 522 |
regulator-boot-on; |
| 523 |
regulator-min-microvolt = <675000>; |
| 524 |
regulator-max-microvolt = <750000>; |
| 525 |
regulator-ramp-delay = <12500>; |
| 526 |
|
| 527 |
regulator-state-mem { |
| 528 |
regulator-off-in-suspend; |
| 529 |
regulator-suspend-microvolt = <750000>; |
| 530 |
}; |
| 531 |
}; |
| 532 |
|
| 533 |
vdd_vdenc_s0: dcdc-reg4 { |
| 534 |
regulator-name = "vdd_vdenc_s0"; |
| 535 |
regulator-always-on; |
| 536 |
regulator-boot-on; |
| 537 |
regulator-min-microvolt = <550000>; |
| 538 |
regulator-max-microvolt = <950000>; |
| 539 |
regulator-ramp-delay = <12500>; |
| 540 |
|
| 541 |
regulator-state-mem { |
| 542 |
regulator-off-in-suspend; |
| 543 |
}; |
| 544 |
}; |
| 545 |
|
| 546 |
vdd_ddr_s0: dcdc-reg5 { |
| 547 |
regulator-name = "vdd_ddr_s0"; |
| 548 |
regulator-always-on; |
| 549 |
regulator-boot-on; |
| 550 |
regulator-min-microvolt = <675000>; |
| 551 |
regulator-max-microvolt = <900000>; |
| 552 |
regulator-ramp-delay = <12500>; |
| 553 |
|
| 554 |
regulator-state-mem { |
| 555 |
regulator-off-in-suspend; |
| 556 |
regulator-suspend-microvolt = <850000>; |
| 557 |
}; |
| 558 |
}; |
| 559 |
|
| 560 |
vdd2_ddr_s3: dcdc-reg6 { |
| 561 |
regulator-name = "vdd2_ddr_s3"; |
| 562 |
regulator-always-on; |
| 563 |
regulator-boot-on; |
| 564 |
|
| 565 |
regulator-state-mem { |
| 566 |
regulator-on-in-suspend; |
| 567 |
}; |
| 568 |
}; |
| 569 |
|
| 570 |
vcc_2v0_pldo_s3: dcdc-reg7 { |
| 571 |
regulator-name = "vcc_2v0_pldo_s3"; |
| 572 |
regulator-always-on; |
| 573 |
regulator-boot-on; |
| 574 |
regulator-min-microvolt = <2000000>; |
| 575 |
regulator-max-microvolt = <2000000>; |
| 576 |
regulator-ramp-delay = <12500>; |
| 577 |
|
| 578 |
regulator-state-mem { |
| 579 |
regulator-on-in-suspend; |
| 580 |
regulator-suspend-microvolt = <2000000>; |
| 581 |
}; |
| 582 |
}; |
| 583 |
|
| 584 |
vcc_3v3_s3: dcdc-reg8 { |
| 585 |
regulator-name = "vcc_3v3_s3"; |
| 586 |
regulator-always-on; |
| 587 |
regulator-boot-on; |
| 588 |
regulator-min-microvolt = <3300000>; |
| 589 |
regulator-max-microvolt = <3300000>; |
| 590 |
|
| 591 |
regulator-state-mem { |
| 592 |
regulator-on-in-suspend; |
| 593 |
regulator-suspend-microvolt = <3300000>; |
| 594 |
}; |
| 595 |
}; |
| 596 |
|
| 597 |
vddq_ddr_s0: dcdc-reg9 { |
| 598 |
regulator-name = "vddq_ddr_s0"; |
| 599 |
regulator-always-on; |
| 600 |
regulator-boot-on; |
| 601 |
|
| 602 |
regulator-state-mem { |
| 603 |
regulator-off-in-suspend; |
| 604 |
}; |
| 605 |
}; |
| 606 |
|
| 607 |
vcc_1v8_s3: dcdc-reg10 { |
| 608 |
regulator-name = "vcc_1v8_s3"; |
| 609 |
regulator-always-on; |
| 610 |
regulator-boot-on; |
| 611 |
regulator-min-microvolt = <1800000>; |
| 612 |
regulator-max-microvolt = <1800000>; |
| 613 |
|
| 614 |
regulator-state-mem { |
| 615 |
regulator-on-in-suspend; |
| 616 |
regulator-suspend-microvolt = <1800000>; |
| 617 |
}; |
| 618 |
}; |
| 619 |
|
| 620 |
vcca_1v8_s0: pldo-reg1 { |
| 621 |
regulator-name = "vcca_1v8_s0"; |
| 622 |
regulator-always-on; |
| 623 |
regulator-boot-on; |
| 624 |
regulator-min-microvolt = <1800000>; |
| 625 |
regulator-max-microvolt = <1800000>; |
| 626 |
|
| 627 |
regulator-state-mem { |
| 628 |
regulator-off-in-suspend; |
| 629 |
}; |
| 630 |
}; |
| 631 |
|
| 632 |
vcc_1v8_s0: pldo-reg2 { |
| 633 |
regulator-name = "vcc_1v8_s0"; |
| 634 |
regulator-always-on; |
| 635 |
regulator-boot-on; |
| 636 |
regulator-min-microvolt = <1800000>; |
| 637 |
regulator-max-microvolt = <1800000>; |
| 638 |
|
| 639 |
regulator-state-mem { |
| 640 |
regulator-off-in-suspend; |
| 641 |
regulator-suspend-microvolt = <1800000>; |
| 642 |
}; |
| 643 |
}; |
| 644 |
|
| 645 |
vdda_1v2_s0: pldo-reg3 { |
| 646 |
regulator-name = "vdda_1v2_s0"; |
| 647 |
regulator-always-on; |
| 648 |
regulator-boot-on; |
| 649 |
regulator-min-microvolt = <1200000>; |
| 650 |
regulator-max-microvolt = <1200000>; |
| 651 |
|
| 652 |
regulator-state-mem { |
| 653 |
regulator-off-in-suspend; |
| 654 |
}; |
| 655 |
}; |
| 656 |
|
| 657 |
vcca_3v3_s0: pldo-reg4 { |
| 658 |
regulator-name = "vcca_3v3_s0"; |
| 659 |
regulator-always-on; |
| 660 |
regulator-boot-on; |
| 661 |
regulator-min-microvolt = <3300000>; |
| 662 |
regulator-max-microvolt = <3300000>; |
| 663 |
regulator-ramp-delay = <12500>; |
| 664 |
|
| 665 |
regulator-state-mem { |
| 666 |
regulator-off-in-suspend; |
| 667 |
}; |
| 668 |
}; |
| 669 |
|
| 670 |
vccio_sd_s0: pldo-reg5 { |
| 671 |
regulator-name = "vccio_sd_s0"; |
| 672 |
regulator-always-on; |
| 673 |
regulator-boot-on; |
| 674 |
regulator-min-microvolt = <1800000>; |
| 675 |
regulator-max-microvolt = <3300000>; |
| 676 |
regulator-ramp-delay = <12500>; |
| 677 |
|
| 678 |
regulator-state-mem { |
| 679 |
regulator-off-in-suspend; |
| 680 |
}; |
| 681 |
}; |
| 682 |
|
| 683 |
pldo6_s3: pldo-reg6 { |
| 684 |
regulator-name = "pldo6_s3"; |
| 685 |
regulator-always-on; |
| 686 |
regulator-boot-on; |
| 687 |
regulator-min-microvolt = <1800000>; |
| 688 |
regulator-max-microvolt = <1800000>; |
| 689 |
|
| 690 |
regulator-state-mem { |
| 691 |
regulator-on-in-suspend; |
| 692 |
regulator-suspend-microvolt = <1800000>; |
| 693 |
}; |
| 694 |
}; |
| 695 |
|
| 696 |
vdd_0v75_s3: nldo-reg1 { |
| 697 |
regulator-name = "vdd_0v75_s3"; |
| 698 |
regulator-always-on; |
| 699 |
regulator-boot-on; |
| 700 |
regulator-min-microvolt = <750000>; |
| 701 |
regulator-max-microvolt = <750000>; |
| 702 |
|
| 703 |
regulator-state-mem { |
| 704 |
regulator-on-in-suspend; |
| 705 |
regulator-suspend-microvolt = <750000>; |
| 706 |
}; |
| 707 |
}; |
| 708 |
|
| 709 |
vdda_ddr_pll_s0: nldo-reg2 { |
| 710 |
regulator-name = "vdda_ddr_pll_s0"; |
| 711 |
regulator-always-on; |
| 712 |
regulator-boot-on; |
| 713 |
regulator-min-microvolt = <850000>; |
| 714 |
regulator-max-microvolt = <850000>; |
| 715 |
|
| 716 |
regulator-state-mem { |
| 717 |
regulator-off-in-suspend; |
| 718 |
regulator-suspend-microvolt = <850000>; |
| 719 |
}; |
| 720 |
}; |
| 721 |
|
| 722 |
vdda_0v75_s0: nldo-reg3 { |
| 723 |
regulator-name = "vdda_0v75_s0"; |
| 724 |
regulator-always-on; |
| 725 |
regulator-boot-on; |
| 726 |
regulator-min-microvolt = <750000>; |
| 727 |
regulator-max-microvolt = <750000>; |
| 728 |
|
| 729 |
regulator-state-mem { |
| 730 |
regulator-off-in-suspend; |
| 731 |
}; |
| 732 |
}; |
| 733 |
|
| 734 |
vdda_0v85_s0: nldo-reg4 { |
| 735 |
regulator-name = "vdda_0v85_s0"; |
| 736 |
regulator-always-on; |
| 737 |
regulator-boot-on; |
| 738 |
regulator-min-microvolt = <850000>; |
| 739 |
regulator-max-microvolt = <850000>; |
| 740 |
|
| 741 |
regulator-state-mem { |
| 742 |
regulator-off-in-suspend; |
| 743 |
}; |
| 744 |
}; |
| 745 |
|
| 746 |
vdd_0v75_s0: nldo-reg5 { |
| 747 |
regulator-name = "vdd_0v75_s0"; |
| 748 |
regulator-always-on; |
| 749 |
regulator-boot-on; |
| 750 |
regulator-min-microvolt = <750000>; |
| 751 |
regulator-max-microvolt = <750000>; |
| 752 |
|
| 753 |
regulator-state-mem { |
| 754 |
regulator-off-in-suspend; |
| 755 |
}; |
| 756 |
}; |
| 757 |
}; |
| 758 |
}; |
| 759 |
}; |
| 760 |
|
| 761 |
&tsadc { |
| 762 |
status = "okay"; |
| 763 |
}; |
| 764 |
|
| 765 |
/* Routed to UART0 on the Q7 connector */ |
| 766 |
&uart2 { |
| 767 |
pinctrl-0 = <&uart2m2_xfer>; |
| 768 |
}; |
| 769 |
|
| 770 |
/* Mule-ATtiny UPDI */ |
| 771 |
&uart4 { |
| 772 |
pinctrl-0 = <&uart4m2_xfer>; |
| 773 |
status = "okay"; |
| 774 |
}; |