| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Hardkernel Odroid XU board device tree source |
| 4 | * |
| 5 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| 6 | * http://www.samsung.com |
| 7 | * Copyright (c) 2016 Krzysztof Kozlowski |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | #include "exynos5410.dtsi" |
| 12 | #include <dt-bindings/clock/maxim,max77802.h> |
| 13 | #include <dt-bindings/gpio/gpio.h> |
| 14 | #include <dt-bindings/interrupt-controller/irq.h> |
| 15 | #include <dt-bindings/sound/samsung-i2s.h> |
| 16 | #include "exynos54xx-odroidxu-leds.dtsi" |
| 17 | |
| 18 | / { |
| 19 | model = "Hardkernel Odroid XU"; |
| 20 | compatible = "hardkernel,odroid-xu", "samsung,exynos5410", "samsung,exynos5"; |
| 21 | |
| 22 | memory@40000000 { |
| 23 | device_type = "memory"; |
| 24 | reg = <0x40000000 0x7ea00000>; |
| 25 | }; |
| 26 | |
| 27 | chosen { |
| 28 | stdout-path = "serial2:115200n8"; |
| 29 | }; |
| 30 | |
| 31 | emmc_pwrseq: pwrseq { |
| 32 | pinctrl-0 = <&emmc_nrst_pin>; |
| 33 | pinctrl-names = "default"; |
| 34 | compatible = "mmc-pwrseq-emmc"; |
| 35 | reset-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>; |
| 36 | }; |
| 37 | |
| 38 | fan0: pwm-fan { |
| 39 | compatible = "pwm-fan"; |
| 40 | pwms = <&pwm 0 20972 0>; |
| 41 | #cooling-cells = <2>; |
| 42 | cooling-levels = <0 130 170 230>; |
| 43 | }; |
| 44 | |
| 45 | fin_pll: xxti { |
| 46 | compatible = "fixed-clock"; |
| 47 | clock-frequency = <24000000>; |
| 48 | clock-output-names = "fin_pll"; |
| 49 | #clock-cells = <0>; |
| 50 | }; |
| 51 | |
| 52 | firmware@2073000 { |
| 53 | compatible = "samsung,secure-firmware"; |
| 54 | reg = <0x02073000 0x1000>; |
| 55 | }; |
| 56 | |
| 57 | sound: sound { |
| 58 | compatible = "simple-audio-card"; |
| 59 | |
| 60 | simple-audio-card,name = "Odroid-XU"; |
| 61 | simple-audio-card,widgets = |
| 62 | "Headphone", "Headphone Jack", |
| 63 | "Speakers", "Speakers"; |
| 64 | simple-audio-card,routing = |
| 65 | "Headphone Jack", "HPL", |
| 66 | "Headphone Jack", "HPR", |
| 67 | "Headphone Jack", "MICBIAS", |
| 68 | "IN1", "Headphone Jack", |
| 69 | "Speakers", "SPKL", |
| 70 | "Speakers", "SPKR"; |
| 71 | |
| 72 | simple-audio-card,format = "i2s"; |
| 73 | simple-audio-card,bitclock-master = <&link0_codec>; |
| 74 | simple-audio-card,frame-master = <&link0_codec>; |
| 75 | |
| 76 | simple-audio-card,cpu { |
| 77 | sound-dai = <&audi2s0 0>; |
| 78 | system-clock-frequency = <19200000>; |
| 79 | }; |
| 80 | |
| 81 | link0_codec: simple-audio-card,codec { |
| 82 | sound-dai = <&max98090>; |
| 83 | clocks = <&audi2s0 CLK_I2S_CDCLK>; |
| 84 | }; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | &adc { |
| 89 | vdd-supply = <&ldo10_reg>; |
| 90 | status = "okay"; |
| 91 | }; |
| 92 | |
| 93 | &audi2s0 { |
| 94 | status = "okay"; |
| 95 | }; |
| 96 | |
| 97 | &clock { |
| 98 | clocks = <&fin_pll>; |
| 99 | assigned-clocks = <&clock CLK_FOUT_EPLL>; |
| 100 | assigned-clock-rates = <192000000>; |
| 101 | }; |
| 102 | |
| 103 | &clock_audss { |
| 104 | assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>, |
| 105 | <&clock_audss EXYNOS_MOUT_I2S>, |
| 106 | <&clock_audss EXYNOS_DOUT_SRP>, |
| 107 | <&clock_audss EXYNOS_DOUT_AUD_BUS>; |
| 108 | |
| 109 | assigned-clock-parents = <&clock CLK_FOUT_EPLL>, |
| 110 | <&clock_audss EXYNOS_MOUT_AUDSS>; |
| 111 | |
| 112 | assigned-clock-rates = <0>, |
| 113 | <0>, |
| 114 | <96000000>, |
| 115 | <19200000>; |
| 116 | }; |
| 117 | |
| 118 | &cpu0_thermal { |
| 119 | polling-delay-passive = <0>; |
| 120 | polling-delay = <0>; |
| 121 | |
| 122 | trips { |
| 123 | cpu_alert0: cpu-alert-0 { |
| 124 | temperature = <50000>; /* millicelsius */ |
| 125 | hysteresis = <5000>; /* millicelsius */ |
| 126 | type = "active"; |
| 127 | }; |
| 128 | cpu_alert1: cpu-alert-1 { |
| 129 | temperature = <60000>; /* millicelsius */ |
| 130 | hysteresis = <5000>; /* millicelsius */ |
| 131 | type = "active"; |
| 132 | }; |
| 133 | cpu_alert2: cpu-alert-2 { |
| 134 | temperature = <70000>; /* millicelsius */ |
| 135 | hysteresis = <5000>; /* millicelsius */ |
| 136 | type = "active"; |
| 137 | }; |
| 138 | cpu_crit0: cpu-crit-0 { |
| 139 | temperature = <120000>; /* millicelsius */ |
| 140 | hysteresis = <0>; /* millicelsius */ |
| 141 | type = "critical"; |
| 142 | }; |
| 143 | }; |
| 144 | |
| 145 | cooling-maps { |
| 146 | map0 { |
| 147 | trip = <&cpu_alert0>; |
| 148 | cooling-device = <&fan0 0 1>; |
| 149 | }; |
| 150 | map1 { |
| 151 | trip = <&cpu_alert1>; |
| 152 | cooling-device = <&fan0 1 2>; |
| 153 | }; |
| 154 | map2 { |
| 155 | trip = <&cpu_alert2>; |
| 156 | cooling-device = <&fan0 2 3>; |
| 157 | }; |
| 158 | }; |
| 159 | }; |
| 160 | |
| 161 | &hsi2c_4 { |
| 162 | samsung,i2c-sda-delay = <100>; |
| 163 | samsung,i2c-max-bus-freq = <400000>; |
| 164 | status = "okay"; |
| 165 | |
| 166 | usb3503: usb-hub@8 { |
| 167 | compatible = "smsc,usb3503"; |
| 168 | reg = <0x08>; |
| 169 | |
| 170 | intn-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>; |
| 171 | connect-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>; |
| 172 | reset-gpios = <&gpx1 4 GPIO_ACTIVE_HIGH>; |
| 173 | initial-mode = <1>; |
| 174 | |
| 175 | clock-names = "refclk"; |
| 176 | clocks = <&pmu_system_controller 0>; |
| 177 | refclk-frequency = <24000000>; |
| 178 | }; |
| 179 | |
| 180 | max77802: pmic@9 { |
| 181 | compatible = "maxim,max77802"; |
| 182 | reg = <0x9>; |
| 183 | interrupt-parent = <&gpx0>; |
| 184 | interrupts = <4 IRQ_TYPE_NONE>; |
| 185 | pinctrl-names = "default"; |
| 186 | pinctrl-0 = <&max77802_irq>, <&pmic_dvs_1>, <&pmic_dvs_2>, |
| 187 | <&pmic_dvs_3>; |
| 188 | #clock-cells = <1>; |
| 189 | |
| 190 | inl1-supply = <&buck5_reg>; |
| 191 | inl2-supply = <&buck7_reg>; |
| 192 | inl3-supply = <&buck9_reg>; |
| 193 | inl4-supply = <&buck9_reg>; |
| 194 | inl5-supply = <&buck9_reg>; |
| 195 | inl6-supply = <&buck10_reg>; |
| 196 | inl7-supply = <&buck9_reg>; |
| 197 | /* inl9 supply is BOOST, not configured here */ |
| 198 | inl10-supply = <&buck7_reg>; |
| 199 | |
| 200 | regulators { |
| 201 | buck1_reg: BUCK1 { |
| 202 | regulator-name = "vdd_mif"; |
| 203 | regulator-min-microvolt = <800000>; |
| 204 | regulator-max-microvolt = <1300000>; |
| 205 | regulator-always-on; |
| 206 | regulator-boot-on; |
| 207 | }; |
| 208 | |
| 209 | buck2_reg: BUCK2 { |
| 210 | regulator-name = "vdd_arm"; |
| 211 | regulator-min-microvolt = <800000>; |
| 212 | regulator-max-microvolt = <1500000>; |
| 213 | regulator-always-on; |
| 214 | regulator-boot-on; |
| 215 | }; |
| 216 | |
| 217 | buck3_reg: BUCK3 { |
| 218 | regulator-name = "vdd_int"; |
| 219 | regulator-min-microvolt = <800000>; |
| 220 | regulator-max-microvolt = <1400000>; |
| 221 | regulator-always-on; |
| 222 | regulator-boot-on; |
| 223 | }; |
| 224 | |
| 225 | buck4_reg: BUCK4 { |
| 226 | regulator-name = "vdd_g3d"; |
| 227 | regulator-min-microvolt = <800000>; |
| 228 | regulator-max-microvolt = <1400000>; |
| 229 | regulator-always-on; |
| 230 | regulator-boot-on; |
| 231 | }; |
| 232 | |
| 233 | buck5_reg: BUCK5 { |
| 234 | regulator-name = "vdd_mem"; |
| 235 | regulator-min-microvolt = <800000>; |
| 236 | regulator-max-microvolt = <1500000>; |
| 237 | regulator-always-on; |
| 238 | regulator-boot-on; |
| 239 | }; |
| 240 | |
| 241 | buck6_reg: BUCK6 { |
| 242 | regulator-name = "vdd_kfc"; |
| 243 | regulator-min-microvolt = <800000>; |
| 244 | regulator-max-microvolt = <1500000>; |
| 245 | regulator-always-on; |
| 246 | regulator-boot-on; |
| 247 | }; |
| 248 | |
| 249 | buck7_reg: BUCK7 { |
| 250 | regulator-name = "buck7"; |
| 251 | regulator-min-microvolt = <1300000>; |
| 252 | regulator-max-microvolt = <1300000>; |
| 253 | regulator-always-on; |
| 254 | regulator-boot-on; |
| 255 | }; |
| 256 | |
| 257 | buck8_reg: BUCK8 { |
| 258 | /* vdd_mmc0 */ |
| 259 | regulator-name = "vddf_2v85"; |
| 260 | regulator-min-microvolt = <2850000>; |
| 261 | regulator-max-microvolt = <2850000>; |
| 262 | regulator-always-on; |
| 263 | regulator-boot-on; |
| 264 | }; |
| 265 | |
| 266 | buck9_reg: BUCK9 { |
| 267 | regulator-name = "buck9"; |
| 268 | regulator-min-microvolt = <3000000>; |
| 269 | regulator-max-microvolt = <3000000>; |
| 270 | regulator-always-on; |
| 271 | regulator-boot-on; |
| 272 | }; |
| 273 | |
| 274 | buck10_reg: BUCK10 { |
| 275 | regulator-name = "buck10"; |
| 276 | regulator-min-microvolt = <2950000>; |
| 277 | regulator-max-microvolt = <2950000>; |
| 278 | regulator-always-on; |
| 279 | regulator-boot-on; |
| 280 | }; |
| 281 | |
| 282 | ldo1_reg: LDO1 { |
| 283 | regulator-name = "vdd_alive"; |
| 284 | regulator-min-microvolt = <1000000>; |
| 285 | regulator-max-microvolt = <1000000>; |
| 286 | regulator-always-on; |
| 287 | }; |
| 288 | |
| 289 | ldo2_reg: LDO2 { |
| 290 | regulator-name = "vddq_m1_m2"; |
| 291 | regulator-min-microvolt = <1200000>; |
| 292 | regulator-max-microvolt = <1200000>; |
| 293 | regulator-always-on; |
| 294 | }; |
| 295 | |
| 296 | ldo3_reg: LDO3 { |
| 297 | regulator-name = "vddq_gpio"; |
| 298 | regulator-min-microvolt = <1800000>; |
| 299 | regulator-max-microvolt = <1800000>; |
| 300 | regulator-always-on; |
| 301 | }; |
| 302 | |
| 303 | ldo4_reg: LDO4 { |
| 304 | regulator-name = "vddq_mmc2"; |
| 305 | regulator-min-microvolt = <1800000>; |
| 306 | regulator-max-microvolt = <3000000>; |
| 307 | /* Having it off prevents reboot */ |
| 308 | regulator-always-on; |
| 309 | }; |
| 310 | |
| 311 | ldo5_reg: LDO5 { |
| 312 | regulator-name = "vdd18_hsic"; |
| 313 | regulator-min-microvolt = <1800000>; |
| 314 | regulator-max-microvolt = <1800000>; |
| 315 | regulator-always-on; |
| 316 | }; |
| 317 | |
| 318 | ldo6_reg: LDO6 { |
| 319 | regulator-name = "vdd18_bpll"; |
| 320 | regulator-min-microvolt = <1800000>; |
| 321 | regulator-max-microvolt = <1800000>; |
| 322 | regulator-always-on; |
| 323 | }; |
| 324 | |
| 325 | ldo7_reg: LDO7 { |
| 326 | regulator-name = "vddq_lcd"; |
| 327 | regulator-min-microvolt = <1800000>; |
| 328 | regulator-max-microvolt = <1800000>; |
| 329 | /* Supplies also GPK and GPJ */ |
| 330 | regulator-always-on; |
| 331 | }; |
| 332 | |
| 333 | ldo8_reg: LDO8 { |
| 334 | regulator-name = "vdd10_hdmi"; |
| 335 | regulator-min-microvolt = <1000000>; |
| 336 | regulator-max-microvolt = <1000000>; |
| 337 | regulator-always-on; |
| 338 | }; |
| 339 | |
| 340 | ldo9_reg: LDO9 { |
| 341 | regulator-name = "ldo9"; |
| 342 | }; |
| 343 | |
| 344 | ldo10_reg: LDO10 { |
| 345 | regulator-name = "vdd18_mipi"; |
| 346 | regulator-min-microvolt = <1800000>; |
| 347 | regulator-max-microvolt = <1800000>; |
| 348 | regulator-always-on; |
| 349 | }; |
| 350 | |
| 351 | ldo11_reg: LDO11 { |
| 352 | regulator-name = "vddq_mmc01"; |
| 353 | regulator-min-microvolt = <1800000>; |
| 354 | regulator-max-microvolt = <1800000>; |
| 355 | /* |
| 356 | * Having it off prevents accessing MMC after |
| 357 | * reboot with error: |
| 358 | * MMC Device 1: Clock OFF has been failed. |
| 359 | */ |
| 360 | regulator-always-on; |
| 361 | }; |
| 362 | |
| 363 | ldo12_reg: LDO12 { |
| 364 | regulator-name = "vdd33_usb3"; |
| 365 | regulator-min-microvolt = <3300000>; |
| 366 | regulator-max-microvolt = <3300000>; |
| 367 | regulator-always-on; |
| 368 | }; |
| 369 | |
| 370 | ldo13_reg: LDO13 { |
| 371 | regulator-name = "vddq_abbg0"; |
| 372 | regulator-min-microvolt = <1800000>; |
| 373 | regulator-max-microvolt = <1800000>; |
| 374 | regulator-always-on; |
| 375 | }; |
| 376 | |
| 377 | ldo14_reg: LDO14 { |
| 378 | regulator-name = "vddq_abbg1"; |
| 379 | regulator-min-microvolt = <1800000>; |
| 380 | regulator-max-microvolt = <1800000>; |
| 381 | regulator-always-on; |
| 382 | }; |
| 383 | |
| 384 | ldo15_reg: LDO15 { |
| 385 | regulator-name = "vdd10_usb3"; |
| 386 | regulator-min-microvolt = <1000000>; |
| 387 | regulator-max-microvolt = <1000000>; |
| 388 | regulator-always-on; |
| 389 | }; |
| 390 | |
| 391 | ldo16_reg: LDO16 { |
| 392 | regulator-name = "ldo16"; |
| 393 | }; |
| 394 | |
| 395 | ldo17_reg: LDO17 { |
| 396 | regulator-name = "cam_sensor_core"; |
| 397 | regulator-min-microvolt = <1200000>; |
| 398 | regulator-max-microvolt = <1200000>; |
| 399 | }; |
| 400 | |
| 401 | ldo18_reg: LDO18 { |
| 402 | regulator-name = "ldo18"; |
| 403 | regulator-min-microvolt = <1800000>; |
| 404 | regulator-max-microvolt = <1800000>; |
| 405 | }; |
| 406 | |
| 407 | ldo19_reg: LDO19 { |
| 408 | regulator-name = "ldo19"; |
| 409 | }; |
| 410 | |
| 411 | ldo20_reg: LDO20 { |
| 412 | regulator-name = "vdd_mmc0"; |
| 413 | regulator-min-microvolt = <1800000>; |
| 414 | regulator-max-microvolt = <1800000>; |
| 415 | }; |
| 416 | |
| 417 | ldo21_reg: LDO21 { |
| 418 | /* vdd_mmc2 */ |
| 419 | regulator-name = "vddf_2v8"; |
| 420 | regulator-min-microvolt = <2850000>; |
| 421 | regulator-max-microvolt = <2850000>; |
| 422 | }; |
| 423 | |
| 424 | ldo22_reg: LDO22 { |
| 425 | regulator-name = "ldo22"; |
| 426 | }; |
| 427 | |
| 428 | ldo23_reg: LDO23 { |
| 429 | regulator-name = "dp_p3v3"; |
| 430 | regulator-min-microvolt = <3300000>; |
| 431 | regulator-max-microvolt = <3300000>; |
| 432 | regulator-always-on; |
| 433 | }; |
| 434 | |
| 435 | ldo24_reg: LDO24 { |
| 436 | regulator-name = "cam_af"; |
| 437 | regulator-min-microvolt = <2800000>; |
| 438 | regulator-max-microvolt = <2800000>; |
| 439 | }; |
| 440 | |
| 441 | ldo25_reg: LDO25 { |
| 442 | regulator-name = "eth_p3v3"; |
| 443 | regulator-min-microvolt = <3300000>; |
| 444 | regulator-max-microvolt = <3300000>; |
| 445 | regulator-always-on; |
| 446 | }; |
| 447 | |
| 448 | ldo26_reg: LDO26 { |
| 449 | regulator-name = "usb30_extclk"; |
| 450 | regulator-min-microvolt = <3300000>; |
| 451 | regulator-max-microvolt = <3300000>; |
| 452 | regulator-always-on; |
| 453 | }; |
| 454 | |
| 455 | ldo27_reg: LDO27 { |
| 456 | regulator-name = "ldo27"; |
| 457 | }; |
| 458 | |
| 459 | ldo28_reg: LDO28 { |
| 460 | regulator-name = "ldo28"; |
| 461 | }; |
| 462 | |
| 463 | ldo29_reg: LDO29 { |
| 464 | regulator-name = "ldo29"; |
| 465 | }; |
| 466 | |
| 467 | ldo30_reg: LDO30 { |
| 468 | regulator-name = "vddq_e1_e2"; |
| 469 | regulator-min-microvolt = <1200000>; |
| 470 | regulator-max-microvolt = <1200000>; |
| 471 | regulator-always-on; |
| 472 | }; |
| 473 | |
| 474 | ldo31_reg: LDO31 { |
| 475 | regulator-name = "ldo31"; |
| 476 | }; |
| 477 | |
| 478 | /* On revisions with ti,ina231 this is sensor VS */ |
| 479 | ldo32_reg: LDO32 { |
| 480 | regulator-name = "vs_power_meter"; |
| 481 | regulator-min-microvolt = <3300000>; |
| 482 | regulator-max-microvolt = <3300000>; |
| 483 | }; |
| 484 | |
| 485 | ldo33_reg: LDO33 { |
| 486 | regulator-name = "ldo33"; |
| 487 | }; |
| 488 | |
| 489 | ldo34_reg: LDO34 { |
| 490 | regulator-name = "ldo34"; |
| 491 | }; |
| 492 | |
| 493 | ldo35_reg: LDO35 { |
| 494 | regulator-name = "ldo35"; |
| 495 | }; |
| 496 | }; |
| 497 | }; |
| 498 | }; |
| 499 | |
| 500 | &i2c_1 { |
| 501 | status = "okay"; |
| 502 | max98090: max98090@10 { |
| 503 | compatible = "maxim,max98090"; |
| 504 | reg = <0x10>; |
| 505 | interrupt-parent = <&gpj3>; |
| 506 | interrupts = <0 IRQ_TYPE_NONE>; |
| 507 | clocks = <&audi2s0 CLK_I2S_CDCLK>; |
| 508 | clock-names = "mclk"; |
| 509 | #sound-dai-cells = <0>; |
| 510 | }; |
| 511 | }; |
| 512 | |
| 513 | &mmc_0 { |
| 514 | status = "okay"; |
| 515 | mmc-pwrseq = <&emmc_pwrseq>; |
| 516 | cd-gpios = <&gpc0 2 GPIO_ACTIVE_LOW>; |
| 517 | card-detect-delay = <200>; |
| 518 | samsung,dw-mshc-ciu-div = <3>; |
| 519 | samsung,dw-mshc-sdr-timing = <0 4>; |
| 520 | samsung,dw-mshc-ddr-timing = <0 2>; |
| 521 | pinctrl-names = "default"; |
| 522 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd>; |
| 523 | bus-width = <8>; |
| 524 | cap-mmc-highspeed; |
| 525 | mmc-hs200-1_8v; |
| 526 | vmmc-supply = <&ldo20_reg>; |
| 527 | vqmmc-supply = <&ldo11_reg>; |
| 528 | }; |
| 529 | |
| 530 | &mmc_2 { |
| 531 | status = "okay"; |
| 532 | card-detect-delay = <200>; |
| 533 | samsung,dw-mshc-ciu-div = <3>; |
| 534 | samsung,dw-mshc-sdr-timing = <0 4>; |
| 535 | samsung,dw-mshc-ddr-timing = <0 2>; |
| 536 | pinctrl-names = "default"; |
| 537 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4 &sd2_wp>; |
| 538 | bus-width = <4>; |
| 539 | cap-sd-highspeed; |
| 540 | vmmc-supply = <&ldo21_reg>; |
| 541 | vqmmc-supply = <&ldo4_reg>; |
| 542 | }; |
| 543 | |
| 544 | &pinctrl_0 { |
| 545 | emmc_nrst_pin: emmc-nrst { |
| 546 | samsung,pins = "gpd1-0"; |
| 547 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
| 548 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 549 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
| 550 | }; |
| 551 | |
| 552 | sd2_wp: sd2-wp { |
| 553 | samsung,pins = "gpm5-0"; |
| 554 | samsung,pin-function = <EXYNOS_PIN_FUNC_2>; |
| 555 | /* Pin is floating so be sure to disable write-protect */ |
| 556 | samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; |
| 557 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>; |
| 558 | }; |
| 559 | |
| 560 | pmic_dvs_3: pmic-dvs-3 { |
| 561 | samsung,pins = "gpx0-0"; |
| 562 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| 563 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 564 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
| 565 | }; |
| 566 | |
| 567 | pmic_dvs_2: pmic-dvs-2 { |
| 568 | samsung,pins = "gpx0-1"; |
| 569 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| 570 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 571 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
| 572 | }; |
| 573 | |
| 574 | pmic_dvs_1: pmic-dvs-1 { |
| 575 | samsung,pins = "gpx0-2"; |
| 576 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
| 577 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 578 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
| 579 | samsung,pin-val = <1>; |
| 580 | }; |
| 581 | |
| 582 | max77802_irq: max77802-irq { |
| 583 | samsung,pins = "gpx0-4"; |
| 584 | samsung,pin-function = <EXYNOS_PIN_FUNC_F>; |
| 585 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; |
| 586 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; |
| 587 | }; |
| 588 | }; |
| 589 | |
| 590 | &pwm { |
| 591 | /* |
| 592 | * PWM 0 -- fan |
| 593 | * PWM 1 -- Green LED |
| 594 | * PWM 2 -- Blue LED |
| 595 | * PWM 3 -- on MIPI connector for backlight |
| 596 | */ |
| 597 | pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>; |
| 598 | pinctrl-names = "default"; |
| 599 | status = "okay"; |
| 600 | }; |
| 601 | |
| 602 | &rtc { |
| 603 | status = "okay"; |
| 604 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
| 605 | clock-names = "rtc", "rtc_src"; |
| 606 | }; |
| 607 | |
| 608 | &serial_0 { |
| 609 | status = "okay"; |
| 610 | }; |
| 611 | |
| 612 | &serial_1 { |
| 613 | status = "okay"; |
| 614 | }; |
| 615 | |
| 616 | &serial_2 { |
| 617 | status = "okay"; |
| 618 | }; |
| 619 | |
| 620 | &serial_3 { |
| 621 | status = "okay"; |
| 622 | }; |
| 623 | |
| 624 | &tmu_cpu0 { |
| 625 | vtmu-supply = <&ldo10_reg>; |
| 626 | }; |
| 627 | |
| 628 | &tmu_cpu1 { |
| 629 | vtmu-supply = <&ldo10_reg>; |
| 630 | }; |
| 631 | |
| 632 | &tmu_cpu2 { |
| 633 | vtmu-supply = <&ldo10_reg>; |
| 634 | }; |
| 635 | |
| 636 | &tmu_cpu3 { |
| 637 | vtmu-supply = <&ldo10_reg>; |
| 638 | }; |
| 639 | |
| 640 | &usbdrd_dwc3_0 { |
| 641 | dr_mode = "peripheral"; |
| 642 | }; |
| 643 | |
| 644 | &usbdrd_dwc3_1 { |
| 645 | dr_mode = "host"; |
| 646 | }; |
| 647 | |
| 648 | &usbdrd3_0 { |
| 649 | vdd33-supply = <&ldo12_reg>; |
| 650 | vdd10-supply = <&ldo15_reg>; |
| 651 | }; |
| 652 | |
| 653 | &usbdrd3_1 { |
| 654 | vdd33-supply = <&ldo12_reg>; |
| 655 | vdd10-supply = <&ldo15_reg>; |
| 656 | }; |