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