1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Samsung SMDK5250 board device tree source 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6*724ba675SRob Herring * http://www.samsung.com 7*724ba675SRob Herring */ 8*724ba675SRob Herring 9*724ba675SRob Herring/dts-v1/; 10*724ba675SRob Herring#include <dt-bindings/clock/maxim,max77686.h> 11*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 12*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 13*724ba675SRob Herring#include "exynos5250.dtsi" 14*724ba675SRob Herring 15*724ba675SRob Herring/ { 16*724ba675SRob Herring model = "Samsung SMDK5250 board based on Exynos5250"; 17*724ba675SRob Herring compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5"; 18*724ba675SRob Herring 19*724ba675SRob Herring aliases { 20*724ba675SRob Herring mmc0 = &mmc_0; 21*724ba675SRob Herring mmc1 = &mmc_2; 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring memory@40000000 { 25*724ba675SRob Herring device_type = "memory"; 26*724ba675SRob Herring reg = <0x40000000 0x80000000>; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring chosen { 30*724ba675SRob Herring bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc"; 31*724ba675SRob Herring stdout-path = "serial2:115200n8"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring vdd: fixed-regulator-vdd { 35*724ba675SRob Herring compatible = "regulator-fixed"; 36*724ba675SRob Herring regulator-name = "vdd-supply"; 37*724ba675SRob Herring regulator-min-microvolt = <1800000>; 38*724ba675SRob Herring regulator-max-microvolt = <1800000>; 39*724ba675SRob Herring regulator-always-on; 40*724ba675SRob Herring }; 41*724ba675SRob Herring 42*724ba675SRob Herring dbvdd: fixed-regulator-dbvdd { 43*724ba675SRob Herring compatible = "regulator-fixed"; 44*724ba675SRob Herring regulator-name = "dbvdd-supply"; 45*724ba675SRob Herring regulator-min-microvolt = <3300000>; 46*724ba675SRob Herring regulator-max-microvolt = <3300000>; 47*724ba675SRob Herring regulator-always-on; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring spkvdd: fixed-regulator-spkvdd { 51*724ba675SRob Herring compatible = "regulator-fixed"; 52*724ba675SRob Herring regulator-name = "spkvdd-supply"; 53*724ba675SRob Herring regulator-min-microvolt = <5000000>; 54*724ba675SRob Herring regulator-max-microvolt = <5000000>; 55*724ba675SRob Herring regulator-always-on; 56*724ba675SRob Herring }; 57*724ba675SRob Herring 58*724ba675SRob Herring sound { 59*724ba675SRob Herring compatible = "samsung,smdk-wm8994"; 60*724ba675SRob Herring 61*724ba675SRob Herring samsung,i2s-controller = <&i2s0>; 62*724ba675SRob Herring samsung,audio-codec = <&wm8994>; 63*724ba675SRob Herring }; 64*724ba675SRob Herring 65*724ba675SRob Herring fixed-rate-clocks { 66*724ba675SRob Herring xxti { 67*724ba675SRob Herring compatible = "samsung,clock-xxti"; 68*724ba675SRob Herring clock-frequency = <24000000>; 69*724ba675SRob Herring }; 70*724ba675SRob Herring 71*724ba675SRob Herring codec_mclk: codec-mclk { 72*724ba675SRob Herring compatible = "fixed-clock"; 73*724ba675SRob Herring #clock-cells = <0>; 74*724ba675SRob Herring clock-frequency = <16934000>; 75*724ba675SRob Herring }; 76*724ba675SRob Herring }; 77*724ba675SRob Herring}; 78*724ba675SRob Herring 79*724ba675SRob Herring&cpu0 { 80*724ba675SRob Herring cpu0-supply = <&buck2_reg>; 81*724ba675SRob Herring}; 82*724ba675SRob Herring 83*724ba675SRob Herring&dp { 84*724ba675SRob Herring samsung,color-space = <0>; 85*724ba675SRob Herring samsung,color-depth = <1>; 86*724ba675SRob Herring samsung,link-rate = <0x0a>; 87*724ba675SRob Herring samsung,lane-count = <4>; 88*724ba675SRob Herring 89*724ba675SRob Herring pinctrl-names = "default"; 90*724ba675SRob Herring pinctrl-0 = <&dp_hpd>; 91*724ba675SRob Herring status = "okay"; 92*724ba675SRob Herring 93*724ba675SRob Herring display-timings { 94*724ba675SRob Herring native-mode = <&timing0>; 95*724ba675SRob Herring 96*724ba675SRob Herring timing0: timing { 97*724ba675SRob Herring /* 1280x800 */ 98*724ba675SRob Herring clock-frequency = <50000>; 99*724ba675SRob Herring hactive = <1280>; 100*724ba675SRob Herring vactive = <800>; 101*724ba675SRob Herring hfront-porch = <4>; 102*724ba675SRob Herring hback-porch = <4>; 103*724ba675SRob Herring hsync-len = <4>; 104*724ba675SRob Herring vback-porch = <4>; 105*724ba675SRob Herring vfront-porch = <4>; 106*724ba675SRob Herring vsync-len = <4>; 107*724ba675SRob Herring }; 108*724ba675SRob Herring }; 109*724ba675SRob Herring}; 110*724ba675SRob Herring 111*724ba675SRob Herring&ehci { 112*724ba675SRob Herring samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>; 113*724ba675SRob Herring}; 114*724ba675SRob Herring 115*724ba675SRob Herring&fimd { 116*724ba675SRob Herring status = "okay"; 117*724ba675SRob Herring}; 118*724ba675SRob Herring 119*724ba675SRob Herring&hdmi { 120*724ba675SRob Herring status = "okay"; 121*724ba675SRob Herring ddc = <&i2c_2>; 122*724ba675SRob Herring hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; 123*724ba675SRob Herring vdd-supply = <&ldo8_reg>; 124*724ba675SRob Herring vdd_osc-supply = <&ldo10_reg>; 125*724ba675SRob Herring vdd_pll-supply = <&ldo8_reg>; 126*724ba675SRob Herring}; 127*724ba675SRob Herring 128*724ba675SRob Herring&i2c_0 { 129*724ba675SRob Herring status = "okay"; 130*724ba675SRob Herring samsung,i2c-sda-delay = <100>; 131*724ba675SRob Herring samsung,i2c-max-bus-freq = <20000>; 132*724ba675SRob Herring 133*724ba675SRob Herring eeprom@50 { 134*724ba675SRob Herring compatible = "samsung,s524ad0xd1", "atmel,24c128"; 135*724ba675SRob Herring reg = <0x50>; 136*724ba675SRob Herring }; 137*724ba675SRob Herring 138*724ba675SRob Herring max77686: pmic@9 { 139*724ba675SRob Herring compatible = "maxim,max77686"; 140*724ba675SRob Herring reg = <0x09>; 141*724ba675SRob Herring interrupt-parent = <&gpx3>; 142*724ba675SRob Herring interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 143*724ba675SRob Herring pinctrl-names = "default"; 144*724ba675SRob Herring pinctrl-0 = <&max77686_irq>; 145*724ba675SRob Herring #clock-cells = <1>; 146*724ba675SRob Herring wakeup-source; 147*724ba675SRob Herring 148*724ba675SRob Herring voltage-regulators { 149*724ba675SRob Herring ldo1_reg: LDO1 { 150*724ba675SRob Herring regulator-name = "P1.0V_LDO_OUT1"; 151*724ba675SRob Herring regulator-min-microvolt = <1000000>; 152*724ba675SRob Herring regulator-max-microvolt = <1000000>; 153*724ba675SRob Herring regulator-always-on; 154*724ba675SRob Herring }; 155*724ba675SRob Herring 156*724ba675SRob Herring ldo2_reg: LDO2 { 157*724ba675SRob Herring regulator-name = "P1.2V_LDO_OUT2"; 158*724ba675SRob Herring regulator-min-microvolt = <1200000>; 159*724ba675SRob Herring regulator-max-microvolt = <1200000>; 160*724ba675SRob Herring regulator-always-on; 161*724ba675SRob Herring }; 162*724ba675SRob Herring 163*724ba675SRob Herring ldo3_reg: LDO3 { 164*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT3"; 165*724ba675SRob Herring regulator-min-microvolt = <1800000>; 166*724ba675SRob Herring regulator-max-microvolt = <1800000>; 167*724ba675SRob Herring regulator-always-on; 168*724ba675SRob Herring }; 169*724ba675SRob Herring 170*724ba675SRob Herring ldo4_reg: LDO4 { 171*724ba675SRob Herring regulator-name = "P2.8V_LDO_OUT4"; 172*724ba675SRob Herring regulator-min-microvolt = <2800000>; 173*724ba675SRob Herring regulator-max-microvolt = <2800000>; 174*724ba675SRob Herring }; 175*724ba675SRob Herring 176*724ba675SRob Herring ldo5_reg: LDO5 { 177*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT5"; 178*724ba675SRob Herring regulator-min-microvolt = <1800000>; 179*724ba675SRob Herring regulator-max-microvolt = <1800000>; 180*724ba675SRob Herring }; 181*724ba675SRob Herring 182*724ba675SRob Herring ldo6_reg: LDO6 { 183*724ba675SRob Herring regulator-name = "P1.1V_LDO_OUT6"; 184*724ba675SRob Herring regulator-min-microvolt = <1100000>; 185*724ba675SRob Herring regulator-max-microvolt = <1100000>; 186*724ba675SRob Herring regulator-always-on; 187*724ba675SRob Herring }; 188*724ba675SRob Herring 189*724ba675SRob Herring ldo7_reg: LDO7 { 190*724ba675SRob Herring regulator-name = "P1.1V_LDO_OUT7"; 191*724ba675SRob Herring regulator-min-microvolt = <1100000>; 192*724ba675SRob Herring regulator-max-microvolt = <1100000>; 193*724ba675SRob Herring regulator-always-on; 194*724ba675SRob Herring }; 195*724ba675SRob Herring 196*724ba675SRob Herring ldo8_reg: LDO8 { 197*724ba675SRob Herring regulator-name = "P1.0V_LDO_OUT8"; 198*724ba675SRob Herring regulator-min-microvolt = <1000000>; 199*724ba675SRob Herring regulator-max-microvolt = <1000000>; 200*724ba675SRob Herring }; 201*724ba675SRob Herring 202*724ba675SRob Herring ldo10_reg: LDO10 { 203*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT10"; 204*724ba675SRob Herring regulator-min-microvolt = <1800000>; 205*724ba675SRob Herring regulator-max-microvolt = <1800000>; 206*724ba675SRob Herring regulator-always-on; 207*724ba675SRob Herring }; 208*724ba675SRob Herring 209*724ba675SRob Herring ldo11_reg: LDO11 { 210*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT11"; 211*724ba675SRob Herring regulator-min-microvolt = <1800000>; 212*724ba675SRob Herring regulator-max-microvolt = <1800000>; 213*724ba675SRob Herring }; 214*724ba675SRob Herring 215*724ba675SRob Herring ldo12_reg: LDO12 { 216*724ba675SRob Herring regulator-name = "P3.0V_LDO_OUT12"; 217*724ba675SRob Herring regulator-min-microvolt = <3000000>; 218*724ba675SRob Herring regulator-max-microvolt = <3000000>; 219*724ba675SRob Herring }; 220*724ba675SRob Herring 221*724ba675SRob Herring ldo13_reg: LDO13 { 222*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT13"; 223*724ba675SRob Herring regulator-min-microvolt = <1800000>; 224*724ba675SRob Herring regulator-max-microvolt = <1800000>; 225*724ba675SRob Herring }; 226*724ba675SRob Herring 227*724ba675SRob Herring ldo14_reg: LDO14 { 228*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT14"; 229*724ba675SRob Herring regulator-min-microvolt = <1800000>; 230*724ba675SRob Herring regulator-max-microvolt = <1800000>; 231*724ba675SRob Herring }; 232*724ba675SRob Herring 233*724ba675SRob Herring ldo15_reg: LDO15 { 234*724ba675SRob Herring regulator-name = "P1.0V_LDO_OUT15"; 235*724ba675SRob Herring regulator-min-microvolt = <1000000>; 236*724ba675SRob Herring regulator-max-microvolt = <1000000>; 237*724ba675SRob Herring }; 238*724ba675SRob Herring 239*724ba675SRob Herring ldo16_reg: LDO16 { 240*724ba675SRob Herring regulator-name = "P1.8V_LDO_OUT16"; 241*724ba675SRob Herring regulator-min-microvolt = <1800000>; 242*724ba675SRob Herring regulator-max-microvolt = <1800000>; 243*724ba675SRob Herring }; 244*724ba675SRob Herring 245*724ba675SRob Herring buck1_reg: BUCK1 { 246*724ba675SRob Herring regulator-name = "vdd_mif"; 247*724ba675SRob Herring regulator-min-microvolt = <950000>; 248*724ba675SRob Herring regulator-max-microvolt = <1300000>; 249*724ba675SRob Herring regulator-always-on; 250*724ba675SRob Herring regulator-boot-on; 251*724ba675SRob Herring }; 252*724ba675SRob Herring 253*724ba675SRob Herring buck2_reg: BUCK2 { 254*724ba675SRob Herring regulator-name = "vdd_arm"; 255*724ba675SRob Herring regulator-min-microvolt = <850000>; 256*724ba675SRob Herring regulator-max-microvolt = <1350000>; 257*724ba675SRob Herring regulator-always-on; 258*724ba675SRob Herring regulator-boot-on; 259*724ba675SRob Herring }; 260*724ba675SRob Herring 261*724ba675SRob Herring buck3_reg: BUCK3 { 262*724ba675SRob Herring regulator-name = "vdd_int"; 263*724ba675SRob Herring regulator-min-microvolt = <900000>; 264*724ba675SRob Herring regulator-max-microvolt = <1200000>; 265*724ba675SRob Herring regulator-always-on; 266*724ba675SRob Herring regulator-boot-on; 267*724ba675SRob Herring }; 268*724ba675SRob Herring 269*724ba675SRob Herring buck4_reg: BUCK4 { 270*724ba675SRob Herring regulator-name = "vdd_g3d"; 271*724ba675SRob Herring regulator-min-microvolt = <850000>; 272*724ba675SRob Herring regulator-max-microvolt = <1300000>; 273*724ba675SRob Herring regulator-always-on; 274*724ba675SRob Herring regulator-boot-on; 275*724ba675SRob Herring }; 276*724ba675SRob Herring 277*724ba675SRob Herring buck5_reg: BUCK5 { 278*724ba675SRob Herring regulator-name = "P1.8V_BUCK_OUT5"; 279*724ba675SRob Herring regulator-min-microvolt = <1800000>; 280*724ba675SRob Herring regulator-max-microvolt = <1800000>; 281*724ba675SRob Herring regulator-always-on; 282*724ba675SRob Herring regulator-boot-on; 283*724ba675SRob Herring }; 284*724ba675SRob Herring }; 285*724ba675SRob Herring }; 286*724ba675SRob Herring}; 287*724ba675SRob Herring 288*724ba675SRob Herring&i2c_1 { 289*724ba675SRob Herring status = "okay"; 290*724ba675SRob Herring samsung,i2c-sda-delay = <100>; 291*724ba675SRob Herring samsung,i2c-max-bus-freq = <20000>; 292*724ba675SRob Herring 293*724ba675SRob Herring eeprom@51 { 294*724ba675SRob Herring compatible = "samsung,s524ad0xd1", "atmel,24c128"; 295*724ba675SRob Herring reg = <0x51>; 296*724ba675SRob Herring }; 297*724ba675SRob Herring 298*724ba675SRob Herring wm8994: audio-codec@1a { 299*724ba675SRob Herring compatible = "wlf,wm8994"; 300*724ba675SRob Herring reg = <0x1a>; 301*724ba675SRob Herring 302*724ba675SRob Herring gpio-controller; 303*724ba675SRob Herring #gpio-cells = <2>; 304*724ba675SRob Herring 305*724ba675SRob Herring clocks = <&codec_mclk>; 306*724ba675SRob Herring clock-names = "MCLK1"; 307*724ba675SRob Herring 308*724ba675SRob Herring AVDD2-supply = <&vdd>; 309*724ba675SRob Herring CPVDD-supply = <&vdd>; 310*724ba675SRob Herring DBVDD-supply = <&dbvdd>; 311*724ba675SRob Herring SPKVDD1-supply = <&spkvdd>; 312*724ba675SRob Herring SPKVDD2-supply = <&spkvdd>; 313*724ba675SRob Herring }; 314*724ba675SRob Herring}; 315*724ba675SRob Herring 316*724ba675SRob Herring&i2c_2 { 317*724ba675SRob Herring status = "okay"; 318*724ba675SRob Herring /* used by HDMI DDC */ 319*724ba675SRob Herring samsung,i2c-sda-delay = <100>; 320*724ba675SRob Herring samsung,i2c-max-bus-freq = <66000>; 321*724ba675SRob Herring}; 322*724ba675SRob Herring 323*724ba675SRob Herring&i2c_8 { 324*724ba675SRob Herring status = "okay"; 325*724ba675SRob Herring /* used by HDMI PHY */ 326*724ba675SRob Herring samsung,i2c-sda-delay = <100>; 327*724ba675SRob Herring samsung,i2c-max-bus-freq = <66000>; 328*724ba675SRob Herring}; 329*724ba675SRob Herring 330*724ba675SRob Herring&i2c_9 { 331*724ba675SRob Herring status = "okay"; 332*724ba675SRob Herring samsung,i2c-sda-delay = <100>; 333*724ba675SRob Herring samsung,i2c-max-bus-freq = <40000>; 334*724ba675SRob Herring}; 335*724ba675SRob Herring 336*724ba675SRob Herring&i2s0 { 337*724ba675SRob Herring status = "okay"; 338*724ba675SRob Herring}; 339*724ba675SRob Herring 340*724ba675SRob Herring&mixer { 341*724ba675SRob Herring status = "okay"; 342*724ba675SRob Herring}; 343*724ba675SRob Herring 344*724ba675SRob Herring&mmc_0 { 345*724ba675SRob Herring status = "okay"; 346*724ba675SRob Herring broken-cd; 347*724ba675SRob Herring card-detect-delay = <200>; 348*724ba675SRob Herring samsung,dw-mshc-ciu-div = <3>; 349*724ba675SRob Herring samsung,dw-mshc-sdr-timing = <2 3>; 350*724ba675SRob Herring samsung,dw-mshc-ddr-timing = <1 2>; 351*724ba675SRob Herring pinctrl-names = "default"; 352*724ba675SRob Herring pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; 353*724ba675SRob Herring bus-width = <8>; 354*724ba675SRob Herring cap-mmc-highspeed; 355*724ba675SRob Herring mmc-ddr-1_8v; 356*724ba675SRob Herring}; 357*724ba675SRob Herring 358*724ba675SRob Herring&mmc_2 { 359*724ba675SRob Herring status = "okay"; 360*724ba675SRob Herring card-detect-delay = <200>; 361*724ba675SRob Herring samsung,dw-mshc-ciu-div = <3>; 362*724ba675SRob Herring samsung,dw-mshc-sdr-timing = <2 3>; 363*724ba675SRob Herring samsung,dw-mshc-ddr-timing = <1 2>; 364*724ba675SRob Herring pinctrl-names = "default"; 365*724ba675SRob Herring pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; 366*724ba675SRob Herring bus-width = <4>; 367*724ba675SRob Herring disable-wp; 368*724ba675SRob Herring cap-sd-highspeed; 369*724ba675SRob Herring}; 370*724ba675SRob Herring 371*724ba675SRob Herring&rtc { 372*724ba675SRob Herring status = "okay"; 373*724ba675SRob Herring clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; 374*724ba675SRob Herring clock-names = "rtc", "rtc_src"; 375*724ba675SRob Herring}; 376*724ba675SRob Herring 377*724ba675SRob Herring&sata { 378*724ba675SRob Herring status = "okay"; 379*724ba675SRob Herring}; 380*724ba675SRob Herring 381*724ba675SRob Herring&sata_phy { 382*724ba675SRob Herring status = "okay"; 383*724ba675SRob Herring samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; 384*724ba675SRob Herring}; 385*724ba675SRob Herring 386*724ba675SRob Herring&sata_phy_i2c { 387*724ba675SRob Herring status = "okay"; 388*724ba675SRob Herring}; 389*724ba675SRob Herring 390*724ba675SRob Herring&spi_1 { 391*724ba675SRob Herring status = "okay"; 392*724ba675SRob Herring cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>; 393*724ba675SRob Herring 394*724ba675SRob Herring flash@0 { 395*724ba675SRob Herring #address-cells = <1>; 396*724ba675SRob Herring #size-cells = <1>; 397*724ba675SRob Herring compatible = "winbond,w25x80", "jedec,spi-nor"; 398*724ba675SRob Herring reg = <0>; 399*724ba675SRob Herring spi-max-frequency = <1000000>; 400*724ba675SRob Herring 401*724ba675SRob Herring controller-data { 402*724ba675SRob Herring samsung,spi-feedback-delay = <0>; 403*724ba675SRob Herring }; 404*724ba675SRob Herring 405*724ba675SRob Herring partition@0 { 406*724ba675SRob Herring label = "U-Boot"; 407*724ba675SRob Herring reg = <0x0 0x40000>; 408*724ba675SRob Herring read-only; 409*724ba675SRob Herring }; 410*724ba675SRob Herring 411*724ba675SRob Herring partition@40000 { 412*724ba675SRob Herring label = "Kernel"; 413*724ba675SRob Herring reg = <0x40000 0xc0000>; 414*724ba675SRob Herring }; 415*724ba675SRob Herring }; 416*724ba675SRob Herring}; 417*724ba675SRob Herring 418*724ba675SRob Herring&pinctrl_0 { 419*724ba675SRob Herring max77686_irq: max77686-irq-pins { 420*724ba675SRob Herring samsung,pins = "gpx3-2"; 421*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_F>; 422*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 423*724ba675SRob Herring samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 424*724ba675SRob Herring }; 425*724ba675SRob Herring}; 426*724ba675SRob Herring 427*724ba675SRob Herring&usbdrd { 428*724ba675SRob Herring vdd10-supply = <&ldo15_reg>; 429*724ba675SRob Herring vdd33-supply = <&ldo12_reg>; 430*724ba675SRob Herring}; 431