1*01950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*01950c46SEmmanuel Vadot/dts-v1/; 3*01950c46SEmmanuel Vadot 4*01950c46SEmmanuel Vadot#include "tegra30-lg-x3.dtsi" 5*01950c46SEmmanuel Vadot 6*01950c46SEmmanuel Vadot/ { 7*01950c46SEmmanuel Vadot model = "LG Optimus 4X HD P880"; 8*01950c46SEmmanuel Vadot compatible = "lg,p880", "nvidia,tegra30"; 9*01950c46SEmmanuel Vadot 10*01950c46SEmmanuel Vadot aliases { 11*01950c46SEmmanuel Vadot mmc1 = &sdmmc3; /* uSD slot */ 12*01950c46SEmmanuel Vadot mmc2 = &sdmmc1; /* WiFi */ 13*01950c46SEmmanuel Vadot }; 14*01950c46SEmmanuel Vadot 15*01950c46SEmmanuel Vadot pinmux@70000868 { 16*01950c46SEmmanuel Vadot pinctrl-names = "default"; 17*01950c46SEmmanuel Vadot pinctrl-0 = <&state_default>; 18*01950c46SEmmanuel Vadot 19*01950c46SEmmanuel Vadot state_default: pinmux { 20*01950c46SEmmanuel Vadot /* WLAN SDIO pinmux */ 21*01950c46SEmmanuel Vadot host-wlan-wake { 22*01950c46SEmmanuel Vadot nvidia,pins = "pu4"; 23*01950c46SEmmanuel Vadot nvidia,function = "pwm1"; 24*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 25*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_ENABLE>; 26*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 27*01950c46SEmmanuel Vadot }; 28*01950c46SEmmanuel Vadot 29*01950c46SEmmanuel Vadot /* GNSS UART-B pinmux */ 30*01950c46SEmmanuel Vadot uartb-rxd { 31*01950c46SEmmanuel Vadot nvidia,pins = "uart2_rxd_pc3"; 32*01950c46SEmmanuel Vadot nvidia,function = "uartb"; 33*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 34*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 35*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 36*01950c46SEmmanuel Vadot }; 37*01950c46SEmmanuel Vadot uartb-txd { 38*01950c46SEmmanuel Vadot nvidia,pins = "uart2_txd_pc2"; 39*01950c46SEmmanuel Vadot nvidia,function = "uartb"; 40*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 41*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 42*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 43*01950c46SEmmanuel Vadot }; 44*01950c46SEmmanuel Vadot gps-reset { 45*01950c46SEmmanuel Vadot nvidia,pins = "kb_row7_pr7"; 46*01950c46SEmmanuel Vadot nvidia,function = "kbc"; 47*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 48*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 49*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 50*01950c46SEmmanuel Vadot }; 51*01950c46SEmmanuel Vadot 52*01950c46SEmmanuel Vadot /* MicroSD pinmux */ 53*01950c46SEmmanuel Vadot sdmmc3-clk { 54*01950c46SEmmanuel Vadot nvidia,pins = "sdmmc3_clk_pa6"; 55*01950c46SEmmanuel Vadot nvidia,function = "sdmmc3"; 56*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_NONE>; 57*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 58*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 59*01950c46SEmmanuel Vadot }; 60*01950c46SEmmanuel Vadot sdmmc3-data { 61*01950c46SEmmanuel Vadot nvidia,pins = "sdmmc3_cmd_pa7", 62*01950c46SEmmanuel Vadot "sdmmc3_dat0_pb7", 63*01950c46SEmmanuel Vadot "sdmmc3_dat1_pb6", 64*01950c46SEmmanuel Vadot "sdmmc3_dat2_pb5", 65*01950c46SEmmanuel Vadot "sdmmc3_dat3_pb4"; 66*01950c46SEmmanuel Vadot nvidia,function = "sdmmc3"; 67*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 68*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 69*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 70*01950c46SEmmanuel Vadot }; 71*01950c46SEmmanuel Vadot microsd-detect { 72*01950c46SEmmanuel Vadot nvidia,pins = "clk2_out_pw5"; 73*01950c46SEmmanuel Vadot nvidia,function = "rsvd2"; 74*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 75*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 76*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 77*01950c46SEmmanuel Vadot }; 78*01950c46SEmmanuel Vadot 79*01950c46SEmmanuel Vadot /* GPIO keys pinmux */ 80*01950c46SEmmanuel Vadot volume-up { 81*01950c46SEmmanuel Vadot nvidia,pins = "ulpi_data6_po7"; 82*01950c46SEmmanuel Vadot nvidia,function = "spi2"; 83*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 84*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 85*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 86*01950c46SEmmanuel Vadot }; 87*01950c46SEmmanuel Vadot 88*01950c46SEmmanuel Vadot /* Sensors pinmux */ 89*01950c46SEmmanuel Vadot current-alert-irq { 90*01950c46SEmmanuel Vadot nvidia,pins = "uart2_rts_n_pj6"; 91*01950c46SEmmanuel Vadot nvidia,function = "uartb"; 92*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_UP>; 93*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 94*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_ENABLE>; 95*01950c46SEmmanuel Vadot }; 96*01950c46SEmmanuel Vadot 97*01950c46SEmmanuel Vadot /* AUDIO pinmux */ 98*01950c46SEmmanuel Vadot sub-mic-ldo { 99*01950c46SEmmanuel Vadot nvidia,pins = "gmi_cs7_n_pi6"; 100*01950c46SEmmanuel Vadot nvidia,function = "gmi"; 101*01950c46SEmmanuel Vadot nvidia,pull = <TEGRA_PIN_PULL_DOWN>; 102*01950c46SEmmanuel Vadot nvidia,tristate = <TEGRA_PIN_DISABLE>; 103*01950c46SEmmanuel Vadot nvidia,enable-input = <TEGRA_PIN_DISABLE>; 104*01950c46SEmmanuel Vadot }; 105*01950c46SEmmanuel Vadot }; 106*01950c46SEmmanuel Vadot }; 107*01950c46SEmmanuel Vadot 108*01950c46SEmmanuel Vadot i2c@7000c400 { 109*01950c46SEmmanuel Vadot touchscreen@20 { 110*01950c46SEmmanuel Vadot rmi4-f11@11 { 111*01950c46SEmmanuel Vadot syna,clip-x-high = <1110>; 112*01950c46SEmmanuel Vadot syna,clip-y-high = <1973>; 113*01950c46SEmmanuel Vadot 114*01950c46SEmmanuel Vadot touchscreen-inverted-y; 115*01950c46SEmmanuel Vadot }; 116*01950c46SEmmanuel Vadot }; 117*01950c46SEmmanuel Vadot }; 118*01950c46SEmmanuel Vadot 119*01950c46SEmmanuel Vadot memory-controller@7000f000 { 120*01950c46SEmmanuel Vadot emc-timings-0 { 121*01950c46SEmmanuel Vadot /* SAMSUNG 1GB K4P8G304EB FGC1 533MHz */ 122*01950c46SEmmanuel Vadot nvidia,ram-code = <0>; 123*01950c46SEmmanuel Vadot 124*01950c46SEmmanuel Vadot timing-12750000 { 125*01950c46SEmmanuel Vadot clock-frequency = <12750000>; 126*01950c46SEmmanuel Vadot 127*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00050001 0xc0000010 128*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 129*01950c46SEmmanuel Vadot 0x00000003 0x00000001 0x00000002 0x00000004 130*01950c46SEmmanuel Vadot 0x00000001 0x00000000 0x00000002 0x00000002 131*01950c46SEmmanuel Vadot 0x02020001 0x00060402 0x77230303 0x001f0000 >; 132*01950c46SEmmanuel Vadot }; 133*01950c46SEmmanuel Vadot 134*01950c46SEmmanuel Vadot timing-25500000 { 135*01950c46SEmmanuel Vadot clock-frequency = <25500000>; 136*01950c46SEmmanuel Vadot 137*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00020001 0xc0000010 138*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 139*01950c46SEmmanuel Vadot 0x00000003 0x00000001 0x00000002 0x00000004 140*01950c46SEmmanuel Vadot 0x00000001 0x00000000 0x00000002 0x00000002 141*01950c46SEmmanuel Vadot 0x02020001 0x00060402 0x73e30303 0x001f0000 >; 142*01950c46SEmmanuel Vadot }; 143*01950c46SEmmanuel Vadot 144*01950c46SEmmanuel Vadot timing-51000000 { 145*01950c46SEmmanuel Vadot clock-frequency = <51000000>; 146*01950c46SEmmanuel Vadot 147*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00010001 0xc0000010 148*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 149*01950c46SEmmanuel Vadot 0x00000003 0x00000001 0x00000002 0x00000004 150*01950c46SEmmanuel Vadot 0x00000001 0x00000000 0x00000002 0x00000002 151*01950c46SEmmanuel Vadot 0x02020001 0x00060402 0x72c30303 0x001f0000 >; 152*01950c46SEmmanuel Vadot }; 153*01950c46SEmmanuel Vadot 154*01950c46SEmmanuel Vadot timing-102000000 { 155*01950c46SEmmanuel Vadot clock-frequency = <102000000>; 156*01950c46SEmmanuel Vadot 157*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00000001 0xc0000018 158*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000003 0x00000001 159*01950c46SEmmanuel Vadot 0x00000003 0x00000001 0x00000002 0x00000004 160*01950c46SEmmanuel Vadot 0x00000001 0x00000000 0x00000002 0x00000002 161*01950c46SEmmanuel Vadot 0x02020001 0x00060403 0x72430504 0x001f0000 >; 162*01950c46SEmmanuel Vadot }; 163*01950c46SEmmanuel Vadot 164*01950c46SEmmanuel Vadot timing-204000000 { 165*01950c46SEmmanuel Vadot clock-frequency = <204000000>; 166*01950c46SEmmanuel Vadot 167*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00000003 0xc0000025 168*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000006 0x00000003 169*01950c46SEmmanuel Vadot 0x00000005 0x00000001 0x00000002 0x00000004 170*01950c46SEmmanuel Vadot 0x00000001 0x00000000 0x00000003 0x00000002 171*01950c46SEmmanuel Vadot 0x02030001 0x00070506 0x71e40a07 0x001f0000 >; 172*01950c46SEmmanuel Vadot }; 173*01950c46SEmmanuel Vadot 174*01950c46SEmmanuel Vadot timing-266500000 { 175*01950c46SEmmanuel Vadot clock-frequency = <266500000>; 176*01950c46SEmmanuel Vadot 177*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00000004 0xC0000030 178*01950c46SEmmanuel Vadot 0x00000001 0x00000002 0x00000008 0x00000004 179*01950c46SEmmanuel Vadot 0x00000006 0x00000001 0x00000002 0x00000005 180*01950c46SEmmanuel Vadot 0x00000001 0x00000000 0x00000003 0x00000003 181*01950c46SEmmanuel Vadot 0x03030001 0x00090608 0x70040c09 0x001f0000 >; 182*01950c46SEmmanuel Vadot }; 183*01950c46SEmmanuel Vadot 184*01950c46SEmmanuel Vadot timing-533000000 { 185*01950c46SEmmanuel Vadot clock-frequency = <533000000>; 186*01950c46SEmmanuel Vadot 187*01950c46SEmmanuel Vadot nvidia,emem-configuration = < 0x00000008 0xC0000060 188*01950c46SEmmanuel Vadot 0x00000003 0x00000004 0x00000010 0x0000000a 189*01950c46SEmmanuel Vadot 0x0000000d 0x00000002 0x00000002 0x00000008 190*01950c46SEmmanuel Vadot 0x00000002 0x00000000 0x00000004 0x00000005 191*01950c46SEmmanuel Vadot 0x05040002 0x00110b10 0x70281811 0x001f0000 >; 192*01950c46SEmmanuel Vadot }; 193*01950c46SEmmanuel Vadot }; 194*01950c46SEmmanuel Vadot }; 195*01950c46SEmmanuel Vadot 196*01950c46SEmmanuel Vadot memory-controller@7000f400 { 197*01950c46SEmmanuel Vadot emc-timings-0 { 198*01950c46SEmmanuel Vadot /* SAMSUNG 1GB K4P8G304EB FGC1 533MHz */ 199*01950c46SEmmanuel Vadot nvidia,ram-code = <0>; 200*01950c46SEmmanuel Vadot 201*01950c46SEmmanuel Vadot timing-12750000 { 202*01950c46SEmmanuel Vadot clock-frequency = <12750000>; 203*01950c46SEmmanuel Vadot 204*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 205*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x00010022>; 206*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020001>; 207*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 208*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x00000009>; 209*01950c46SEmmanuel Vadot nvidia,emc-cfg-dyn-self-ref; 210*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 211*01950c46SEmmanuel Vadot 212*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x00000000 213*01950c46SEmmanuel Vadot 0x00000001 0x00000002 0x00000002 0x00000004 214*01950c46SEmmanuel Vadot 0x00000004 0x00000001 0x00000005 0x00000002 215*01950c46SEmmanuel Vadot 0x00000002 0x00000001 0x00000001 0x00000000 216*01950c46SEmmanuel Vadot 0x00000001 0x00000003 0x00000001 0x0000000b 217*01950c46SEmmanuel Vadot 0x00000009 0x0000002f 0x00000000 0x0000000b 218*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 219*01950c46SEmmanuel Vadot 0x00000001 0x00000007 0x00000002 0x00000002 220*01950c46SEmmanuel Vadot 0x00000003 0x00000008 0x00000004 0x00000001 221*01950c46SEmmanuel Vadot 0x00000002 0x00000036 0x00000004 0x00000004 222*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00004282 0x007800a4 223*01950c46SEmmanuel Vadot 0x00008000 0x000fc000 0x000fc000 0x000fc000 224*01950c46SEmmanuel Vadot 0x000fc000 0x000fc000 0x000fc000 0x000fc000 225*01950c46SEmmanuel Vadot 0x000fc000 0x00000000 0x00000000 0x00000000 226*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 227*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 228*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 229*01950c46SEmmanuel Vadot 0x00000000 0x000fc000 0x000fc000 0x000fc000 230*01950c46SEmmanuel Vadot 0x000fc000 0x00100220 0x0800201c 0x00000000 231*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f008 0x00000000 0x00000007 232*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 233*01950c46SEmmanuel Vadot 0x00000009 0x00090009 0xa0f10000 0x00000000 234*01950c46SEmmanuel Vadot 0x00000000 0x80000164 0xe0000000 0xff00ff00 >; 235*01950c46SEmmanuel Vadot }; 236*01950c46SEmmanuel Vadot 237*01950c46SEmmanuel Vadot timing-25500000 { 238*01950c46SEmmanuel Vadot clock-frequency = <25500000>; 239*01950c46SEmmanuel Vadot 240*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 241*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x00010022>; 242*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020001>; 243*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 244*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x00000009>; 245*01950c46SEmmanuel Vadot nvidia,emc-cfg-dyn-self-ref; 246*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 247*01950c46SEmmanuel Vadot 248*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x00000001 249*01950c46SEmmanuel Vadot 0x00000003 0x00000002 0x00000002 0x00000004 250*01950c46SEmmanuel Vadot 0x00000004 0x00000001 0x00000005 0x00000002 251*01950c46SEmmanuel Vadot 0x00000002 0x00000001 0x00000001 0x00000000 252*01950c46SEmmanuel Vadot 0x00000001 0x00000003 0x00000001 0x0000000b 253*01950c46SEmmanuel Vadot 0x00000009 0x00000060 0x00000000 0x00000018 254*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 255*01950c46SEmmanuel Vadot 0x00000001 0x00000007 0x00000004 0x00000004 256*01950c46SEmmanuel Vadot 0x00000003 0x00000008 0x00000004 0x00000001 257*01950c46SEmmanuel Vadot 0x00000002 0x0000006b 0x00000004 0x00000004 258*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00004282 0x007800a4 259*01950c46SEmmanuel Vadot 0x00008000 0x000fc000 0x000fc000 0x000fc000 260*01950c46SEmmanuel Vadot 0x000fc000 0x000fc000 0x000fc000 0x000fc000 261*01950c46SEmmanuel Vadot 0x000fc000 0x00000000 0x00000000 0x00000000 262*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 263*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 264*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 265*01950c46SEmmanuel Vadot 0x00000000 0x000fc000 0x000fc000 0x000fc000 266*01950c46SEmmanuel Vadot 0x000fc000 0x00100220 0x0800201c 0x00000000 267*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f008 0x00000000 0x00000007 268*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 269*01950c46SEmmanuel Vadot 0x0000000a 0x00090009 0xa0f10000 0x00000000 270*01950c46SEmmanuel Vadot 0x00000000 0x800001c5 0xe0000000 0xff00ff00 >; 271*01950c46SEmmanuel Vadot }; 272*01950c46SEmmanuel Vadot 273*01950c46SEmmanuel Vadot timing-51000000 { 274*01950c46SEmmanuel Vadot clock-frequency = <51000000>; 275*01950c46SEmmanuel Vadot 276*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 277*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x00010022>; 278*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020001>; 279*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 280*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x00000009>; 281*01950c46SEmmanuel Vadot nvidia,emc-cfg-dyn-self-ref; 282*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 283*01950c46SEmmanuel Vadot 284*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x00000003 285*01950c46SEmmanuel Vadot 0x00000006 0x00000002 0x00000002 0x00000004 286*01950c46SEmmanuel Vadot 0x00000004 0x00000001 0x00000005 0x00000002 287*01950c46SEmmanuel Vadot 0x00000002 0x00000001 0x00000001 0x00000000 288*01950c46SEmmanuel Vadot 0x00000001 0x00000003 0x00000001 0x0000000b 289*01950c46SEmmanuel Vadot 0x00000009 0x000000c0 0x00000000 0x00000030 290*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 291*01950c46SEmmanuel Vadot 0x00000001 0x00000007 0x00000008 0x00000008 292*01950c46SEmmanuel Vadot 0x00000003 0x00000008 0x00000004 0x00000001 293*01950c46SEmmanuel Vadot 0x00000002 0x000000d5 0x00000004 0x00000004 294*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00004282 0x007800a4 295*01950c46SEmmanuel Vadot 0x00008000 0x000fc000 0x000fc000 0x000fc000 296*01950c46SEmmanuel Vadot 0x000fc000 0x000fc000 0x000fc000 0x000fc000 297*01950c46SEmmanuel Vadot 0x000fc000 0x00000000 0x00000000 0x00000000 298*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 299*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 300*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 301*01950c46SEmmanuel Vadot 0x00000000 0x000fc000 0x000fc000 0x000fc000 302*01950c46SEmmanuel Vadot 0x000fc000 0x00100220 0x0800201c 0x00000000 303*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f008 0x00000000 0x00000007 304*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 305*01950c46SEmmanuel Vadot 0x00000013 0x00090009 0xa0f10000 0x00000000 306*01950c46SEmmanuel Vadot 0x00000000 0x80000287 0xe0000000 0xff00ff00 >; 307*01950c46SEmmanuel Vadot }; 308*01950c46SEmmanuel Vadot 309*01950c46SEmmanuel Vadot timing-102000000 { 310*01950c46SEmmanuel Vadot clock-frequency = <102000000>; 311*01950c46SEmmanuel Vadot 312*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 313*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x00010022>; 314*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020001>; 315*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 316*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x0000000a>; 317*01950c46SEmmanuel Vadot nvidia,emc-cfg-dyn-self-ref; 318*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 319*01950c46SEmmanuel Vadot 320*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x00000006 321*01950c46SEmmanuel Vadot 0x0000000d 0x00000004 0x00000002 0x00000004 322*01950c46SEmmanuel Vadot 0x00000004 0x00000001 0x00000005 0x00000002 323*01950c46SEmmanuel Vadot 0x00000002 0x00000001 0x00000001 0x00000000 324*01950c46SEmmanuel Vadot 0x00000001 0x00000003 0x00000001 0x0000000b 325*01950c46SEmmanuel Vadot 0x00000009 0x00000181 0x00000000 0x00000060 326*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000002 0x00000000 327*01950c46SEmmanuel Vadot 0x00000001 0x00000007 0x0000000f 0x0000000f 328*01950c46SEmmanuel Vadot 0x00000003 0x00000008 0x00000004 0x00000001 329*01950c46SEmmanuel Vadot 0x00000002 0x000001a9 0x00000004 0x00000004 330*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00004282 0x007800a4 331*01950c46SEmmanuel Vadot 0x00008000 0x000fc000 0x000fc000 0x000fc000 332*01950c46SEmmanuel Vadot 0x000fc000 0x000fc000 0x000fc000 0x000fc000 333*01950c46SEmmanuel Vadot 0x000fc000 0x00000000 0x00000000 0x00000000 334*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 335*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 336*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 337*01950c46SEmmanuel Vadot 0x00000000 0x000fc000 0x000fc000 0x000fc000 338*01950c46SEmmanuel Vadot 0x000fc000 0x00100220 0x0800201c 0x00000000 339*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f008 0x00000000 0x00000007 340*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 341*01950c46SEmmanuel Vadot 0x00000025 0x00090009 0xa0f10000 0x00000000 342*01950c46SEmmanuel Vadot 0x00000000 0x8000040b 0xe0000000 0xff00ff00 >; 343*01950c46SEmmanuel Vadot }; 344*01950c46SEmmanuel Vadot 345*01950c46SEmmanuel Vadot timing-204000000 { 346*01950c46SEmmanuel Vadot clock-frequency = <204000000>; 347*01950c46SEmmanuel Vadot 348*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 349*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x00010042>; 350*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020001>; 351*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 352*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x00000013>; 353*01950c46SEmmanuel Vadot nvidia,emc-cfg-dyn-self-ref; 354*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 355*01950c46SEmmanuel Vadot 356*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x0000000c 357*01950c46SEmmanuel Vadot 0x0000001a 0x00000008 0x00000003 0x00000005 358*01950c46SEmmanuel Vadot 0x00000004 0x00000001 0x00000006 0x00000003 359*01950c46SEmmanuel Vadot 0x00000003 0x00000002 0x00000002 0x00000000 360*01950c46SEmmanuel Vadot 0x00000001 0x00000003 0x00000001 0x0000000c 361*01950c46SEmmanuel Vadot 0x0000000a 0x00000303 0x00000000 0x000000c0 362*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000003 0x00000000 363*01950c46SEmmanuel Vadot 0x00000001 0x00000007 0x0000001d 0x0000001d 364*01950c46SEmmanuel Vadot 0x00000004 0x0000000b 0x00000005 0x00000001 365*01950c46SEmmanuel Vadot 0x00000002 0x00000351 0x00000004 0x00000006 366*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00004282 0x004400a4 367*01950c46SEmmanuel Vadot 0x00008000 0x00070000 0x00070000 0x00070000 368*01950c46SEmmanuel Vadot 0x00070000 0x00070000 0x00070000 0x00070000 369*01950c46SEmmanuel Vadot 0x00070000 0x00000000 0x00000000 0x00000000 370*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 371*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 372*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 373*01950c46SEmmanuel Vadot 0x00000000 0x00080000 0x00080000 0x00080000 374*01950c46SEmmanuel Vadot 0x00080000 0x000e0220 0x0800201c 0x00000000 375*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f008 0x00000000 0x00000007 376*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 377*01950c46SEmmanuel Vadot 0x0000004a 0x00090009 0xa0f10000 0x00000000 378*01950c46SEmmanuel Vadot 0x00000000 0x80000713 0xe0000000 0xff00ff00 >; 379*01950c46SEmmanuel Vadot }; 380*01950c46SEmmanuel Vadot 381*01950c46SEmmanuel Vadot timing-266500000 { 382*01950c46SEmmanuel Vadot clock-frequency = <266500000>; 383*01950c46SEmmanuel Vadot 384*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 385*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x00010042>; 386*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020002>; 387*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 388*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x00000018>; 389*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 390*01950c46SEmmanuel Vadot 391*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x0000000f 392*01950c46SEmmanuel Vadot 0x00000022 0x0000000b 0x00000004 0x00000005 393*01950c46SEmmanuel Vadot 0x00000005 0x00000001 0x00000007 0x00000004 394*01950c46SEmmanuel Vadot 0x00000004 0x00000002 0x00000002 0x00000000 395*01950c46SEmmanuel Vadot 0x00000002 0x00000005 0x00000002 0x0000000c 396*01950c46SEmmanuel Vadot 0x0000000b 0x000003ef 0x00000000 0x000000fb 397*01950c46SEmmanuel Vadot 0x00000001 0x00000001 0x00000004 0x00000000 398*01950c46SEmmanuel Vadot 0x00000001 0x00000009 0x00000026 0x00000026 399*01950c46SEmmanuel Vadot 0x00000004 0x0000000e 0x00000006 0x00000001 400*01950c46SEmmanuel Vadot 0x00000002 0x00000455 0x00000000 0x00000004 401*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00006282 0x003200a4 402*01950c46SEmmanuel Vadot 0x00008000 0x00050000 0x00050000 0x00050000 403*01950c46SEmmanuel Vadot 0x00050000 0x00050000 0x00050000 0x00050000 404*01950c46SEmmanuel Vadot 0x00050000 0x00000000 0x00000000 0x00000000 405*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 406*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 407*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 408*01950c46SEmmanuel Vadot 0x00000000 0x00060000 0x00060000 0x00060000 409*01950c46SEmmanuel Vadot 0x00060000 0x000b0220 0x0800003d 0x00000000 410*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f008 0x00000000 0x00000007 411*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 412*01950c46SEmmanuel Vadot 0x00000060 0x000a000a 0xa0f10000 0x00000000 413*01950c46SEmmanuel Vadot 0x00000000 0x800008ee 0xe0000000 0xff00ff00 >; 414*01950c46SEmmanuel Vadot }; 415*01950c46SEmmanuel Vadot 416*01950c46SEmmanuel Vadot timing-533000000 { 417*01950c46SEmmanuel Vadot clock-frequency = <533000000>; 418*01950c46SEmmanuel Vadot 419*01950c46SEmmanuel Vadot nvidia,emc-auto-cal-interval = <0x001fffff>; 420*01950c46SEmmanuel Vadot nvidia,emc-mode-1 = <0x000100c2>; 421*01950c46SEmmanuel Vadot nvidia,emc-mode-2 = <0x00020006>; 422*01950c46SEmmanuel Vadot nvidia,emc-mode-reset = <0x00000000>; 423*01950c46SEmmanuel Vadot nvidia,emc-zcal-cnt-long = <0x00000030>; 424*01950c46SEmmanuel Vadot nvidia,emc-cfg-periodic-qrst; 425*01950c46SEmmanuel Vadot 426*01950c46SEmmanuel Vadot nvidia,emc-configuration = < 0x0000001f 427*01950c46SEmmanuel Vadot 0x00000045 0x00000016 0x00000009 0x00000008 428*01950c46SEmmanuel Vadot 0x00000009 0x00000003 0x0000000d 0x00000009 429*01950c46SEmmanuel Vadot 0x00000009 0x00000005 0x00000003 0x00000000 430*01950c46SEmmanuel Vadot 0x00000004 0x00000009 0x00000006 0x0000000d 431*01950c46SEmmanuel Vadot 0x00000010 0x000007df 0x00000000 0x000001f7 432*01950c46SEmmanuel Vadot 0x00000003 0x00000003 0x00000009 0x00000000 433*01950c46SEmmanuel Vadot 0x00000001 0x0000000f 0x0000004b 0x0000004b 434*01950c46SEmmanuel Vadot 0x00000008 0x0000001b 0x0000000c 0x00000001 435*01950c46SEmmanuel Vadot 0x00000002 0x000008aa 0x00000000 0x00000006 436*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00006282 0xf0120091 437*01950c46SEmmanuel Vadot 0x00008000 0x0000000a 0x0000000a 0x0000000a 438*01950c46SEmmanuel Vadot 0x0000000a 0x0000000a 0x0000000a 0x0000000a 439*01950c46SEmmanuel Vadot 0x0000000a 0x00000000 0x00000000 0x00000000 440*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 441*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 442*01950c46SEmmanuel Vadot 0x00000000 0x00000000 0x00000000 0x00000000 443*01950c46SEmmanuel Vadot 0x00000000 0x0000000a 0x0000000a 0x0000000a 444*01950c46SEmmanuel Vadot 0x0000000a 0x00090220 0x0800003d 0x00000000 445*01950c46SEmmanuel Vadot 0x77ffc004 0x01f1f408 0x00000000 0x00000007 446*01950c46SEmmanuel Vadot 0x08000068 0x08000000 0x00000802 0x00064000 447*01950c46SEmmanuel Vadot 0x000000c0 0x000e000e 0xa0f10000 0x00000000 448*01950c46SEmmanuel Vadot 0x00000000 0x800010d9 0xe0000000 0xff00ff88 >; 449*01950c46SEmmanuel Vadot }; 450*01950c46SEmmanuel Vadot }; 451*01950c46SEmmanuel Vadot }; 452*01950c46SEmmanuel Vadot 453*01950c46SEmmanuel Vadot sdmmc3: mmc@78000400 { 454*01950c46SEmmanuel Vadot status = "okay"; 455*01950c46SEmmanuel Vadot 456*01950c46SEmmanuel Vadot cd-gpios = <&gpio TEGRA_GPIO(W, 5) GPIO_ACTIVE_LOW>; 457*01950c46SEmmanuel Vadot bus-width = <4>; 458*01950c46SEmmanuel Vadot 459*01950c46SEmmanuel Vadot vmmc-supply = <&vdd_usd>; 460*01950c46SEmmanuel Vadot vqmmc-supply = <&vdd_1v8_vio>; 461*01950c46SEmmanuel Vadot }; 462*01950c46SEmmanuel Vadot 463*01950c46SEmmanuel Vadot battery: battery-cell { 464*01950c46SEmmanuel Vadot compatible = "simple-battery"; 465*01950c46SEmmanuel Vadot device-chemistry = "lithium-ion"; 466*01950c46SEmmanuel Vadot charge-full-design-microamp-hours = <2150000>; 467*01950c46SEmmanuel Vadot energy-full-design-microwatt-hours = <8200000>; 468*01950c46SEmmanuel Vadot operating-range-celsius = <0 45>; 469*01950c46SEmmanuel Vadot }; 470*01950c46SEmmanuel Vadot 471*01950c46SEmmanuel Vadot gpio-keys { 472*01950c46SEmmanuel Vadot key-volume-up { 473*01950c46SEmmanuel Vadot label = "Volume Up"; 474*01950c46SEmmanuel Vadot gpios = <&gpio TEGRA_GPIO(O, 7) GPIO_ACTIVE_LOW>; 475*01950c46SEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 476*01950c46SEmmanuel Vadot debounce-interval = <10>; 477*01950c46SEmmanuel Vadot wakeup-event-action = <EV_ACT_ASSERTED>; 478*01950c46SEmmanuel Vadot wakeup-source; 479*01950c46SEmmanuel Vadot }; 480*01950c46SEmmanuel Vadot }; 481*01950c46SEmmanuel Vadot 482*01950c46SEmmanuel Vadot sound { 483*01950c46SEmmanuel Vadot compatible = "lg,tegra-audio-max98089-p880", 484*01950c46SEmmanuel Vadot "nvidia,tegra-audio-max98089"; 485*01950c46SEmmanuel Vadot nvidia,model = "LG Optimus 4X HD MAX98089"; 486*01950c46SEmmanuel Vadot 487*01950c46SEmmanuel Vadot nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>; 488*01950c46SEmmanuel Vadot }; 489*01950c46SEmmanuel Vadot}; 490