xref: /freebsd/sys/contrib/device-tree/src/arm/nvidia/tegra30-asus-tf700t.dts (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include "tegra30-asus-transformer-common.dtsi"
5
6/ {
7	model = "Asus Transformer Infinity TF700T";
8	compatible = "asus,tf700t", "nvidia,tegra30";
9
10	host1x@50000000 {
11		lcd: dc@54200000 {
12			clocks = <&tegra_car TEGRA30_CLK_DISP1>,
13				 <&tegra_car TEGRA30_CLK_PLL_D_OUT0>;
14
15			rgb {
16				status = "okay";
17
18				port {
19					dpi_output: endpoint {
20						remote-endpoint = <&bridge_input>;
21						bus-width = <24>;
22					};
23				};
24			};
25		};
26	};
27
28	pinmux@70000868 {
29		state_default: pinmux {
30			lcd_pwr2_pc6 {
31				nvidia,pins = "lcd_pwr2_pc6",
32						"lcd_dc1_pd2";
33				nvidia,function = "displaya";
34				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
35				nvidia,tristate = <TEGRA_PIN_DISABLE>;
36				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
37			};
38
39			pbb3 {
40				nvidia,pins = "pbb3";
41				nvidia,function = "vgp3";
42				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
43				nvidia,tristate = <TEGRA_PIN_DISABLE>;
44				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
45			};
46
47			spi2_mosi_px0 {
48				nvidia,pins = "spi2_mosi_px0";
49				nvidia,function = "spi2";
50				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
51				nvidia,tristate = <TEGRA_PIN_DISABLE>;
52				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
53			};
54
55			pbb7 {
56				nvidia,pins = "pbb7";
57				nvidia,function = "i2s4";
58				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
59				nvidia,tristate = <TEGRA_PIN_DISABLE>;
60				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
61			};
62
63			kb_row7_pr7 {
64				nvidia,pins = "kb_row7_pr7";
65				nvidia,function = "kbc";
66				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
67				nvidia,tristate = <TEGRA_PIN_DISABLE>;
68				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
69			};
70
71			gmi_cs4_n_pk2 {
72				nvidia,pins = "gmi_cs4_n_pk2";
73				nvidia,function = "gmi";
74				nvidia,pull = <TEGRA_PIN_PULL_UP>;
75				nvidia,tristate = <TEGRA_PIN_DISABLE>;
76				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
77			};
78		};
79	};
80
81	serial@70006200 {
82		/* Azurewave AW-NH665 BCM4330B1 */
83		bluetooth {
84			compatible = "brcm,bcm4330-bt";
85		};
86	};
87
88	i2c@7000c400 {
89		/* Elantech ELAN-3024-7053 or 5184N FPC-1 REV: 2/3 touchscreen */
90		touchscreen@10 {
91			compatible = "elan,ektf3624";
92			reg = <0x10>;
93
94			interrupt-parent = <&gpio>;
95			interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
96			reset-gpios = <&gpio TEGRA_GPIO(H, 6) GPIO_ACTIVE_LOW>;
97
98			vcc33-supply = <&vdd_3v3_sys>;
99			vccio-supply = <&vdd_3v3_sys>;
100
101			touchscreen-size-x = <2944>;
102			touchscreen-size-y = <1856>;
103			touchscreen-inverted-y;
104		};
105	};
106
107	i2c@7000c500 {
108		clock-frequency = <100000>;
109
110		magnetometer@e {
111			mount-matrix =   "1",  "0",  "0",
112					 "0", "-1",  "0",
113					 "0",  "0", "-1";
114		};
115
116		gyroscope@68 {
117			mount-matrix =   "0",  "1",  "0",
118					 "1",  "0",  "0",
119					 "0",  "0", "-1";
120
121			/* External I2C interface */
122			i2c-gate {
123				accelerometer@f {
124					mount-matrix =   "0", "-1",  "0",
125							"-1",  "0",  "0",
126							 "0",  "0",  "1";
127				};
128			};
129		};
130	};
131
132	i2c@7000d000 {
133		/* Realtek ALC5631 audio codec */
134		rt5631: audio-codec@1a {
135			compatible = "realtek,rt5631";
136			reg = <0x1a>;
137		};
138	};
139
140	memory-controller@7000f000 {
141		emc-timings-0 {
142			/* Micron 1GB 800MHZ */
143			nvidia,ram-code = <0>;
144
145			timing-25500000 {
146				clock-frequency = <25500000>;
147
148				nvidia,emem-configuration = < 0x00020001 0xc0000020
149					0x00000001 0x00000001 0x00000002 0x00000000
150					0x00000001 0x00000001 0x00000003 0x00000008
151					0x00000002 0x00000001 0x00000002 0x00000006
152					0x06020102 0x000a0502 0x75830303 0x001f0000 >;
153			};
154
155			timing-51000000 {
156				clock-frequency = <51000000>;
157
158				nvidia,emem-configuration = < 0x00010001 0xc0000020
159					0x00000001 0x00000001 0x00000002 0x00000000
160					0x00000001 0x00000001 0x00000003 0x00000008
161					0x00000002 0x00000001 0x00000002 0x00000006
162					0x06020102 0x000a0502 0x74630303 0x001f0000 >;
163			};
164
165			timing-102000000 {
166				clock-frequency = <102000000>;
167
168				nvidia,emem-configuration = < 0x00000001 0xc0000030
169					0x00000001 0x00000001 0x00000003 0x00000000
170					0x00000002 0x00000001 0x00000003 0x00000008
171					0x00000002 0x00000001 0x00000002 0x00000006
172					0x06020102 0x000a0503 0x73c30504 0x001f0000 >;
173			};
174
175			timing-204000000 {
176				clock-frequency = <204000000>;
177
178				nvidia,emem-configuration = < 0x00000003 0xc0000025
179					0x00000001 0x00000001 0x00000005 0x00000002
180					0x00000004 0x00000001 0x00000003 0x00000008
181					0x00000002 0x00000001 0x00000002 0x00000006
182					0x06020102 0x000a0505 0x73840a06 0x001f0000 >;
183			};
184
185			timing-400000000 {
186				clock-frequency = <400000000>;
187
188				nvidia,emem-configuration = < 0x00000006 0xc0000048
189					0x00000001 0x00000002 0x00000009 0x00000005
190					0x00000007 0x00000001 0x00000002 0x00000008
191					0x00000002 0x00000002 0x00000003 0x00000006
192					0x06030202 0x000d0709 0x7086120a 0x001f0000 >;
193			};
194
195			timing-800000000 {
196				clock-frequency = <800000000>;
197
198				nvidia,emem-configuration = < 0x0000000c 0xc0000090
199					0x00000004 0x00000005 0x00000013 0x0000000c
200					0x0000000f 0x00000002 0x00000003 0x0000000c
201					0x00000002 0x00000002 0x00000004 0x00000008
202					0x08040202 0x00160d13 0x712c2414 0x001f0000 >;
203			};
204		};
205
206		emc-timings-1 {
207			/* Elpida 1GB 800MHZ */
208			nvidia,ram-code = <1>;
209
210			timing-25500000 {
211				clock-frequency = <25500000>;
212
213				nvidia,emem-configuration = < 0x00020001 0xc0000020
214					0x00000001 0x00000001 0x00000002 0x00000000
215					0x00000001 0x00000001 0x00000003 0x00000008
216					0x00000002 0x00000001 0x00000002 0x00000006
217					0x06020102 0x000a0502 0x75830303 0x001f0000 >;
218			};
219
220			timing-51000000 {
221				clock-frequency = <51000000>;
222
223				nvidia,emem-configuration = < 0x00010001 0xc0000020
224					0x00000001 0x00000001 0x00000002 0x00000000
225					0x00000001 0x00000001 0x00000003 0x00000008
226					0x00000002 0x00000001 0x00000002 0x00000006
227					0x06020102 0x000a0502 0x74630303 0x001f0000 >;
228			};
229
230			timing-102000000 {
231				clock-frequency = <102000000>;
232
233				nvidia,emem-configuration = < 0x00000001 0xc0000030
234					0x00000001 0x00000001 0x00000003 0x00000000
235					0x00000002 0x00000001 0x00000003 0x00000008
236					0x00000002 0x00000001 0x00000002 0x00000006
237					0x06020102 0x000a0503 0x73c30504 0x001f0000 >;
238			};
239
240			timing-204000000 {
241				clock-frequency = <204000000>;
242
243				nvidia,emem-configuration = < 0x00000003 0xc0000025
244					0x00000001 0x00000001 0x00000005 0x00000002
245					0x00000004 0x00000001 0x00000003 0x00000008
246					0x00000002 0x00000001 0x00000002 0x00000006
247					0x06020102 0x000a0505 0x73840a06 0x001f0000 >;
248			};
249
250			timing-400000000 {
251				clock-frequency = <400000000>;
252
253				nvidia,emem-configuration = < 0x00000006 0xc0000048
254					0x00000001 0x00000002 0x00000009 0x00000005
255					0x00000007 0x00000001 0x00000002 0x00000008
256					0x00000002 0x00000002 0x00000003 0x00000006
257					0x06030202 0x000d0709 0x7086120a 0x001f0000 >;
258			};
259
260			timing-800000000 {
261				clock-frequency = <800000000>;
262
263				nvidia,emem-configuration = < 0x0000000c 0xc0000090
264					0x00000004 0x00000005 0x00000013 0x0000000c
265					0x0000000f 0x00000002 0x00000003 0x0000000c
266					0x00000002 0x00000002 0x00000004 0x00000008
267					0x08040202 0x00160d13 0x712c2414 0x001f0000 >;
268			};
269		};
270	};
271
272	memory-controller@7000f400 {
273		emc-timings-0 {
274			/* Micron 1GB 800MHZ */
275			nvidia,ram-code = <0>;
276
277			timing-25500000 {
278				clock-frequency = <25500000>;
279
280				nvidia,emc-auto-cal-interval = <0x001fffff>;
281				nvidia,emc-mode-1 = <0x80100003>;
282				nvidia,emc-mode-2 = <0x80200008>;
283				nvidia,emc-mode-reset = <0x80001221>;
284				nvidia,emc-zcal-cnt-long = <0x00000040>;
285				nvidia,emc-cfg-dyn-self-ref;
286				nvidia,emc-cfg-periodic-qrst;
287
288				nvidia,emc-configuration =  < 0x00000001
289					0x00000006 0x00000000 0x00000000 0x00000002
290					0x0000000a 0x00000005 0x0000000b 0x00000000
291					0x00000000 0x00000003 0x00000001 0x00000000
292					0x00000005 0x00000005 0x00000004 0x0000000a
293					0x0000000b 0x000000c0 0x00000000 0x00000030
294					0x00000002 0x00000002 0x00000001 0x00000000
295					0x00000007 0x0000000f 0x00000007 0x00000007
296					0x00000004 0x00000002 0x00000000 0x00000004
297					0x00000005 0x000000c7 0x00000006 0x00000004
298					0x00000000 0x00000000 0x00004288 0x007800a4
299					0x00008000 0x000fc000 0x000fc000 0x000fc000
300					0x000fc000 0x000fc000 0x000fc000 0x000fc000
301					0x000fc000 0x00000000 0x00000000 0x00000000
302					0x00000000 0x00000000 0x00000000 0x00000000
303					0x00000000 0x00000000 0x00000000 0x00000000
304					0x00000000 0x00000000 0x00000000 0x00000000
305					0x00000000 0x000fc000 0x000fc000 0x000fc000
306					0x000fc000 0x000002a0 0x0800211c 0x00000000
307					0x77fff884 0x01f1f108 0x05057404 0x54000007
308					0x08000168 0x08000000 0x00000802 0x00000000
309					0x00000040 0x000c000c 0xa0f10000 0x00000000
310					0x00000000 0x80000287 0xe8000000 0xff00ff00 >;
311			};
312
313			timing-51000000 {
314				clock-frequency = <51000000>;
315
316				nvidia,emc-auto-cal-interval = <0x001fffff>;
317				nvidia,emc-mode-1 = <0x80100003>;
318				nvidia,emc-mode-2 = <0x80200008>;
319				nvidia,emc-mode-reset = <0x80001221>;
320				nvidia,emc-zcal-cnt-long = <0x00000040>;
321				nvidia,emc-cfg-dyn-self-ref;
322				nvidia,emc-cfg-periodic-qrst;
323
324				nvidia,emc-configuration =  < 0x00000002
325					0x0000000d 0x00000001 0x00000000 0x00000002
326					0x0000000a 0x00000005 0x0000000b 0x00000000
327					0x00000000 0x00000003 0x00000001 0x00000000
328					0x00000005 0x00000005 0x00000004 0x0000000a
329					0x0000000b 0x00000181 0x00000000 0x00000060
330					0x00000002 0x00000002 0x00000001 0x00000000
331					0x00000007 0x0000000f 0x0000000e 0x0000000e
332					0x00000004 0x00000003 0x00000000 0x00000004
333					0x00000005 0x0000018e 0x00000006 0x00000004
334					0x00000000 0x00000000 0x00004288 0x007800a4
335					0x00008000 0x000fc000 0x000fc000 0x000fc000
336					0x000fc000 0x000fc000 0x000fc000 0x000fc000
337					0x000fc000 0x00000000 0x00000000 0x00000000
338					0x00000000 0x00000000 0x00000000 0x00000000
339					0x00000000 0x00000000 0x00000000 0x00000000
340					0x00000000 0x00000000 0x00000000 0x00000000
341					0x00000000 0x000fc000 0x000fc000 0x000fc000
342					0x000fc000 0x000002a0 0x0800211c 0x00000000
343					0x77fff884 0x01f1f108 0x05057404 0x54000007
344					0x08000168 0x08000000 0x00000802 0x00000000
345					0x00000040 0x000c000c 0xa0f10000 0x00000000
346					0x00000000 0x8000040b 0xe8000000 0xff00ff00 >;
347			};
348
349			timing-102000000 {
350				clock-frequency = <102000000>;
351
352				nvidia,emc-auto-cal-interval = <0x001fffff>;
353				nvidia,emc-mode-1 = <0x80100003>;
354				nvidia,emc-mode-2 = <0x80200008>;
355				nvidia,emc-mode-reset = <0x80001221>;
356				nvidia,emc-zcal-cnt-long = <0x00000040>;
357				nvidia,emc-cfg-dyn-self-ref;
358				nvidia,emc-cfg-periodic-qrst;
359
360				nvidia,emc-configuration =  < 0x00000004
361					0x0000001a 0x00000003 0x00000001 0x00000002
362					0x0000000a 0x00000005 0x0000000b 0x00000001
363					0x00000001 0x00000003 0x00000001 0x00000000
364					0x00000005 0x00000005 0x00000004 0x0000000a
365					0x0000000b 0x00000303 0x00000000 0x000000c0
366					0x00000002 0x00000002 0x00000001 0x00000000
367					0x00000007 0x0000000f 0x0000001c 0x0000001c
368					0x00000004 0x00000005 0x00000000 0x00000004
369					0x00000005 0x0000031c 0x00000006 0x00000004
370					0x00000000 0x00000000 0x00004288 0x007800a4
371					0x00008000 0x000fc000 0x000fc000 0x000fc000
372					0x000fc000 0x000fc000 0x000fc000 0x000fc000
373					0x000fc000 0x00000000 0x00000000 0x00000000
374					0x00000000 0x00000000 0x00000000 0x00000000
375					0x00000000 0x00000000 0x00000000 0x00000000
376					0x00000000 0x00000000 0x00000000 0x00000000
377					0x00000000 0x000fc000 0x000fc000 0x000fc000
378					0x000fc000 0x000002a0 0x0800211c 0x00000000
379					0x77fff884 0x01f1f108 0x05057404 0x54000007
380					0x08000168 0x08000000 0x00000802 0x00000000
381					0x00000040 0x000c000c 0xa0f10000 0x00000000
382					0x00000000 0x80000713 0xe8000000 0xff00ff00 >;
383			};
384
385			timing-204000000 {
386				clock-frequency = <204000000>;
387
388				nvidia,emc-auto-cal-interval = <0x001fffff>;
389				nvidia,emc-mode-1 = <0x80100003>;
390				nvidia,emc-mode-2 = <0x80200008>;
391				nvidia,emc-mode-reset = <0x80001221>;
392				nvidia,emc-zcal-cnt-long = <0x00000040>;
393				nvidia,emc-cfg-dyn-self-ref;
394				nvidia,emc-cfg-periodic-qrst;
395
396				nvidia,emc-configuration =  < 0x00000009
397					0x00000035 0x00000007 0x00000002 0x00000002
398					0x0000000a 0x00000005 0x0000000b 0x00000002
399					0x00000002 0x00000003 0x00000001 0x00000000
400					0x00000005 0x00000006 0x00000004 0x0000000a
401					0x0000000b 0x00000607 0x00000000 0x00000181
402					0x00000002 0x00000002 0x00000001 0x00000000
403					0x00000007 0x0000000f 0x00000038 0x00000038
404					0x00000004 0x00000009 0x00000000 0x00000004
405					0x00000005 0x00000638 0x00000007 0x00000004
406					0x00000000 0x00000000 0x00004288 0x004400a4
407					0x00008000 0x00080000 0x00080000 0x00080000
408					0x00080000 0x00080000 0x00080000 0x00080000
409					0x00080000 0x00000000 0x00000000 0x00000000
410					0x00000000 0x00000000 0x00000000 0x00000000
411					0x00000000 0x00000000 0x00000000 0x00000000
412					0x00000000 0x00000000 0x00000000 0x00000000
413					0x00000000 0x00080000 0x00080000 0x00080000
414					0x00080000 0x000002a0 0x0800211c 0x00000000
415					0x77fff884 0x01f1f108 0x05057404 0x54000007
416					0x08000168 0x08000000 0x00000802 0x00020000
417					0x00000100 0x000c000c 0xa0f10000 0x00000000
418					0x00000000 0x80000d22 0xe8000000 0xff00ff00 >;
419			};
420
421			timing-400000000 {
422				clock-frequency = <400000000>;
423
424				nvidia,emc-auto-cal-interval = <0x001fffff>;
425				nvidia,emc-mode-1 = <0x80100002>;
426				nvidia,emc-mode-2 = <0x80200000>;
427				nvidia,emc-mode-reset = <0x80000521>;
428				nvidia,emc-zcal-cnt-long = <0x00000040>;
429
430				nvidia,emc-configuration =  < 0x00000012
431					0x00000066 0x0000000c 0x00000004 0x00000003
432					0x00000008 0x00000002 0x0000000a 0x00000004
433					0x00000004 0x00000002 0x00000001 0x00000000
434					0x00000004 0x00000006 0x00000004 0x0000000a
435					0x0000000c 0x00000bf0 0x00000000 0x000002fc
436					0x00000001 0x00000008 0x00000001 0x00000000
437					0x00000008 0x0000000f 0x0000006c 0x00000200
438					0x00000004 0x00000010 0x00000000 0x00000004
439					0x00000005 0x00000c30 0x00000000 0x00000004
440					0x00000000 0x00000000 0x00007088 0x001d0084
441					0x00008000 0x00044000 0x00044000 0x00044000
442					0x00044000 0x00014000 0x00014000 0x00014000
443					0x00014000 0x00000000 0x00000000 0x00000000
444					0x00000000 0x00000000 0x00000000 0x00000000
445					0x00000000 0x00000000 0x00000000 0x00000000
446					0x00000000 0x00000000 0x00000000 0x00000000
447					0x00000000 0x00048000 0x00048000 0x00048000
448					0x00048000 0x000002a0 0x0600013d 0x00000000
449					0x77fff884 0x01f1f508 0x05057404 0x54000007
450					0x080001e8 0x08000021 0x00000802 0x00020000
451					0x00000100 0x0158000c 0xa0f10000 0x00000000
452					0x00000000 0x800018c8 0xe8000000 0xff00ff89 >;
453			};
454
455			timing-800000000 {
456				clock-frequency = <800000000>;
457
458				nvidia,emc-auto-cal-interval = <0x001fffff>;
459				nvidia,emc-mode-1 = <0x80100002>;
460				nvidia,emc-mode-2 = <0x80200018>;
461				nvidia,emc-mode-reset = <0x80000d71>;
462				nvidia,emc-zcal-cnt-long = <0x00000040>;
463				nvidia,emc-cfg-periodic-qrst;
464
465				nvidia,emc-configuration =  < 0x00000025
466					0x000000ce 0x0000001a 0x00000009 0x00000005
467					0x0000000d 0x00000004 0x00000013 0x00000009
468					0x00000009 0x00000004 0x00000001 0x00000000
469					0x00000007 0x0000000a 0x00000009 0x0000000a
470					0x00000011 0x00001820 0x00000000 0x00000608
471					0x00000003 0x00000012 0x00000001 0x00000000
472					0x0000000f 0x00000018 0x000000d8 0x00000200
473					0x00000005 0x00000020 0x00000000 0x00000007
474					0x00000008 0x00001860 0x0000000b 0x00000006
475					0x00000000 0x00000000 0x00005088 0xf0070191
476					0x00008000 0x0000000a 0x0000000a 0x0000000a
477					0x0000000a 0x0000000a 0x0000000a 0x0000000a
478					0x0000000a 0x00018000 0x00018000 0x00018000
479					0x00018000 0x00000000 0x00000000 0x00000000
480					0x00000000 0x00000000 0x00000000 0x00000000
481					0x00000000 0x00000000 0x00000000 0x00000000
482					0x00000000 0x0000000a 0x0000000a 0x0000000a
483					0x0000000a 0x000002a0 0x0800013d 0x22220000
484					0x77fff884 0x01f1f501 0x07077404 0x54000000
485					0x080001e8 0x08000021 0x00000802 0x00020000
486					0x00000100 0x00f0000c 0xa0f10000 0x00000000
487					0x00000000 0x8000308c 0xe8000000 0xff00ff49 >;
488			};
489		};
490
491		emc-timings-1 {
492			/* Elpida 1GB 800MHZ */
493			nvidia,ram-code = <1>;
494
495			timing-25500000 {
496				clock-frequency = <25500000>;
497
498				nvidia,emc-auto-cal-interval = <0x001fffff>;
499				nvidia,emc-mode-1 = <0x80100003>;
500				nvidia,emc-mode-2 = <0x80200008>;
501				nvidia,emc-mode-reset = <0x80001221>;
502				nvidia,emc-zcal-cnt-long = <0x00000040>;
503				nvidia,emc-cfg-dyn-self-ref;
504				nvidia,emc-cfg-periodic-qrst;
505
506				nvidia,emc-configuration =  < 0x00000001
507					0x00000006 0x00000000 0x00000000 0x00000002
508					0x0000000a 0x00000005 0x0000000b 0x00000000
509					0x00000000 0x00000003 0x00000001 0x00000000
510					0x00000005 0x00000005 0x00000004 0x0000000a
511					0x0000000b 0x000000c0 0x00000000 0x00000030
512					0x00000002 0x00000002 0x00000001 0x00000000
513					0x00000007 0x0000000f 0x00000007 0x00000007
514					0x00000004 0x00000002 0x00000000 0x00000004
515					0x00000005 0x000000c7 0x00000006 0x00000004
516					0x00000000 0x00000000 0x00004288 0x007800a4
517					0x00008000 0x000fc000 0x000fc000 0x000fc000
518					0x000fc000 0x000fc000 0x000fc000 0x000fc000
519					0x000fc000 0x00000000 0x00000000 0x00000000
520					0x00000000 0x00000000 0x00000000 0x00000000
521					0x00000000 0x00000000 0x00000000 0x00000000
522					0x00000000 0x00000000 0x00000000 0x00000000
523					0x00000000 0x000fc000 0x000fc000 0x000fc000
524					0x000fc000 0x000002a0 0x0800211c 0x00000000
525					0x77fff884 0x01f1f108 0x05057404 0x54000007
526					0x08000168 0x08000000 0x00000802 0x00000000
527					0x00000040 0x000c000c 0xa0f10000 0x00000000
528					0x00000000 0x80000287 0xe8000000 0xff00ff00 >;
529			};
530
531			timing-51000000 {
532				clock-frequency = <51000000>;
533
534				nvidia,emc-auto-cal-interval = <0x001fffff>;
535				nvidia,emc-mode-1 = <0x80100003>;
536				nvidia,emc-mode-2 = <0x80200008>;
537				nvidia,emc-mode-reset = <0x80001221>;
538				nvidia,emc-zcal-cnt-long = <0x00000040>;
539				nvidia,emc-cfg-dyn-self-ref;
540				nvidia,emc-cfg-periodic-qrst;
541
542				nvidia,emc-configuration =  < 0x00000002
543					0x0000000d 0x00000001 0x00000000 0x00000002
544					0x0000000a 0x00000005 0x0000000b 0x00000000
545					0x00000000 0x00000003 0x00000001 0x00000000
546					0x00000005 0x00000005 0x00000004 0x0000000a
547					0x0000000b 0x00000181 0x00000000 0x00000060
548					0x00000002 0x00000002 0x00000001 0x00000000
549					0x00000007 0x0000000f 0x0000000e 0x0000000e
550					0x00000004 0x00000003 0x00000000 0x00000004
551					0x00000005 0x0000018e 0x00000006 0x00000004
552					0x00000000 0x00000000 0x00004288 0x007800a4
553					0x00008000 0x000fc000 0x000fc000 0x000fc000
554					0x000fc000 0x000fc000 0x000fc000 0x000fc000
555					0x000fc000 0x00000000 0x00000000 0x00000000
556					0x00000000 0x00000000 0x00000000 0x00000000
557					0x00000000 0x00000000 0x00000000 0x00000000
558					0x00000000 0x00000000 0x00000000 0x00000000
559					0x00000000 0x000fc000 0x000fc000 0x000fc000
560					0x000fc000 0x000002a0 0x0800211c 0x00000000
561					0x77fff884 0x01f1f108 0x05057404 0x54000007
562					0x08000168 0x08000000 0x00000802 0x00000000
563					0x00000040 0x000c000c 0xa0f10000 0x00000000
564					0x00000000 0x8000040b 0xe8000000 0xff00ff00 >;
565			};
566
567			timing-102000000 {
568				clock-frequency = <102000000>;
569
570				nvidia,emc-auto-cal-interval = <0x001fffff>;
571				nvidia,emc-mode-1 = <0x80100003>;
572				nvidia,emc-mode-2 = <0x80200008>;
573				nvidia,emc-mode-reset = <0x80001221>;
574				nvidia,emc-zcal-cnt-long = <0x00000040>;
575				nvidia,emc-cfg-dyn-self-ref;
576				nvidia,emc-cfg-periodic-qrst;
577
578				nvidia,emc-configuration =  < 0x00000004
579					0x0000001a 0x00000003 0x00000001 0x00000002
580					0x0000000a 0x00000005 0x0000000b 0x00000001
581					0x00000001 0x00000003 0x00000001 0x00000000
582					0x00000005 0x00000005 0x00000004 0x0000000a
583					0x0000000b 0x00000303 0x00000000 0x000000c0
584					0x00000002 0x00000002 0x00000001 0x00000000
585					0x00000007 0x0000000f 0x0000001c 0x0000001c
586					0x00000004 0x00000005 0x00000000 0x00000004
587					0x00000005 0x0000031c 0x00000006 0x00000004
588					0x00000000 0x00000000 0x00004288 0x007800a4
589					0x00008000 0x000fc000 0x000fc000 0x000fc000
590					0x000fc000 0x000fc000 0x000fc000 0x000fc000
591					0x000fc000 0x00000000 0x00000000 0x00000000
592					0x00000000 0x00000000 0x00000000 0x00000000
593					0x00000000 0x00000000 0x00000000 0x00000000
594					0x00000000 0x00000000 0x00000000 0x00000000
595					0x00000000 0x000fc000 0x000fc000 0x000fc000
596					0x000fc000 0x000002a0 0x0800211c 0x00000000
597					0x77fff884 0x01f1f108 0x05057404 0x54000007
598					0x08000168 0x08000000 0x00000802 0x00000000
599					0x00000040 0x000c000c 0xa0f10000 0x00000000
600					0x00000000 0x80000713 0xe8000000 0xff00ff00 >;
601			};
602
603			timing-204000000 {
604				clock-frequency = <204000000>;
605
606				nvidia,emc-auto-cal-interval = <0x001fffff>;
607				nvidia,emc-mode-1 = <0x80100003>;
608				nvidia,emc-mode-2 = <0x80200008>;
609				nvidia,emc-mode-reset = <0x80001221>;
610				nvidia,emc-zcal-cnt-long = <0x00000040>;
611				nvidia,emc-cfg-dyn-self-ref;
612				nvidia,emc-cfg-periodic-qrst;
613
614				nvidia,emc-configuration =  < 0x00000009
615					0x00000035 0x00000007 0x00000002 0x00000002
616					0x0000000a 0x00000005 0x0000000b 0x00000002
617					0x00000002 0x00000003 0x00000001 0x00000000
618					0x00000005 0x00000006 0x00000004 0x0000000a
619					0x0000000b 0x00000607 0x00000000 0x00000181
620					0x00000002 0x00000002 0x00000001 0x00000000
621					0x00000007 0x0000000f 0x00000038 0x00000038
622					0x00000004 0x00000009 0x00000000 0x00000004
623					0x00000005 0x00000638 0x00000007 0x00000004
624					0x00000000 0x00000000 0x00004288 0x004400a4
625					0x00008000 0x00080000 0x00080000 0x00080000
626					0x00080000 0x00080000 0x00080000 0x00080000
627					0x00080000 0x00000000 0x00000000 0x00000000
628					0x00000000 0x00000000 0x00000000 0x00000000
629					0x00000000 0x00000000 0x00000000 0x00000000
630					0x00000000 0x00000000 0x00000000 0x00000000
631					0x00000000 0x00080000 0x00080000 0x00080000
632					0x00080000 0x000002a0 0x0800211c 0x00000000
633					0x77fff884 0x01f1f108 0x05057404 0x54000007
634					0x08000168 0x08000000 0x00000802 0x00020000
635					0x00000100 0x000c000c 0xa0f10000 0x00000000
636					0x00000000 0x80000d22 0xe8000000 0xff00ff00 >;
637			};
638
639			timing-400000000 {
640				clock-frequency = <400000000>;
641
642				nvidia,emc-auto-cal-interval = <0x001fffff>;
643				nvidia,emc-mode-1 = <0x80100002>;
644				nvidia,emc-mode-2 = <0x80200000>;
645				nvidia,emc-mode-reset = <0x80000521>;
646				nvidia,emc-zcal-cnt-long = <0x00000040>;
647
648				nvidia,emc-configuration =  < 0x00000012
649					0x00000066 0x0000000c 0x00000004 0x00000003
650					0x00000008 0x00000002 0x0000000a 0x00000004
651					0x00000004 0x00000002 0x00000001 0x00000000
652					0x00000004 0x00000006 0x00000004 0x0000000a
653					0x0000000c 0x00000bf0 0x00000000 0x000002fc
654					0x00000001 0x00000008 0x00000001 0x00000000
655					0x00000008 0x0000000f 0x0000006c 0x00000200
656					0x00000004 0x00000010 0x00000000 0x00000004
657					0x00000005 0x00000c30 0x00000000 0x00000004
658					0x00000000 0x00000000 0x00007088 0x001d0084
659					0x00008000 0x00044000 0x00044000 0x00044000
660					0x00044000 0x00014000 0x00014000 0x00014000
661					0x00014000 0x00000000 0x00000000 0x00000000
662					0x00000000 0x00000000 0x00000000 0x00000000
663					0x00000000 0x00000000 0x00000000 0x00000000
664					0x00000000 0x00000000 0x00000000 0x00000000
665					0x00000000 0x00048000 0x00048000 0x00048000
666					0x00048000 0x000002a0 0x0600013d 0x00000000
667					0x77fff884 0x01f1f508 0x05057404 0x54000007
668					0x080001e8 0x08000021 0x00000802 0x00020000
669					0x00000100 0x0158000c 0xa0f10000 0x00000000
670					0x00000000 0x800018c8 0xe8000000 0xff00ff89 >;
671			};
672
673			timing-800000000 {
674				clock-frequency = <800000000>;
675
676				nvidia,emc-auto-cal-interval = <0x001fffff>;
677				nvidia,emc-mode-1 = <0x80100002>;
678				nvidia,emc-mode-2 = <0x80200018>;
679				nvidia,emc-mode-reset = <0x80000d71>;
680				nvidia,emc-zcal-cnt-long = <0x00000040>;
681				nvidia,emc-cfg-periodic-qrst;
682
683				nvidia,emc-configuration =  < 0x00000025
684					0x000000ce 0x0000001a 0x00000009 0x00000005
685					0x0000000d 0x00000004 0x00000013 0x00000009
686					0x00000009 0x00000004 0x00000001 0x00000000
687					0x00000007 0x0000000a 0x00000009 0x0000000a
688					0x00000011 0x00001820 0x00000000 0x00000608
689					0x00000003 0x00000012 0x00000001 0x00000000
690					0x0000000f 0x00000018 0x000000d8 0x00000200
691					0x00000005 0x00000020 0x00000000 0x00000007
692					0x00000008 0x00001860 0x0000000b 0x00000006
693					0x00000000 0x00000000 0x00005088 0xf0070191
694					0x00008000 0x0000000a 0x0000000a 0x0000000a
695					0x0000000a 0x0000000a 0x0000000a 0x0000000a
696					0x0000000a 0x00018000 0x00018000 0x00018000
697					0x00018000 0x00000000 0x00000000 0x00000000
698					0x00000000 0x00000000 0x00000000 0x00000000
699					0x00000000 0x00000000 0x00000000 0x00000000
700					0x00000000 0x0000000a 0x0000000a 0x0000000a
701					0x0000000a 0x000002a0 0x0a00013d 0x22220000
702					0x77fff884 0x01f1f501 0x07077404 0x54000000
703					0x080001e8 0x08000021 0x00000802 0x00020000
704					0x00000100 0x00f0000c 0xa0f10000 0x00000000
705					0x00000000 0x8000308c 0xe8000000 0xff00ff49 >;
706			};
707		};
708	};
709
710	tc358768_refclk: clock-tc358768 {
711		compatible = "fixed-clock";
712		clock-frequency = <23100000>;
713		clock-accuracy = <100>;
714		#clock-cells = <0>;
715	};
716
717	tc358768_osc: clock-tc358768-osc-gate {
718		compatible = "gpio-gate-clock";
719		enable-gpios = <&gpio TEGRA_GPIO(D, 2) GPIO_ACTIVE_HIGH>;
720		clocks = <&tc358768_refclk>;
721		#clock-cells = <0>;
722	};
723
724	haptic-feedback {
725		compatible = "gpio-vibrator";
726		enable-gpios = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
727		vcc-supply = <&vdd_3v3_sys>;
728	};
729
730	i2c-mux {
731		compatible = "i2c-mux-gpio";
732
733		mux-gpios = <&gpio TEGRA_GPIO(X, 0) GPIO_ACTIVE_HIGH>;
734		i2c-parent = <&lcd_ddc>;
735		idle-state = <0x0>;
736
737		#address-cells = <1>;
738		#size-cells = <0>;
739
740		i2c@1 {
741			reg = <1>;
742			#address-cells = <1>;
743			#size-cells = <0>;
744
745			dsi@7 {
746				compatible = "toshiba,tc358768";
747				reg = <0x7>;
748
749				#address-cells = <1>;
750				#size-cells = <0>;
751
752				clocks = <&tc358768_osc>;
753				clock-names = "refclk";
754
755				reset-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
756
757				vddc-supply = <&vdd_1v2_mipi>;
758				vddio-supply = <&vdd_1v8_vio>;
759				vddmipi-supply = <&vdd_1v2_mipi>;
760
761				/*
762				 * Panasonic VVX10F004B00 or HYDIS HV101WU1-1E1
763				 * LCD SuperIPS+ Full HD panel.
764				 */
765				panel@1 {
766					compatible = "panasonic,vvx10f004b00";
767					reg = <1>;
768
769					power-supply = <&vdd_pnl>;
770					backlight = <&backlight>;
771
772					port {
773						panel_input: endpoint {
774							remote-endpoint = <&bridge_output>;
775						};
776					};
777				};
778
779				ports {
780					#address-cells = <1>;
781					#size-cells = <0>;
782
783					port@0 {
784						reg = <0>;
785
786						bridge_input: endpoint {
787							remote-endpoint = <&dpi_output>;
788							data-lines = <24>;
789						};
790					};
791
792					port@1 {
793						reg = <1>;
794
795						bridge_output: endpoint {
796							remote-endpoint = <&panel_input>;
797						};
798					};
799				};
800			};
801		};
802	};
803
804	opp-table-actmon {
805		/delete-node/ opp-900000000;
806	};
807
808	opp-table-emc {
809		/delete-node/ opp-900000000-1350;
810	};
811
812	vdd_1v2_mipi: regulator-mipi {
813		compatible = "regulator-fixed";
814		regulator-name = "tc358768_1v2_vdd";
815		regulator-min-microvolt = <1200000>;
816		regulator-max-microvolt = <1200000>;
817		regulator-enable-ramp-delay = <10000>;
818		regulator-boot-on;
819		gpio = <&gpio TEGRA_GPIO(BB, 3) GPIO_ACTIVE_HIGH>;
820		enable-active-high;
821		vin-supply = <&vdd_3v3_sys>;
822	};
823
824	sound {
825		compatible = "asus,tegra-audio-rt5631-tf700t",
826			     "nvidia,tegra-audio-rt5631";
827		nvidia,model = "Asus Transformer Infinity TF700T RT5631";
828
829		nvidia,audio-routing =
830			"Headphone Jack", "HPOL",
831			"Headphone Jack", "HPOR",
832			"Int Spk", "SPOL",
833			"Int Spk", "SPOR",
834			"MIC1", "MIC Bias1",
835			"MIC Bias1", "Mic Jack",
836			"DMIC", "Int Mic";
837
838		nvidia,audio-codec = <&rt5631>;
839	};
840};
841