Chander Kashyap | 34dcedf | 2013-06-19 00:29:35 +0900 | [diff] [blame] | 1 | /* |
| 2 | * SAMSUNG SMDK5420 board device tree source |
| 3 | * |
| 4 | * Copyright (c) 2013 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 "exynos5420.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Samsung SMDK5420 board based on EXYNOS5420"; |
Sachin Kamat | 8bdb31b | 2014-03-21 02:17:22 +0900 | [diff] [blame] | 17 | compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5"; |
Chander Kashyap | 34dcedf | 2013-06-19 00:29:35 +0900 | [diff] [blame] | 18 | |
| 19 | memory { |
| 20 | reg = <0x20000000 0x80000000>; |
| 21 | }; |
| 22 | |
| 23 | chosen { |
| 24 | bootargs = "console=ttySAC2,115200 init=/linuxrc"; |
| 25 | }; |
| 26 | |
| 27 | fixed-rate-clocks { |
| 28 | oscclk { |
| 29 | compatible = "samsung,exynos5420-oscclk"; |
| 30 | clock-frequency = <24000000>; |
| 31 | }; |
| 32 | }; |
Vikas Sajjan | ee3381d | 2013-08-14 17:08:33 +0900 | [diff] [blame] | 33 | |
Sachin Kamat | 7e03ff3 | 2014-02-24 08:47:29 +0900 | [diff] [blame] | 34 | regulators { |
| 35 | compatible = "simple-bus"; |
| 36 | #address-cells = <1>; |
| 37 | #size-cells = <0>; |
| 38 | |
| 39 | vdd: fixed-regulator@0 { |
| 40 | compatible = "regulator-fixed"; |
| 41 | reg = <0>; |
| 42 | regulator-name = "vdd-supply"; |
| 43 | regulator-min-microvolt = <1800000>; |
| 44 | regulator-max-microvolt = <1800000>; |
| 45 | regulator-always-on; |
| 46 | }; |
| 47 | |
| 48 | dbvdd: fixed-regulator@1 { |
| 49 | compatible = "regulator-fixed"; |
| 50 | reg = <1>; |
| 51 | regulator-name = "dbvdd-supply"; |
| 52 | regulator-min-microvolt = <3300000>; |
| 53 | regulator-max-microvolt = <3300000>; |
| 54 | regulator-always-on; |
| 55 | }; |
| 56 | |
| 57 | spkvdd: fixed-regulator@2 { |
| 58 | compatible = "regulator-fixed"; |
| 59 | reg = <2>; |
| 60 | regulator-name = "spkvdd-supply"; |
| 61 | regulator-min-microvolt = <5000000>; |
| 62 | regulator-max-microvolt = <5000000>; |
| 63 | regulator-always-on; |
| 64 | }; |
| 65 | }; |
| 66 | |
Sachin Kamat | 451c402 | 2014-02-24 08:47:28 +0900 | [diff] [blame] | 67 | rtc@101E0000 { |
| 68 | status = "okay"; |
| 69 | }; |
| 70 | |
Sachin Kamat | b5839bd | 2014-05-20 01:04:13 +0900 | [diff] [blame] | 71 | codec@11000000 { |
| 72 | samsung,mfc-r = <0x43000000 0x800000>; |
| 73 | samsung,mfc-l = <0x51000000 0x800000>; |
| 74 | }; |
| 75 | |
Yuvaraj Kumar C D | 0e2c591 | 2013-10-21 05:57:00 +0900 | [diff] [blame] | 76 | mmc@12200000 { |
| 77 | status = "okay"; |
| 78 | broken-cd; |
| 79 | supports-highspeed; |
| 80 | card-detect-delay = <200>; |
| 81 | samsung,dw-mshc-ciu-div = <3>; |
| 82 | samsung,dw-mshc-sdr-timing = <0 4>; |
| 83 | samsung,dw-mshc-ddr-timing = <0 2>; |
| 84 | pinctrl-names = "default"; |
| 85 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; |
| 86 | |
| 87 | slot@0 { |
| 88 | reg = <0>; |
| 89 | bus-width = <8>; |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | mmc@12220000 { |
| 94 | status = "okay"; |
| 95 | supports-highspeed; |
| 96 | card-detect-delay = <200>; |
| 97 | samsung,dw-mshc-ciu-div = <3>; |
| 98 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 99 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 100 | pinctrl-names = "default"; |
| 101 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; |
| 102 | |
| 103 | slot@0 { |
| 104 | reg = <0>; |
| 105 | bus-width = <4>; |
| 106 | }; |
| 107 | }; |
| 108 | |
Vikas Sajjan | 1339d33 | 2013-08-14 17:15:06 +0900 | [diff] [blame] | 109 | dp-controller@145B0000 { |
Vikas Sajjan | 4e78089 | 2013-08-14 17:15:10 +0900 | [diff] [blame] | 110 | pinctrl-names = "default"; |
| 111 | pinctrl-0 = <&dp_hpd>; |
Vikas Sajjan | 1339d33 | 2013-08-14 17:15:06 +0900 | [diff] [blame] | 112 | samsung,color-space = <0>; |
| 113 | samsung,dynamic-range = <0>; |
| 114 | samsung,ycbcr-coeff = <0>; |
| 115 | samsung,color-depth = <1>; |
| 116 | samsung,link-rate = <0x0a>; |
| 117 | samsung,lane-count = <4>; |
| 118 | status = "okay"; |
| 119 | }; |
| 120 | |
Vikas Sajjan | ee3381d | 2013-08-14 17:08:33 +0900 | [diff] [blame] | 121 | fimd@14400000 { |
| 122 | status = "okay"; |
| 123 | display-timings { |
| 124 | native-mode = <&timing0>; |
| 125 | timing0: timing@0 { |
| 126 | clock-frequency = <50000>; |
| 127 | hactive = <2560>; |
| 128 | vactive = <1600>; |
| 129 | hfront-porch = <48>; |
| 130 | hback-porch = <80>; |
| 131 | hsync-len = <32>; |
| 132 | vback-porch = <16>; |
| 133 | vfront-porch = <8>; |
| 134 | vsync-len = <6>; |
| 135 | }; |
| 136 | }; |
| 137 | }; |
| 138 | |
Rahul Sharma | 29f8666 | 2013-10-08 06:49:46 +0900 | [diff] [blame] | 139 | pinctrl@13400000 { |
| 140 | hdmi_hpd_irq: hdmi-hpd-irq { |
| 141 | samsung,pins = "gpx3-7"; |
| 142 | samsung,pin-function = <0>; |
| 143 | samsung,pin-pud = <1>; |
| 144 | samsung,pin-drv = <0>; |
| 145 | }; |
| 146 | }; |
| 147 | |
Vivek Gautam | 9c6096e | 2014-05-19 22:30:48 +0900 | [diff] [blame] | 148 | pinctrl@14000000 { |
| 149 | usb300_vbus_en: usb300-vbus-en { |
| 150 | samsung,pins = "gpg0-5"; |
| 151 | samsung,pin-function = <1>; |
| 152 | samsung,pin-pud = <0>; |
| 153 | samsung,pin-drv = <0>; |
| 154 | }; |
| 155 | |
| 156 | usb301_vbus_en: usb301-vbus-en { |
| 157 | samsung,pins = "gpg1-4"; |
| 158 | samsung,pin-function = <1>; |
| 159 | samsung,pin-pud = <0>; |
| 160 | samsung,pin-drv = <0>; |
| 161 | }; |
| 162 | }; |
| 163 | |
Rahul Sharma | 29f8666 | 2013-10-08 06:49:46 +0900 | [diff] [blame] | 164 | hdmi@14530000 { |
| 165 | status = "okay"; |
| 166 | hpd-gpio = <&gpx3 7 0>; |
| 167 | pinctrl-names = "default"; |
| 168 | pinctrl-0 = <&hdmi_hpd_irq>; |
| 169 | }; |
| 170 | |
Vivek Gautam | 9c6096e | 2014-05-19 22:30:48 +0900 | [diff] [blame] | 171 | usb300_vbus_reg: regulator-usb300 { |
| 172 | compatible = "regulator-fixed"; |
| 173 | regulator-name = "VBUS0"; |
| 174 | regulator-min-microvolt = <5000000>; |
| 175 | regulator-max-microvolt = <5000000>; |
| 176 | gpio = <&gpg0 5 0>; |
| 177 | pinctrl-names = "default"; |
| 178 | pinctrl-0 = <&usb300_vbus_en>; |
| 179 | enable-active-high; |
| 180 | }; |
| 181 | |
| 182 | usb301_vbus_reg: regulator-usb301 { |
| 183 | compatible = "regulator-fixed"; |
| 184 | regulator-name = "VBUS1"; |
| 185 | regulator-min-microvolt = <5000000>; |
| 186 | regulator-max-microvolt = <5000000>; |
| 187 | gpio = <&gpg1 4 0>; |
| 188 | pinctrl-names = "default"; |
| 189 | pinctrl-0 = <&usb301_vbus_en>; |
| 190 | enable-active-high; |
| 191 | }; |
| 192 | |
| 193 | phy@12100000 { |
| 194 | vbus-supply = <&usb300_vbus_reg>; |
| 195 | }; |
| 196 | |
| 197 | phy@12500000 { |
| 198 | vbus-supply = <&usb301_vbus_reg>; |
| 199 | }; |
| 200 | |
Rahul Sharma | 29f8666 | 2013-10-08 06:49:46 +0900 | [diff] [blame] | 201 | i2c_2: i2c@12C80000 { |
| 202 | samsung,i2c-sda-delay = <100>; |
| 203 | samsung,i2c-max-bus-freq = <66000>; |
| 204 | status = "okay"; |
| 205 | |
| 206 | hdmiddc@50 { |
| 207 | compatible = "samsung,exynos4210-hdmiddc"; |
| 208 | reg = <0x50>; |
| 209 | }; |
| 210 | }; |
Sachin Kamat | c8c253f | 2013-11-06 13:44:41 +0530 | [diff] [blame] | 211 | |
| 212 | hsi2c_4: i2c@12CA0000 { |
| 213 | status = "okay"; |
| 214 | |
| 215 | s2mps11_pmic@66 { |
| 216 | compatible = "samsung,s2mps11-pmic"; |
| 217 | reg = <0x66>; |
| 218 | s2mps11,buck2-ramp-delay = <12>; |
| 219 | s2mps11,buck34-ramp-delay = <12>; |
| 220 | s2mps11,buck16-ramp-delay = <12>; |
| 221 | s2mps11,buck6-ramp-enable = <1>; |
| 222 | s2mps11,buck2-ramp-enable = <1>; |
| 223 | s2mps11,buck3-ramp-enable = <1>; |
| 224 | s2mps11,buck4-ramp-enable = <1>; |
| 225 | |
| 226 | s2mps11_osc: clocks { |
| 227 | #clock-cells = <1>; |
| 228 | clock-output-names = "s2mps11_ap", |
| 229 | "s2mps11_cp", "s2mps11_bt"; |
| 230 | }; |
| 231 | |
| 232 | regulators { |
| 233 | ldo1_reg: LDO1 { |
| 234 | regulator-name = "vdd_ldo1"; |
| 235 | regulator-min-microvolt = <1000000>; |
| 236 | regulator-max-microvolt = <1000000>; |
| 237 | regulator-always-on; |
| 238 | }; |
| 239 | |
| 240 | ldo3_reg: LDO3 { |
| 241 | regulator-name = "vdd_ldo3"; |
| 242 | regulator-min-microvolt = <1800000>; |
| 243 | regulator-max-microvolt = <1800000>; |
| 244 | regulator-always-on; |
| 245 | }; |
| 246 | |
| 247 | ldo5_reg: LDO5 { |
| 248 | regulator-name = "vdd_ldo5"; |
| 249 | regulator-min-microvolt = <1800000>; |
| 250 | regulator-max-microvolt = <1800000>; |
| 251 | regulator-always-on; |
| 252 | }; |
| 253 | |
| 254 | ldo6_reg: LDO6 { |
| 255 | regulator-name = "vdd_ldo6"; |
| 256 | regulator-min-microvolt = <1000000>; |
| 257 | regulator-max-microvolt = <1000000>; |
| 258 | regulator-always-on; |
| 259 | }; |
| 260 | |
| 261 | ldo7_reg: LDO7 { |
| 262 | regulator-name = "vdd_ldo7"; |
| 263 | regulator-min-microvolt = <1800000>; |
| 264 | regulator-max-microvolt = <1800000>; |
| 265 | regulator-always-on; |
| 266 | }; |
| 267 | |
| 268 | ldo8_reg: LDO8 { |
| 269 | regulator-name = "vdd_ldo8"; |
| 270 | regulator-min-microvolt = <1800000>; |
| 271 | regulator-max-microvolt = <1800000>; |
| 272 | regulator-always-on; |
| 273 | }; |
| 274 | |
| 275 | ldo9_reg: LDO9 { |
| 276 | regulator-name = "vdd_ldo9"; |
| 277 | regulator-min-microvolt = <3000000>; |
| 278 | regulator-max-microvolt = <3000000>; |
| 279 | regulator-always-on; |
| 280 | }; |
| 281 | |
| 282 | ldo10_reg: LDO10 { |
| 283 | regulator-name = "vdd_ldo10"; |
| 284 | regulator-min-microvolt = <1800000>; |
| 285 | regulator-max-microvolt = <1800000>; |
| 286 | regulator-always-on; |
| 287 | }; |
| 288 | |
| 289 | ldo11_reg: LDO11 { |
| 290 | regulator-name = "vdd_ldo11"; |
| 291 | regulator-min-microvolt = <1000000>; |
| 292 | regulator-max-microvolt = <1000000>; |
| 293 | regulator-always-on; |
| 294 | }; |
| 295 | |
| 296 | ldo12_reg: LDO12 { |
| 297 | regulator-name = "vdd_ldo12"; |
| 298 | regulator-min-microvolt = <1800000>; |
| 299 | regulator-max-microvolt = <1800000>; |
| 300 | regulator-always-on; |
| 301 | }; |
| 302 | |
| 303 | ldo13_reg: LDO13 { |
| 304 | regulator-name = "vdd_ldo13"; |
| 305 | regulator-min-microvolt = <2800000>; |
| 306 | regulator-max-microvolt = <2800000>; |
| 307 | regulator-always-on; |
| 308 | }; |
| 309 | |
| 310 | ldo15_reg: LDO15 { |
| 311 | regulator-name = "vdd_ldo15"; |
| 312 | regulator-min-microvolt = <3100000>; |
| 313 | regulator-max-microvolt = <3100000>; |
| 314 | regulator-always-on; |
| 315 | }; |
| 316 | |
| 317 | ldo16_reg: LDO16 { |
| 318 | regulator-name = "vdd_ldo16"; |
| 319 | regulator-min-microvolt = <2200000>; |
| 320 | regulator-max-microvolt = <2200000>; |
| 321 | regulator-always-on; |
| 322 | }; |
| 323 | |
| 324 | ldo17_reg: LDO17 { |
| 325 | regulator-name = "tsp_avdd"; |
| 326 | regulator-min-microvolt = <3300000>; |
| 327 | regulator-max-microvolt = <3300000>; |
| 328 | regulator-always-on; |
| 329 | }; |
| 330 | |
| 331 | ldo19_reg: LDO19 { |
| 332 | regulator-name = "vdd_sd"; |
| 333 | regulator-min-microvolt = <2800000>; |
| 334 | regulator-max-microvolt = <2800000>; |
| 335 | regulator-always-on; |
| 336 | }; |
| 337 | |
| 338 | ldo24_reg: LDO24 { |
| 339 | regulator-name = "tsp_io"; |
| 340 | regulator-min-microvolt = <2800000>; |
| 341 | regulator-max-microvolt = <2800000>; |
| 342 | regulator-always-on; |
| 343 | }; |
| 344 | |
| 345 | buck1_reg: BUCK1 { |
| 346 | regulator-name = "vdd_mif"; |
| 347 | regulator-min-microvolt = <800000>; |
| 348 | regulator-max-microvolt = <1300000>; |
| 349 | regulator-always-on; |
| 350 | regulator-boot-on; |
| 351 | }; |
| 352 | |
| 353 | buck2_reg: BUCK2 { |
| 354 | regulator-name = "vdd_arm"; |
| 355 | regulator-min-microvolt = <800000>; |
| 356 | regulator-max-microvolt = <1500000>; |
| 357 | regulator-always-on; |
| 358 | regulator-boot-on; |
| 359 | }; |
| 360 | |
| 361 | buck3_reg: BUCK3 { |
| 362 | regulator-name = "vdd_int"; |
| 363 | regulator-min-microvolt = <800000>; |
| 364 | regulator-max-microvolt = <1400000>; |
| 365 | regulator-always-on; |
| 366 | regulator-boot-on; |
| 367 | }; |
| 368 | |
| 369 | buck4_reg: BUCK4 { |
| 370 | regulator-name = "vdd_g3d"; |
| 371 | regulator-min-microvolt = <800000>; |
| 372 | regulator-max-microvolt = <1400000>; |
| 373 | regulator-always-on; |
| 374 | regulator-boot-on; |
| 375 | }; |
| 376 | |
| 377 | buck5_reg: BUCK5 { |
| 378 | regulator-name = "vdd_mem"; |
| 379 | regulator-min-microvolt = <800000>; |
| 380 | regulator-max-microvolt = <1400000>; |
| 381 | regulator-always-on; |
| 382 | regulator-boot-on; |
| 383 | }; |
| 384 | |
| 385 | buck6_reg: BUCK6 { |
| 386 | regulator-name = "vdd_kfc"; |
| 387 | regulator-min-microvolt = <800000>; |
| 388 | regulator-max-microvolt = <1500000>; |
| 389 | regulator-always-on; |
| 390 | regulator-boot-on; |
| 391 | }; |
| 392 | |
| 393 | buck7_reg: BUCK7 { |
| 394 | regulator-name = "vdd_1.0v_ldo"; |
| 395 | regulator-min-microvolt = <800000>; |
| 396 | regulator-max-microvolt = <1500000>; |
| 397 | regulator-always-on; |
| 398 | regulator-boot-on; |
| 399 | }; |
| 400 | |
| 401 | buck8_reg: BUCK8 { |
| 402 | regulator-name = "vdd_1.8v_ldo"; |
| 403 | regulator-min-microvolt = <800000>; |
| 404 | regulator-max-microvolt = <1500000>; |
| 405 | regulator-always-on; |
| 406 | regulator-boot-on; |
| 407 | }; |
| 408 | |
| 409 | buck9_reg: BUCK9 { |
| 410 | regulator-name = "vdd_2.8v_ldo"; |
| 411 | regulator-min-microvolt = <3000000>; |
| 412 | regulator-max-microvolt = <3750000>; |
| 413 | regulator-always-on; |
| 414 | regulator-boot-on; |
| 415 | }; |
| 416 | |
| 417 | buck10_reg: BUCK10 { |
| 418 | regulator-name = "vdd_vmem"; |
| 419 | regulator-min-microvolt = <2850000>; |
| 420 | regulator-max-microvolt = <2850000>; |
| 421 | regulator-always-on; |
| 422 | regulator-boot-on; |
| 423 | }; |
| 424 | }; |
| 425 | }; |
| 426 | }; |
Chander Kashyap | 34dcedf | 2013-06-19 00:29:35 +0900 | [diff] [blame] | 427 | }; |