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