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