exynos4210-universal_c210.dts revision 279377
1279377Simp/* 2279377Simp * Samsung's Exynos4210 based Universal C210 board device tree source 3279377Simp * 4279377Simp * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 5279377Simp * http://www.samsung.com 6279377Simp * 7279377Simp * Device tree source file for Samsung's Universal C210 board which is based on 8279377Simp * Samsung's Exynos4210 rev0 SoC. 9279377Simp * 10279377Simp * This program is free software; you can redistribute it and/or modify 11279377Simp * it under the terms of the GNU General Public License version 2 as 12279377Simp * published by the Free Software Foundation. 13279377Simp*/ 14279377Simp 15279377Simp/dts-v1/; 16279377Simp#include "exynos4210.dtsi" 17279377Simp 18279377Simp/ { 19279377Simp model = "Samsung Universal C210 based on Exynos4210 rev0"; 20279377Simp compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4"; 21279377Simp 22279377Simp memory { 23279377Simp reg = <0x40000000 0x10000000 24279377Simp 0x50000000 0x10000000>; 25279377Simp }; 26279377Simp 27279377Simp chosen { 28279377Simp bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; 29279377Simp stdout-path = &serial_2; 30279377Simp }; 31279377Simp 32279377Simp sysram@02020000 { 33279377Simp smp-sysram@0 { 34279377Simp status = "disabled"; 35279377Simp }; 36279377Simp 37279377Simp smp-sysram@5000 { 38279377Simp compatible = "samsung,exynos4210-sysram"; 39279377Simp reg = <0x5000 0x1000>; 40279377Simp }; 41279377Simp 42279377Simp smp-sysram@1f000 { 43279377Simp status = "disabled"; 44279377Simp }; 45279377Simp }; 46279377Simp 47279377Simp mct@10050000 { 48279377Simp compatible = "none"; 49279377Simp }; 50279377Simp 51279377Simp fixed-rate-clocks { 52279377Simp xxti { 53279377Simp compatible = "samsung,clock-xxti"; 54279377Simp clock-frequency = <0>; 55279377Simp }; 56279377Simp 57279377Simp xusbxti { 58279377Simp compatible = "samsung,clock-xusbxti"; 59279377Simp clock-frequency = <24000000>; 60279377Simp }; 61279377Simp }; 62279377Simp 63279377Simp vemmc_reg: voltage-regulator { 64279377Simp compatible = "regulator-fixed"; 65279377Simp regulator-name = "VMEM_VDD_2_8V"; 66279377Simp regulator-min-microvolt = <2800000>; 67279377Simp regulator-max-microvolt = <2800000>; 68279377Simp gpio = <&gpe1 3 0>; 69279377Simp enable-active-high; 70279377Simp }; 71279377Simp 72279377Simp hsotg@12480000 { 73279377Simp vusb_d-supply = <&ldo3_reg>; 74279377Simp vusb_a-supply = <&ldo8_reg>; 75279377Simp dr_mode = "peripheral"; 76279377Simp status = "okay"; 77279377Simp }; 78279377Simp 79279377Simp sdhci_emmc: sdhci@12510000 { 80279377Simp bus-width = <8>; 81279377Simp non-removable; 82279377Simp pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; 83279377Simp pinctrl-names = "default"; 84279377Simp vmmc-supply = <&vemmc_reg>; 85279377Simp status = "okay"; 86279377Simp }; 87279377Simp 88279377Simp sdhci_sd: sdhci@12530000 { 89279377Simp bus-width = <4>; 90279377Simp pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>; 91279377Simp pinctrl-names = "default"; 92279377Simp vmmc-supply = <&ldo5_reg>; 93279377Simp cd-gpios = <&gpx3 4 0>; 94279377Simp cd-inverted; 95279377Simp status = "okay"; 96279377Simp }; 97279377Simp 98279377Simp ehci@12580000 { 99279377Simp status = "okay"; 100279377Simp port@0 { 101279377Simp status = "okay"; 102279377Simp }; 103279377Simp }; 104279377Simp 105279377Simp ohci@12590000 { 106279377Simp status = "okay"; 107279377Simp port@0 { 108279377Simp status = "okay"; 109279377Simp }; 110279377Simp }; 111279377Simp 112279377Simp exynos-usbphy@125B0000 { 113279377Simp status = "okay"; 114279377Simp }; 115279377Simp 116279377Simp serial@13800000 { 117279377Simp status = "okay"; 118279377Simp }; 119279377Simp 120279377Simp serial@13810000 { 121279377Simp status = "okay"; 122279377Simp }; 123279377Simp 124279377Simp serial@13820000 { 125279377Simp status = "okay"; 126279377Simp }; 127279377Simp 128279377Simp serial@13830000 { 129279377Simp status = "okay"; 130279377Simp }; 131279377Simp 132279377Simp gpio-keys { 133279377Simp compatible = "gpio-keys"; 134279377Simp 135279377Simp vol-up-key { 136279377Simp gpios = <&gpx2 0 1>; 137279377Simp linux,code = <115>; 138279377Simp label = "volume up"; 139279377Simp debounce-interval = <1>; 140279377Simp }; 141279377Simp 142279377Simp vol-down-key { 143279377Simp gpios = <&gpx2 1 1>; 144279377Simp linux,code = <114>; 145279377Simp label = "volume down"; 146279377Simp debounce-interval = <1>; 147279377Simp }; 148279377Simp 149279377Simp config-key { 150279377Simp gpios = <&gpx2 2 1>; 151279377Simp linux,code = <171>; 152279377Simp label = "config"; 153279377Simp debounce-interval = <1>; 154279377Simp gpio-key,wakeup; 155279377Simp }; 156279377Simp 157279377Simp camera-key { 158279377Simp gpios = <&gpx2 3 1>; 159279377Simp linux,code = <212>; 160279377Simp label = "camera"; 161279377Simp debounce-interval = <1>; 162279377Simp }; 163279377Simp 164279377Simp power-key { 165279377Simp gpios = <&gpx2 7 1>; 166279377Simp linux,code = <116>; 167279377Simp label = "power"; 168279377Simp debounce-interval = <1>; 169279377Simp gpio-key,wakeup; 170279377Simp }; 171279377Simp 172279377Simp ok-key { 173279377Simp gpios = <&gpx3 5 1>; 174279377Simp linux,code = <352>; 175279377Simp label = "ok"; 176279377Simp debounce-interval = <1>; 177279377Simp }; 178279377Simp }; 179279377Simp 180279377Simp tsp_reg: voltage-regulator { 181279377Simp compatible = "regulator-fixed"; 182279377Simp regulator-name = "TSP_2_8V"; 183279377Simp regulator-min-microvolt = <2800000>; 184279377Simp regulator-max-microvolt = <2800000>; 185279377Simp gpio = <&gpe2 3 0>; 186279377Simp enable-active-high; 187279377Simp }; 188279377Simp 189279377Simp i2c@13890000 { 190279377Simp samsung,i2c-sda-delay = <100>; 191279377Simp samsung,i2c-slave-addr = <0x10>; 192279377Simp samsung,i2c-max-bus-freq = <100000>; 193279377Simp pinctrl-0 = <&i2c3_bus>; 194279377Simp pinctrl-names = "default"; 195279377Simp status = "okay"; 196279377Simp 197279377Simp tsp@4a { 198279377Simp /* TBD: Atmel maXtouch touchscreen */ 199279377Simp reg = <0x4a>; 200279377Simp }; 201279377Simp }; 202279377Simp 203279377Simp i2c@138B0000 { 204279377Simp samsung,i2c-sda-delay = <100>; 205279377Simp samsung,i2c-slave-addr = <0x10>; 206279377Simp samsung,i2c-max-bus-freq = <100000>; 207279377Simp pinctrl-0 = <&i2c5_bus>; 208279377Simp pinctrl-names = "default"; 209279377Simp status = "okay"; 210279377Simp 211279377Simp vdd_arm_reg: pmic@60 { 212279377Simp compatible = "maxim,max8952"; 213279377Simp reg = <0x60>; 214279377Simp 215279377Simp max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>; 216279377Simp max8952,default-mode = <0>; 217279377Simp max8952,dvs-mode-microvolt = <1250000>, <1200000>, 218279377Simp <1050000>, <950000>; 219279377Simp max8952,sync-freq = <0>; 220279377Simp max8952,ramp-speed = <0>; 221279377Simp 222279377Simp regulator-name = "vdd_arm"; 223279377Simp regulator-min-microvolt = <770000>; 224279377Simp regulator-max-microvolt = <1400000>; 225279377Simp regulator-always-on; 226279377Simp regulator-boot-on; 227279377Simp }; 228279377Simp 229279377Simp pmic@66 { 230279377Simp compatible = "national,lp3974"; 231279377Simp reg = <0x66>; 232279377Simp 233279377Simp max8998,pmic-buck1-default-dvs-idx = <0>; 234279377Simp max8998,pmic-buck1-dvs-gpios = <&gpx0 5 0>, 235279377Simp <&gpx0 6 0>; 236279377Simp max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>, 237279377Simp <1100000>, <1000000>; 238279377Simp 239279377Simp max8998,pmic-buck2-default-dvs-idx = <0>; 240279377Simp max8998,pmic-buck2-dvs-gpio = <&gpe2 0 0>; 241279377Simp max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>; 242279377Simp 243279377Simp regulators { 244279377Simp ldo2_reg: LDO2 { 245279377Simp regulator-name = "VALIVE_1.2V"; 246279377Simp regulator-min-microvolt = <1200000>; 247279377Simp regulator-max-microvolt = <1200000>; 248279377Simp regulator-always-on; 249279377Simp }; 250279377Simp 251279377Simp ldo3_reg: LDO3 { 252279377Simp regulator-name = "VUSB+MIPI_1.1V"; 253279377Simp regulator-min-microvolt = <1100000>; 254279377Simp regulator-max-microvolt = <1100000>; 255279377Simp regulator-always-on; 256279377Simp }; 257279377Simp 258279377Simp ldo4_reg: LDO4 { 259279377Simp regulator-name = "VADC_3.3V"; 260279377Simp regulator-min-microvolt = <3300000>; 261279377Simp regulator-max-microvolt = <3300000>; 262279377Simp }; 263279377Simp 264279377Simp ldo5_reg: LDO5 { 265279377Simp regulator-name = "VTF_2.8V"; 266279377Simp regulator-min-microvolt = <2800000>; 267279377Simp regulator-max-microvolt = <2800000>; 268279377Simp }; 269279377Simp 270279377Simp ldo6_reg: LDO6 { 271279377Simp regulator-name = "LDO6"; 272279377Simp regulator-min-microvolt = <2000000>; 273279377Simp regulator-max-microvolt = <2000000>; 274279377Simp }; 275279377Simp 276279377Simp ldo7_reg: LDO7 { 277279377Simp regulator-name = "VLCD+VMIPI_1.8V"; 278279377Simp regulator-min-microvolt = <1800000>; 279279377Simp regulator-max-microvolt = <1800000>; 280279377Simp }; 281279377Simp 282279377Simp ldo8_reg: LDO8 { 283279377Simp regulator-name = "VUSB+VDAC_3.3V"; 284279377Simp regulator-min-microvolt = <3300000>; 285279377Simp regulator-max-microvolt = <3300000>; 286279377Simp regulator-always-on; 287279377Simp }; 288279377Simp 289279377Simp ldo9_reg: LDO9 { 290279377Simp regulator-name = "VCC_2.8V"; 291279377Simp regulator-min-microvolt = <2800000>; 292279377Simp regulator-max-microvolt = <2800000>; 293279377Simp regulator-always-on; 294279377Simp }; 295279377Simp 296279377Simp ldo10_reg: LDO10 { 297279377Simp regulator-name = "VPLL_1.1V"; 298279377Simp regulator-min-microvolt = <1100000>; 299279377Simp regulator-max-microvolt = <1100000>; 300279377Simp regulator-boot-on; 301279377Simp regulator-always-on; 302279377Simp }; 303279377Simp 304279377Simp ldo11_reg: LDO11 { 305279377Simp regulator-name = "CAM_AF_3.3V"; 306279377Simp regulator-min-microvolt = <3300000>; 307279377Simp regulator-max-microvolt = <3300000>; 308279377Simp }; 309279377Simp 310279377Simp ldo12_reg: LDO12 { 311279377Simp regulator-name = "PS_2.8V"; 312279377Simp regulator-min-microvolt = <2800000>; 313279377Simp regulator-max-microvolt = <2800000>; 314279377Simp }; 315279377Simp 316279377Simp ldo13_reg: LDO13 { 317279377Simp regulator-name = "VHIC_1.2V"; 318279377Simp regulator-min-microvolt = <1200000>; 319279377Simp regulator-max-microvolt = <1200000>; 320279377Simp }; 321279377Simp 322279377Simp ldo14_reg: LDO14 { 323279377Simp regulator-name = "CAM_I_HOST_1.8V"; 324279377Simp regulator-min-microvolt = <1800000>; 325279377Simp regulator-max-microvolt = <1800000>; 326279377Simp }; 327279377Simp 328279377Simp ldo15_reg: LDO15 { 329279377Simp regulator-name = "CAM_S_DIG+FM33_CORE_1.2V"; 330279377Simp regulator-min-microvolt = <1200000>; 331279377Simp regulator-max-microvolt = <1200000>; 332279377Simp }; 333279377Simp 334279377Simp ldo16_reg: LDO16 { 335279377Simp regulator-name = "CAM_S_ANA_2.8V"; 336279377Simp regulator-min-microvolt = <2800000>; 337279377Simp regulator-max-microvolt = <2800000>; 338279377Simp }; 339279377Simp 340279377Simp ldo17_reg: LDO17 { 341279377Simp regulator-name = "VCC_3.0V_LCD"; 342279377Simp regulator-min-microvolt = <3000000>; 343279377Simp regulator-max-microvolt = <3000000>; 344279377Simp }; 345279377Simp 346279377Simp buck1_reg: BUCK1 { 347279377Simp regulator-name = "VINT_1.1V"; 348279377Simp regulator-min-microvolt = <750000>; 349279377Simp regulator-max-microvolt = <1500000>; 350279377Simp regulator-boot-on; 351279377Simp regulator-always-on; 352279377Simp }; 353279377Simp 354279377Simp buck2_reg: BUCK2 { 355279377Simp regulator-name = "VG3D_1.1V"; 356279377Simp regulator-min-microvolt = <750000>; 357279377Simp regulator-max-microvolt = <1500000>; 358279377Simp regulator-boot-on; 359279377Simp }; 360279377Simp 361279377Simp buck3_reg: BUCK3 { 362279377Simp regulator-name = "VCC_1.8V"; 363279377Simp regulator-min-microvolt = <1800000>; 364279377Simp regulator-max-microvolt = <1800000>; 365279377Simp regulator-always-on; 366279377Simp }; 367279377Simp 368279377Simp buck4_reg: BUCK4 { 369279377Simp regulator-name = "VMEM_1.2V"; 370279377Simp regulator-min-microvolt = <1200000>; 371279377Simp regulator-max-microvolt = <1200000>; 372279377Simp regulator-always-on; 373279377Simp }; 374279377Simp 375279377Simp ap32khz_reg: EN32KHz-AP { 376279377Simp regulator-name = "32KHz AP"; 377279377Simp regulator-always-on; 378279377Simp }; 379279377Simp 380279377Simp cp32khz_reg: EN32KHz-CP { 381279377Simp regulator-name = "32KHz CP"; 382279377Simp }; 383279377Simp 384279377Simp vichg_reg: ENVICHG { 385279377Simp regulator-name = "VICHG"; 386279377Simp }; 387279377Simp 388279377Simp safeout1_reg: ESAFEOUT1 { 389279377Simp regulator-name = "SAFEOUT1"; 390279377Simp regulator-always-on; 391279377Simp }; 392279377Simp 393279377Simp safeout2_reg: ESAFEOUT2 { 394279377Simp regulator-name = "SAFEOUT2"; 395279377Simp regulator-boot-on; 396279377Simp }; 397279377Simp }; 398279377Simp }; 399279377Simp }; 400279377Simp 401279377Simp spi-lcd { 402279377Simp compatible = "spi-gpio"; 403279377Simp #address-cells = <1>; 404279377Simp #size-cells = <0>; 405279377Simp 406279377Simp gpio-sck = <&gpy3 1 0>; 407279377Simp gpio-mosi = <&gpy3 3 0>; 408279377Simp num-chipselects = <1>; 409279377Simp cs-gpios = <&gpy4 3 0>; 410279377Simp 411279377Simp lcd@0 { 412279377Simp compatible = "samsung,ld9040"; 413279377Simp reg = <0>; 414279377Simp vdd3-supply = <&ldo7_reg>; 415279377Simp vci-supply = <&ldo17_reg>; 416279377Simp reset-gpios = <&gpy4 5 0>; 417279377Simp spi-max-frequency = <1200000>; 418279377Simp spi-cpol; 419279377Simp spi-cpha; 420279377Simp power-on-delay = <10>; 421279377Simp reset-delay = <10>; 422279377Simp panel-width-mm = <90>; 423279377Simp panel-height-mm = <154>; 424279377Simp display-timings { 425279377Simp timing { 426279377Simp clock-frequency = <23492370>; 427279377Simp hactive = <480>; 428279377Simp vactive = <800>; 429279377Simp hback-porch = <16>; 430279377Simp hfront-porch = <16>; 431279377Simp vback-porch = <2>; 432279377Simp vfront-porch = <28>; 433279377Simp hsync-len = <2>; 434279377Simp vsync-len = <1>; 435279377Simp hsync-active = <0>; 436279377Simp vsync-active = <0>; 437279377Simp de-active = <0>; 438279377Simp pixelclk-active = <0>; 439279377Simp }; 440279377Simp }; 441279377Simp port { 442279377Simp lcd_ep: endpoint { 443279377Simp remote-endpoint = <&fimd_dpi_ep>; 444279377Simp }; 445279377Simp }; 446279377Simp }; 447279377Simp }; 448279377Simp 449279377Simp fimd: fimd@11c00000 { 450279377Simp pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 451279377Simp pinctrl-names = "default"; 452279377Simp status = "okay"; 453279377Simp samsung,invert-vden; 454279377Simp samsung,invert-vclk; 455279377Simp #address-cells = <1>; 456279377Simp #size-cells = <0>; 457279377Simp port@3 { 458279377Simp reg = <3>; 459279377Simp fimd_dpi_ep: endpoint { 460279377Simp remote-endpoint = <&lcd_ep>; 461279377Simp }; 462279377Simp }; 463279377Simp }; 464279377Simp 465279377Simp pwm@139D0000 { 466279377Simp compatible = "samsung,s5p6440-pwm"; 467279377Simp status = "okay"; 468279377Simp }; 469279377Simp 470279377Simp camera { 471279377Simp status = "okay"; 472279377Simp 473279377Simp pinctrl-names = "default"; 474279377Simp pinctrl-0 = <>; 475279377Simp 476279377Simp fimc_0: fimc@11800000 { 477279377Simp status = "okay"; 478279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC0>, 479279377Simp <&clock CLK_SCLK_FIMC0>; 480279377Simp assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 481279377Simp assigned-clock-rates = <0>, <160000000>; 482279377Simp }; 483279377Simp 484279377Simp fimc_1: fimc@11810000 { 485279377Simp status = "okay"; 486279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC1>, 487279377Simp <&clock CLK_SCLK_FIMC1>; 488279377Simp assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 489279377Simp assigned-clock-rates = <0>, <160000000>; 490279377Simp }; 491279377Simp 492279377Simp fimc_2: fimc@11820000 { 493279377Simp status = "okay"; 494279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC2>, 495279377Simp <&clock CLK_SCLK_FIMC2>; 496279377Simp assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 497279377Simp assigned-clock-rates = <0>, <160000000>; 498279377Simp }; 499279377Simp 500279377Simp fimc_3: fimc@11830000 { 501279377Simp status = "okay"; 502279377Simp assigned-clocks = <&clock CLK_MOUT_FIMC3>, 503279377Simp <&clock CLK_SCLK_FIMC3>; 504279377Simp assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 505279377Simp assigned-clock-rates = <0>, <160000000>; 506279377Simp }; 507279377Simp }; 508279377Simp}; 509279377Simp 510279377Simp&mdma1 { 511279377Simp reg = <0x12840000 0x1000>; 512279377Simp}; 513