1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Samsung Exynos7 Espresso board device tree source 4 * 5 * Copyright (c) 2014 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com 7 */ 8 9/dts-v1/; 10#include "exynos7.dtsi" 11#include <dt-bindings/interrupt-controller/irq.h> 12#include <dt-bindings/clock/samsung,s2mps11.h> 13#include <dt-bindings/gpio/gpio.h> 14 15/ { 16 model = "Samsung Exynos7 Espresso board based on Exynos7"; 17 compatible = "samsung,exynos7-espresso", "samsung,exynos7"; 18 19 aliases { 20 serial0 = &serial_2; 21 mshc0 = &mmc_0; 22 mshc2 = &mmc_2; 23 }; 24 25 chosen { 26 stdout-path = &serial_2; 27 }; 28 29 memory@40000000 { 30 device_type = "memory"; 31 reg = <0x0 0x40000000 0x0 0xC0000000>; 32 }; 33 34 usb30_vbus_reg: regulator-usb30 { 35 compatible = "regulator-fixed"; 36 regulator-name = "VBUS_5V"; 37 regulator-min-microvolt = <5000000>; 38 regulator-max-microvolt = <5000000>; 39 gpio = <&gph1 1 GPIO_ACTIVE_HIGH>; 40 pinctrl-names = "default"; 41 pinctrl-0 = <&usb30_vbus_en>; 42 enable-active-high; 43 }; 44 45 usb3drd_boost_5v: regulator-usb3drd-boost { 46 compatible = "regulator-fixed"; 47 regulator-name = "VUSB_VBUS_5V"; 48 regulator-min-microvolt = <5000000>; 49 regulator-max-microvolt = <5000000>; 50 gpio = <&gpf4 1 GPIO_ACTIVE_HIGH>; 51 pinctrl-names = "default"; 52 pinctrl-0 = <&usb3drd_boost_en>; 53 enable-active-high; 54 }; 55 56}; 57 58&fin_pll { 59 clock-frequency = <24000000>; 60}; 61 62&gpu { 63 mali-supply = <&buck6_reg>; 64 status = "okay"; 65}; 66 67&serial_2 { 68 status = "okay"; 69}; 70 71&rtc { 72 status = "okay"; 73 clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>; 74 clock-names = "rtc", "rtc_src"; 75}; 76 77&watchdog { 78 status = "okay"; 79}; 80 81&adc { 82 status = "okay"; 83}; 84 85&hsi2c_4 { 86 samsung,i2c-sda-delay = <100>; 87 samsung,i2c-max-bus-freq = <200000>; 88 status = "okay"; 89 90 s2mps15_pmic@66 { 91 compatible = "samsung,s2mps15-pmic"; 92 reg = <0x66>; 93 interrupts = <2 IRQ_TYPE_NONE>; 94 interrupt-parent = <&gpa0>; 95 pinctrl-names = "default"; 96 pinctrl-0 = <&pmic_irq>; 97 wakeup-source; 98 99 s2mps15_osc: clocks { 100 compatible = "samsung,s2mps13-clk"; 101 #clock-cells = <1>; 102 clock-output-names = "s2mps13_ap", "s2mps13_cp", 103 "s2mps13_bt"; 104 }; 105 106 regulators { 107 ldo1_reg: LDO1 { 108 regulator-name = "vdd_ldo1"; 109 regulator-min-microvolt = <500000>; 110 regulator-max-microvolt = <900000>; 111 regulator-always-on; 112 regulator-enable-ramp-delay = <125>; 113 }; 114 115 ldo2_reg: LDO2 { 116 regulator-name = "vqmmc-sdcard"; 117 regulator-min-microvolt = <1620000>; 118 regulator-max-microvolt = <3300000>; 119 regulator-always-on; 120 regulator-enable-ramp-delay = <125>; 121 }; 122 123 ldo3_reg: LDO3 { 124 regulator-name = "vdd_ldo3"; 125 regulator-min-microvolt = <1620000>; 126 regulator-max-microvolt = <1980000>; 127 regulator-always-on; 128 regulator-boot-on; 129 regulator-enable-ramp-delay = <125>; 130 }; 131 132 ldo4_reg: LDO4 { 133 regulator-name = "vdd_ldo4"; 134 regulator-min-microvolt = <800000>; 135 regulator-max-microvolt = <1110000>; 136 regulator-always-on; 137 regulator-enable-ramp-delay = <125>; 138 }; 139 140 ldo5_reg: LDO5 { 141 regulator-name = "vdd_ldo5"; 142 regulator-min-microvolt = <1620000>; 143 regulator-max-microvolt = <1980000>; 144 regulator-always-on; 145 regulator-enable-ramp-delay = <125>; 146 }; 147 148 ldo6_reg: LDO6 { 149 regulator-name = "vdd_ldo6"; 150 regulator-min-microvolt = <2250000>; 151 regulator-max-microvolt = <3300000>; 152 regulator-enable-ramp-delay = <125>; 153 }; 154 155 ldo7_reg: LDO7 { 156 regulator-name = "vdd_ldo7"; 157 regulator-min-microvolt = <700000>; 158 regulator-max-microvolt = <1150000>; 159 regulator-enable-ramp-delay = <125>; 160 regulator-always-on; 161 }; 162 163 ldo8_reg: LDO8 { 164 regulator-name = "vdd_ldo8"; 165 regulator-min-microvolt = <700000>; 166 regulator-max-microvolt = <1000000>; 167 regulator-enable-ramp-delay = <125>; 168 }; 169 170 ldo9_reg: LDO9 { 171 regulator-name = "vdd_ldo9"; 172 regulator-min-microvolt = <700000>; 173 regulator-max-microvolt = <1000000>; 174 regulator-enable-ramp-delay = <125>; 175 }; 176 177 ldo10_reg: LDO10 { 178 regulator-name = "vdd_ldo10"; 179 regulator-min-microvolt = <700000>; 180 regulator-max-microvolt = <1000000>; 181 regulator-enable-ramp-delay = <125>; 182 }; 183 184 ldo11_reg: LDO11 { 185 regulator-name = "vdd_ldo11"; 186 regulator-min-microvolt = <1000000>; 187 regulator-max-microvolt = <1300000>; 188 regulator-always-on; 189 regulator-enable-ramp-delay = <125>; 190 }; 191 192 ldo12_reg: LDO12 { 193 regulator-name = "vdd_ldo12"; 194 regulator-min-microvolt = <1000000>; 195 regulator-max-microvolt = <1300000>; 196 regulator-enable-ramp-delay = <125>; 197 regulator-always-on; 198 }; 199 200 ldo13_reg: LDO13 { 201 regulator-name = "vdd_ldo13"; 202 regulator-min-microvolt = <1000000>; 203 regulator-max-microvolt = <1300000>; 204 regulator-always-on; 205 regulator-enable-ramp-delay = <125>; 206 }; 207 208 ldo14_reg: LDO14 { 209 regulator-name = "vdd_ldo14"; 210 regulator-min-microvolt = <1800000>; 211 regulator-max-microvolt = <3375000>; 212 regulator-enable-ramp-delay = <125>; 213 }; 214 215 ldo17_reg: LDO17 { 216 regulator-name = "vmmc-sdcard"; 217 regulator-min-microvolt = <1800000>; 218 regulator-max-microvolt = <3375000>; 219 regulator-enable-ramp-delay = <125>; 220 }; 221 222 ldo18_reg: LDO18 { 223 regulator-name = "vdd_ldo18"; 224 regulator-min-microvolt = <1500000>; 225 regulator-max-microvolt = <2275000>; 226 regulator-enable-ramp-delay = <125>; 227 }; 228 229 ldo19_reg: LDO19 { 230 regulator-name = "vdd_ldo19"; 231 regulator-min-microvolt = <1800000>; 232 regulator-max-microvolt = <3375000>; 233 regulator-enable-ramp-delay = <125>; 234 }; 235 236 ldo21_reg: LDO21 { 237 regulator-name = "vdd_ldo21"; 238 regulator-min-microvolt = <1800000>; 239 regulator-max-microvolt = <3375000>; 240 regulator-enable-ramp-delay = <125>; 241 }; 242 243 ldo23_reg: LDO23 { 244 regulator-name = "vdd_ldo23"; 245 regulator-min-microvolt = <1500000>; 246 regulator-max-microvolt = <2275000>; 247 regulator-enable-ramp-delay = <125>; 248 }; 249 250 ldo25_reg: LDO25 { 251 regulator-name = "vdd_ldo25"; 252 regulator-min-microvolt = <1800000>; 253 regulator-max-microvolt = <3375000>; 254 regulator-enable-ramp-delay = <125>; 255 }; 256 257 ldo26_reg: LDO26 { 258 regulator-name = "vdd_ldo26"; 259 regulator-min-microvolt = <700000>; 260 regulator-max-microvolt = <1470000>; 261 regulator-enable-ramp-delay = <125>; 262 }; 263 264 ldo27_reg: LDO27 { 265 regulator-name = "vdd_ldo27"; 266 regulator-min-microvolt = <1500000>; 267 regulator-max-microvolt = <2275000>; 268 regulator-enable-ramp-delay = <125>; 269 }; 270 271 buck1_reg: BUCK1 { 272 regulator-name = "vdd_mif"; 273 regulator-min-microvolt = <500000>; 274 regulator-max-microvolt = <1200000>; 275 regulator-always-on; 276 regulator-boot-on; 277 regulator-ramp-delay = <25000>; 278 regulator-enable-ramp-delay = <250>; 279 }; 280 281 buck2_reg: BUCK2 { 282 regulator-name = "vdd_atlas"; 283 regulator-min-microvolt = <500000>; 284 regulator-max-microvolt = <1200000>; 285 regulator-always-on; 286 regulator-boot-on; 287 regulator-ramp-delay = <12500>; 288 regulator-enable-ramp-delay = <250>; 289 }; 290 291 buck4_reg: BUCK4 { 292 regulator-name = "vdd_int"; 293 regulator-min-microvolt = <500000>; 294 regulator-max-microvolt = <1200000>; 295 regulator-always-on; 296 regulator-boot-on; 297 regulator-ramp-delay = <12500>; 298 regulator-enable-ramp-delay = <250>; 299 }; 300 301 buck5_reg: BUCK5 { 302 regulator-name = "vdd_buck5"; 303 regulator-min-microvolt = <500000>; 304 regulator-max-microvolt = <1300000>; 305 regulator-ramp-delay = <25000>; 306 regulator-enable-ramp-delay = <250>; 307 }; 308 309 buck6_reg: BUCK6 { 310 regulator-name = "vdd_g3d"; 311 regulator-min-microvolt = <500000>; 312 regulator-max-microvolt = <1400000>; 313 regulator-ramp-delay = <12500>; 314 regulator-enable-ramp-delay = <250>; 315 }; 316 317 buck7_reg: BUCK7 { 318 regulator-name = "vdd_buck7"; 319 regulator-min-microvolt = <1000000>; 320 regulator-max-microvolt = <1500000>; 321 regulator-always-on; 322 regulator-ramp-delay = <25000>; 323 regulator-enable-ramp-delay = <250>; 324 }; 325 326 buck8_reg: BUCK8 { 327 regulator-name = "vdd_buck8"; 328 regulator-min-microvolt = <1000000>; 329 regulator-max-microvolt = <1500000>; 330 regulator-always-on; 331 regulator-ramp-delay = <25000>; 332 regulator-enable-ramp-delay = <250>; 333 }; 334 335 buck9_reg: BUCK9 { 336 regulator-name = "vdd_buck9"; 337 regulator-min-microvolt = <1800000>; 338 regulator-max-microvolt = <2100000>; 339 regulator-always-on; 340 regulator-ramp-delay = <25000>; 341 regulator-enable-ramp-delay = <250>; 342 }; 343 344 buck10_reg: BUCK10 { 345 regulator-name = "vdd_buck10"; 346 regulator-min-microvolt = <1000000>; 347 regulator-max-microvolt = <3000000>; 348 regulator-always-on; 349 regulator-ramp-delay = <25000>; 350 regulator-enable-ramp-delay = <250>; 351 }; 352 }; 353 }; 354}; 355 356&pinctrl_alive { 357 pmic_irq: pmic-irq { 358 samsung,pins = "gpa0-2"; 359 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 360 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; 361 }; 362}; 363 364&mmc_0 { 365 status = "okay"; 366 cap-mmc-highspeed; 367 mmc-hs200-1_8v; 368 non-removable; 369 card-detect-delay = <200>; 370 clock-frequency = <800000000>; 371 samsung,dw-mshc-ciu-div = <3>; 372 samsung,dw-mshc-sdr-timing = <0 4>; 373 samsung,dw-mshc-ddr-timing = <0 2>; 374 pinctrl-names = "default"; 375 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_qrdy &sd0_bus1 &sd0_bus4 &sd0_bus8>; 376 bus-width = <8>; 377}; 378 379&mmc_2 { 380 status = "okay"; 381 cap-sd-highspeed; 382 card-detect-delay = <200>; 383 clock-frequency = <400000000>; 384 samsung,dw-mshc-ciu-div = <3>; 385 samsung,dw-mshc-sdr-timing = <2 3>; 386 samsung,dw-mshc-ddr-timing = <1 2>; 387 pinctrl-names = "default"; 388 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; 389 bus-width = <4>; 390 vmmc-supply = <&ldo17_reg>; 391 vqmmc-supply = <&ldo2_reg>; 392 disable-wp; 393}; 394 395&pinctrl_bus1 { 396 usb30_vbus_en: usb30-vbus-en { 397 samsung,pins = "gph1-1"; 398 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 399 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 400 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 401 }; 402 403 usb3drd_boost_en: usb3drd-boost-en { 404 samsung,pins = "gpf4-1"; 405 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 406 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 407 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 408 }; 409}; 410 411&ufs { 412 status = "okay"; 413}; 414 415&usbdrd_phy { 416 vbus-supply = <&usb30_vbus_reg>; 417 vbus-boost-supply = <&usb3drd_boost_5v>; 418}; 419