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 | |
Yuvaraj Kumar C D | 0e2c591 | 2013-10-21 05:57:00 +0900 | [diff] [blame] | 71 | mmc@12200000 { |
| 72 | status = "okay"; |
| 73 | broken-cd; |
| 74 | supports-highspeed; |
| 75 | card-detect-delay = <200>; |
| 76 | samsung,dw-mshc-ciu-div = <3>; |
| 77 | samsung,dw-mshc-sdr-timing = <0 4>; |
| 78 | samsung,dw-mshc-ddr-timing = <0 2>; |
| 79 | pinctrl-names = "default"; |
| 80 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; |
| 81 | |
| 82 | slot@0 { |
| 83 | reg = <0>; |
| 84 | bus-width = <8>; |
| 85 | }; |
| 86 | }; |
| 87 | |
| 88 | mmc@12220000 { |
| 89 | status = "okay"; |
| 90 | supports-highspeed; |
| 91 | card-detect-delay = <200>; |
| 92 | samsung,dw-mshc-ciu-div = <3>; |
| 93 | samsung,dw-mshc-sdr-timing = <2 3>; |
| 94 | samsung,dw-mshc-ddr-timing = <1 2>; |
| 95 | pinctrl-names = "default"; |
| 96 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; |
| 97 | |
| 98 | slot@0 { |
| 99 | reg = <0>; |
| 100 | bus-width = <4>; |
| 101 | }; |
| 102 | }; |
| 103 | |
Vikas Sajjan | 1339d33 | 2013-08-14 17:15:06 +0900 | [diff] [blame] | 104 | dp-controller@145B0000 { |
Vikas Sajjan | 4e7808927 | 2013-08-14 17:15:10 +0900 | [diff] [blame] | 105 | pinctrl-names = "default"; |
| 106 | pinctrl-0 = <&dp_hpd>; |
Vikas Sajjan | 1339d33 | 2013-08-14 17:15:06 +0900 | [diff] [blame] | 107 | samsung,color-space = <0>; |
| 108 | samsung,dynamic-range = <0>; |
| 109 | samsung,ycbcr-coeff = <0>; |
| 110 | samsung,color-depth = <1>; |
| 111 | samsung,link-rate = <0x0a>; |
| 112 | samsung,lane-count = <4>; |
| 113 | status = "okay"; |
| 114 | }; |
| 115 | |
Vikas Sajjan | ee3381d | 2013-08-14 17:08:33 +0900 | [diff] [blame] | 116 | fimd@14400000 { |
| 117 | status = "okay"; |
| 118 | display-timings { |
| 119 | native-mode = <&timing0>; |
| 120 | timing0: timing@0 { |
| 121 | clock-frequency = <50000>; |
| 122 | hactive = <2560>; |
| 123 | vactive = <1600>; |
| 124 | hfront-porch = <48>; |
| 125 | hback-porch = <80>; |
| 126 | hsync-len = <32>; |
| 127 | vback-porch = <16>; |
| 128 | vfront-porch = <8>; |
| 129 | vsync-len = <6>; |
| 130 | }; |
| 131 | }; |
| 132 | }; |
| 133 | |
Rahul Sharma | 29f8666 | 2013-10-08 06:49:46 +0900 | [diff] [blame] | 134 | pinctrl@13400000 { |
| 135 | hdmi_hpd_irq: hdmi-hpd-irq { |
| 136 | samsung,pins = "gpx3-7"; |
| 137 | samsung,pin-function = <0>; |
| 138 | samsung,pin-pud = <1>; |
| 139 | samsung,pin-drv = <0>; |
| 140 | }; |
| 141 | }; |
| 142 | |
| 143 | hdmi@14530000 { |
| 144 | status = "okay"; |
| 145 | hpd-gpio = <&gpx3 7 0>; |
| 146 | pinctrl-names = "default"; |
| 147 | pinctrl-0 = <&hdmi_hpd_irq>; |
| 148 | }; |
| 149 | |
| 150 | i2c_2: i2c@12C80000 { |
| 151 | samsung,i2c-sda-delay = <100>; |
| 152 | samsung,i2c-max-bus-freq = <66000>; |
| 153 | status = "okay"; |
| 154 | |
| 155 | hdmiddc@50 { |
| 156 | compatible = "samsung,exynos4210-hdmiddc"; |
| 157 | reg = <0x50>; |
| 158 | }; |
| 159 | }; |
Sachin Kamat | c8c253f | 2013-11-06 13:44:41 +0530 | [diff] [blame] | 160 | |
| 161 | hsi2c_4: i2c@12CA0000 { |
| 162 | status = "okay"; |
| 163 | |
| 164 | s2mps11_pmic@66 { |
| 165 | compatible = "samsung,s2mps11-pmic"; |
| 166 | reg = <0x66>; |
| 167 | s2mps11,buck2-ramp-delay = <12>; |
| 168 | s2mps11,buck34-ramp-delay = <12>; |
| 169 | s2mps11,buck16-ramp-delay = <12>; |
| 170 | s2mps11,buck6-ramp-enable = <1>; |
| 171 | s2mps11,buck2-ramp-enable = <1>; |
| 172 | s2mps11,buck3-ramp-enable = <1>; |
| 173 | s2mps11,buck4-ramp-enable = <1>; |
| 174 | |
| 175 | s2mps11_osc: clocks { |
| 176 | #clock-cells = <1>; |
| 177 | clock-output-names = "s2mps11_ap", |
| 178 | "s2mps11_cp", "s2mps11_bt"; |
| 179 | }; |
| 180 | |
| 181 | regulators { |
| 182 | ldo1_reg: LDO1 { |
| 183 | regulator-name = "vdd_ldo1"; |
| 184 | regulator-min-microvolt = <1000000>; |
| 185 | regulator-max-microvolt = <1000000>; |
| 186 | regulator-always-on; |
| 187 | }; |
| 188 | |
| 189 | ldo3_reg: LDO3 { |
| 190 | regulator-name = "vdd_ldo3"; |
| 191 | regulator-min-microvolt = <1800000>; |
| 192 | regulator-max-microvolt = <1800000>; |
| 193 | regulator-always-on; |
| 194 | }; |
| 195 | |
| 196 | ldo5_reg: LDO5 { |
| 197 | regulator-name = "vdd_ldo5"; |
| 198 | regulator-min-microvolt = <1800000>; |
| 199 | regulator-max-microvolt = <1800000>; |
| 200 | regulator-always-on; |
| 201 | }; |
| 202 | |
| 203 | ldo6_reg: LDO6 { |
| 204 | regulator-name = "vdd_ldo6"; |
| 205 | regulator-min-microvolt = <1000000>; |
| 206 | regulator-max-microvolt = <1000000>; |
| 207 | regulator-always-on; |
| 208 | }; |
| 209 | |
| 210 | ldo7_reg: LDO7 { |
| 211 | regulator-name = "vdd_ldo7"; |
| 212 | regulator-min-microvolt = <1800000>; |
| 213 | regulator-max-microvolt = <1800000>; |
| 214 | regulator-always-on; |
| 215 | }; |
| 216 | |
| 217 | ldo8_reg: LDO8 { |
| 218 | regulator-name = "vdd_ldo8"; |
| 219 | regulator-min-microvolt = <1800000>; |
| 220 | regulator-max-microvolt = <1800000>; |
| 221 | regulator-always-on; |
| 222 | }; |
| 223 | |
| 224 | ldo9_reg: LDO9 { |
| 225 | regulator-name = "vdd_ldo9"; |
| 226 | regulator-min-microvolt = <3000000>; |
| 227 | regulator-max-microvolt = <3000000>; |
| 228 | regulator-always-on; |
| 229 | }; |
| 230 | |
| 231 | ldo10_reg: LDO10 { |
| 232 | regulator-name = "vdd_ldo10"; |
| 233 | regulator-min-microvolt = <1800000>; |
| 234 | regulator-max-microvolt = <1800000>; |
| 235 | regulator-always-on; |
| 236 | }; |
| 237 | |
| 238 | ldo11_reg: LDO11 { |
| 239 | regulator-name = "vdd_ldo11"; |
| 240 | regulator-min-microvolt = <1000000>; |
| 241 | regulator-max-microvolt = <1000000>; |
| 242 | regulator-always-on; |
| 243 | }; |
| 244 | |
| 245 | ldo12_reg: LDO12 { |
| 246 | regulator-name = "vdd_ldo12"; |
| 247 | regulator-min-microvolt = <1800000>; |
| 248 | regulator-max-microvolt = <1800000>; |
| 249 | regulator-always-on; |
| 250 | }; |
| 251 | |
| 252 | ldo13_reg: LDO13 { |
| 253 | regulator-name = "vdd_ldo13"; |
| 254 | regulator-min-microvolt = <2800000>; |
| 255 | regulator-max-microvolt = <2800000>; |
| 256 | regulator-always-on; |
| 257 | }; |
| 258 | |
| 259 | ldo15_reg: LDO15 { |
| 260 | regulator-name = "vdd_ldo15"; |
| 261 | regulator-min-microvolt = <3100000>; |
| 262 | regulator-max-microvolt = <3100000>; |
| 263 | regulator-always-on; |
| 264 | }; |
| 265 | |
| 266 | ldo16_reg: LDO16 { |
| 267 | regulator-name = "vdd_ldo16"; |
| 268 | regulator-min-microvolt = <2200000>; |
| 269 | regulator-max-microvolt = <2200000>; |
| 270 | regulator-always-on; |
| 271 | }; |
| 272 | |
| 273 | ldo17_reg: LDO17 { |
| 274 | regulator-name = "tsp_avdd"; |
| 275 | regulator-min-microvolt = <3300000>; |
| 276 | regulator-max-microvolt = <3300000>; |
| 277 | regulator-always-on; |
| 278 | }; |
| 279 | |
| 280 | ldo19_reg: LDO19 { |
| 281 | regulator-name = "vdd_sd"; |
| 282 | regulator-min-microvolt = <2800000>; |
| 283 | regulator-max-microvolt = <2800000>; |
| 284 | regulator-always-on; |
| 285 | }; |
| 286 | |
| 287 | ldo24_reg: LDO24 { |
| 288 | regulator-name = "tsp_io"; |
| 289 | regulator-min-microvolt = <2800000>; |
| 290 | regulator-max-microvolt = <2800000>; |
| 291 | regulator-always-on; |
| 292 | }; |
| 293 | |
| 294 | buck1_reg: BUCK1 { |
| 295 | regulator-name = "vdd_mif"; |
| 296 | regulator-min-microvolt = <800000>; |
| 297 | regulator-max-microvolt = <1300000>; |
| 298 | regulator-always-on; |
| 299 | regulator-boot-on; |
| 300 | }; |
| 301 | |
| 302 | buck2_reg: BUCK2 { |
| 303 | regulator-name = "vdd_arm"; |
| 304 | regulator-min-microvolt = <800000>; |
| 305 | regulator-max-microvolt = <1500000>; |
| 306 | regulator-always-on; |
| 307 | regulator-boot-on; |
| 308 | }; |
| 309 | |
| 310 | buck3_reg: BUCK3 { |
| 311 | regulator-name = "vdd_int"; |
| 312 | regulator-min-microvolt = <800000>; |
| 313 | regulator-max-microvolt = <1400000>; |
| 314 | regulator-always-on; |
| 315 | regulator-boot-on; |
| 316 | }; |
| 317 | |
| 318 | buck4_reg: BUCK4 { |
| 319 | regulator-name = "vdd_g3d"; |
| 320 | regulator-min-microvolt = <800000>; |
| 321 | regulator-max-microvolt = <1400000>; |
| 322 | regulator-always-on; |
| 323 | regulator-boot-on; |
| 324 | }; |
| 325 | |
| 326 | buck5_reg: BUCK5 { |
| 327 | regulator-name = "vdd_mem"; |
| 328 | regulator-min-microvolt = <800000>; |
| 329 | regulator-max-microvolt = <1400000>; |
| 330 | regulator-always-on; |
| 331 | regulator-boot-on; |
| 332 | }; |
| 333 | |
| 334 | buck6_reg: BUCK6 { |
| 335 | regulator-name = "vdd_kfc"; |
| 336 | regulator-min-microvolt = <800000>; |
| 337 | regulator-max-microvolt = <1500000>; |
| 338 | regulator-always-on; |
| 339 | regulator-boot-on; |
| 340 | }; |
| 341 | |
| 342 | buck7_reg: BUCK7 { |
| 343 | regulator-name = "vdd_1.0v_ldo"; |
| 344 | regulator-min-microvolt = <800000>; |
| 345 | regulator-max-microvolt = <1500000>; |
| 346 | regulator-always-on; |
| 347 | regulator-boot-on; |
| 348 | }; |
| 349 | |
| 350 | buck8_reg: BUCK8 { |
| 351 | regulator-name = "vdd_1.8v_ldo"; |
| 352 | regulator-min-microvolt = <800000>; |
| 353 | regulator-max-microvolt = <1500000>; |
| 354 | regulator-always-on; |
| 355 | regulator-boot-on; |
| 356 | }; |
| 357 | |
| 358 | buck9_reg: BUCK9 { |
| 359 | regulator-name = "vdd_2.8v_ldo"; |
| 360 | regulator-min-microvolt = <3000000>; |
| 361 | regulator-max-microvolt = <3750000>; |
| 362 | regulator-always-on; |
| 363 | regulator-boot-on; |
| 364 | }; |
| 365 | |
| 366 | buck10_reg: BUCK10 { |
| 367 | regulator-name = "vdd_vmem"; |
| 368 | regulator-min-microvolt = <2850000>; |
| 369 | regulator-max-microvolt = <2850000>; |
| 370 | regulator-always-on; |
| 371 | regulator-boot-on; |
| 372 | }; |
| 373 | }; |
| 374 | }; |
| 375 | }; |
Chander Kashyap | 34dcedf | 2013-06-19 00:29:35 +0900 | [diff] [blame] | 376 | }; |