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