1/* 2 * Insignal's Exynos4412 based Origen board device tree source 3 * 4 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com 6 * 7 * Device tree source file for Insignal's Origen board which is based on 8 * Samsung's Exynos4412 SoC. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13*/ 14 15/dts-v1/; 16#include "exynos4412.dtsi" |
17#include <dt-bindings/gpio/gpio.h> |
18#include <dt-bindings/input/input.h> 19 20/ { 21 model = "Insignal Origen evaluation board based on Exynos4412"; 22 compatible = "insignal,origen4412", "samsung,exynos4412", "samsung,exynos4"; 23 24 memory { 25 reg = <0x40000000 0x40000000>; --- 15 unchanged lines hidden (view full) --- 41 #size-cells = <0>; 42 43 mmc_reg: regulator@0 { 44 compatible = "regulator-fixed"; 45 reg = <0>; 46 regulator-name = "VMEM_VDD_2.8V"; 47 regulator-min-microvolt = <2800000>; 48 regulator-max-microvolt = <2800000>; |
49 gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; |
50 enable-active-high; 51 }; 52 }; 53 |
54 display-timings { 55 native-mode = <&timing0>; 56 timing0: timing { 57 clock-frequency = <47500000>; 58 hactive = <1024>; 59 vactive = <600>; 60 hfront-porch = <64>; 61 hback-porch = <16>; 62 hsync-len = <48>; 63 vback-porch = <64>; 64 vfront-porch = <16>; 65 vsync-len = <3>; 66 }; |
67 }; 68 |
69 fixed-rate-clocks { 70 xxti { 71 compatible = "samsung,clock-xxti"; 72 clock-frequency = <0>; |
73 }; 74 |
75 xusbxti { 76 compatible = "samsung,clock-xusbxti"; 77 clock-frequency = <24000000>; |
78 }; 79 }; |
80}; |
81 |
82&cpu0 { 83 cpu0-supply = <&buck2_reg>; 84}; |
85 |
86&fimd { 87 pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>; 88 pinctrl-names = "default"; 89 status = "okay"; 90}; |
91 |
92&i2c_0 { 93 #address-cells = <1>; 94 #size-cells = <0>; 95 samsung,i2c-sda-delay = <100>; 96 samsung,i2c-max-bus-freq = <20000>; 97 pinctrl-0 = <&i2c0_bus>; 98 pinctrl-names = "default"; 99 status = "okay"; |
100 |
101 s5m8767_pmic@66 { 102 compatible = "samsung,s5m8767-pmic"; 103 reg = <0x66>; |
104 |
105 s5m8767,pmic-buck-default-dvs-idx = <3>; |
106 |
107 s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>, 108 <&gpx2 4 GPIO_ACTIVE_HIGH>, 109 <&gpx2 5 GPIO_ACTIVE_HIGH>; |
110 |
111 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>, 112 <&gpm3 6 GPIO_ACTIVE_HIGH>, 113 <&gpm3 7 GPIO_ACTIVE_HIGH>; |
114 |
115 s5m8767,pmic-buck2-dvs-voltage = <1250000>, <1200000>, 116 <1200000>, <1200000>, 117 <1200000>, <1200000>, 118 <1200000>, <1200000>; |
119 |
120 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>, 121 <1100000>, <1100000>, 122 <1100000>, <1100000>, 123 <1100000>, <1100000>; |
124 |
125 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>, 126 <1200000>, <1200000>, 127 <1200000>, <1200000>, 128 <1200000>, <1200000>; |
129 |
130 regulators { 131 ldo1_reg: LDO1 { 132 regulator-name = "VDD_ALIVE"; 133 regulator-min-microvolt = <1100000>; 134 regulator-max-microvolt = <1100000>; 135 regulator-always-on; 136 regulator-boot-on; 137 op_mode = <1>; /* Normal Mode */ 138 }; |
139 |
140 ldo2_reg: LDO2 { 141 regulator-name = "VDDQ_M12"; 142 regulator-min-microvolt = <1200000>; 143 regulator-max-microvolt = <1200000>; 144 regulator-always-on; 145 op_mode = <1>; /* Normal Mode */ 146 }; |
147 |
148 ldo3_reg: LDO3 { 149 regulator-name = "VDDIOAP_18"; 150 regulator-min-microvolt = <1800000>; 151 regulator-max-microvolt = <1800000>; 152 regulator-always-on; 153 op_mode = <1>; /* Normal Mode */ 154 }; |
155 |
156 ldo4_reg: LDO4 { 157 regulator-name = "VDDQ_PRE"; 158 regulator-min-microvolt = <1800000>; 159 regulator-max-microvolt = <1800000>; 160 regulator-always-on; 161 op_mode = <1>; /* Normal Mode */ 162 }; |
163 |
164 ldo5_reg: LDO5 { 165 regulator-name = "VDD18_2M"; 166 regulator-min-microvolt = <1800000>; 167 regulator-max-microvolt = <1800000>; 168 regulator-always-on; 169 op_mode = <1>; /* Normal Mode */ 170 }; |
171 |
172 ldo6_reg: LDO6 { 173 regulator-name = "VDD10_MPLL"; 174 regulator-min-microvolt = <1000000>; 175 regulator-max-microvolt = <1000000>; 176 regulator-always-on; 177 op_mode = <1>; /* Normal Mode */ 178 }; |
179 |
180 ldo7_reg: LDO7 { 181 regulator-name = "VDD10_XPLL"; 182 regulator-min-microvolt = <1000000>; 183 regulator-max-microvolt = <1000000>; 184 regulator-always-on; 185 op_mode = <1>; /* Normal Mode */ 186 }; |
187 |
188 ldo8_reg: LDO8 { 189 regulator-name = "VDD10_MIPI"; 190 regulator-min-microvolt = <1000000>; 191 regulator-max-microvolt = <1000000>; 192 regulator-always-on; 193 op_mode = <1>; /* Normal Mode */ 194 }; |
195 |
196 ldo9_reg: LDO9 { 197 regulator-name = "VDD33_LCD"; 198 regulator-min-microvolt = <3300000>; 199 regulator-max-microvolt = <3300000>; 200 regulator-always-on; 201 op_mode = <1>; /* Normal Mode */ 202 }; |
203 |
204 ldo10_reg: LDO10 { 205 regulator-name = "VDD18_MIPI"; 206 regulator-min-microvolt = <1800000>; 207 regulator-max-microvolt = <1800000>; 208 regulator-always-on; 209 op_mode = <1>; /* Normal Mode */ 210 }; |
211 |
212 ldo11_reg: LDO11 { 213 regulator-name = "VDD18_ABB1"; 214 regulator-min-microvolt = <1800000>; 215 regulator-max-microvolt = <1800000>; 216 regulator-always-on; 217 op_mode = <1>; /* Normal Mode */ 218 }; |
219 |
220 ldo12_reg: LDO12 { 221 regulator-name = "VDD33_UOTG"; 222 regulator-min-microvolt = <3300000>; 223 regulator-max-microvolt = <3300000>; 224 regulator-always-on; 225 op_mode = <1>; /* Normal Mode */ 226 }; |
227 |
228 ldo13_reg: LDO13 { 229 regulator-name = "VDDIOPERI_18"; 230 regulator-min-microvolt = <1800000>; 231 regulator-max-microvolt = <1800000>; 232 regulator-always-on; 233 op_mode = <1>; /* Normal Mode */ 234 }; |
235 |
236 ldo14_reg: LDO14 { 237 regulator-name = "VDD18_ABB02"; 238 regulator-min-microvolt = <1800000>; 239 regulator-max-microvolt = <1800000>; 240 regulator-always-on; 241 op_mode = <1>; /* Normal Mode */ 242 }; |
243 |
244 ldo15_reg: LDO15 { 245 regulator-name = "VDD10_USH"; 246 regulator-min-microvolt = <1000000>; 247 regulator-max-microvolt = <1000000>; 248 regulator-always-on; 249 op_mode = <1>; /* Normal Mode */ 250 }; |
251 |
252 ldo16_reg: LDO16 { 253 regulator-name = "VDD18_HSIC"; 254 regulator-min-microvolt = <1800000>; 255 regulator-max-microvolt = <1800000>; 256 regulator-always-on; 257 op_mode = <1>; /* Normal Mode */ 258 }; |
259 |
260 ldo17_reg: LDO17 { 261 regulator-name = "VDDIOAP_MMC012_28"; 262 regulator-min-microvolt = <2800000>; 263 regulator-max-microvolt = <2800000>; 264 regulator-always-on; 265 op_mode = <1>; /* Normal Mode */ 266 }; |
267 |
268 ldo18_reg: LDO18 { 269 regulator-name = "VDDIOPERI_28"; 270 regulator-min-microvolt = <2800000>; 271 regulator-max-microvolt = <2800000>; 272 regulator-always-on; 273 op_mode = <1>; /* Normal Mode */ 274 }; |
275 |
276 ldo19_reg: LDO19 { 277 regulator-name = "DVDD25"; 278 regulator-min-microvolt = <2500000>; 279 regulator-max-microvolt = <2500000>; 280 regulator-always-on; 281 op_mode = <1>; /* Normal Mode */ 282 }; |
283 |
284 ldo20_reg: LDO20 { 285 regulator-name = "VDD28_CAM"; 286 regulator-min-microvolt = <2800000>; 287 regulator-max-microvolt = <2800000>; 288 regulator-always-on; 289 op_mode = <1>; /* Normal Mode */ 290 }; |
291 |
292 ldo21_reg: LDO21 { 293 regulator-name = "VDD28_AF"; 294 regulator-min-microvolt = <2800000>; 295 regulator-max-microvolt = <2800000>; 296 regulator-always-on; 297 op_mode = <1>; /* Normal Mode */ 298 }; |
299 |
300 ldo22_reg: LDO22 { 301 regulator-name = "VDDA28_2M"; 302 regulator-min-microvolt = <2800000>; 303 regulator-max-microvolt = <2800000>; 304 regulator-always-on; 305 op_mode = <1>; /* Normal Mode */ 306 }; |
307 |
308 ldo23_reg: LDO23 { 309 regulator-name = "VDD28_TF"; 310 regulator-min-microvolt = <2800000>; 311 regulator-max-microvolt = <2800000>; 312 regulator-always-on; 313 op_mode = <1>; /* Normal Mode */ 314 }; |
315 |
316 ldo24_reg: LDO24 { 317 regulator-name = "VDD33_A31"; 318 regulator-min-microvolt = <3300000>; 319 regulator-max-microvolt = <3300000>; 320 regulator-always-on; 321 op_mode = <1>; /* Normal Mode */ 322 }; |
323 |
324 ldo25_reg: LDO25 { 325 regulator-name = "VDD18_CAM"; 326 regulator-min-microvolt = <1800000>; 327 regulator-max-microvolt = <1800000>; 328 regulator-always-on; 329 op_mode = <1>; /* Normal Mode */ 330 }; |
331 |
332 ldo26_reg: LDO26 { 333 regulator-name = "VDD18_A31"; 334 regulator-min-microvolt = <1800000>; 335 regulator-max-microvolt = <1800000>; 336 regulator-always-on; 337 op_mode = <1>; /* Normal Mode */ 338 }; |
339 |
340 ldo27_reg: LDO27 { 341 regulator-name = "GPS_1V8"; 342 regulator-min-microvolt = <1800000>; 343 regulator-max-microvolt = <1800000>; 344 regulator-always-on; 345 op_mode = <1>; /* Normal Mode */ 346 }; |
347 |
348 ldo28_reg: LDO28 { 349 regulator-name = "DVDD12"; 350 regulator-min-microvolt = <1200000>; 351 regulator-max-microvolt = <1200000>; 352 regulator-always-on; 353 op_mode = <1>; /* Normal Mode */ 354 }; |
355 |
356 buck1_reg: BUCK1 { 357 regulator-name = "vdd_mif"; 358 regulator-min-microvolt = <950000>; 359 regulator-max-microvolt = <1100000>; 360 regulator-always-on; 361 regulator-boot-on; 362 op_mode = <1>; /* Normal Mode */ 363 }; |
364 |
365 buck2_reg: BUCK2 { 366 regulator-name = "vdd_arm"; 367 regulator-min-microvolt = <900000>; 368 regulator-max-microvolt = <1350000>; 369 regulator-always-on; 370 regulator-boot-on; 371 op_mode = <1>; /* Normal Mode */ 372 }; |
373 |
374 buck3_reg: BUCK3 { 375 regulator-name = "vdd_int"; 376 regulator-min-microvolt = <900000>; 377 regulator-max-microvolt = <1200000>; 378 regulator-always-on; 379 regulator-boot-on; 380 op_mode = <1>; /* Normal Mode */ 381 }; |
382 |
383 buck4_reg: BUCK4 { 384 regulator-name = "vdd_g3d"; 385 regulator-min-microvolt = <750000>; 386 regulator-max-microvolt = <1500000>; 387 regulator-always-on; 388 regulator-boot-on; 389 op_mode = <1>; /* Normal Mode */ 390 }; |
391 |
392 buck5_reg: BUCK5 { 393 regulator-name = "vdd_m12"; 394 regulator-min-microvolt = <750000>; 395 regulator-max-microvolt = <1500000>; 396 regulator-always-on; 397 regulator-boot-on; 398 op_mode = <1>; /* Normal Mode */ 399 }; |
400 |
401 buck6_reg: BUCK6 { 402 regulator-name = "vdd12_5m"; 403 regulator-min-microvolt = <750000>; 404 regulator-max-microvolt = <1500000>; 405 regulator-always-on; 406 regulator-boot-on; 407 op_mode = <1>; /* Normal Mode */ 408 }; |
409 |
410 buck9_reg: BUCK9 { 411 regulator-name = "vddf28_emmc"; 412 regulator-min-microvolt = <750000>; 413 regulator-max-microvolt = <3000000>; 414 regulator-always-on; 415 regulator-boot-on; 416 op_mode = <1>; /* Normal Mode */ 417 }; 418 }; 419 }; 420}; |
421 |
422&keypad { 423 samsung,keypad-num-rows = <3>; 424 samsung,keypad-num-columns = <2>; 425 linux,keypad-no-autorepeat; 426 linux,keypad-wakeup; 427 pinctrl-0 = <&keypad_rows &keypad_cols>; 428 pinctrl-names = "default"; 429 status = "okay"; |
430 |
431 key_home { 432 keypad,row = <0>; 433 keypad,column = <0>; 434 linux,code = <KEY_HOME>; 435 }; |
436 |
437 key_down { 438 keypad,row = <0>; 439 keypad,column = <1>; 440 linux,code = <KEY_DOWN>; 441 }; |
442 |
443 key_up { 444 keypad,row = <1>; 445 keypad,column = <0>; 446 linux,code = <KEY_UP>; 447 }; |
448 |
449 key_menu { 450 keypad,row = <1>; 451 keypad,column = <1>; 452 linux,code = <KEY_MENU>; 453 }; |
454 |
455 key_back { 456 keypad,row = <2>; 457 keypad,column = <0>; 458 linux,code = <KEY_BACK>; 459 }; |
460 |
461 key_enter { 462 keypad,row = <2>; 463 keypad,column = <1>; 464 linux,code = <KEY_ENTER>; 465 }; 466}; |
467 |
468&mfc { 469 samsung,mfc-r = <0x43000000 0x800000>; 470 samsung,mfc-l = <0x51000000 0x800000>; 471 status = "okay"; 472}; |
473 |
474&mshc_0 { 475 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; 476 pinctrl-names = "default"; 477 status = "okay"; |
478 |
479 num-slots = <1>; 480 broken-cd; 481 card-detect-delay = <200>; 482 samsung,dw-mshc-ciu-div = <3>; 483 samsung,dw-mshc-sdr-timing = <2 3>; 484 samsung,dw-mshc-ddr-timing = <1 2>; 485 bus-width = <8>; 486 cap-mmc-highspeed; 487}; |
488 |
489&pinctrl_1 { 490 keypad_rows: keypad-rows { 491 samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; 492 samsung,pin-function = <3>; 493 samsung,pin-pud = <3>; 494 samsung,pin-drv = <0>; 495 }; |
496 |
497 keypad_cols: keypad-cols { 498 samsung,pins = "gpx1-0", "gpx1-1"; 499 samsung,pin-function = <3>; 500 samsung,pin-pud = <0>; 501 samsung,pin-drv = <0>; 502 }; 503}; |
504 |
505&rtc { 506 status = "okay"; 507}; |
508 |
509&sdhci_2 { 510 bus-width = <4>; 511 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; 512 pinctrl-names = "default"; 513 vmmc-supply = <&mmc_reg>; 514 status = "okay"; 515}; |
516 |
517&serial_0 { 518 status = "okay"; 519}; |
520 |
521&serial_1 { 522 status = "okay"; 523}; |
524 |
525&serial_2 { 526 status = "okay"; 527}; |
528 |
529&serial_3 { 530 status = "okay"; |
531}; |
532 533&watchdog { 534 status = "okay"; 535}; |