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#include <dt-bindings/interrupt-controller/irq.h> 15 16/ { 17 model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; 18 compatible = "samsung,smdk5250", "samsung,exynos5250"; 19 20 aliases { 21 i2c0 = "/i2c@12C60000"; 22 i2c1 = "/i2c@12C70000"; 23 i2c2 = "/i2c@12C80000"; 24 i2c3 = "/i2c@12C90000"; 25 i2c4 = "/i2c@12CA0000"; 26 i2c5 = "/i2c@12CB0000"; 27 i2c6 = "/i2c@12CC0000"; 28 i2c7 = "/i2c@12CD0000"; 29 spi0 = "/spi@12d20000"; 30 spi1 = "/spi@12d30000"; 31 spi2 = "/spi@12d40000"; 32 spi3 = "/spi@131a0000"; 33 spi4 = "/spi@131b0000"; 34 mmc0 = "/mmc@12200000"; 35 mmc1 = "/mmc@12210000"; 36 mmc2 = "/mmc@12220000"; 37 mmc3 = "/mmc@12230000"; 38 serial0 = "/serial@12C30000"; 39 console = "/serial@12C30000"; 40 i2s = "/sound@3830000"; 41 }; 42 43 sromc@12250000 { 44 bank = <1>; 45 srom-timing = <1 9 12 1 6 1 1>; 46 width = <2>; 47 lan@5000000 { 48 compatible = "smsc,lan9215", "smsc,lan"; 49 reg = <0x5000000 0x100>; 50 phy-mode = "mii"; 51 }; 52 }; 53 54 sound@3830000 { 55 samsung,codec-type = "wm8994"; 56 }; 57 58 sound@12d60000 { 59 status = "disabled"; 60 }; 61 62 i2c@12C70000 { 63 wm8994: soundcodec@1a { 64 reg = <0x1a>; 65 u-boot,i2c-offset-len = <2>; 66 compatible = "wolfson,wm8994"; 67 #sound-dai-cells = <1>; 68 }; 69 }; 70 71 sound { 72 compatible = "google,smdk5250-audio-wm8994"; 73 74 samsung,model = "SMDK5250-I2S-WM8994"; 75 samsung,audio-codec = <&wm8994>; 76 77 cpu { 78 sound-dai = <&i2s0 0>; 79 }; 80 81 codec { 82 sound-dai = <&wm8994 0>; 83 }; 84 }; 85 86 i2c@12C60000 { 87 pmic@9 { 88 reg = <0x9>; 89 compatible = "maxim,max77686"; 90 }; 91 }; 92 93 tmu@10060000 { 94 samsung,min-temp = <25>; 95 samsung,max-temp = <125>; 96 samsung,start-warning = <95>; 97 samsung,start-tripping = <105>; 98 samsung,hw-tripping = <110>; 99 samsung,efuse-min-value = <40>; 100 samsung,efuse-value = <55>; 101 samsung,efuse-max-value = <100>; 102 samsung,slope = <274761730>; 103 samsung,dc-value = <25>; 104 }; 105 106 fimd@14400000 { 107 samsung,vl-freq = <60>; 108 samsung,vl-col = <2560>; 109 samsung,vl-row = <1600>; 110 samsung,vl-width = <2560>; 111 samsung,vl-height = <1600>; 112 113 samsung,vl-clkp; 114 samsung,vl-dp; 115 samsung,vl-bpix = <4>; 116 117 samsung,vl-hspw = <32>; 118 samsung,vl-hbpd = <80>; 119 samsung,vl-hfpd = <48>; 120 samsung,vl-vspw = <6>; 121 samsung,vl-vbpd = <37>; 122 samsung,vl-vfpd = <3>; 123 samsung,vl-cmd-allow-len = <0xf>; 124 125 samsung,winid = <3>; 126 samsung,interface-mode = <1>; 127 samsung,dp-enabled = <1>; 128 samsung,dual-lcd-enabled = <0>; 129 }; 130 131 dp@145b0000 { 132 samsung,lt-status = <0>; 133 134 samsung,master-mode = <0>; 135 samsung,bist-mode = <0>; 136 samsung,bist-pattern = <0>; 137 samsung,h-sync-polarity = <0>; 138 samsung,v-sync-polarity = <0>; 139 samsung,interlaced = <0>; 140 samsung,color-space = <0>; 141 samsung,dynamic-range = <0>; 142 samsung,ycbcr-coeff = <0>; 143 samsung,color-depth = <1>; 144 }; 145 146 mmc@12200000 { 147 samsung,bus-width = <8>; 148 samsung,timing = <1 3 3>; 149 samsung,removable = <0>; 150 }; 151 152 mmc@12210000 { 153 status = "disabled"; 154 }; 155 156 mmc@12220000 { 157 samsung,bus-width = <4>; 158 samsung,timing = <1 2 3>; 159 samsung,removable = <1>; 160 }; 161 162 mmc@12230000 { 163 status = "disabled"; 164 }; 165 166 ehci@12110000 { 167 samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>; 168 }; 169}; 170 171&i2c_0 { 172 status = "okay"; 173 samsung,i2c-sda-delay = <100>; 174 samsung,i2c-max-bus-freq = <20000>; 175 176 max77686@09 { 177 compatible = "maxim,max77686"; 178 reg = <0x09>; 179 interrupt-parent = <&gpx3>; 180 interrupts = <2 IRQ_TYPE_NONE>; 181 182 voltage-regulators { 183 ldo1_reg: LDO1 { 184 regulator-name = "P1.0V_LDO_OUT1"; 185 regulator-min-microvolt = <1000000>; 186 regulator-max-microvolt = <1000000>; 187 regulator-always-on; 188 }; 189 190 ldo2_reg: LDO2 { 191 regulator-name = "P1.2V_LDO_OUT2"; 192 regulator-min-microvolt = <1200000>; 193 regulator-max-microvolt = <1200000>; 194 regulator-always-on; 195 }; 196 197 ldo3_reg: LDO3 { 198 regulator-name = "P1.8V_LDO_OUT3"; 199 regulator-min-microvolt = <1800000>; 200 regulator-max-microvolt = <1800000>; 201 regulator-always-on; 202 }; 203 204 ldo4_reg: LDO4 { 205 regulator-name = "P2.8V_LDO_OUT4"; 206 regulator-min-microvolt = <2800000>; 207 regulator-max-microvolt = <2800000>; 208 }; 209 210 ldo5_reg: LDO5 { 211 regulator-name = "P1.8V_LDO_OUT5"; 212 regulator-min-microvolt = <1800000>; 213 regulator-max-microvolt = <1800000>; 214 }; 215 216 ldo6_reg: LDO6 { 217 regulator-name = "P1.1V_LDO_OUT6"; 218 regulator-min-microvolt = <1100000>; 219 regulator-max-microvolt = <1100000>; 220 regulator-always-on; 221 }; 222 223 ldo7_reg: LDO7 { 224 regulator-name = "P1.1V_LDO_OUT7"; 225 regulator-min-microvolt = <1100000>; 226 regulator-max-microvolt = <1100000>; 227 regulator-always-on; 228 }; 229 230 ldo8_reg: LDO8 { 231 regulator-name = "P1.0V_LDO_OUT8"; 232 regulator-min-microvolt = <1000000>; 233 regulator-max-microvolt = <1000000>; 234 }; 235 236 ldo10_reg: LDO10 { 237 regulator-name = "P1.8V_LDO_OUT10"; 238 regulator-min-microvolt = <1800000>; 239 regulator-max-microvolt = <1800000>; 240 }; 241 242 ldo11_reg: LDO11 { 243 regulator-name = "P1.8V_LDO_OUT11"; 244 regulator-min-microvolt = <1800000>; 245 regulator-max-microvolt = <1800000>; 246 }; 247 248 ldo12_reg: LDO12 { 249 regulator-name = "P3.0V_LDO_OUT12"; 250 regulator-min-microvolt = <3000000>; 251 regulator-max-microvolt = <3000000>; 252 }; 253 254 ldo13_reg: LDO13 { 255 regulator-name = "P1.8V_LDO_OUT13"; 256 regulator-min-microvolt = <1800000>; 257 regulator-max-microvolt = <1800000>; 258 }; 259 260 ldo14_reg: LDO14 { 261 regulator-name = "P1.8V_LDO_OUT14"; 262 regulator-min-microvolt = <1800000>; 263 regulator-max-microvolt = <1800000>; 264 }; 265 266 ldo15_reg: LDO15 { 267 regulator-name = "P1.0V_LDO_OUT15"; 268 regulator-min-microvolt = <1000000>; 269 regulator-max-microvolt = <1000000>; 270 }; 271 272 ldo16_reg: LDO16 { 273 regulator-name = "P1.8V_LDO_OUT16"; 274 regulator-min-microvolt = <1800000>; 275 regulator-max-microvolt = <1800000>; 276 }; 277 278 buck1_reg: BUCK1 { 279 regulator-name = "vdd_mif"; 280 regulator-min-microvolt = <950000>; 281 regulator-max-microvolt = <1300000>; 282 regulator-always-on; 283 regulator-boot-on; 284 }; 285 286 buck2_reg: BUCK2 { 287 regulator-name = "vdd_arm"; 288 regulator-min-microvolt = <850000>; 289 regulator-max-microvolt = <1350000>; 290 regulator-always-on; 291 regulator-boot-on; 292 }; 293 294 buck3_reg: BUCK3 { 295 regulator-name = "vdd_int"; 296 regulator-min-microvolt = <900000>; 297 regulator-max-microvolt = <1200000>; 298 regulator-always-on; 299 regulator-boot-on; 300 }; 301 302 buck4_reg: BUCK4 { 303 regulator-name = "vdd_g3d"; 304 regulator-min-microvolt = <850000>; 305 regulator-max-microvolt = <1300000>; 306 regulator-always-on; 307 regulator-boot-on; 308 }; 309 310 buck5_reg: BUCK5 { 311 regulator-name = "P1.8V_BUCK_OUT5"; 312 regulator-min-microvolt = <1800000>; 313 regulator-max-microvolt = <1800000>; 314 regulator-always-on; 315 regulator-boot-on; 316 }; 317 }; 318 }; 319}; 320