1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Google Peach Pi Rev 10+ board device tree source 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (c) 2014 Google, Inc 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring/dts-v1/; 9*724ba675SRob Herring#include <dt-bindings/input/input.h> 10*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 11*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 12*724ba675SRob Herring#include <dt-bindings/clock/maxim,max77802.h> 13*724ba675SRob Herring#include <dt-bindings/regulator/maxim,max77802.h> 14*724ba675SRob Herring#include <dt-bindings/sound/samsung-i2s.h> 15*724ba675SRob Herring#include "exynos5800.dtsi" 16*724ba675SRob Herring#include "exynos5420-cpus.dtsi" 17*724ba675SRob Herring 18*724ba675SRob Herring/ { 19*724ba675SRob Herring model = "Google Peach Pi Rev 10+"; 20*724ba675SRob Herring 21*724ba675SRob Herring compatible = "google,pi-rev16", 22*724ba675SRob Herring "google,pi-rev15", "google,pi-rev14", 23*724ba675SRob Herring "google,pi-rev13", "google,pi-rev12", 24*724ba675SRob Herring "google,pi-rev11", "google,pi-rev10", 25*724ba675SRob Herring "google,pi", "google,peach", "samsung,exynos5800", 26*724ba675SRob Herring "samsung,exynos5"; 27*724ba675SRob Herring chassis-type = "laptop"; 28*724ba675SRob Herring 29*724ba675SRob Herring aliases { 30*724ba675SRob Herring /* Assign 20 so we don't get confused w/ builtin ones */ 31*724ba675SRob Herring i2c20 = &i2c_tunnel; 32*724ba675SRob Herring mmc0 = &mmc_0; /* eMMC */ 33*724ba675SRob Herring mmc1 = &mmc_2; /* SD */ 34*724ba675SRob Herring mmc2 = &mmc_1; /* WiFi */ 35*724ba675SRob Herring }; 36*724ba675SRob Herring 37*724ba675SRob Herring backlight: backlight { 38*724ba675SRob Herring compatible = "pwm-backlight"; 39*724ba675SRob Herring pwms = <&pwm 0 1000000 0>; 40*724ba675SRob Herring brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; 41*724ba675SRob Herring default-brightness-level = <7>; 42*724ba675SRob Herring enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>; 43*724ba675SRob Herring power-supply = <&tps65090_fet1>; 44*724ba675SRob Herring pinctrl-0 = <&pwm0_out>; 45*724ba675SRob Herring pinctrl-names = "default"; 46*724ba675SRob Herring }; 47*724ba675SRob Herring 48*724ba675SRob Herring chosen { 49*724ba675SRob Herring stdout-path = "serial3:115200n8"; 50*724ba675SRob Herring }; 51*724ba675SRob Herring 52*724ba675SRob Herring fixed-rate-clocks { 53*724ba675SRob Herring oscclk { 54*724ba675SRob Herring compatible = "samsung,exynos5420-oscclk"; 55*724ba675SRob Herring clock-frequency = <24000000>; 56*724ba675SRob Herring }; 57*724ba675SRob Herring }; 58*724ba675SRob Herring 59*724ba675SRob Herring gpio-keys { 60*724ba675SRob Herring compatible = "gpio-keys"; 61*724ba675SRob Herring 62*724ba675SRob Herring pinctrl-names = "default"; 63*724ba675SRob Herring pinctrl-0 = <&power_key_irq &lid_irq>; 64*724ba675SRob Herring 65*724ba675SRob Herring power-key { 66*724ba675SRob Herring label = "Power"; 67*724ba675SRob Herring gpios = <&gpx1 2 GPIO_ACTIVE_LOW>; 68*724ba675SRob Herring linux,code = <KEY_POWER>; 69*724ba675SRob Herring wakeup-source; 70*724ba675SRob Herring }; 71*724ba675SRob Herring 72*724ba675SRob Herring lid-switch { 73*724ba675SRob Herring label = "Lid"; 74*724ba675SRob Herring gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; 75*724ba675SRob Herring linux,input-type = <5>; /* EV_SW */ 76*724ba675SRob Herring linux,code = <0>; /* SW_LID */ 77*724ba675SRob Herring debounce-interval = <1>; 78*724ba675SRob Herring wakeup-source; 79*724ba675SRob Herring }; 80*724ba675SRob Herring 81*724ba675SRob Herring }; 82*724ba675SRob Herring 83*724ba675SRob Herring memory@20000000 { 84*724ba675SRob Herring device_type = "memory"; 85*724ba675SRob Herring reg = <0x20000000 0x80000000>; 86*724ba675SRob Herring }; 87*724ba675SRob Herring 88*724ba675SRob Herring sound { 89*724ba675SRob Herring compatible = "google,snow-audio-max98091"; 90*724ba675SRob Herring 91*724ba675SRob Herring samsung,model = "Peach-Pi-I2S-MAX98091"; 92*724ba675SRob Herring samsung,i2s-controller = <&i2s0>; 93*724ba675SRob Herring samsung,audio-codec = <&max98091>; 94*724ba675SRob Herring 95*724ba675SRob Herring cpu { 96*724ba675SRob Herring sound-dai = <&i2s0 0>; 97*724ba675SRob Herring }; 98*724ba675SRob Herring 99*724ba675SRob Herring codec { 100*724ba675SRob Herring sound-dai = <&max98091>, <&hdmi>; 101*724ba675SRob Herring }; 102*724ba675SRob Herring }; 103*724ba675SRob Herring 104*724ba675SRob Herring usb300_vbus_reg: regulator-usb300 { 105*724ba675SRob Herring compatible = "regulator-fixed"; 106*724ba675SRob Herring regulator-name = "P5.0V_USB3CON0"; 107*724ba675SRob Herring regulator-min-microvolt = <5000000>; 108*724ba675SRob Herring regulator-max-microvolt = <5000000>; 109*724ba675SRob Herring gpio = <&gph0 0 GPIO_ACTIVE_HIGH>; 110*724ba675SRob Herring pinctrl-names = "default"; 111*724ba675SRob Herring pinctrl-0 = <&usb300_vbus_en>; 112*724ba675SRob Herring enable-active-high; 113*724ba675SRob Herring }; 114*724ba675SRob Herring 115*724ba675SRob Herring usb301_vbus_reg: regulator-usb301 { 116*724ba675SRob Herring compatible = "regulator-fixed"; 117*724ba675SRob Herring regulator-name = "P5.0V_USB3CON1"; 118*724ba675SRob Herring regulator-min-microvolt = <5000000>; 119*724ba675SRob Herring regulator-max-microvolt = <5000000>; 120*724ba675SRob Herring gpio = <&gph0 1 GPIO_ACTIVE_HIGH>; 121*724ba675SRob Herring pinctrl-names = "default"; 122*724ba675SRob Herring pinctrl-0 = <&usb301_vbus_en>; 123*724ba675SRob Herring enable-active-high; 124*724ba675SRob Herring }; 125*724ba675SRob Herring 126*724ba675SRob Herring vbat: fixed-regulator { 127*724ba675SRob Herring compatible = "regulator-fixed"; 128*724ba675SRob Herring regulator-name = "vbat-supply"; 129*724ba675SRob Herring regulator-boot-on; 130*724ba675SRob Herring regulator-always-on; 131*724ba675SRob Herring }; 132*724ba675SRob Herring 133*724ba675SRob Herring panel: panel { 134*724ba675SRob Herring compatible = "auo,b133htn01"; 135*724ba675SRob Herring power-supply = <&tps65090_fet6>; 136*724ba675SRob Herring backlight = <&backlight>; 137*724ba675SRob Herring 138*724ba675SRob Herring port { 139*724ba675SRob Herring panel_in: endpoint { 140*724ba675SRob Herring remote-endpoint = <&dp_out>; 141*724ba675SRob Herring }; 142*724ba675SRob Herring }; 143*724ba675SRob Herring }; 144*724ba675SRob Herring 145*724ba675SRob Herring mmc1_pwrseq: mmc1-pwrseq { 146*724ba675SRob Herring compatible = "mmc-pwrseq-simple"; 147*724ba675SRob Herring reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */ 148*724ba675SRob Herring clocks = <&max77802 MAX77802_CLK_32K_CP>; 149*724ba675SRob Herring clock-names = "ext_clock"; 150*724ba675SRob Herring }; 151*724ba675SRob Herring}; 152*724ba675SRob Herring 153*724ba675SRob Herring&adc { 154*724ba675SRob Herring status = "okay"; 155*724ba675SRob Herring vdd-supply = <&ldo9_reg>; 156*724ba675SRob Herring}; 157*724ba675SRob Herring 158*724ba675SRob Herring&clock_audss { 159*724ba675SRob Herring assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>; 160*724ba675SRob Herring assigned-clock-parents = <&clock CLK_MAU_EPLL>; 161*724ba675SRob Herring}; 162*724ba675SRob Herring 163*724ba675SRob Herring/* 164*724ba675SRob Herring * Peach Pi board uses SoC revision with lower maximum frequency for A7 cores 165*724ba675SRob Herring * (1.3 GHz instead of 1.4 GHz) than Odroid XU3/XU4 boards. Thus we need to 166*724ba675SRob Herring * update A7 OPPs table accordingly. 167*724ba675SRob Herring */ 168*724ba675SRob Herring&cluster_a7_opp_table { 169*724ba675SRob Herring /delete-node/opp-1400000000; 170*724ba675SRob Herring}; 171*724ba675SRob Herring 172*724ba675SRob Herring&cpu0 { 173*724ba675SRob Herring cpu-supply = <&buck2_reg>; 174*724ba675SRob Herring}; 175*724ba675SRob Herring 176*724ba675SRob Herring&cpu4 { 177*724ba675SRob Herring cpu-supply = <&buck6_reg>; 178*724ba675SRob Herring}; 179*724ba675SRob Herring 180*724ba675SRob Herring&dp { 181*724ba675SRob Herring status = "okay"; 182*724ba675SRob Herring pinctrl-names = "default"; 183*724ba675SRob Herring pinctrl-0 = <&dp_hpd_gpio>; 184*724ba675SRob Herring samsung,color-space = <0>; 185*724ba675SRob Herring samsung,color-depth = <1>; 186*724ba675SRob Herring samsung,link-rate = <0x0a>; 187*724ba675SRob Herring samsung,lane-count = <2>; 188*724ba675SRob Herring samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>; 189*724ba675SRob Herring 190*724ba675SRob Herring ports { 191*724ba675SRob Herring port { 192*724ba675SRob Herring dp_out: endpoint { 193*724ba675SRob Herring remote-endpoint = <&panel_in>; 194*724ba675SRob Herring }; 195*724ba675SRob Herring }; 196*724ba675SRob Herring }; 197*724ba675SRob Herring}; 198*724ba675SRob Herring 199*724ba675SRob Herring&fimd { 200*724ba675SRob Herring status = "okay"; 201*724ba675SRob Herring samsung,invert-vclk; 202*724ba675SRob Herring}; 203*724ba675SRob Herring 204*724ba675SRob Herring&hdmi { 205*724ba675SRob Herring status = "okay"; 206*724ba675SRob Herring hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; 207*724ba675SRob Herring pinctrl-names = "default"; 208*724ba675SRob Herring pinctrl-0 = <&hdmi_hpd_irq>; 209*724ba675SRob Herring ddc = <&i2c_2>; 210*724ba675SRob Herring 211*724ba675SRob Herring hdmi-en-supply = <&tps65090_fet7>; 212*724ba675SRob Herring vdd-supply = <&ldo8_reg>; 213*724ba675SRob Herring vdd_osc-supply = <&ldo10_reg>; 214*724ba675SRob Herring vdd_pll-supply = <&ldo8_reg>; 215*724ba675SRob Herring}; 216*724ba675SRob Herring 217*724ba675SRob Herring&hsi2c_4 { 218*724ba675SRob Herring status = "okay"; 219*724ba675SRob Herring clock-frequency = <400000>; 220*724ba675SRob Herring 221*724ba675SRob Herring max77802: pmic@9 { 222*724ba675SRob Herring compatible = "maxim,max77802"; 223*724ba675SRob Herring interrupt-parent = <&gpx3>; 224*724ba675SRob Herring interrupts = <1 IRQ_TYPE_NONE>; 225*724ba675SRob Herring pinctrl-names = "default"; 226*724ba675SRob Herring pinctrl-0 = <&max77802_irq>, <&pmic_selb>, 227*724ba675SRob Herring <&pmic_dvs_1>, <&pmic_dvs_2>; 228*724ba675SRob Herring wakeup-source; 229*724ba675SRob Herring reg = <0x9>; 230*724ba675SRob Herring #clock-cells = <1>; 231*724ba675SRob Herring 232*724ba675SRob Herring inb1-supply = <&tps65090_dcdc2>; 233*724ba675SRob Herring inb2-supply = <&tps65090_dcdc1>; 234*724ba675SRob Herring inb3-supply = <&tps65090_dcdc2>; 235*724ba675SRob Herring inb4-supply = <&tps65090_dcdc2>; 236*724ba675SRob Herring inb5-supply = <&tps65090_dcdc1>; 237*724ba675SRob Herring inb6-supply = <&tps65090_dcdc2>; 238*724ba675SRob Herring inb7-supply = <&tps65090_dcdc1>; 239*724ba675SRob Herring inb8-supply = <&tps65090_dcdc1>; 240*724ba675SRob Herring inb9-supply = <&tps65090_dcdc1>; 241*724ba675SRob Herring inb10-supply = <&tps65090_dcdc1>; 242*724ba675SRob Herring 243*724ba675SRob Herring inl1-supply = <&buck5_reg>; 244*724ba675SRob Herring inl2-supply = <&buck7_reg>; 245*724ba675SRob Herring inl3-supply = <&buck9_reg>; 246*724ba675SRob Herring inl4-supply = <&buck9_reg>; 247*724ba675SRob Herring inl5-supply = <&buck9_reg>; 248*724ba675SRob Herring inl6-supply = <&tps65090_dcdc2>; 249*724ba675SRob Herring inl7-supply = <&buck9_reg>; 250*724ba675SRob Herring inl9-supply = <&tps65090_dcdc2>; 251*724ba675SRob Herring inl10-supply = <&buck7_reg>; 252*724ba675SRob Herring 253*724ba675SRob Herring regulators { 254*724ba675SRob Herring buck1_reg: BUCK1 { 255*724ba675SRob Herring regulator-name = "vdd_mif"; 256*724ba675SRob Herring regulator-min-microvolt = <800000>; 257*724ba675SRob Herring regulator-max-microvolt = <1300000>; 258*724ba675SRob Herring regulator-always-on; 259*724ba675SRob Herring regulator-boot-on; 260*724ba675SRob Herring regulator-ramp-delay = <12500>; 261*724ba675SRob Herring regulator-state-mem { 262*724ba675SRob Herring regulator-off-in-suspend; 263*724ba675SRob Herring }; 264*724ba675SRob Herring }; 265*724ba675SRob Herring 266*724ba675SRob Herring buck2_reg: BUCK2 { 267*724ba675SRob Herring regulator-name = "vdd_arm"; 268*724ba675SRob Herring regulator-min-microvolt = <800000>; 269*724ba675SRob Herring regulator-max-microvolt = <1500000>; 270*724ba675SRob Herring regulator-always-on; 271*724ba675SRob Herring regulator-boot-on; 272*724ba675SRob Herring regulator-ramp-delay = <12500>; 273*724ba675SRob Herring regulator-coupled-with = <&buck3_reg>; 274*724ba675SRob Herring regulator-coupled-max-spread = <300000>; 275*724ba675SRob Herring regulator-state-mem { 276*724ba675SRob Herring regulator-off-in-suspend; 277*724ba675SRob Herring }; 278*724ba675SRob Herring }; 279*724ba675SRob Herring 280*724ba675SRob Herring buck3_reg: BUCK3 { 281*724ba675SRob Herring regulator-name = "vdd_int"; 282*724ba675SRob Herring regulator-min-microvolt = <800000>; 283*724ba675SRob Herring regulator-max-microvolt = <1400000>; 284*724ba675SRob Herring regulator-always-on; 285*724ba675SRob Herring regulator-boot-on; 286*724ba675SRob Herring regulator-ramp-delay = <12500>; 287*724ba675SRob Herring regulator-coupled-with = <&buck2_reg>; 288*724ba675SRob Herring regulator-coupled-max-spread = <300000>; 289*724ba675SRob Herring regulator-state-mem { 290*724ba675SRob Herring regulator-off-in-suspend; 291*724ba675SRob Herring }; 292*724ba675SRob Herring }; 293*724ba675SRob Herring 294*724ba675SRob Herring buck4_reg: BUCK4 { 295*724ba675SRob Herring regulator-name = "vdd_g3d"; 296*724ba675SRob Herring regulator-min-microvolt = <700000>; 297*724ba675SRob Herring regulator-max-microvolt = <1400000>; 298*724ba675SRob Herring regulator-always-on; 299*724ba675SRob Herring regulator-boot-on; 300*724ba675SRob Herring regulator-ramp-delay = <12500>; 301*724ba675SRob Herring regulator-state-mem { 302*724ba675SRob Herring regulator-off-in-suspend; 303*724ba675SRob Herring }; 304*724ba675SRob Herring }; 305*724ba675SRob Herring 306*724ba675SRob Herring buck5_reg: BUCK5 { 307*724ba675SRob Herring regulator-name = "vdd_1v2"; 308*724ba675SRob Herring regulator-min-microvolt = <1200000>; 309*724ba675SRob Herring regulator-max-microvolt = <1200000>; 310*724ba675SRob Herring regulator-boot-on; 311*724ba675SRob Herring regulator-state-mem { 312*724ba675SRob Herring regulator-off-in-suspend; 313*724ba675SRob Herring }; 314*724ba675SRob Herring }; 315*724ba675SRob Herring 316*724ba675SRob Herring buck6_reg: BUCK6 { 317*724ba675SRob Herring regulator-name = "vdd_kfc"; 318*724ba675SRob Herring regulator-min-microvolt = <800000>; 319*724ba675SRob Herring regulator-max-microvolt = <1500000>; 320*724ba675SRob Herring regulator-always-on; 321*724ba675SRob Herring regulator-boot-on; 322*724ba675SRob Herring regulator-ramp-delay = <12500>; 323*724ba675SRob Herring regulator-state-mem { 324*724ba675SRob Herring regulator-off-in-suspend; 325*724ba675SRob Herring }; 326*724ba675SRob Herring }; 327*724ba675SRob Herring 328*724ba675SRob Herring buck7_reg: BUCK7 { 329*724ba675SRob Herring regulator-name = "vdd_1v35"; 330*724ba675SRob Herring regulator-min-microvolt = <1350000>; 331*724ba675SRob Herring regulator-max-microvolt = <1350000>; 332*724ba675SRob Herring regulator-always-on; 333*724ba675SRob Herring regulator-boot-on; 334*724ba675SRob Herring regulator-state-mem { 335*724ba675SRob Herring regulator-on-in-suspend; 336*724ba675SRob Herring }; 337*724ba675SRob Herring }; 338*724ba675SRob Herring 339*724ba675SRob Herring buck8_reg: BUCK8 { 340*724ba675SRob Herring regulator-name = "vdd_emmc"; 341*724ba675SRob Herring regulator-min-microvolt = <2850000>; 342*724ba675SRob Herring regulator-max-microvolt = <2850000>; 343*724ba675SRob Herring regulator-always-on; 344*724ba675SRob Herring regulator-boot-on; 345*724ba675SRob Herring regulator-state-mem { 346*724ba675SRob Herring regulator-off-in-suspend; 347*724ba675SRob Herring }; 348*724ba675SRob Herring }; 349*724ba675SRob Herring 350*724ba675SRob Herring buck9_reg: BUCK9 { 351*724ba675SRob Herring regulator-name = "vdd_2v"; 352*724ba675SRob Herring regulator-min-microvolt = <2000000>; 353*724ba675SRob Herring regulator-max-microvolt = <2000000>; 354*724ba675SRob Herring regulator-always-on; 355*724ba675SRob Herring regulator-boot-on; 356*724ba675SRob Herring regulator-state-mem { 357*724ba675SRob Herring regulator-on-in-suspend; 358*724ba675SRob Herring }; 359*724ba675SRob Herring }; 360*724ba675SRob Herring 361*724ba675SRob Herring buck10_reg: BUCK10 { 362*724ba675SRob Herring regulator-name = "vdd_1v8"; 363*724ba675SRob Herring regulator-min-microvolt = <1800000>; 364*724ba675SRob Herring regulator-max-microvolt = <1800000>; 365*724ba675SRob Herring regulator-always-on; 366*724ba675SRob Herring regulator-boot-on; 367*724ba675SRob Herring regulator-state-mem { 368*724ba675SRob Herring regulator-on-in-suspend; 369*724ba675SRob Herring }; 370*724ba675SRob Herring }; 371*724ba675SRob Herring 372*724ba675SRob Herring ldo1_reg: LDO1 { 373*724ba675SRob Herring regulator-name = "vdd_1v0"; 374*724ba675SRob Herring regulator-min-microvolt = <1000000>; 375*724ba675SRob Herring regulator-max-microvolt = <1000000>; 376*724ba675SRob Herring regulator-always-on; 377*724ba675SRob Herring regulator-state-mem { 378*724ba675SRob Herring regulator-on-in-suspend; 379*724ba675SRob Herring regulator-mode = <MAX77802_OPMODE_LP>; 380*724ba675SRob Herring }; 381*724ba675SRob Herring }; 382*724ba675SRob Herring 383*724ba675SRob Herring ldo2_reg: LDO2 { 384*724ba675SRob Herring regulator-name = "vdd_1v2_2"; 385*724ba675SRob Herring regulator-min-microvolt = <1200000>; 386*724ba675SRob Herring regulator-max-microvolt = <1200000>; 387*724ba675SRob Herring }; 388*724ba675SRob Herring 389*724ba675SRob Herring ldo3_reg: LDO3 { 390*724ba675SRob Herring regulator-name = "vdd_1v8_3"; 391*724ba675SRob Herring regulator-min-microvolt = <1800000>; 392*724ba675SRob Herring regulator-max-microvolt = <1800000>; 393*724ba675SRob Herring regulator-always-on; 394*724ba675SRob Herring regulator-state-mem { 395*724ba675SRob Herring regulator-on-in-suspend; 396*724ba675SRob Herring regulator-mode = <MAX77802_OPMODE_LP>; 397*724ba675SRob Herring }; 398*724ba675SRob Herring }; 399*724ba675SRob Herring 400*724ba675SRob Herring vqmmc_sdcard: ldo4_reg: LDO4 { 401*724ba675SRob Herring regulator-name = "vdd_sd"; 402*724ba675SRob Herring regulator-min-microvolt = <1800000>; 403*724ba675SRob Herring regulator-max-microvolt = <2800000>; 404*724ba675SRob Herring regulator-always-on; 405*724ba675SRob Herring regulator-state-mem { 406*724ba675SRob Herring regulator-off-in-suspend; 407*724ba675SRob Herring }; 408*724ba675SRob Herring }; 409*724ba675SRob Herring 410*724ba675SRob Herring ldo5_reg: LDO5 { 411*724ba675SRob Herring regulator-name = "vdd_1v8_5"; 412*724ba675SRob Herring regulator-min-microvolt = <1800000>; 413*724ba675SRob Herring regulator-max-microvolt = <1800000>; 414*724ba675SRob Herring regulator-always-on; 415*724ba675SRob Herring regulator-state-mem { 416*724ba675SRob Herring regulator-off-in-suspend; 417*724ba675SRob Herring }; 418*724ba675SRob Herring }; 419*724ba675SRob Herring 420*724ba675SRob Herring ldo6_reg: LDO6 { 421*724ba675SRob Herring regulator-name = "vdd_1v8_6"; 422*724ba675SRob Herring regulator-min-microvolt = <1800000>; 423*724ba675SRob Herring regulator-max-microvolt = <1800000>; 424*724ba675SRob Herring regulator-always-on; 425*724ba675SRob Herring regulator-state-mem { 426*724ba675SRob Herring regulator-off-in-suspend; 427*724ba675SRob Herring }; 428*724ba675SRob Herring }; 429*724ba675SRob Herring 430*724ba675SRob Herring ldo7_reg: LDO7 { 431*724ba675SRob Herring regulator-name = "vdd_1v8_7"; 432*724ba675SRob Herring regulator-min-microvolt = <1800000>; 433*724ba675SRob Herring regulator-max-microvolt = <1800000>; 434*724ba675SRob Herring }; 435*724ba675SRob Herring 436*724ba675SRob Herring ldo8_reg: LDO8 { 437*724ba675SRob Herring regulator-name = "vdd_ldo8"; 438*724ba675SRob Herring regulator-min-microvolt = <1000000>; 439*724ba675SRob Herring regulator-max-microvolt = <1000000>; 440*724ba675SRob Herring regulator-always-on; 441*724ba675SRob Herring regulator-state-mem { 442*724ba675SRob Herring regulator-off-in-suspend; 443*724ba675SRob Herring }; 444*724ba675SRob Herring }; 445*724ba675SRob Herring 446*724ba675SRob Herring ldo9_reg: LDO9 { 447*724ba675SRob Herring regulator-name = "vdd_ldo9"; 448*724ba675SRob Herring regulator-min-microvolt = <1800000>; 449*724ba675SRob Herring regulator-max-microvolt = <1800000>; 450*724ba675SRob Herring regulator-state-mem { 451*724ba675SRob Herring regulator-on-in-suspend; 452*724ba675SRob Herring regulator-mode = <MAX77802_OPMODE_LP>; 453*724ba675SRob Herring }; 454*724ba675SRob Herring }; 455*724ba675SRob Herring 456*724ba675SRob Herring ldo10_reg: LDO10 { 457*724ba675SRob Herring regulator-name = "vdd_ldo10"; 458*724ba675SRob Herring regulator-min-microvolt = <1800000>; 459*724ba675SRob Herring regulator-max-microvolt = <1800000>; 460*724ba675SRob Herring regulator-always-on; 461*724ba675SRob Herring regulator-state-mem { 462*724ba675SRob Herring regulator-off-in-suspend; 463*724ba675SRob Herring }; 464*724ba675SRob Herring }; 465*724ba675SRob Herring 466*724ba675SRob Herring ldo11_reg: LDO11 { 467*724ba675SRob Herring regulator-name = "vdd_ldo11"; 468*724ba675SRob Herring regulator-min-microvolt = <1800000>; 469*724ba675SRob Herring regulator-max-microvolt = <1800000>; 470*724ba675SRob Herring regulator-always-on; 471*724ba675SRob Herring regulator-state-mem { 472*724ba675SRob Herring regulator-on-in-suspend; 473*724ba675SRob Herring regulator-mode = <MAX77802_OPMODE_LP>; 474*724ba675SRob Herring }; 475*724ba675SRob Herring }; 476*724ba675SRob Herring 477*724ba675SRob Herring ldo12_reg: LDO12 { 478*724ba675SRob Herring regulator-name = "vdd_ldo12"; 479*724ba675SRob Herring regulator-min-microvolt = <3000000>; 480*724ba675SRob Herring regulator-max-microvolt = <3000000>; 481*724ba675SRob Herring regulator-always-on; 482*724ba675SRob Herring regulator-state-mem { 483*724ba675SRob Herring regulator-off-in-suspend; 484*724ba675SRob Herring }; 485*724ba675SRob Herring }; 486*724ba675SRob Herring 487*724ba675SRob Herring ldo13_reg: LDO13 { 488*724ba675SRob Herring regulator-name = "vdd_ldo13"; 489*724ba675SRob Herring regulator-min-microvolt = <1800000>; 490*724ba675SRob Herring regulator-max-microvolt = <1800000>; 491*724ba675SRob Herring regulator-always-on; 492*724ba675SRob Herring regulator-state-mem { 493*724ba675SRob Herring regulator-on-in-suspend; 494*724ba675SRob Herring regulator-mode = <MAX77802_OPMODE_LP>; 495*724ba675SRob Herring }; 496*724ba675SRob Herring }; 497*724ba675SRob Herring 498*724ba675SRob Herring ldo14_reg: LDO14 { 499*724ba675SRob Herring regulator-name = "vdd_ldo14"; 500*724ba675SRob Herring regulator-min-microvolt = <1800000>; 501*724ba675SRob Herring regulator-max-microvolt = <1800000>; 502*724ba675SRob Herring regulator-always-on; 503*724ba675SRob Herring regulator-state-mem { 504*724ba675SRob Herring regulator-off-in-suspend; 505*724ba675SRob Herring }; 506*724ba675SRob Herring }; 507*724ba675SRob Herring 508*724ba675SRob Herring ldo15_reg: LDO15 { 509*724ba675SRob Herring regulator-name = "vdd_ldo15"; 510*724ba675SRob Herring regulator-min-microvolt = <1000000>; 511*724ba675SRob Herring regulator-max-microvolt = <1000000>; 512*724ba675SRob Herring regulator-always-on; 513*724ba675SRob Herring regulator-state-mem { 514*724ba675SRob Herring regulator-off-in-suspend; 515*724ba675SRob Herring }; 516*724ba675SRob Herring }; 517*724ba675SRob Herring 518*724ba675SRob Herring ldo17_reg: LDO17 { 519*724ba675SRob Herring regulator-name = "vdd_g3ds"; 520*724ba675SRob Herring regulator-min-microvolt = <900000>; 521*724ba675SRob Herring regulator-max-microvolt = <1400000>; 522*724ba675SRob Herring regulator-always-on; 523*724ba675SRob Herring regulator-state-mem { 524*724ba675SRob Herring regulator-off-in-suspend; 525*724ba675SRob Herring }; 526*724ba675SRob Herring }; 527*724ba675SRob Herring 528*724ba675SRob Herring ldo18_reg: LDO18 { 529*724ba675SRob Herring regulator-name = "ldo_18"; 530*724ba675SRob Herring regulator-min-microvolt = <1800000>; 531*724ba675SRob Herring regulator-max-microvolt = <1800000>; 532*724ba675SRob Herring }; 533*724ba675SRob Herring 534*724ba675SRob Herring ldo19_reg: LDO19 { 535*724ba675SRob Herring regulator-name = "ldo_19"; 536*724ba675SRob Herring regulator-min-microvolt = <1800000>; 537*724ba675SRob Herring regulator-max-microvolt = <1800000>; 538*724ba675SRob Herring }; 539*724ba675SRob Herring 540*724ba675SRob Herring ldo20_reg: LDO20 { 541*724ba675SRob Herring regulator-name = "ldo_20"; 542*724ba675SRob Herring regulator-min-microvolt = <1800000>; 543*724ba675SRob Herring regulator-max-microvolt = <1800000>; 544*724ba675SRob Herring regulator-always-on; 545*724ba675SRob Herring }; 546*724ba675SRob Herring 547*724ba675SRob Herring ldo21_reg: LDO21 { 548*724ba675SRob Herring regulator-name = "ldo_21"; 549*724ba675SRob Herring regulator-min-microvolt = <2800000>; 550*724ba675SRob Herring regulator-max-microvolt = <2800000>; 551*724ba675SRob Herring }; 552*724ba675SRob Herring 553*724ba675SRob Herring ldo23_reg: LDO23 { 554*724ba675SRob Herring regulator-name = "ldo_23"; 555*724ba675SRob Herring regulator-min-microvolt = <3300000>; 556*724ba675SRob Herring regulator-max-microvolt = <3300000>; 557*724ba675SRob Herring }; 558*724ba675SRob Herring ldo24_reg: LDO24 { 559*724ba675SRob Herring regulator-name = "ldo_24"; 560*724ba675SRob Herring regulator-min-microvolt = <2800000>; 561*724ba675SRob Herring regulator-max-microvolt = <2800000>; 562*724ba675SRob Herring }; 563*724ba675SRob Herring 564*724ba675SRob Herring ldo25_reg: LDO25 { 565*724ba675SRob Herring regulator-name = "ldo_25"; 566*724ba675SRob Herring regulator-min-microvolt = <3300000>; 567*724ba675SRob Herring regulator-max-microvolt = <3300000>; 568*724ba675SRob Herring }; 569*724ba675SRob Herring 570*724ba675SRob Herring ldo26_reg: LDO26 { 571*724ba675SRob Herring regulator-name = "ldo_26"; 572*724ba675SRob Herring regulator-min-microvolt = <1200000>; 573*724ba675SRob Herring regulator-max-microvolt = <1200000>; 574*724ba675SRob Herring }; 575*724ba675SRob Herring 576*724ba675SRob Herring ldo27_reg: LDO27 { 577*724ba675SRob Herring regulator-name = "ldo_27"; 578*724ba675SRob Herring regulator-min-microvolt = <1200000>; 579*724ba675SRob Herring regulator-max-microvolt = <1200000>; 580*724ba675SRob Herring }; 581*724ba675SRob Herring 582*724ba675SRob Herring ldo28_reg: LDO28 { 583*724ba675SRob Herring regulator-name = "ldo_28"; 584*724ba675SRob Herring regulator-min-microvolt = <1800000>; 585*724ba675SRob Herring regulator-max-microvolt = <1800000>; 586*724ba675SRob Herring }; 587*724ba675SRob Herring 588*724ba675SRob Herring ldo29_reg: LDO29 { 589*724ba675SRob Herring regulator-name = "ldo_29"; 590*724ba675SRob Herring regulator-min-microvolt = <1800000>; 591*724ba675SRob Herring regulator-max-microvolt = <1800000>; 592*724ba675SRob Herring }; 593*724ba675SRob Herring 594*724ba675SRob Herring ldo30_reg: LDO30 { 595*724ba675SRob Herring regulator-name = "vdd_mifs"; 596*724ba675SRob Herring regulator-min-microvolt = <1000000>; 597*724ba675SRob Herring regulator-max-microvolt = <1000000>; 598*724ba675SRob Herring regulator-always-on; 599*724ba675SRob Herring regulator-state-mem { 600*724ba675SRob Herring regulator-off-in-suspend; 601*724ba675SRob Herring }; 602*724ba675SRob Herring }; 603*724ba675SRob Herring 604*724ba675SRob Herring ldo32_reg: LDO32 { 605*724ba675SRob Herring regulator-name = "ldo_32"; 606*724ba675SRob Herring regulator-min-microvolt = <3000000>; 607*724ba675SRob Herring regulator-max-microvolt = <3000000>; 608*724ba675SRob Herring }; 609*724ba675SRob Herring 610*724ba675SRob Herring ldo33_reg: LDO33 { 611*724ba675SRob Herring regulator-name = "ldo_33"; 612*724ba675SRob Herring regulator-min-microvolt = <2800000>; 613*724ba675SRob Herring regulator-max-microvolt = <2800000>; 614*724ba675SRob Herring }; 615*724ba675SRob Herring 616*724ba675SRob Herring ldo34_reg: LDO34 { 617*724ba675SRob Herring regulator-name = "ldo_34"; 618*724ba675SRob Herring regulator-min-microvolt = <3000000>; 619*724ba675SRob Herring regulator-max-microvolt = <3000000>; 620*724ba675SRob Herring }; 621*724ba675SRob Herring 622*724ba675SRob Herring ldo35_reg: LDO35 { 623*724ba675SRob Herring regulator-name = "ldo_35"; 624*724ba675SRob Herring regulator-min-microvolt = <1200000>; 625*724ba675SRob Herring regulator-max-microvolt = <1200000>; 626*724ba675SRob Herring }; 627*724ba675SRob Herring }; 628*724ba675SRob Herring }; 629*724ba675SRob Herring}; 630*724ba675SRob Herring 631*724ba675SRob Herring&hsi2c_7 { 632*724ba675SRob Herring status = "okay"; 633*724ba675SRob Herring clock-frequency = <400000>; 634*724ba675SRob Herring 635*724ba675SRob Herring max98091: codec@10 { 636*724ba675SRob Herring compatible = "maxim,max98091"; 637*724ba675SRob Herring reg = <0x10>; 638*724ba675SRob Herring interrupts = <2 IRQ_TYPE_NONE>; 639*724ba675SRob Herring interrupt-parent = <&gpx0>; 640*724ba675SRob Herring pinctrl-names = "default"; 641*724ba675SRob Herring pinctrl-0 = <&max98091_irq>; 642*724ba675SRob Herring clocks = <&pmu_system_controller 0>; 643*724ba675SRob Herring clock-names = "mclk"; 644*724ba675SRob Herring #sound-dai-cells = <0>; 645*724ba675SRob Herring }; 646*724ba675SRob Herring 647*724ba675SRob Herring light-sensor@44 { 648*724ba675SRob Herring compatible = "isil,isl29018"; 649*724ba675SRob Herring reg = <0x44>; 650*724ba675SRob Herring vcc-supply = <&tps65090_fet5>; 651*724ba675SRob Herring }; 652*724ba675SRob Herring}; 653*724ba675SRob Herring 654*724ba675SRob Herring&hsi2c_8 { 655*724ba675SRob Herring status = "okay"; 656*724ba675SRob Herring clock-frequency = <333000>; 657*724ba675SRob Herring /* Atmel mXT540S */ 658*724ba675SRob Herring trackpad@4b { 659*724ba675SRob Herring compatible = "atmel,maxtouch"; 660*724ba675SRob Herring reg = <0x4b>; 661*724ba675SRob Herring interrupt-parent = <&gpx1>; 662*724ba675SRob Herring interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 663*724ba675SRob Herring wakeup-source; 664*724ba675SRob Herring pinctrl-names = "default"; 665*724ba675SRob Herring pinctrl-0 = <&trackpad_irq>; 666*724ba675SRob Herring linux,gpio-keymap = <KEY_RESERVED 667*724ba675SRob Herring KEY_RESERVED 668*724ba675SRob Herring KEY_RESERVED /* GPIO 0 */ 669*724ba675SRob Herring KEY_RESERVED /* GPIO 1 */ 670*724ba675SRob Herring BTN_LEFT /* GPIO 2 */ 671*724ba675SRob Herring KEY_RESERVED>; /* GPIO 3 */ 672*724ba675SRob Herring }; 673*724ba675SRob Herring}; 674*724ba675SRob Herring 675*724ba675SRob Herring&hsi2c_9 { 676*724ba675SRob Herring status = "okay"; 677*724ba675SRob Herring clock-frequency = <400000>; 678*724ba675SRob Herring 679*724ba675SRob Herring tpm@20 { 680*724ba675SRob Herring compatible = "infineon,slb9645tt"; 681*724ba675SRob Herring reg = <0x20>; 682*724ba675SRob Herring 683*724ba675SRob Herring /* Unused irq; but still need to configure the pins */ 684*724ba675SRob Herring pinctrl-names = "default"; 685*724ba675SRob Herring pinctrl-0 = <&tpm_irq>; 686*724ba675SRob Herring }; 687*724ba675SRob Herring}; 688*724ba675SRob Herring 689*724ba675SRob Herring&i2c_2 { 690*724ba675SRob Herring status = "okay"; 691*724ba675SRob Herring samsung,i2c-sda-delay = <100>; 692*724ba675SRob Herring samsung,i2c-max-bus-freq = <66000>; 693*724ba675SRob Herring samsung,i2c-slave-addr = <0x50>; 694*724ba675SRob Herring}; 695*724ba675SRob Herring 696*724ba675SRob Herring&i2s0 { 697*724ba675SRob Herring assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>; 698*724ba675SRob Herring assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>; 699*724ba675SRob Herring status = "okay"; 700*724ba675SRob Herring}; 701*724ba675SRob Herring 702*724ba675SRob Herring&mixer { 703*724ba675SRob Herring status = "okay"; 704*724ba675SRob Herring}; 705*724ba675SRob Herring 706*724ba675SRob Herring/* eMMC flash */ 707*724ba675SRob Herring&mmc_0 { 708*724ba675SRob Herring status = "okay"; 709*724ba675SRob Herring mmc-ddr-1_8v; 710*724ba675SRob Herring mmc-hs200-1_8v; 711*724ba675SRob Herring mmc-hs400-1_8v; 712*724ba675SRob Herring cap-mmc-highspeed; 713*724ba675SRob Herring non-removable; 714*724ba675SRob Herring clock-frequency = <800000000>; 715*724ba675SRob Herring samsung,dw-mshc-ciu-div = <3>; 716*724ba675SRob Herring samsung,dw-mshc-sdr-timing = <0 4>; 717*724ba675SRob Herring samsung,dw-mshc-ddr-timing = <0 2>; 718*724ba675SRob Herring samsung,dw-mshc-hs400-timing = <0 2>; 719*724ba675SRob Herring samsung,read-strobe-delay = <90>; 720*724ba675SRob Herring pinctrl-names = "default"; 721*724ba675SRob Herring pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>; 722*724ba675SRob Herring bus-width = <8>; 723*724ba675SRob Herring}; 724*724ba675SRob Herring 725*724ba675SRob Herring/* WiFi SDIO module */ 726*724ba675SRob Herring&mmc_1 { 727*724ba675SRob Herring status = "okay"; 728*724ba675SRob Herring non-removable; 729*724ba675SRob Herring cap-sdio-irq; 730*724ba675SRob Herring keep-power-in-suspend; 731*724ba675SRob Herring clock-frequency = <400000000>; 732*724ba675SRob Herring samsung,dw-mshc-ciu-div = <1>; 733*724ba675SRob Herring samsung,dw-mshc-sdr-timing = <0 1>; 734*724ba675SRob Herring samsung,dw-mshc-ddr-timing = <0 2>; 735*724ba675SRob Herring pinctrl-names = "default"; 736*724ba675SRob Herring pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>, 737*724ba675SRob Herring <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>; 738*724ba675SRob Herring bus-width = <4>; 739*724ba675SRob Herring cap-sd-highspeed; 740*724ba675SRob Herring mmc-pwrseq = <&mmc1_pwrseq>; 741*724ba675SRob Herring vqmmc-supply = <&buck10_reg>; 742*724ba675SRob Herring}; 743*724ba675SRob Herring 744*724ba675SRob Herring/* uSD card */ 745*724ba675SRob Herring&mmc_2 { 746*724ba675SRob Herring status = "okay"; 747*724ba675SRob Herring cap-sd-highspeed; 748*724ba675SRob Herring card-detect-delay = <200>; 749*724ba675SRob Herring clock-frequency = <400000000>; 750*724ba675SRob Herring samsung,dw-mshc-ciu-div = <3>; 751*724ba675SRob Herring samsung,dw-mshc-sdr-timing = <2 3>; 752*724ba675SRob Herring samsung,dw-mshc-ddr-timing = <1 2>; 753*724ba675SRob Herring pinctrl-names = "default"; 754*724ba675SRob Herring pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; 755*724ba675SRob Herring bus-width = <4>; 756*724ba675SRob Herring}; 757*724ba675SRob Herring 758*724ba675SRob Herring 759*724ba675SRob Herring&pinctrl_0 { 760*724ba675SRob Herring pinctrl-names = "default"; 761*724ba675SRob Herring pinctrl-0 = <&mask_tpm_reset>; 762*724ba675SRob Herring 763*724ba675SRob Herring wifi_en: wifi-en-pins { 764*724ba675SRob Herring samsung,pins = "gpx0-0"; 765*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 766*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 767*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 768*724ba675SRob Herring }; 769*724ba675SRob Herring 770*724ba675SRob Herring max98091_irq: max98091-irq-pins { 771*724ba675SRob Herring samsung,pins = "gpx0-2"; 772*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 773*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 774*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 775*724ba675SRob Herring }; 776*724ba675SRob Herring 777*724ba675SRob Herring /* We need GPX0_6 to be low at sleep time; just keep it low always */ 778*724ba675SRob Herring mask_tpm_reset: mask-tpm-reset-pins { 779*724ba675SRob Herring samsung,pins = "gpx0-6"; 780*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 781*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 782*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 783*724ba675SRob Herring samsung,pin-val = <0>; 784*724ba675SRob Herring }; 785*724ba675SRob Herring 786*724ba675SRob Herring tpm_irq: tpm-irq-pins { 787*724ba675SRob Herring samsung,pins = "gpx1-0"; 788*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 789*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 790*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 791*724ba675SRob Herring }; 792*724ba675SRob Herring 793*724ba675SRob Herring trackpad_irq: trackpad-irq-pins { 794*724ba675SRob Herring samsung,pins = "gpx1-1"; 795*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_F>; 796*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 797*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 798*724ba675SRob Herring }; 799*724ba675SRob Herring 800*724ba675SRob Herring power_key_irq: power-key-irq-pins { 801*724ba675SRob Herring samsung,pins = "gpx1-2"; 802*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 803*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 804*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 805*724ba675SRob Herring }; 806*724ba675SRob Herring 807*724ba675SRob Herring ec_irq: ec-irq-pins { 808*724ba675SRob Herring samsung,pins = "gpx1-5"; 809*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 810*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 811*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 812*724ba675SRob Herring }; 813*724ba675SRob Herring 814*724ba675SRob Herring tps65090_irq: tps65090-irq-pins { 815*724ba675SRob Herring samsung,pins = "gpx2-5"; 816*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 817*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 818*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 819*724ba675SRob Herring }; 820*724ba675SRob Herring 821*724ba675SRob Herring dp_hpd_gpio: dp-hpd-gpio-pins { 822*724ba675SRob Herring samsung,pins = "gpx2-6"; 823*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 824*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 825*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 826*724ba675SRob Herring }; 827*724ba675SRob Herring 828*724ba675SRob Herring max77802_irq: max77802-irq-pins { 829*724ba675SRob Herring samsung,pins = "gpx3-1"; 830*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 831*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 832*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 833*724ba675SRob Herring }; 834*724ba675SRob Herring 835*724ba675SRob Herring lid_irq: lid-irq-pins { 836*724ba675SRob Herring samsung,pins = "gpx3-4"; 837*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_F>; 838*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 839*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 840*724ba675SRob Herring }; 841*724ba675SRob Herring 842*724ba675SRob Herring hdmi_hpd_irq: hdmi-hpd-irq-pins { 843*724ba675SRob Herring samsung,pins = "gpx3-7"; 844*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 845*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 846*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 847*724ba675SRob Herring }; 848*724ba675SRob Herring 849*724ba675SRob Herring pmic_dvs_1: pmic-dvs-1-pins { 850*724ba675SRob Herring samsung,pins = "gpy7-6"; 851*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 852*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 853*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 854*724ba675SRob Herring }; 855*724ba675SRob Herring}; 856*724ba675SRob Herring 857*724ba675SRob Herring/* pinctrl_1 */ 858*724ba675SRob Herring/* Adjust WiFi drive strengths lower for EMI */ 859*724ba675SRob Herring&sd1_bus1 { 860*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 861*724ba675SRob Herring}; 862*724ba675SRob Herring 863*724ba675SRob Herring&sd1_bus4 { 864*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 865*724ba675SRob Herring}; 866*724ba675SRob Herring 867*724ba675SRob Herring&sd1_bus8 { 868*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 869*724ba675SRob Herring}; 870*724ba675SRob Herring 871*724ba675SRob Herring&sd1_clk { 872*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 873*724ba675SRob Herring}; 874*724ba675SRob Herring 875*724ba675SRob Herring&sd1_cmd { 876*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 877*724ba675SRob Herring}; 878*724ba675SRob Herring 879*724ba675SRob Herring&pinctrl_2 { 880*724ba675SRob Herring pmic_dvs_2: pmic-dvs-2-pins { 881*724ba675SRob Herring samsung,pins = "gpj4-2", "gpj4-3"; 882*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 883*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 884*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 885*724ba675SRob Herring }; 886*724ba675SRob Herring}; 887*724ba675SRob Herring 888*724ba675SRob Herring/* pinctrl_3*/ 889*724ba675SRob Herring/* Drive SPI lines at x2 for better integrity */ 890*724ba675SRob Herring&spi2_bus { 891*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 892*724ba675SRob Herring}; 893*724ba675SRob Herring 894*724ba675SRob Herring&pinctrl_3 { 895*724ba675SRob Herring /* Drive SPI chip select at x2 for better integrity */ 896*724ba675SRob Herring ec_spi_cs: ec-spi-cs-pins { 897*724ba675SRob Herring samsung,pins = "gpb1-2"; 898*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 899*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 900*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; 901*724ba675SRob Herring }; 902*724ba675SRob Herring 903*724ba675SRob Herring usb300_vbus_en: usb300-vbus-en-pins { 904*724ba675SRob Herring samsung,pins = "gph0-0"; 905*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 906*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 907*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 908*724ba675SRob Herring }; 909*724ba675SRob Herring 910*724ba675SRob Herring usb301_vbus_en: usb301-vbus-en-pins { 911*724ba675SRob Herring samsung,pins = "gph0-1"; 912*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 913*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 914*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 915*724ba675SRob Herring }; 916*724ba675SRob Herring 917*724ba675SRob Herring pmic_selb: pmic-selb-pins { 918*724ba675SRob Herring samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", 919*724ba675SRob Herring "gph0-6"; 920*724ba675SRob Herring samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 921*724ba675SRob Herring samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 922*724ba675SRob Herring samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 923*724ba675SRob Herring }; 924*724ba675SRob Herring}; 925*724ba675SRob Herring 926*724ba675SRob Herring&pmu_system_controller { 927*724ba675SRob Herring assigned-clocks = <&pmu_system_controller 0>; 928*724ba675SRob Herring assigned-clock-parents = <&clock CLK_FIN_PLL>; 929*724ba675SRob Herring}; 930*724ba675SRob Herring 931*724ba675SRob Herring&rtc { 932*724ba675SRob Herring status = "okay"; 933*724ba675SRob Herring clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; 934*724ba675SRob Herring clock-names = "rtc", "rtc_src"; 935*724ba675SRob Herring}; 936*724ba675SRob Herring 937*724ba675SRob Herring&spi_2 { 938*724ba675SRob Herring status = "okay"; 939*724ba675SRob Herring num-cs = <1>; 940*724ba675SRob Herring samsung,spi-src-clk = <0>; 941*724ba675SRob Herring cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>; 942*724ba675SRob Herring 943*724ba675SRob Herring cros_ec: cros-ec@0 { 944*724ba675SRob Herring compatible = "google,cros-ec-spi"; 945*724ba675SRob Herring interrupt-parent = <&gpx1>; 946*724ba675SRob Herring interrupts = <5 IRQ_TYPE_NONE>; 947*724ba675SRob Herring pinctrl-names = "default"; 948*724ba675SRob Herring pinctrl-0 = <&ec_spi_cs &ec_irq>; 949*724ba675SRob Herring reg = <0>; 950*724ba675SRob Herring spi-max-frequency = <3125000>; 951*724ba675SRob Herring google,has-vbc-nvram; 952*724ba675SRob Herring 953*724ba675SRob Herring controller-data { 954*724ba675SRob Herring samsung,spi-feedback-delay = <1>; 955*724ba675SRob Herring }; 956*724ba675SRob Herring 957*724ba675SRob Herring i2c_tunnel: i2c-tunnel { 958*724ba675SRob Herring compatible = "google,cros-ec-i2c-tunnel"; 959*724ba675SRob Herring #address-cells = <1>; 960*724ba675SRob Herring #size-cells = <0>; 961*724ba675SRob Herring google,remote-bus = <0>; 962*724ba675SRob Herring 963*724ba675SRob Herring battery: sbs-battery@b { 964*724ba675SRob Herring compatible = "sbs,sbs-battery"; 965*724ba675SRob Herring reg = <0xb>; 966*724ba675SRob Herring sbs,poll-retry-count = <1>; 967*724ba675SRob Herring sbs,i2c-retry-count = <2>; 968*724ba675SRob Herring }; 969*724ba675SRob Herring 970*724ba675SRob Herring power-regulator@48 { 971*724ba675SRob Herring compatible = "ti,tps65090"; 972*724ba675SRob Herring reg = <0x48>; 973*724ba675SRob Herring 974*724ba675SRob Herring /* 975*724ba675SRob Herring * Config irq to disable internal pulls 976*724ba675SRob Herring * even though we run in polling mode. 977*724ba675SRob Herring */ 978*724ba675SRob Herring pinctrl-names = "default"; 979*724ba675SRob Herring pinctrl-0 = <&tps65090_irq>; 980*724ba675SRob Herring 981*724ba675SRob Herring vsys1-supply = <&vbat>; 982*724ba675SRob Herring vsys2-supply = <&vbat>; 983*724ba675SRob Herring vsys3-supply = <&vbat>; 984*724ba675SRob Herring infet1-supply = <&vbat>; 985*724ba675SRob Herring infet2-supply = <&tps65090_dcdc1>; 986*724ba675SRob Herring infet3-supply = <&tps65090_dcdc2>; 987*724ba675SRob Herring infet4-supply = <&tps65090_dcdc2>; 988*724ba675SRob Herring infet5-supply = <&tps65090_dcdc2>; 989*724ba675SRob Herring infet6-supply = <&tps65090_dcdc2>; 990*724ba675SRob Herring infet7-supply = <&tps65090_dcdc1>; 991*724ba675SRob Herring vsys-l1-supply = <&vbat>; 992*724ba675SRob Herring vsys-l2-supply = <&vbat>; 993*724ba675SRob Herring 994*724ba675SRob Herring regulators { 995*724ba675SRob Herring tps65090_dcdc1: dcdc1 { 996*724ba675SRob Herring ti,enable-ext-control; 997*724ba675SRob Herring }; 998*724ba675SRob Herring tps65090_dcdc2: dcdc2 { 999*724ba675SRob Herring ti,enable-ext-control; 1000*724ba675SRob Herring }; 1001*724ba675SRob Herring tps65090_dcdc3: dcdc3 { 1002*724ba675SRob Herring ti,enable-ext-control; 1003*724ba675SRob Herring }; 1004*724ba675SRob Herring tps65090_fet1: fet1 { 1005*724ba675SRob Herring regulator-name = "vcd_led"; 1006*724ba675SRob Herring }; 1007*724ba675SRob Herring tps65090_fet2: fet2 { 1008*724ba675SRob Herring regulator-name = "video_mid"; 1009*724ba675SRob Herring regulator-always-on; 1010*724ba675SRob Herring }; 1011*724ba675SRob Herring tps65090_fet3: fet3 { 1012*724ba675SRob Herring regulator-name = "wwan_r"; 1013*724ba675SRob Herring regulator-always-on; 1014*724ba675SRob Herring }; 1015*724ba675SRob Herring tps65090_fet4: fet4 { 1016*724ba675SRob Herring regulator-name = "sdcard"; 1017*724ba675SRob Herring regulator-always-on; 1018*724ba675SRob Herring }; 1019*724ba675SRob Herring tps65090_fet5: fet5 { 1020*724ba675SRob Herring regulator-name = "camout"; 1021*724ba675SRob Herring regulator-always-on; 1022*724ba675SRob Herring }; 1023*724ba675SRob Herring tps65090_fet6: fet6 { 1024*724ba675SRob Herring regulator-name = "lcd_vdd"; 1025*724ba675SRob Herring }; 1026*724ba675SRob Herring tps65090_fet7: fet7 { 1027*724ba675SRob Herring regulator-name = "video_mid_1a"; 1028*724ba675SRob Herring regulator-always-on; 1029*724ba675SRob Herring }; 1030*724ba675SRob Herring tps65090_ldo1: ldo1 { 1031*724ba675SRob Herring }; 1032*724ba675SRob Herring tps65090_ldo2: ldo2 { 1033*724ba675SRob Herring }; 1034*724ba675SRob Herring }; 1035*724ba675SRob Herring 1036*724ba675SRob Herring charger { 1037*724ba675SRob Herring compatible = "ti,tps65090-charger"; 1038*724ba675SRob Herring }; 1039*724ba675SRob Herring }; 1040*724ba675SRob Herring }; 1041*724ba675SRob Herring }; 1042*724ba675SRob Herring}; 1043*724ba675SRob Herring 1044*724ba675SRob Herring&serial_3 { 1045*724ba675SRob Herring status = "okay"; 1046*724ba675SRob Herring}; 1047*724ba675SRob Herring 1048*724ba675SRob Herring&timer { 1049*724ba675SRob Herring arm,cpu-registers-not-fw-configured; 1050*724ba675SRob Herring}; 1051*724ba675SRob Herring 1052*724ba675SRob Herring&tmu_cpu0 { 1053*724ba675SRob Herring vtmu-supply = <&ldo10_reg>; 1054*724ba675SRob Herring}; 1055*724ba675SRob Herring 1056*724ba675SRob Herring&tmu_cpu1 { 1057*724ba675SRob Herring vtmu-supply = <&ldo10_reg>; 1058*724ba675SRob Herring}; 1059*724ba675SRob Herring 1060*724ba675SRob Herring&tmu_cpu2 { 1061*724ba675SRob Herring vtmu-supply = <&ldo10_reg>; 1062*724ba675SRob Herring}; 1063*724ba675SRob Herring 1064*724ba675SRob Herring&tmu_cpu3 { 1065*724ba675SRob Herring vtmu-supply = <&ldo10_reg>; 1066*724ba675SRob Herring}; 1067*724ba675SRob Herring 1068*724ba675SRob Herring&tmu_gpu { 1069*724ba675SRob Herring vtmu-supply = <&ldo10_reg>; 1070*724ba675SRob Herring}; 1071*724ba675SRob Herring 1072*724ba675SRob Herring&usbdrd3_0 { 1073*724ba675SRob Herring vdd10-supply = <&ldo15_reg>; 1074*724ba675SRob Herring vdd33-supply = <&ldo12_reg>; 1075*724ba675SRob Herring}; 1076*724ba675SRob Herring 1077*724ba675SRob Herring&usbdrd3_1 { 1078*724ba675SRob Herring vdd10-supply = <&ldo15_reg>; 1079*724ba675SRob Herring vdd33-supply = <&ldo12_reg>; 1080*724ba675SRob Herring}; 1081*724ba675SRob Herring 1082*724ba675SRob Herring&usbdrd_dwc3_0 { 1083*724ba675SRob Herring dr_mode = "host"; 1084*724ba675SRob Herring}; 1085*724ba675SRob Herring 1086*724ba675SRob Herring&usbdrd_dwc3_1 { 1087*724ba675SRob Herring dr_mode = "host"; 1088*724ba675SRob Herring}; 1089*724ba675SRob Herring 1090*724ba675SRob Herring&usbdrd_phy0 { 1091*724ba675SRob Herring vbus-supply = <&usb300_vbus_reg>; 1092*724ba675SRob Herring}; 1093*724ba675SRob Herring 1094*724ba675SRob Herring&usbdrd_phy1 { 1095*724ba675SRob Herring vbus-supply = <&usb301_vbus_reg>; 1096*724ba675SRob Herring}; 1097*724ba675SRob Herring 1098*724ba675SRob Herring/* 1099*724ba675SRob Herring * Use longest HW watchdog in SoC (32 seconds) since the hardware 1100*724ba675SRob Herring * watchdog provides no debugging information (compared to soft/hard 1101*724ba675SRob Herring * lockup detectors) and so should be last resort. 1102*724ba675SRob Herring */ 1103*724ba675SRob Herring&watchdog { 1104*724ba675SRob Herring timeout-sec = <32>; 1105*724ba675SRob Herring}; 1106*724ba675SRob Herring 1107*724ba675SRob Herring#include "../cros-ec-keyboard.dtsi" 1108*724ba675SRob Herring#include "../cros-adc-thermistors.dtsi" 1109