exynos5250-arndale.dts revision 279377
1279377Simp/* 2279377Simp * Samsung's Exynos5250 based Arndale board device tree source 3279377Simp * 4279377Simp * Copyright (c) 2013 Samsung Electronics Co., Ltd. 5279377Simp * http://www.samsung.com 6279377Simp * 7279377Simp * This program is free software; you can redistribute it and/or modify 8279377Simp * it under the terms of the GNU General Public License version 2 as 9279377Simp * published by the Free Software Foundation. 10279377Simp */ 11279377Simp 12279377Simp/dts-v1/; 13279377Simp#include <dt-bindings/gpio/gpio.h> 14279377Simp#include <dt-bindings/interrupt-controller/irq.h> 15279377Simp#include <dt-bindings/input/input.h> 16279377Simp#include "exynos5250.dtsi" 17279377Simp 18279377Simp/ { 19279377Simp model = "Insignal Arndale evaluation board based on EXYNOS5250"; 20279377Simp compatible = "insignal,arndale", "samsung,exynos5250", "samsung,exynos5"; 21279377Simp 22279377Simp memory { 23279377Simp reg = <0x40000000 0x80000000>; 24279377Simp }; 25279377Simp 26279377Simp chosen { 27279377Simp bootargs = "console=ttySAC2,115200"; 28279377Simp }; 29279377Simp 30279377Simp gpio_keys { 31279377Simp compatible = "gpio-keys"; 32279377Simp 33279377Simp menu { 34279377Simp label = "SW-TACT2"; 35279377Simp gpios = <&gpx1 4 GPIO_ACTIVE_LOW>; 36279377Simp linux,code = <KEY_MENU>; 37279377Simp gpio-key,wakeup; 38279377Simp }; 39279377Simp 40279377Simp home { 41279377Simp label = "SW-TACT3"; 42279377Simp gpios = <&gpx1 5 GPIO_ACTIVE_LOW>; 43279377Simp linux,code = <KEY_HOME>; 44279377Simp gpio-key,wakeup; 45279377Simp }; 46279377Simp 47279377Simp up { 48279377Simp label = "SW-TACT4"; 49279377Simp gpios = <&gpx1 6 GPIO_ACTIVE_LOW>; 50279377Simp linux,code = <KEY_UP>; 51279377Simp gpio-key,wakeup; 52279377Simp }; 53279377Simp 54279377Simp down { 55279377Simp label = "SW-TACT5"; 56279377Simp gpios = <&gpx1 7 GPIO_ACTIVE_LOW>; 57279377Simp linux,code = <KEY_DOWN>; 58279377Simp gpio-key,wakeup; 59279377Simp }; 60279377Simp 61279377Simp back { 62279377Simp label = "SW-TACT6"; 63279377Simp gpios = <&gpx2 0 GPIO_ACTIVE_LOW>; 64279377Simp linux,code = <KEY_BACK>; 65279377Simp gpio-key,wakeup; 66279377Simp }; 67279377Simp 68279377Simp wakeup { 69279377Simp label = "SW-TACT7"; 70279377Simp gpios = <&gpx2 1 GPIO_ACTIVE_LOW>; 71279377Simp linux,code = <KEY_WAKEUP>; 72279377Simp gpio-key,wakeup; 73279377Simp }; 74279377Simp }; 75279377Simp 76279377Simp regulators { 77279377Simp compatible = "simple-bus"; 78279377Simp #address-cells = <1>; 79279377Simp #size-cells = <0>; 80279377Simp 81279377Simp main_dc_reg: regulator@0 { 82279377Simp compatible = "regulator-fixed"; 83279377Simp reg = <0>; 84279377Simp regulator-name = "MAIN_DC"; 85279377Simp }; 86279377Simp 87279377Simp mmc_reg: regulator@1 { 88279377Simp compatible = "regulator-fixed"; 89279377Simp reg = <1>; 90279377Simp regulator-name = "VDD_33ON_2.8V"; 91279377Simp regulator-min-microvolt = <2800000>; 92279377Simp regulator-max-microvolt = <2800000>; 93279377Simp gpio = <&gpx1 1 GPIO_ACTIVE_LOW>; 94279377Simp enable-active-high; 95279377Simp }; 96279377Simp 97279377Simp reg_hdmi_en: regulator@2 { 98279377Simp compatible = "regulator-fixed"; 99279377Simp reg = <2>; 100279377Simp regulator-name = "hdmi-en"; 101279377Simp }; 102279377Simp }; 103279377Simp 104279377Simp fixed-rate-clocks { 105279377Simp xxti { 106279377Simp compatible = "samsung,clock-xxti"; 107279377Simp clock-frequency = <24000000>; 108279377Simp }; 109279377Simp }; 110279377Simp 111279377Simp // SMSC USB3503 connected in hardware only mode as a PHY 112279377Simp usb_hub: usb-hub { 113279377Simp compatible = "smsc,usb3503a"; 114279377Simp 115279377Simp reset-gpios = <&gpx3 5 GPIO_ACTIVE_LOW>; 116279377Simp connect-gpios = <&gpd1 7 GPIO_ACTIVE_LOW>; 117279377Simp }; 118279377Simp}; 119279377Simp 120279377Simp&dp { 121279377Simp status = "okay"; 122279377Simp samsung,color-space = <0>; 123279377Simp samsung,dynamic-range = <0>; 124279377Simp samsung,ycbcr-coeff = <0>; 125279377Simp samsung,color-depth = <1>; 126279377Simp samsung,link-rate = <0x0a>; 127279377Simp samsung,lane-count = <4>; 128279377Simp}; 129279377Simp 130279377Simp&fimd { 131279377Simp status = "okay"; 132279377Simp 133279377Simp display-timings { 134279377Simp native-mode = <&timing0>; 135279377Simp 136279377Simp timing0: timing@0 { 137279377Simp /* 2560x1600 DP panel */ 138279377Simp clock-frequency = <50000>; 139279377Simp hactive = <2560>; 140279377Simp vactive = <1600>; 141279377Simp hfront-porch = <48>; 142279377Simp hback-porch = <80>; 143279377Simp hsync-len = <32>; 144279377Simp vback-porch = <16>; 145279377Simp vfront-porch = <8>; 146279377Simp vsync-len = <6>; 147279377Simp }; 148279377Simp }; 149279377Simp}; 150279377Simp 151279377Simp&hdmi { 152279377Simp hpd-gpio = <&gpx3 7 GPIO_ACTIVE_LOW>; 153279377Simp vdd_osc-supply = <&ldo10_reg>; 154279377Simp vdd_pll-supply = <&ldo8_reg>; 155279377Simp vdd-supply = <&ldo8_reg>; 156279377Simp}; 157279377Simp 158279377Simp&i2c_0 { 159279377Simp status = "okay"; 160279377Simp samsung,i2c-sda-delay = <100>; 161279377Simp samsung,i2c-max-bus-freq = <20000>; 162279377Simp samsung,i2c-slave-addr = <0x66>; 163279377Simp 164279377Simp s5m8767_pmic@66 { 165279377Simp compatible = "samsung,s5m8767-pmic"; 166279377Simp reg = <0x66>; 167279377Simp interrupt-parent = <&gpx3>; 168279377Simp interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 169279377Simp 170279377Simp vinb1-supply = <&main_dc_reg>; 171279377Simp vinb2-supply = <&main_dc_reg>; 172279377Simp vinb3-supply = <&main_dc_reg>; 173279377Simp vinb4-supply = <&main_dc_reg>; 174279377Simp vinb5-supply = <&main_dc_reg>; 175279377Simp vinb6-supply = <&main_dc_reg>; 176279377Simp vinb7-supply = <&main_dc_reg>; 177279377Simp vinb8-supply = <&main_dc_reg>; 178279377Simp vinb9-supply = <&main_dc_reg>; 179279377Simp 180279377Simp vinl1-supply = <&buck7_reg>; 181279377Simp vinl2-supply = <&buck7_reg>; 182279377Simp vinl3-supply = <&buck7_reg>; 183279377Simp vinl4-supply = <&main_dc_reg>; 184279377Simp vinl5-supply = <&main_dc_reg>; 185279377Simp vinl6-supply = <&main_dc_reg>; 186279377Simp vinl7-supply = <&main_dc_reg>; 187279377Simp vinl8-supply = <&buck8_reg>; 188279377Simp vinl9-supply = <&buck8_reg>; 189279377Simp 190279377Simp s5m8767,pmic-buck2-dvs-voltage = <1300000>; 191279377Simp s5m8767,pmic-buck3-dvs-voltage = <1100000>; 192279377Simp s5m8767,pmic-buck4-dvs-voltage = <1200000>; 193279377Simp s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>, 194279377Simp <&gpd1 1 GPIO_ACTIVE_HIGH>, 195279377Simp <&gpd1 2 GPIO_ACTIVE_HIGH>; 196279377Simp s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>, 197279377Simp <&gpx2 4 GPIO_ACTIVE_HIGH>, 198279377Simp <&gpx2 5 GPIO_ACTIVE_HIGH>; 199279377Simp 200279377Simp regulators { 201279377Simp ldo1_reg: LDO1 { 202279377Simp regulator-name = "VDD_ALIVE_1.0V"; 203279377Simp regulator-min-microvolt = <1100000>; 204279377Simp regulator-max-microvolt = <1100000>; 205279377Simp regulator-always-on; 206279377Simp regulator-boot-on; 207279377Simp op_mode = <1>; 208279377Simp }; 209279377Simp 210279377Simp ldo2_reg: LDO2 { 211279377Simp regulator-name = "VDD_28IO_DP_1.35V"; 212279377Simp regulator-min-microvolt = <1200000>; 213279377Simp regulator-max-microvolt = <1200000>; 214279377Simp regulator-always-on; 215279377Simp regulator-boot-on; 216279377Simp op_mode = <1>; 217279377Simp }; 218279377Simp 219279377Simp ldo3_reg: LDO3 { 220279377Simp regulator-name = "VDD_COMMON1_1.8V"; 221279377Simp regulator-min-microvolt = <1800000>; 222279377Simp regulator-max-microvolt = <1800000>; 223279377Simp regulator-always-on; 224279377Simp regulator-boot-on; 225279377Simp op_mode = <1>; 226279377Simp }; 227279377Simp 228279377Simp ldo4_reg: LDO4 { 229279377Simp regulator-name = "VDD_IOPERI_1.8V"; 230279377Simp regulator-min-microvolt = <1800000>; 231279377Simp regulator-max-microvolt = <1800000>; 232279377Simp regulator-always-on; 233279377Simp op_mode = <1>; 234279377Simp }; 235279377Simp 236279377Simp ldo5_reg: LDO5 { 237279377Simp regulator-name = "VDD_EXT_1.8V"; 238279377Simp regulator-min-microvolt = <1800000>; 239279377Simp regulator-max-microvolt = <1800000>; 240279377Simp regulator-always-on; 241279377Simp regulator-boot-on; 242279377Simp op_mode = <1>; 243279377Simp }; 244279377Simp 245279377Simp ldo6_reg: LDO6 { 246279377Simp regulator-name = "VDD_MPLL_1.1V"; 247279377Simp regulator-min-microvolt = <1100000>; 248279377Simp regulator-max-microvolt = <1100000>; 249279377Simp regulator-always-on; 250279377Simp regulator-boot-on; 251279377Simp op_mode = <1>; 252279377Simp }; 253279377Simp 254279377Simp ldo7_reg: LDO7 { 255279377Simp regulator-name = "VDD_XPLL_1.1V"; 256279377Simp regulator-min-microvolt = <1100000>; 257279377Simp regulator-max-microvolt = <1100000>; 258279377Simp regulator-always-on; 259279377Simp regulator-boot-on; 260279377Simp op_mode = <1>; 261279377Simp }; 262279377Simp 263279377Simp ldo8_reg: LDO8 { 264279377Simp regulator-name = "VDD_COMMON2_1.0V"; 265279377Simp regulator-min-microvolt = <1000000>; 266279377Simp regulator-max-microvolt = <1000000>; 267279377Simp regulator-always-on; 268279377Simp regulator-boot-on; 269279377Simp op_mode = <1>; 270279377Simp }; 271279377Simp 272279377Simp ldo9_reg: LDO9 { 273279377Simp regulator-name = "VDD_33ON_3.0V"; 274279377Simp regulator-min-microvolt = <3000000>; 275279377Simp regulator-max-microvolt = <3000000>; 276279377Simp op_mode = <1>; 277279377Simp }; 278279377Simp 279279377Simp ldo10_reg: LDO10 { 280279377Simp regulator-name = "VDD_COMMON3_1.8V"; 281279377Simp regulator-min-microvolt = <1800000>; 282279377Simp regulator-max-microvolt = <1800000>; 283279377Simp regulator-always-on; 284279377Simp regulator-boot-on; 285279377Simp op_mode = <1>; 286279377Simp }; 287279377Simp 288279377Simp ldo11_reg: LDO11 { 289279377Simp regulator-name = "VDD_ABB2_1.8V"; 290279377Simp regulator-min-microvolt = <1800000>; 291279377Simp regulator-max-microvolt = <1800000>; 292279377Simp regulator-always-on; 293279377Simp regulator-boot-on; 294279377Simp op_mode = <1>; 295279377Simp }; 296279377Simp 297279377Simp ldo12_reg: LDO12 { 298279377Simp regulator-name = "VDD_USB_3.0V"; 299279377Simp regulator-min-microvolt = <3000000>; 300279377Simp regulator-max-microvolt = <3000000>; 301279377Simp regulator-always-on; 302279377Simp regulator-boot-on; 303279377Simp op_mode = <1>; 304279377Simp }; 305279377Simp 306279377Simp ldo13_reg: LDO13 { 307279377Simp regulator-name = "VDDQ_C2C_W_1.8V"; 308279377Simp regulator-min-microvolt = <1800000>; 309279377Simp regulator-max-microvolt = <1800000>; 310279377Simp regulator-always-on; 311279377Simp regulator-boot-on; 312279377Simp op_mode = <1>; 313279377Simp }; 314279377Simp 315279377Simp ldo14_reg: LDO14 { 316279377Simp regulator-name = "VDD18_ABB0_3_1.8V"; 317279377Simp regulator-min-microvolt = <1800000>; 318279377Simp regulator-max-microvolt = <1800000>; 319279377Simp regulator-always-on; 320279377Simp regulator-boot-on; 321279377Simp op_mode = <1>; 322279377Simp }; 323279377Simp 324279377Simp ldo15_reg: LDO15 { 325279377Simp regulator-name = "VDD10_COMMON4_1.0V"; 326279377Simp regulator-min-microvolt = <1000000>; 327279377Simp regulator-max-microvolt = <1000000>; 328279377Simp regulator-always-on; 329279377Simp regulator-boot-on; 330279377Simp op_mode = <1>; 331279377Simp }; 332279377Simp 333279377Simp ldo16_reg: LDO16 { 334279377Simp regulator-name = "VDD18_HSIC_1.8V"; 335279377Simp regulator-min-microvolt = <1800000>; 336279377Simp regulator-max-microvolt = <1800000>; 337279377Simp regulator-always-on; 338279377Simp regulator-boot-on; 339279377Simp op_mode = <1>; 340279377Simp }; 341279377Simp 342279377Simp ldo17_reg: LDO17 { 343279377Simp regulator-name = "VDDQ_MMC2_3_2.8V"; 344279377Simp regulator-min-microvolt = <2800000>; 345279377Simp regulator-max-microvolt = <2800000>; 346279377Simp regulator-always-on; 347279377Simp regulator-boot-on; 348279377Simp op_mode = <1>; 349279377Simp }; 350279377Simp 351279377Simp ldo18_reg: LDO18 { 352279377Simp regulator-name = "VDD_33ON_2.8V"; 353279377Simp regulator-min-microvolt = <2800000>; 354279377Simp regulator-max-microvolt = <2800000>; 355279377Simp op_mode = <1>; 356279377Simp }; 357279377Simp 358279377Simp ldo22_reg: LDO22 { 359279377Simp regulator-name = "EXT_33_OFF"; 360279377Simp regulator-min-microvolt = <3300000>; 361279377Simp regulator-max-microvolt = <3300000>; 362279377Simp op_mode = <1>; 363279377Simp }; 364279377Simp 365279377Simp ldo23_reg: LDO23 { 366279377Simp regulator-name = "EXT_28_OFF"; 367279377Simp regulator-min-microvolt = <2800000>; 368279377Simp regulator-max-microvolt = <2800000>; 369279377Simp op_mode = <1>; 370279377Simp }; 371279377Simp 372279377Simp ldo25_reg: LDO25 { 373279377Simp regulator-name = "PVDD_LDO25"; 374279377Simp regulator-min-microvolt = <1200000>; 375279377Simp regulator-max-microvolt = <1200000>; 376279377Simp op_mode = <1>; 377279377Simp }; 378279377Simp 379279377Simp ldo26_reg: LDO26 { 380279377Simp regulator-name = "EXT_18_OFF"; 381279377Simp regulator-min-microvolt = <1800000>; 382279377Simp regulator-max-microvolt = <1800000>; 383279377Simp op_mode = <1>; 384279377Simp }; 385279377Simp 386279377Simp buck1_reg: BUCK1 { 387279377Simp regulator-name = "vdd_mif"; 388279377Simp regulator-min-microvolt = <950000>; 389279377Simp regulator-max-microvolt = <1200000>; 390279377Simp regulator-always-on; 391279377Simp regulator-boot-on; 392279377Simp op_mode = <1>; 393279377Simp }; 394279377Simp 395279377Simp buck2_reg: BUCK2 { 396279377Simp regulator-name = "vdd_arm"; 397279377Simp regulator-min-microvolt = <912500>; 398279377Simp regulator-max-microvolt = <1300000>; 399279377Simp regulator-always-on; 400279377Simp regulator-boot-on; 401279377Simp op_mode = <1>; 402279377Simp }; 403279377Simp 404279377Simp buck3_reg: BUCK3 { 405279377Simp regulator-name = "vdd_int"; 406279377Simp regulator-min-microvolt = <900000>; 407279377Simp regulator-max-microvolt = <1200000>; 408279377Simp regulator-always-on; 409279377Simp regulator-boot-on; 410279377Simp op_mode = <1>; 411279377Simp }; 412279377Simp 413279377Simp buck4_reg: BUCK4 { 414279377Simp regulator-name = "vdd_g3d"; 415279377Simp regulator-min-microvolt = <1000000>; 416279377Simp regulator-max-microvolt = <1000000>; 417279377Simp regulator-always-on; 418279377Simp regulator-boot-on; 419279377Simp op_mode = <1>; 420279377Simp }; 421279377Simp 422279377Simp buck5_reg: BUCK5 { 423279377Simp regulator-name = "VDD_MEM_1.35V"; 424279377Simp regulator-min-microvolt = <750000>; 425279377Simp regulator-max-microvolt = <1355000>; 426279377Simp regulator-always-on; 427279377Simp regulator-boot-on; 428279377Simp op_mode = <1>; 429279377Simp }; 430279377Simp 431279377Simp buck7_reg: BUCK7 { 432279377Simp regulator-name = "PVDD_BUCK7"; 433279377Simp regulator-always-on; 434279377Simp op_mode = <1>; 435279377Simp }; 436279377Simp 437279377Simp buck8_reg: BUCK8 { 438279377Simp regulator-name = "PVDD_BUCK8"; 439279377Simp regulator-always-on; 440279377Simp op_mode = <1>; 441279377Simp }; 442279377Simp 443279377Simp buck9_reg: BUCK9 { 444279377Simp regulator-name = "VDD_33_OFF_EXT1"; 445279377Simp regulator-min-microvolt = <750000>; 446279377Simp regulator-max-microvolt = <3000000>; 447279377Simp op_mode = <1>; 448279377Simp }; 449279377Simp }; 450279377Simp }; 451279377Simp}; 452279377Simp 453279377Simp&i2c_2 { 454279377Simp status = "okay"; 455279377Simp 456279377Simp samsung,i2c-sda-delay = <100>; 457279377Simp samsung,i2c-max-bus-freq = <66000>; 458279377Simp samsung,i2c-slave-addr = <0x50>; 459279377Simp 460279377Simp hdmiddc@50 { 461279377Simp compatible = "samsung,exynos4210-hdmiddc"; 462279377Simp reg = <0x50>; 463279377Simp }; 464279377Simp}; 465279377Simp 466279377Simp&i2c_3 { 467279377Simp status = "okay"; 468279377Simp 469279377Simp wm1811a@1a { 470279377Simp compatible = "wlf,wm1811"; 471279377Simp reg = <0x1a>; 472279377Simp 473279377Simp AVDD2-supply = <&main_dc_reg>; 474279377Simp CPVDD-supply = <&main_dc_reg>; 475279377Simp DBVDD1-supply = <&main_dc_reg>; 476279377Simp DBVDD2-supply = <&main_dc_reg>; 477279377Simp DBVDD3-supply = <&main_dc_reg>; 478279377Simp LDO1VDD-supply = <&main_dc_reg>; 479279377Simp SPKVDD1-supply = <&main_dc_reg>; 480279377Simp SPKVDD2-supply = <&main_dc_reg>; 481279377Simp 482279377Simp wlf,ldo1ena = <&gpb0 0 GPIO_ACTIVE_HIGH>; 483279377Simp wlf,ldo2ena = <&gpb0 1 GPIO_ACTIVE_HIGH>; 484279377Simp }; 485279377Simp}; 486279377Simp 487279377Simp&i2c_8 { 488279377Simp status = "okay"; 489279377Simp 490279377Simp samsung,i2c-sda-delay = <100>; 491279377Simp samsung,i2c-max-bus-freq = <66000>; 492279377Simp samsung,i2c-slave-addr = <0x38>; 493279377Simp 494279377Simp hdmiphy@38 { 495279377Simp compatible = "samsung,exynos4212-hdmiphy"; 496279377Simp reg = <0x38>; 497279377Simp }; 498279377Simp}; 499279377Simp 500279377Simp&i2c_9 { 501279377Simp status = "okay"; 502279377Simp samsung,i2c-sda-delay = <100>; 503279377Simp samsung,i2c-max-bus-freq = <40000>; 504279377Simp samsung,i2c-slave-addr = <0x38>; 505279377Simp 506279377Simp sata_phy_i2c:sata-phy@38 { 507279377Simp compatible = "samsung,exynos-sataphy-i2c"; 508279377Simp reg = <0x38>; 509279377Simp }; 510279377Simp}; 511279377Simp 512279377Simp&i2s0 { 513279377Simp status = "okay"; 514279377Simp}; 515279377Simp 516279377Simp&mfc { 517279377Simp samsung,mfc-r = <0x43000000 0x800000>; 518279377Simp samsung,mfc-l = <0x51000000 0x800000>; 519279377Simp}; 520279377Simp 521279377Simp&mmc_0 { 522279377Simp status = "okay"; 523279377Simp num-slots = <1>; 524279377Simp broken-cd; 525279377Simp card-detect-delay = <200>; 526279377Simp samsung,dw-mshc-ciu-div = <3>; 527279377Simp samsung,dw-mshc-sdr-timing = <2 3>; 528279377Simp samsung,dw-mshc-ddr-timing = <1 2>; 529279377Simp vmmc-supply = <&mmc_reg>; 530279377Simp pinctrl-names = "default"; 531279377Simp pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; 532279377Simp bus-width = <8>; 533279377Simp cap-mmc-highspeed; 534279377Simp}; 535279377Simp 536279377Simp&mmc_2 { 537279377Simp status = "okay"; 538279377Simp num-slots = <1>; 539279377Simp card-detect-delay = <200>; 540279377Simp samsung,dw-mshc-ciu-div = <3>; 541279377Simp samsung,dw-mshc-sdr-timing = <2 3>; 542279377Simp samsung,dw-mshc-ddr-timing = <1 2>; 543279377Simp vmmc-supply = <&mmc_reg>; 544279377Simp pinctrl-names = "default"; 545279377Simp pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; 546279377Simp bus-width = <4>; 547279377Simp disable-wp; 548279377Simp cap-sd-highspeed; 549279377Simp}; 550279377Simp 551279377Simp&rtc { 552279377Simp status = "okay"; 553279377Simp}; 554279377Simp 555279377Simp&sata { 556279377Simp status = "okay"; 557279377Simp}; 558279377Simp 559279377Simp&sata_phy { 560279377Simp status = "okay"; 561279377Simp samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; 562279377Simp}; 563