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