1/* 2 * SAMSUNG SMDK5250 board device tree source 3 * 4 * Copyright (c) 2012 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 "exynos5250.dtsi" 14 15/ { 16 model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; 17 compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5"; 18 19 aliases { 20 }; 21 22 memory { 23 reg = <0x40000000 0x80000000>; 24 }; 25 26 chosen { 27 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; 28 }; 29 30 rtc@101E0000 { 31 status = "okay"; 32 }; 33 34 i2c@12C60000 { 35 samsung,i2c-sda-delay = <100>; 36 samsung,i2c-max-bus-freq = <20000>; 37 status = "okay"; 38 39 eeprom@50 { 40 compatible = "samsung,s524ad0xd1"; 41 reg = <0x50>; 42 }; 43 44 max77686@09 { 45 compatible = "maxim,max77686"; 46 reg = <0x09>; 47 interrupt-parent = <&gpx3>; 48 interrupts = <2 0>; 49 50 voltage-regulators { 51 ldo1_reg: LDO1 { 52 regulator-name = "P1.0V_LDO_OUT1"; 53 regulator-min-microvolt = <1000000>; 54 regulator-max-microvolt = <1000000>; 55 regulator-always-on; 56 }; 57 58 ldo2_reg: LDO2 { 59 regulator-name = "P1.2V_LDO_OUT2"; 60 regulator-min-microvolt = <1200000>; 61 regulator-max-microvolt = <1200000>; 62 regulator-always-on; 63 }; 64 65 ldo3_reg: LDO3 { 66 regulator-name = "P1.8V_LDO_OUT3"; 67 regulator-min-microvolt = <1800000>; 68 regulator-max-microvolt = <1800000>; 69 regulator-always-on; 70 }; 71 72 ldo4_reg: LDO4 { 73 regulator-name = "P2.8V_LDO_OUT4"; 74 regulator-min-microvolt = <2800000>; 75 regulator-max-microvolt = <2800000>; 76 }; 77 78 ldo5_reg: LDO5 { 79 regulator-name = "P1.8V_LDO_OUT5"; 80 regulator-min-microvolt = <1800000>; 81 regulator-max-microvolt = <1800000>; 82 }; 83 84 ldo6_reg: LDO6 { 85 regulator-name = "P1.1V_LDO_OUT6"; 86 regulator-min-microvolt = <1100000>; 87 regulator-max-microvolt = <1100000>; 88 regulator-always-on; 89 }; 90 91 ldo7_reg: LDO7 { 92 regulator-name = "P1.1V_LDO_OUT7"; 93 regulator-min-microvolt = <1100000>; 94 regulator-max-microvolt = <1100000>; 95 regulator-always-on; 96 }; 97 98 ldo8_reg: LDO8 { 99 regulator-name = "P1.0V_LDO_OUT8"; 100 regulator-min-microvolt = <1000000>; 101 regulator-max-microvolt = <1000000>; 102 }; 103 104 ldo10_reg: LDO10 { 105 regulator-name = "P1.8V_LDO_OUT10"; 106 regulator-min-microvolt = <1800000>; 107 regulator-max-microvolt = <1800000>; 108 }; 109 110 ldo11_reg: LDO11 { 111 regulator-name = "P1.8V_LDO_OUT11"; 112 regulator-min-microvolt = <1800000>; 113 regulator-max-microvolt = <1800000>; 114 }; 115 116 ldo12_reg: LDO12 { 117 regulator-name = "P3.0V_LDO_OUT12"; 118 regulator-min-microvolt = <3000000>; 119 regulator-max-microvolt = <3000000>; 120 }; 121 122 ldo13_reg: LDO13 { 123 regulator-name = "P1.8V_LDO_OUT13"; 124 regulator-min-microvolt = <1800000>; 125 regulator-max-microvolt = <1800000>; 126 }; 127 128 ldo14_reg: LDO14 { 129 regulator-name = "P1.8V_LDO_OUT14"; 130 regulator-min-microvolt = <1800000>; 131 regulator-max-microvolt = <1800000>; 132 }; 133 134 ldo15_reg: LDO15 { 135 regulator-name = "P1.0V_LDO_OUT15"; 136 regulator-min-microvolt = <1000000>; 137 regulator-max-microvolt = <1000000>; 138 }; 139 140 ldo16_reg: LDO16 { 141 regulator-name = "P1.8V_LDO_OUT16"; 142 regulator-min-microvolt = <1800000>; 143 regulator-max-microvolt = <1800000>; 144 }; 145 146 buck1_reg: BUCK1 { 147 regulator-name = "vdd_mif"; 148 regulator-min-microvolt = <950000>; 149 regulator-max-microvolt = <1300000>; 150 regulator-always-on; 151 regulator-boot-on; 152 }; 153 154 buck2_reg: BUCK2 { 155 regulator-name = "vdd_arm"; 156 regulator-min-microvolt = <850000>; 157 regulator-max-microvolt = <1350000>; 158 regulator-always-on; 159 regulator-boot-on; 160 }; 161 162 buck3_reg: BUCK3 { 163 regulator-name = "vdd_int"; 164 regulator-min-microvolt = <900000>; 165 regulator-max-microvolt = <1200000>; 166 regulator-always-on; 167 regulator-boot-on; 168 }; 169 170 buck4_reg: BUCK4 { 171 regulator-name = "vdd_g3d"; 172 regulator-min-microvolt = <850000>; 173 regulator-max-microvolt = <1300000>; 174 regulator-always-on; 175 regulator-boot-on; 176 }; 177 178 buck5_reg: BUCK5 { 179 regulator-name = "P1.8V_BUCK_OUT5"; 180 regulator-min-microvolt = <1800000>; 181 regulator-max-microvolt = <1800000>; 182 regulator-always-on; 183 regulator-boot-on; 184 }; 185 }; 186 }; 187 }; 188 189 vdd: fixed-regulator@0 { 190 compatible = "regulator-fixed"; 191 regulator-name = "vdd-supply"; 192 regulator-min-microvolt = <1800000>; 193 regulator-max-microvolt = <1800000>; 194 regulator-always-on; 195 }; 196 197 dbvdd: fixed-regulator@1 { 198 compatible = "regulator-fixed"; 199 regulator-name = "dbvdd-supply"; 200 regulator-min-microvolt = <3300000>; 201 regulator-max-microvolt = <3300000>; 202 regulator-always-on; 203 }; 204 205 spkvdd: fixed-regulator@2 { 206 compatible = "regulator-fixed"; 207 regulator-name = "spkvdd-supply"; 208 regulator-min-microvolt = <5000000>; 209 regulator-max-microvolt = <5000000>; 210 regulator-always-on; 211 }; 212 213 i2c@12C70000 { 214 samsung,i2c-sda-delay = <100>; 215 samsung,i2c-max-bus-freq = <20000>; 216 status = "okay"; 217 218 eeprom@51 { 219 compatible = "samsung,s524ad0xd1"; 220 reg = <0x51>; 221 }; 222 223 wm8994: wm8994@1a { 224 compatible = "wlf,wm8994"; 225 reg = <0x1a>; 226 227 gpio-controller; 228 #gpio-cells = <2>; 229 230 clocks = <&codec_mclk>; 231 clock-names = "MCLK1"; 232 233 AVDD2-supply = <&vdd>; 234 CPVDD-supply = <&vdd>; 235 DBVDD-supply = <&dbvdd>; 236 SPKVDD1-supply = <&spkvdd>; 237 SPKVDD2-supply = <&spkvdd>; 238 }; 239 }; 240 241 i2c@121D0000 { 242 samsung,i2c-sda-delay = <100>; 243 samsung,i2c-max-bus-freq = <40000>; 244 samsung,i2c-slave-addr = <0x38>; 245 status = "okay"; 246 247 sata_phy_i2c:sata-phy@38 { 248 compatible = "samsung,exynos-sataphy-i2c"; 249 reg = <0x38>; 250 }; 251 }; 252 253 i2c@12C80000 { 254 samsung,i2c-sda-delay = <100>; 255 samsung,i2c-max-bus-freq = <66000>; 256 status = "okay"; 257 258 hdmiddc@50 { 259 compatible = "samsung,exynos4210-hdmiddc"; 260 reg = <0x50>; 261 }; 262 }; 263 264 i2c@12CE0000 { 265 samsung,i2c-sda-delay = <100>; 266 samsung,i2c-max-bus-freq = <66000>; 267 status = "okay"; 268 269 hdmiphy@38 { 270 compatible = "samsung,exynos4212-hdmiphy"; 271 reg = <0x38>; 272 }; 273 }; 274 275 sata@122F0000 { 276 status = "okay"; 277 }; 278 279 sata-phy@12170000 { 280 status = "okay"; 281 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; 282 }; 283 284 mmc@12200000 { 285 status = "okay"; 286 num-slots = <1>; 287 broken-cd; 288 card-detect-delay = <200>; 289 samsung,dw-mshc-ciu-div = <3>; 290 samsung,dw-mshc-sdr-timing = <2 3>; 291 samsung,dw-mshc-ddr-timing = <1 2>; 292 pinctrl-names = "default"; 293 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; 294 bus-width = <8>; 295 cap-mmc-highspeed; 296 }; 297 298 mmc@12220000 { 299 status = "okay"; 300 num-slots = <1>; 301 card-detect-delay = <200>; 302 samsung,dw-mshc-ciu-div = <3>; 303 samsung,dw-mshc-sdr-timing = <2 3>; 304 samsung,dw-mshc-ddr-timing = <1 2>; 305 pinctrl-names = "default"; 306 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; 307 bus-width = <4>; 308 disable-wp; 309 cap-sd-highspeed; 310 }; 311 312 spi_1: spi@12d30000 { 313 cs-gpios = <&gpa2 5 0>; 314 status = "okay"; 315 316 w25q80bw@0 { 317 #address-cells = <1>; 318 #size-cells = <1>; 319 compatible = "w25x80"; 320 reg = <0>; 321 spi-max-frequency = <1000000>; 322 323 controller-data { 324 samsung,spi-feedback-delay = <0>; 325 }; 326 327 partition@0 { 328 label = "U-Boot"; 329 reg = <0x0 0x40000>; 330 read-only; 331 }; 332 333 partition@40000 { 334 label = "Kernel"; 335 reg = <0x40000 0xc0000>; 336 }; 337 }; 338 }; 339 340 hdmi { 341 hpd-gpio = <&gpx3 7 0>; 342 }; 343 344 codec@11000000 { 345 samsung,mfc-r = <0x43000000 0x800000>; 346 samsung,mfc-l = <0x51000000 0x800000>; 347 }; 348 349 i2s0: i2s@03830000 { 350 status = "okay"; 351 }; 352 353 sound { 354 compatible = "samsung,smdk-wm8994"; 355 356 samsung,i2s-controller = <&i2s0>; 357 samsung,audio-codec = <&wm8994>; 358 }; 359 360 usb@12110000 { 361 samsung,vbus-gpio = <&gpx2 6 0>; 362 }; 363 364 dp-controller@145B0000 { 365 samsung,color-space = <0>; 366 samsung,dynamic-range = <0>; 367 samsung,ycbcr-coeff = <0>; 368 samsung,color-depth = <1>; 369 samsung,link-rate = <0x0a>; 370 samsung,lane-count = <4>; 371 372 pinctrl-names = "default"; 373 pinctrl-0 = <&dp_hpd>; 374 status = "okay"; 375 }; 376 377 fimd@14400000 { 378 status = "okay"; 379 display-timings { 380 native-mode = <&timing0>; 381 timing0: timing@0 { 382 /* 1280x800 */ 383 clock-frequency = <50000>; 384 hactive = <1280>; 385 vactive = <800>; 386 hfront-porch = <4>; 387 hback-porch = <4>; 388 hsync-len = <4>; 389 vback-porch = <4>; 390 vfront-porch = <4>; 391 vsync-len = <4>; 392 }; 393 }; 394 }; 395 396 fixed-rate-clocks { 397 xxti { 398 compatible = "samsung,clock-xxti"; 399 clock-frequency = <24000000>; 400 }; 401 402 codec_mclk: codec-mclk { 403 compatible = "fixed-clock"; 404 #clock-cells = <0>; 405 clock-frequency = <16934000>; 406 }; 407 }; 408}; 409