1*01950c46SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 2*01950c46SEmmanuel Vadot/* 3*01950c46SEmmanuel Vadot * Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com> 4*01950c46SEmmanuel Vadot */ 5*01950c46SEmmanuel Vadot 6*01950c46SEmmanuel Vadot#include <dt-bindings/input/input.h> 7*01950c46SEmmanuel Vadot#include "qcom-msm8226.dtsi" 8*01950c46SEmmanuel Vadot#include "pm8226.dtsi" 9*01950c46SEmmanuel Vadot 10*01950c46SEmmanuel Vadot/delete-node/ &adsp_region; 11*01950c46SEmmanuel Vadot/delete-node/ &smem_region; 12*01950c46SEmmanuel Vadot 13*01950c46SEmmanuel Vadot/ { 14*01950c46SEmmanuel Vadot aliases { 15*01950c46SEmmanuel Vadot mmc0 = &sdhc_1; /* SDC1 eMMC slot */ 16*01950c46SEmmanuel Vadot mmc1 = &sdhc_2; /* SDC2 SD card slot */ 17*01950c46SEmmanuel Vadot display0 = &framebuffer0; 18*01950c46SEmmanuel Vadot }; 19*01950c46SEmmanuel Vadot 20*01950c46SEmmanuel Vadot chosen { 21*01950c46SEmmanuel Vadot #address-cells = <1>; 22*01950c46SEmmanuel Vadot #size-cells = <1>; 23*01950c46SEmmanuel Vadot ranges; 24*01950c46SEmmanuel Vadot 25*01950c46SEmmanuel Vadot stdout-path = "display0"; 26*01950c46SEmmanuel Vadot 27*01950c46SEmmanuel Vadot framebuffer0: framebuffer@3200000 { 28*01950c46SEmmanuel Vadot compatible = "simple-framebuffer"; 29*01950c46SEmmanuel Vadot reg = <0x03200000 0x800000>; 30*01950c46SEmmanuel Vadot width = <1280>; 31*01950c46SEmmanuel Vadot height = <800>; 32*01950c46SEmmanuel Vadot stride = <(1280 * 3)>; 33*01950c46SEmmanuel Vadot format = "r8g8b8"; 34*01950c46SEmmanuel Vadot }; 35*01950c46SEmmanuel Vadot }; 36*01950c46SEmmanuel Vadot 37*01950c46SEmmanuel Vadot gpio-hall-sensor { 38*01950c46SEmmanuel Vadot compatible = "gpio-keys"; 39*01950c46SEmmanuel Vadot 40*01950c46SEmmanuel Vadot event-hall-sensor { 41*01950c46SEmmanuel Vadot label = "Hall Effect Sensor"; 42*01950c46SEmmanuel Vadot gpios = <&tlmm 110 GPIO_ACTIVE_LOW>; 43*01950c46SEmmanuel Vadot linux,input-type = <EV_SW>; 44*01950c46SEmmanuel Vadot linux,code = <SW_LID>; 45*01950c46SEmmanuel Vadot debounce-interval = <15>; 46*01950c46SEmmanuel Vadot linux,can-disable; 47*01950c46SEmmanuel Vadot wakeup-source; 48*01950c46SEmmanuel Vadot }; 49*01950c46SEmmanuel Vadot }; 50*01950c46SEmmanuel Vadot 51*01950c46SEmmanuel Vadot gpio-keys { 52*01950c46SEmmanuel Vadot compatible = "gpio-keys"; 53*01950c46SEmmanuel Vadot autorepeat; 54*01950c46SEmmanuel Vadot 55*01950c46SEmmanuel Vadot key-home { 56*01950c46SEmmanuel Vadot label = "Home"; 57*01950c46SEmmanuel Vadot gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; 58*01950c46SEmmanuel Vadot linux,code = <KEY_HOMEPAGE>; 59*01950c46SEmmanuel Vadot debounce-interval = <15>; 60*01950c46SEmmanuel Vadot }; 61*01950c46SEmmanuel Vadot 62*01950c46SEmmanuel Vadot key-volume-down { 63*01950c46SEmmanuel Vadot label = "Volume Down"; 64*01950c46SEmmanuel Vadot gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 65*01950c46SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 66*01950c46SEmmanuel Vadot debounce-interval = <15>; 67*01950c46SEmmanuel Vadot }; 68*01950c46SEmmanuel Vadot 69*01950c46SEmmanuel Vadot key-volume-up { 70*01950c46SEmmanuel Vadot label = "Volume Up"; 71*01950c46SEmmanuel Vadot gpios = <&tlmm 106 GPIO_ACTIVE_LOW>; 72*01950c46SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 73*01950c46SEmmanuel Vadot debounce-interval = <15>; 74*01950c46SEmmanuel Vadot }; 75*01950c46SEmmanuel Vadot }; 76*01950c46SEmmanuel Vadot 77*01950c46SEmmanuel Vadot i2c-backlight { 78*01950c46SEmmanuel Vadot compatible = "i2c-gpio"; 79*01950c46SEmmanuel Vadot sda-gpios = <&tlmm 20 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 80*01950c46SEmmanuel Vadot scl-gpios = <&tlmm 21 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 81*01950c46SEmmanuel Vadot 82*01950c46SEmmanuel Vadot pinctrl-0 = <&backlight_i2c_default_state>; 83*01950c46SEmmanuel Vadot pinctrl-names = "default"; 84*01950c46SEmmanuel Vadot 85*01950c46SEmmanuel Vadot i2c-gpio,delay-us = <4>; 86*01950c46SEmmanuel Vadot 87*01950c46SEmmanuel Vadot #address-cells = <1>; 88*01950c46SEmmanuel Vadot #size-cells = <0>; 89*01950c46SEmmanuel Vadot 90*01950c46SEmmanuel Vadot backlight@2c { 91*01950c46SEmmanuel Vadot compatible = "ti,lp8556"; 92*01950c46SEmmanuel Vadot reg = <0x2c>; 93*01950c46SEmmanuel Vadot 94*01950c46SEmmanuel Vadot dev-ctrl = /bits/ 8 <0x80>; 95*01950c46SEmmanuel Vadot init-brt = /bits/ 8 <0x3f>; 96*01950c46SEmmanuel Vadot 97*01950c46SEmmanuel Vadot pwms = <&backlight_pwm 0 100000>; 98*01950c46SEmmanuel Vadot pwm-names = "lp8556"; 99*01950c46SEmmanuel Vadot 100*01950c46SEmmanuel Vadot rom-a0h { 101*01950c46SEmmanuel Vadot rom-addr = /bits/ 8 <0xa0>; 102*01950c46SEmmanuel Vadot rom-val = /bits/ 8 <0x44>; 103*01950c46SEmmanuel Vadot }; 104*01950c46SEmmanuel Vadot 105*01950c46SEmmanuel Vadot rom-a1h { 106*01950c46SEmmanuel Vadot rom-addr = /bits/ 8 <0xa1>; 107*01950c46SEmmanuel Vadot rom-val = /bits/ 8 <0x6c>; 108*01950c46SEmmanuel Vadot }; 109*01950c46SEmmanuel Vadot 110*01950c46SEmmanuel Vadot rom-a5h { 111*01950c46SEmmanuel Vadot rom-addr = /bits/ 8 <0xa5>; 112*01950c46SEmmanuel Vadot rom-val = /bits/ 8 <0x24>; 113*01950c46SEmmanuel Vadot }; 114*01950c46SEmmanuel Vadot }; 115*01950c46SEmmanuel Vadot }; 116*01950c46SEmmanuel Vadot 117*01950c46SEmmanuel Vadot backlight_pwm: pwm { 118*01950c46SEmmanuel Vadot compatible = "clk-pwm"; 119*01950c46SEmmanuel Vadot #pwm-cells = <2>; 120*01950c46SEmmanuel Vadot clocks = <&mmcc CAMSS_GP0_CLK>; 121*01950c46SEmmanuel Vadot pinctrl-0 = <&backlight_pwm_default_state>; 122*01950c46SEmmanuel Vadot pinctrl-names = "default"; 123*01950c46SEmmanuel Vadot }; 124*01950c46SEmmanuel Vadot 125*01950c46SEmmanuel Vadot reg_tsp_1p8v: regulator-tsp-1p8v { 126*01950c46SEmmanuel Vadot compatible = "regulator-fixed"; 127*01950c46SEmmanuel Vadot regulator-name = "tsp_1p8v"; 128*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 129*01950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 130*01950c46SEmmanuel Vadot 131*01950c46SEmmanuel Vadot gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>; 132*01950c46SEmmanuel Vadot enable-active-high; 133*01950c46SEmmanuel Vadot 134*01950c46SEmmanuel Vadot pinctrl-names = "default"; 135*01950c46SEmmanuel Vadot pinctrl-0 = <&tsp_en_default_state>; 136*01950c46SEmmanuel Vadot }; 137*01950c46SEmmanuel Vadot 138*01950c46SEmmanuel Vadot reserved-memory { 139*01950c46SEmmanuel Vadot #address-cells = <1>; 140*01950c46SEmmanuel Vadot #size-cells = <1>; 141*01950c46SEmmanuel Vadot ranges; 142*01950c46SEmmanuel Vadot 143*01950c46SEmmanuel Vadot framebuffer@3200000 { 144*01950c46SEmmanuel Vadot reg = <0x03200000 0x800000>; 145*01950c46SEmmanuel Vadot no-map; 146*01950c46SEmmanuel Vadot }; 147*01950c46SEmmanuel Vadot 148*01950c46SEmmanuel Vadot mpss@8400000 { 149*01950c46SEmmanuel Vadot reg = <0x08400000 0x1f00000>; 150*01950c46SEmmanuel Vadot no-map; 151*01950c46SEmmanuel Vadot }; 152*01950c46SEmmanuel Vadot 153*01950c46SEmmanuel Vadot mba@a300000 { 154*01950c46SEmmanuel Vadot reg = <0x0a300000 0x100000>; 155*01950c46SEmmanuel Vadot no-map; 156*01950c46SEmmanuel Vadot }; 157*01950c46SEmmanuel Vadot 158*01950c46SEmmanuel Vadot reserved@cb00000 { 159*01950c46SEmmanuel Vadot reg = <0x0cb00000 0x700000>; 160*01950c46SEmmanuel Vadot no-map; 161*01950c46SEmmanuel Vadot }; 162*01950c46SEmmanuel Vadot 163*01950c46SEmmanuel Vadot wcnss@d200000 { 164*01950c46SEmmanuel Vadot reg = <0x0d200000 0x700000>; 165*01950c46SEmmanuel Vadot no-map; 166*01950c46SEmmanuel Vadot }; 167*01950c46SEmmanuel Vadot 168*01950c46SEmmanuel Vadot adsp_region: adsp@d900000 { 169*01950c46SEmmanuel Vadot reg = <0x0d900000 0x1800000>; 170*01950c46SEmmanuel Vadot no-map; 171*01950c46SEmmanuel Vadot }; 172*01950c46SEmmanuel Vadot 173*01950c46SEmmanuel Vadot venus@f100000 { 174*01950c46SEmmanuel Vadot reg = <0x0f100000 0x500000>; 175*01950c46SEmmanuel Vadot no-map; 176*01950c46SEmmanuel Vadot }; 177*01950c46SEmmanuel Vadot 178*01950c46SEmmanuel Vadot smem_region: smem@fa00000 { 179*01950c46SEmmanuel Vadot reg = <0x0fa00000 0x100000>; 180*01950c46SEmmanuel Vadot no-map; 181*01950c46SEmmanuel Vadot }; 182*01950c46SEmmanuel Vadot 183*01950c46SEmmanuel Vadot reserved@fb00000 { 184*01950c46SEmmanuel Vadot reg = <0x0fb00000 0x260000>; 185*01950c46SEmmanuel Vadot no-map; 186*01950c46SEmmanuel Vadot }; 187*01950c46SEmmanuel Vadot 188*01950c46SEmmanuel Vadot rfsa@fd60000 { 189*01950c46SEmmanuel Vadot reg = <0x0fd60000 0x20000>; 190*01950c46SEmmanuel Vadot no-map; 191*01950c46SEmmanuel Vadot }; 192*01950c46SEmmanuel Vadot 193*01950c46SEmmanuel Vadot rmtfs@fd80000 { 194*01950c46SEmmanuel Vadot compatible = "qcom,rmtfs-mem"; 195*01950c46SEmmanuel Vadot reg = <0x0fd80000 0x180000>; 196*01950c46SEmmanuel Vadot no-map; 197*01950c46SEmmanuel Vadot 198*01950c46SEmmanuel Vadot qcom,client-id = <1>; 199*01950c46SEmmanuel Vadot }; 200*01950c46SEmmanuel Vadot }; 201*01950c46SEmmanuel Vadot}; 202*01950c46SEmmanuel Vadot 203*01950c46SEmmanuel Vadot&adsp { 204*01950c46SEmmanuel Vadot status = "okay"; 205*01950c46SEmmanuel Vadot}; 206*01950c46SEmmanuel Vadot 207*01950c46SEmmanuel Vadot&blsp1_i2c4 { 208*01950c46SEmmanuel Vadot status = "okay"; 209*01950c46SEmmanuel Vadot 210*01950c46SEmmanuel Vadot muic: usb-switch@25 { 211*01950c46SEmmanuel Vadot compatible = "siliconmitus,sm5502-muic"; 212*01950c46SEmmanuel Vadot reg = <0x25>; 213*01950c46SEmmanuel Vadot 214*01950c46SEmmanuel Vadot interrupt-parent = <&tlmm>; 215*01950c46SEmmanuel Vadot interrupts = <67 IRQ_TYPE_EDGE_FALLING>; 216*01950c46SEmmanuel Vadot 217*01950c46SEmmanuel Vadot pinctrl-names = "default"; 218*01950c46SEmmanuel Vadot pinctrl-0 = <&muic_int_default_state>; 219*01950c46SEmmanuel Vadot }; 220*01950c46SEmmanuel Vadot}; 221*01950c46SEmmanuel Vadot 222*01950c46SEmmanuel Vadot&blsp1_uart3 { 223*01950c46SEmmanuel Vadot status = "okay"; 224*01950c46SEmmanuel Vadot}; 225*01950c46SEmmanuel Vadot 226*01950c46SEmmanuel Vadot&rpm_requests { 227*01950c46SEmmanuel Vadot regulators { 228*01950c46SEmmanuel Vadot compatible = "qcom,rpm-pm8226-regulators"; 229*01950c46SEmmanuel Vadot 230*01950c46SEmmanuel Vadot pm8226_s3: s3 { 231*01950c46SEmmanuel Vadot regulator-min-microvolt = <1200000>; 232*01950c46SEmmanuel Vadot regulator-max-microvolt = <1300000>; 233*01950c46SEmmanuel Vadot }; 234*01950c46SEmmanuel Vadot 235*01950c46SEmmanuel Vadot pm8226_s4: s4 { 236*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 237*01950c46SEmmanuel Vadot regulator-max-microvolt = <2200000>; 238*01950c46SEmmanuel Vadot }; 239*01950c46SEmmanuel Vadot 240*01950c46SEmmanuel Vadot pm8226_s5: s5 { 241*01950c46SEmmanuel Vadot regulator-min-microvolt = <1150000>; 242*01950c46SEmmanuel Vadot regulator-max-microvolt = <1150000>; 243*01950c46SEmmanuel Vadot }; 244*01950c46SEmmanuel Vadot 245*01950c46SEmmanuel Vadot pm8226_l1: l1 { 246*01950c46SEmmanuel Vadot regulator-min-microvolt = <1225000>; 247*01950c46SEmmanuel Vadot regulator-max-microvolt = <1225000>; 248*01950c46SEmmanuel Vadot }; 249*01950c46SEmmanuel Vadot 250*01950c46SEmmanuel Vadot pm8226_l2: l2 { 251*01950c46SEmmanuel Vadot regulator-min-microvolt = <1200000>; 252*01950c46SEmmanuel Vadot regulator-max-microvolt = <1200000>; 253*01950c46SEmmanuel Vadot }; 254*01950c46SEmmanuel Vadot 255*01950c46SEmmanuel Vadot pm8226_l3: l3 { 256*01950c46SEmmanuel Vadot regulator-min-microvolt = <750000>; 257*01950c46SEmmanuel Vadot regulator-max-microvolt = <1350000>; 258*01950c46SEmmanuel Vadot regulator-always-on; 259*01950c46SEmmanuel Vadot }; 260*01950c46SEmmanuel Vadot 261*01950c46SEmmanuel Vadot pm8226_l4: l4 { 262*01950c46SEmmanuel Vadot regulator-min-microvolt = <1200000>; 263*01950c46SEmmanuel Vadot regulator-max-microvolt = <1200000>; 264*01950c46SEmmanuel Vadot }; 265*01950c46SEmmanuel Vadot 266*01950c46SEmmanuel Vadot pm8226_l5: l5 { 267*01950c46SEmmanuel Vadot regulator-min-microvolt = <1200000>; 268*01950c46SEmmanuel Vadot regulator-max-microvolt = <1200000>; 269*01950c46SEmmanuel Vadot }; 270*01950c46SEmmanuel Vadot 271*01950c46SEmmanuel Vadot pm8226_l6: l6 { 272*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 273*01950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 274*01950c46SEmmanuel Vadot regulator-always-on; 275*01950c46SEmmanuel Vadot }; 276*01950c46SEmmanuel Vadot 277*01950c46SEmmanuel Vadot pm8226_l7: l7 { 278*01950c46SEmmanuel Vadot regulator-min-microvolt = <1850000>; 279*01950c46SEmmanuel Vadot regulator-max-microvolt = <1850000>; 280*01950c46SEmmanuel Vadot }; 281*01950c46SEmmanuel Vadot 282*01950c46SEmmanuel Vadot pm8226_l8: l8 { 283*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 284*01950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 285*01950c46SEmmanuel Vadot regulator-always-on; 286*01950c46SEmmanuel Vadot }; 287*01950c46SEmmanuel Vadot 288*01950c46SEmmanuel Vadot pm8226_l9: l9 { 289*01950c46SEmmanuel Vadot regulator-min-microvolt = <2050000>; 290*01950c46SEmmanuel Vadot regulator-max-microvolt = <2050000>; 291*01950c46SEmmanuel Vadot }; 292*01950c46SEmmanuel Vadot 293*01950c46SEmmanuel Vadot pm8226_l10: l10 { 294*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 295*01950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 296*01950c46SEmmanuel Vadot }; 297*01950c46SEmmanuel Vadot 298*01950c46SEmmanuel Vadot pm8226_l12: l12 { 299*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 300*01950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 301*01950c46SEmmanuel Vadot }; 302*01950c46SEmmanuel Vadot 303*01950c46SEmmanuel Vadot pm8226_l14: l14 { 304*01950c46SEmmanuel Vadot regulator-min-microvolt = <2750000>; 305*01950c46SEmmanuel Vadot regulator-max-microvolt = <2750000>; 306*01950c46SEmmanuel Vadot }; 307*01950c46SEmmanuel Vadot 308*01950c46SEmmanuel Vadot pm8226_l15: l15 { 309*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 310*01950c46SEmmanuel Vadot regulator-max-microvolt = <3300000>; 311*01950c46SEmmanuel Vadot }; 312*01950c46SEmmanuel Vadot 313*01950c46SEmmanuel Vadot pm8226_l16: l16 { 314*01950c46SEmmanuel Vadot regulator-min-microvolt = <3000000>; 315*01950c46SEmmanuel Vadot regulator-max-microvolt = <3350000>; 316*01950c46SEmmanuel Vadot }; 317*01950c46SEmmanuel Vadot 318*01950c46SEmmanuel Vadot pm8226_l17: l17 { 319*01950c46SEmmanuel Vadot regulator-min-microvolt = <2950000>; 320*01950c46SEmmanuel Vadot regulator-max-microvolt = <2950000>; 321*01950c46SEmmanuel Vadot 322*01950c46SEmmanuel Vadot regulator-system-load = <200000>; 323*01950c46SEmmanuel Vadot regulator-allow-set-load; 324*01950c46SEmmanuel Vadot regulator-always-on; 325*01950c46SEmmanuel Vadot }; 326*01950c46SEmmanuel Vadot 327*01950c46SEmmanuel Vadot pm8226_l18: l18 { 328*01950c46SEmmanuel Vadot regulator-min-microvolt = <2950000>; 329*01950c46SEmmanuel Vadot regulator-max-microvolt = <2950000>; 330*01950c46SEmmanuel Vadot }; 331*01950c46SEmmanuel Vadot 332*01950c46SEmmanuel Vadot pm8226_l19: l19 { 333*01950c46SEmmanuel Vadot regulator-min-microvolt = <2850000>; 334*01950c46SEmmanuel Vadot regulator-max-microvolt = <3000000>; 335*01950c46SEmmanuel Vadot }; 336*01950c46SEmmanuel Vadot 337*01950c46SEmmanuel Vadot pm8226_l20: l20 { 338*01950c46SEmmanuel Vadot regulator-min-microvolt = <3075000>; 339*01950c46SEmmanuel Vadot regulator-max-microvolt = <3075000>; 340*01950c46SEmmanuel Vadot }; 341*01950c46SEmmanuel Vadot 342*01950c46SEmmanuel Vadot pm8226_l21: l21 { 343*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 344*01950c46SEmmanuel Vadot regulator-max-microvolt = <2950000>; 345*01950c46SEmmanuel Vadot }; 346*01950c46SEmmanuel Vadot 347*01950c46SEmmanuel Vadot pm8226_l22: l22 { 348*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 349*01950c46SEmmanuel Vadot regulator-max-microvolt = <3000000>; 350*01950c46SEmmanuel Vadot }; 351*01950c46SEmmanuel Vadot 352*01950c46SEmmanuel Vadot pm8226_l23: l23 { 353*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 354*01950c46SEmmanuel Vadot regulator-max-microvolt = <3300000>; 355*01950c46SEmmanuel Vadot }; 356*01950c46SEmmanuel Vadot 357*01950c46SEmmanuel Vadot pm8226_l24: l24 { 358*01950c46SEmmanuel Vadot regulator-min-microvolt = <1300000>; 359*01950c46SEmmanuel Vadot regulator-max-microvolt = <1350000>; 360*01950c46SEmmanuel Vadot }; 361*01950c46SEmmanuel Vadot 362*01950c46SEmmanuel Vadot pm8226_l25: l25 { 363*01950c46SEmmanuel Vadot regulator-min-microvolt = <1775000>; 364*01950c46SEmmanuel Vadot regulator-max-microvolt = <2125000>; 365*01950c46SEmmanuel Vadot }; 366*01950c46SEmmanuel Vadot 367*01950c46SEmmanuel Vadot pm8226_l26: l26 { 368*01950c46SEmmanuel Vadot regulator-min-microvolt = <1225000>; 369*01950c46SEmmanuel Vadot regulator-max-microvolt = <1300000>; 370*01950c46SEmmanuel Vadot }; 371*01950c46SEmmanuel Vadot 372*01950c46SEmmanuel Vadot pm8226_l27: l27 { 373*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 374*01950c46SEmmanuel Vadot regulator-max-microvolt = <1800000>; 375*01950c46SEmmanuel Vadot }; 376*01950c46SEmmanuel Vadot 377*01950c46SEmmanuel Vadot pm8226_l28: l28 { 378*01950c46SEmmanuel Vadot regulator-min-microvolt = <1800000>; 379*01950c46SEmmanuel Vadot regulator-max-microvolt = <2950000>; 380*01950c46SEmmanuel Vadot }; 381*01950c46SEmmanuel Vadot 382*01950c46SEmmanuel Vadot pm8226_lvs1: lvs1 {}; 383*01950c46SEmmanuel Vadot }; 384*01950c46SEmmanuel Vadot}; 385*01950c46SEmmanuel Vadot 386*01950c46SEmmanuel Vadot&sdhc_1 { 387*01950c46SEmmanuel Vadot vmmc-supply = <&pm8226_l17>; 388*01950c46SEmmanuel Vadot vqmmc-supply = <&pm8226_l6>; 389*01950c46SEmmanuel Vadot 390*01950c46SEmmanuel Vadot bus-width = <8>; 391*01950c46SEmmanuel Vadot non-removable; 392*01950c46SEmmanuel Vadot 393*01950c46SEmmanuel Vadot status = "okay"; 394*01950c46SEmmanuel Vadot}; 395*01950c46SEmmanuel Vadot 396*01950c46SEmmanuel Vadot&sdhc_2 { 397*01950c46SEmmanuel Vadot vmmc-supply = <&pm8226_l18>; 398*01950c46SEmmanuel Vadot vqmmc-supply = <&pm8226_l21>; 399*01950c46SEmmanuel Vadot 400*01950c46SEmmanuel Vadot bus-width = <4>; 401*01950c46SEmmanuel Vadot cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; 402*01950c46SEmmanuel Vadot 403*01950c46SEmmanuel Vadot status = "okay"; 404*01950c46SEmmanuel Vadot}; 405*01950c46SEmmanuel Vadot 406*01950c46SEmmanuel Vadot&tlmm { 407*01950c46SEmmanuel Vadot accel_int_default_state: accel-int-default-state { 408*01950c46SEmmanuel Vadot pins = "gpio54"; 409*01950c46SEmmanuel Vadot function = "gpio"; 410*01950c46SEmmanuel Vadot drive-strength = <2>; 411*01950c46SEmmanuel Vadot bias-disable; 412*01950c46SEmmanuel Vadot }; 413*01950c46SEmmanuel Vadot 414*01950c46SEmmanuel Vadot backlight_i2c_default_state: backlight-i2c-default-state { 415*01950c46SEmmanuel Vadot pins = "gpio20", "gpio21"; 416*01950c46SEmmanuel Vadot function = "gpio"; 417*01950c46SEmmanuel Vadot drive-strength = <2>; 418*01950c46SEmmanuel Vadot bias-disable; 419*01950c46SEmmanuel Vadot }; 420*01950c46SEmmanuel Vadot 421*01950c46SEmmanuel Vadot backlight_pwm_default_state: backlight-pwm-default-state { 422*01950c46SEmmanuel Vadot pins = "gpio33"; 423*01950c46SEmmanuel Vadot function = "gp0_clk"; 424*01950c46SEmmanuel Vadot }; 425*01950c46SEmmanuel Vadot 426*01950c46SEmmanuel Vadot muic_int_default_state: muic-int-default-state { 427*01950c46SEmmanuel Vadot pins = "gpio67"; 428*01950c46SEmmanuel Vadot function = "gpio"; 429*01950c46SEmmanuel Vadot drive-strength = <2>; 430*01950c46SEmmanuel Vadot bias-disable; 431*01950c46SEmmanuel Vadot }; 432*01950c46SEmmanuel Vadot 433*01950c46SEmmanuel Vadot tsp_en_default_state: tsp-en-default-state { 434*01950c46SEmmanuel Vadot pins = "gpio31"; 435*01950c46SEmmanuel Vadot function = "gpio"; 436*01950c46SEmmanuel Vadot drive-strength = <2>; 437*01950c46SEmmanuel Vadot bias-disable; 438*01950c46SEmmanuel Vadot }; 439*01950c46SEmmanuel Vadot 440*01950c46SEmmanuel Vadot tsp_int_rst_default_state: tsp-int-rst-default-state { 441*01950c46SEmmanuel Vadot pins = "gpio17"; 442*01950c46SEmmanuel Vadot function = "gpio"; 443*01950c46SEmmanuel Vadot drive-strength = <10>; 444*01950c46SEmmanuel Vadot bias-pull-up; 445*01950c46SEmmanuel Vadot }; 446*01950c46SEmmanuel Vadot}; 447*01950c46SEmmanuel Vadot 448*01950c46SEmmanuel Vadot&usb { 449*01950c46SEmmanuel Vadot extcon = <&muic>, <&muic>; 450*01950c46SEmmanuel Vadot status = "okay"; 451*01950c46SEmmanuel Vadot}; 452*01950c46SEmmanuel Vadot 453*01950c46SEmmanuel Vadot&usb_hs_phy { 454*01950c46SEmmanuel Vadot extcon = <&muic>; 455*01950c46SEmmanuel Vadot v1p8-supply = <&pm8226_l10>; 456*01950c46SEmmanuel Vadot v3p3-supply = <&pm8226_l20>; 457*01950c46SEmmanuel Vadot}; 458