xref: /freebsd-src/sys/contrib/device-tree/src/arm/nvidia/tegra20-ventana.dts (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/dts-v1/;
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
5f126890aSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
6f126890aSEmmanuel Vadot#include "tegra20.dtsi"
7f126890aSEmmanuel Vadot#include "tegra20-cpu-opp.dtsi"
8f126890aSEmmanuel Vadot#include "tegra20-cpu-opp-microvolt.dtsi"
9f126890aSEmmanuel Vadot
10f126890aSEmmanuel Vadot/ {
11f126890aSEmmanuel Vadot	model = "NVIDIA Tegra20 Ventana evaluation board";
12f126890aSEmmanuel Vadot	compatible = "nvidia,ventana", "nvidia,tegra20";
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	aliases {
15f126890aSEmmanuel Vadot		rtc0 = "/i2c@7000d000/tps6586x@34";
16f126890aSEmmanuel Vadot		rtc1 = "/rtc@7000e000";
17f126890aSEmmanuel Vadot		serial0 = &uartd;
18f126890aSEmmanuel Vadot	};
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot	chosen {
21f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	memory@0 {
25f126890aSEmmanuel Vadot		reg = <0x00000000 0x40000000>;
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot	host1x@50000000 {
29f126890aSEmmanuel Vadot		dc@54200000 {
30f126890aSEmmanuel Vadot			rgb {
31f126890aSEmmanuel Vadot				status = "okay";
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot				nvidia,panel = <&panel>;
34f126890aSEmmanuel Vadot			};
35f126890aSEmmanuel Vadot		};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		hdmi@54280000 {
38f126890aSEmmanuel Vadot			status = "okay";
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot			vdd-supply = <&hdmi_vdd_reg>;
41f126890aSEmmanuel Vadot			pll-supply = <&hdmi_pll_reg>;
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
44f126890aSEmmanuel Vadot			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
45f126890aSEmmanuel Vadot				GPIO_ACTIVE_HIGH>;
46f126890aSEmmanuel Vadot		};
47f126890aSEmmanuel Vadot	};
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot	pinmux@70000014 {
50f126890aSEmmanuel Vadot		pinctrl-names = "default";
51f126890aSEmmanuel Vadot		pinctrl-0 = <&state_default>;
52f126890aSEmmanuel Vadot
53f126890aSEmmanuel Vadot		state_default: pinmux {
54f126890aSEmmanuel Vadot			ata {
55f126890aSEmmanuel Vadot				nvidia,pins = "ata";
56f126890aSEmmanuel Vadot				nvidia,function = "ide";
57f126890aSEmmanuel Vadot			};
58f126890aSEmmanuel Vadot			atb {
59f126890aSEmmanuel Vadot				nvidia,pins = "atb", "gma", "gme";
60f126890aSEmmanuel Vadot				nvidia,function = "sdio4";
61f126890aSEmmanuel Vadot			};
62f126890aSEmmanuel Vadot			atc {
63f126890aSEmmanuel Vadot				nvidia,pins = "atc";
64f126890aSEmmanuel Vadot				nvidia,function = "nand";
65f126890aSEmmanuel Vadot			};
66f126890aSEmmanuel Vadot			atd {
67f126890aSEmmanuel Vadot				nvidia,pins = "atd", "ate", "gmb", "spia",
68f126890aSEmmanuel Vadot					"spib", "spic";
69f126890aSEmmanuel Vadot				nvidia,function = "gmi";
70f126890aSEmmanuel Vadot			};
71f126890aSEmmanuel Vadot			cdev1 {
72f126890aSEmmanuel Vadot				nvidia,pins = "cdev1";
73f126890aSEmmanuel Vadot				nvidia,function = "plla_out";
74f126890aSEmmanuel Vadot			};
75f126890aSEmmanuel Vadot			cdev2 {
76f126890aSEmmanuel Vadot				nvidia,pins = "cdev2";
77f126890aSEmmanuel Vadot				nvidia,function = "pllp_out4";
78f126890aSEmmanuel Vadot			};
79f126890aSEmmanuel Vadot			crtp {
80f126890aSEmmanuel Vadot				nvidia,pins = "crtp", "lm1";
81f126890aSEmmanuel Vadot				nvidia,function = "crt";
82f126890aSEmmanuel Vadot			};
83f126890aSEmmanuel Vadot			csus {
84f126890aSEmmanuel Vadot				nvidia,pins = "csus";
85f126890aSEmmanuel Vadot				nvidia,function = "vi_sensor_clk";
86f126890aSEmmanuel Vadot			};
87f126890aSEmmanuel Vadot			dap1 {
88f126890aSEmmanuel Vadot				nvidia,pins = "dap1";
89f126890aSEmmanuel Vadot				nvidia,function = "dap1";
90f126890aSEmmanuel Vadot			};
91f126890aSEmmanuel Vadot			dap2 {
92f126890aSEmmanuel Vadot				nvidia,pins = "dap2";
93f126890aSEmmanuel Vadot				nvidia,function = "dap2";
94f126890aSEmmanuel Vadot			};
95f126890aSEmmanuel Vadot			dap3 {
96f126890aSEmmanuel Vadot				nvidia,pins = "dap3";
97f126890aSEmmanuel Vadot				nvidia,function = "dap3";
98f126890aSEmmanuel Vadot			};
99f126890aSEmmanuel Vadot			dap4 {
100f126890aSEmmanuel Vadot				nvidia,pins = "dap4";
101f126890aSEmmanuel Vadot				nvidia,function = "dap4";
102f126890aSEmmanuel Vadot			};
103f126890aSEmmanuel Vadot			dta {
104f126890aSEmmanuel Vadot				nvidia,pins = "dta", "dtb", "dtc", "dtd", "dte";
105f126890aSEmmanuel Vadot				nvidia,function = "vi";
106f126890aSEmmanuel Vadot			};
107f126890aSEmmanuel Vadot			dtf {
108f126890aSEmmanuel Vadot				nvidia,pins = "dtf";
109f126890aSEmmanuel Vadot				nvidia,function = "i2c3";
110f126890aSEmmanuel Vadot			};
111f126890aSEmmanuel Vadot			gmc {
112f126890aSEmmanuel Vadot				nvidia,pins = "gmc";
113f126890aSEmmanuel Vadot				nvidia,function = "uartd";
114f126890aSEmmanuel Vadot			};
115f126890aSEmmanuel Vadot			gmd {
116f126890aSEmmanuel Vadot				nvidia,pins = "gmd";
117f126890aSEmmanuel Vadot				nvidia,function = "sflash";
118f126890aSEmmanuel Vadot			};
119f126890aSEmmanuel Vadot			gpu {
120f126890aSEmmanuel Vadot				nvidia,pins = "gpu";
121f126890aSEmmanuel Vadot				nvidia,function = "pwm";
122f126890aSEmmanuel Vadot			};
123f126890aSEmmanuel Vadot			gpu7 {
124f126890aSEmmanuel Vadot				nvidia,pins = "gpu7";
125f126890aSEmmanuel Vadot				nvidia,function = "rtck";
126f126890aSEmmanuel Vadot			};
127f126890aSEmmanuel Vadot			gpv {
128f126890aSEmmanuel Vadot				nvidia,pins = "gpv", "slxa", "slxk";
129f126890aSEmmanuel Vadot				nvidia,function = "pcie";
130f126890aSEmmanuel Vadot			};
131f126890aSEmmanuel Vadot			hdint {
132f126890aSEmmanuel Vadot				nvidia,pins = "hdint";
133f126890aSEmmanuel Vadot				nvidia,function = "hdmi";
134f126890aSEmmanuel Vadot			};
135f126890aSEmmanuel Vadot			i2cp {
136f126890aSEmmanuel Vadot				nvidia,pins = "i2cp";
137f126890aSEmmanuel Vadot				nvidia,function = "i2cp";
138f126890aSEmmanuel Vadot			};
139f126890aSEmmanuel Vadot			irrx {
140f126890aSEmmanuel Vadot				nvidia,pins = "irrx", "irtx";
141f126890aSEmmanuel Vadot				nvidia,function = "uartb";
142f126890aSEmmanuel Vadot			};
143f126890aSEmmanuel Vadot			kbca {
144f126890aSEmmanuel Vadot				nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
145f126890aSEmmanuel Vadot					"kbce", "kbcf";
146f126890aSEmmanuel Vadot				nvidia,function = "kbc";
147f126890aSEmmanuel Vadot			};
148f126890aSEmmanuel Vadot			lcsn {
149f126890aSEmmanuel Vadot				nvidia,pins = "lcsn", "ldc", "lm0", "lpw1",
150f126890aSEmmanuel Vadot					"lsdi", "lvp0";
151f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
152f126890aSEmmanuel Vadot			};
153f126890aSEmmanuel Vadot			ld0 {
154f126890aSEmmanuel Vadot				nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
155f126890aSEmmanuel Vadot					"ld5", "ld6", "ld7", "ld8", "ld9",
156f126890aSEmmanuel Vadot					"ld10", "ld11", "ld12", "ld13", "ld14",
157f126890aSEmmanuel Vadot					"ld15", "ld16", "ld17", "ldi", "lhp0",
158f126890aSEmmanuel Vadot					"lhp1", "lhp2", "lhs", "lpp", "lpw0",
159f126890aSEmmanuel Vadot					"lpw2", "lsc0", "lsc1", "lsck", "lsda",
160f126890aSEmmanuel Vadot					"lspi", "lvp1", "lvs";
161f126890aSEmmanuel Vadot				nvidia,function = "displaya";
162f126890aSEmmanuel Vadot			};
163f126890aSEmmanuel Vadot			owc {
164f126890aSEmmanuel Vadot				nvidia,pins = "owc", "spdi", "spdo", "uac";
165f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
166f126890aSEmmanuel Vadot			};
167f126890aSEmmanuel Vadot			pmc {
168f126890aSEmmanuel Vadot				nvidia,pins = "pmc";
169f126890aSEmmanuel Vadot				nvidia,function = "pwr_on";
170f126890aSEmmanuel Vadot			};
171f126890aSEmmanuel Vadot			rm {
172f126890aSEmmanuel Vadot				nvidia,pins = "rm";
173f126890aSEmmanuel Vadot				nvidia,function = "i2c1";
174f126890aSEmmanuel Vadot			};
175f126890aSEmmanuel Vadot			sdb {
176f126890aSEmmanuel Vadot				nvidia,pins = "sdb", "sdc", "sdd", "slxc";
177f126890aSEmmanuel Vadot				nvidia,function = "sdio3";
178f126890aSEmmanuel Vadot			};
179f126890aSEmmanuel Vadot			sdio1 {
180f126890aSEmmanuel Vadot				nvidia,pins = "sdio1";
181f126890aSEmmanuel Vadot				nvidia,function = "sdio1";
182f126890aSEmmanuel Vadot			};
183f126890aSEmmanuel Vadot			slxd {
184f126890aSEmmanuel Vadot				nvidia,pins = "slxd";
185f126890aSEmmanuel Vadot				nvidia,function = "spdif";
186f126890aSEmmanuel Vadot			};
187f126890aSEmmanuel Vadot			spid {
188f126890aSEmmanuel Vadot				nvidia,pins = "spid", "spie", "spif";
189f126890aSEmmanuel Vadot				nvidia,function = "spi1";
190f126890aSEmmanuel Vadot			};
191f126890aSEmmanuel Vadot			spig {
192f126890aSEmmanuel Vadot				nvidia,pins = "spig", "spih";
193f126890aSEmmanuel Vadot				nvidia,function = "spi2_alt";
194f126890aSEmmanuel Vadot			};
195f126890aSEmmanuel Vadot			uaa {
196f126890aSEmmanuel Vadot				nvidia,pins = "uaa", "uab", "uda";
197f126890aSEmmanuel Vadot				nvidia,function = "ulpi";
198f126890aSEmmanuel Vadot			};
199f126890aSEmmanuel Vadot			uad {
200f126890aSEmmanuel Vadot				nvidia,pins = "uad";
201f126890aSEmmanuel Vadot				nvidia,function = "irda";
202f126890aSEmmanuel Vadot			};
203f126890aSEmmanuel Vadot			uca {
204f126890aSEmmanuel Vadot				nvidia,pins = "uca", "ucb";
205f126890aSEmmanuel Vadot				nvidia,function = "uartc";
206f126890aSEmmanuel Vadot			};
207f126890aSEmmanuel Vadot			conf_ata {
208f126890aSEmmanuel Vadot				nvidia,pins = "ata", "atb", "atc", "atd",
209f126890aSEmmanuel Vadot					"cdev1", "cdev2", "dap1", "dap2",
210f126890aSEmmanuel Vadot					"dap4", "ddc", "dtf", "gma", "gmc",
211f126890aSEmmanuel Vadot					"gme", "gpu", "gpu7", "i2cp", "irrx",
212f126890aSEmmanuel Vadot					"irtx", "pta", "rm", "sdc", "sdd",
213f126890aSEmmanuel Vadot					"slxc", "slxd", "slxk", "spdi", "spdo",
214f126890aSEmmanuel Vadot					"uac", "uad", "uca", "ucb", "uda";
215f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
216f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
217f126890aSEmmanuel Vadot			};
218f126890aSEmmanuel Vadot			conf_ate {
219f126890aSEmmanuel Vadot				nvidia,pins = "ate", "csus", "dap3", "gmd",
220f126890aSEmmanuel Vadot					"gpv", "owc", "spia", "spib", "spic",
221f126890aSEmmanuel Vadot					"spid", "spie", "spig";
222f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
223f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
224f126890aSEmmanuel Vadot			};
225f126890aSEmmanuel Vadot			conf_ck32 {
226f126890aSEmmanuel Vadot				nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
227f126890aSEmmanuel Vadot					"pmcc", "pmcd", "pmce", "xm2c", "xm2d";
228f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
229f126890aSEmmanuel Vadot			};
230f126890aSEmmanuel Vadot			conf_crtp {
231f126890aSEmmanuel Vadot				nvidia,pins = "crtp", "gmb", "slxa", "spih";
232f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
233f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
234f126890aSEmmanuel Vadot			};
235f126890aSEmmanuel Vadot			conf_dta {
236f126890aSEmmanuel Vadot				nvidia,pins = "dta", "dtb", "dtc", "dtd";
237f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
238f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
239f126890aSEmmanuel Vadot			};
240f126890aSEmmanuel Vadot			conf_dte {
241f126890aSEmmanuel Vadot				nvidia,pins = "dte", "spif";
242f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
243f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
244f126890aSEmmanuel Vadot			};
245f126890aSEmmanuel Vadot			conf_hdint {
246f126890aSEmmanuel Vadot				nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
247f126890aSEmmanuel Vadot					"lpw1", "lsck", "lsda", "lsdi", "lvp0";
248f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
249f126890aSEmmanuel Vadot			};
250f126890aSEmmanuel Vadot			conf_kbca {
251f126890aSEmmanuel Vadot				nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
252f126890aSEmmanuel Vadot					"kbce", "kbcf", "sdio1", "uaa", "uab";
253f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
254f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
255f126890aSEmmanuel Vadot			};
256f126890aSEmmanuel Vadot			conf_lc {
257f126890aSEmmanuel Vadot				nvidia,pins = "lc", "ls";
258f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
259f126890aSEmmanuel Vadot			};
260f126890aSEmmanuel Vadot			conf_ld0 {
261f126890aSEmmanuel Vadot				nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
262f126890aSEmmanuel Vadot					"ld5", "ld6", "ld7", "ld8", "ld9",
263f126890aSEmmanuel Vadot					"ld10", "ld11", "ld12", "ld13", "ld14",
264f126890aSEmmanuel Vadot					"ld15", "ld16", "ld17", "ldi", "lhp0",
265f126890aSEmmanuel Vadot					"lhp1", "lhp2", "lhs", "lm0", "lpp",
266f126890aSEmmanuel Vadot					"lpw0", "lpw2", "lsc0", "lsc1", "lspi",
267f126890aSEmmanuel Vadot					"lvp1", "lvs", "pmc", "sdb";
268f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
269f126890aSEmmanuel Vadot			};
270f126890aSEmmanuel Vadot			conf_ld17_0 {
271f126890aSEmmanuel Vadot				nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
272f126890aSEmmanuel Vadot					"ld23_22";
273f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
274f126890aSEmmanuel Vadot			};
275f126890aSEmmanuel Vadot			drive_sdio1 {
276f126890aSEmmanuel Vadot				nvidia,pins = "drive_sdio1";
277f126890aSEmmanuel Vadot				nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
278f126890aSEmmanuel Vadot				nvidia,schmitt = <TEGRA_PIN_ENABLE>;
279f126890aSEmmanuel Vadot				nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
280f126890aSEmmanuel Vadot				nvidia,pull-down-strength = <31>;
281f126890aSEmmanuel Vadot				nvidia,pull-up-strength = <31>;
282f126890aSEmmanuel Vadot				nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
283f126890aSEmmanuel Vadot				nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_SLOWEST>;
284f126890aSEmmanuel Vadot			};
285f126890aSEmmanuel Vadot		};
286f126890aSEmmanuel Vadot
287f126890aSEmmanuel Vadot		state_i2cmux_ddc: pinmux-i2cmux-ddc {
288f126890aSEmmanuel Vadot			ddc {
289f126890aSEmmanuel Vadot				nvidia,pins = "ddc";
290f126890aSEmmanuel Vadot				nvidia,function = "i2c2";
291f126890aSEmmanuel Vadot			};
292f126890aSEmmanuel Vadot			pta {
293f126890aSEmmanuel Vadot				nvidia,pins = "pta";
294f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
295f126890aSEmmanuel Vadot			};
296f126890aSEmmanuel Vadot		};
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot		state_i2cmux_idle: pinmux-i2cmux-idle {
299f126890aSEmmanuel Vadot			ddc {
300f126890aSEmmanuel Vadot				nvidia,pins = "ddc";
301f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
302f126890aSEmmanuel Vadot			};
303f126890aSEmmanuel Vadot			pta {
304f126890aSEmmanuel Vadot				nvidia,pins = "pta";
305f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
306f126890aSEmmanuel Vadot			};
307f126890aSEmmanuel Vadot		};
308f126890aSEmmanuel Vadot
309f126890aSEmmanuel Vadot		state_i2cmux_pta: pinmux-i2cmux-pta {
310f126890aSEmmanuel Vadot			ddc {
311f126890aSEmmanuel Vadot				nvidia,pins = "ddc";
312f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
313f126890aSEmmanuel Vadot			};
314f126890aSEmmanuel Vadot			pta {
315f126890aSEmmanuel Vadot				nvidia,pins = "pta";
316f126890aSEmmanuel Vadot				nvidia,function = "i2c2";
317f126890aSEmmanuel Vadot			};
318f126890aSEmmanuel Vadot		};
319f126890aSEmmanuel Vadot	};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot	i2s@70002800 {
322f126890aSEmmanuel Vadot		status = "okay";
323f126890aSEmmanuel Vadot	};
324f126890aSEmmanuel Vadot
325f126890aSEmmanuel Vadot	serial@70006300 {
326*aa1a8ff2SEmmanuel Vadot		/delete-property/ dmas;
327*aa1a8ff2SEmmanuel Vadot		/delete-property/ dma-names;
328f126890aSEmmanuel Vadot		status = "okay";
329f126890aSEmmanuel Vadot	};
330f126890aSEmmanuel Vadot
331f126890aSEmmanuel Vadot	pwm: pwm@7000a000 {
332f126890aSEmmanuel Vadot		status = "okay";
333f126890aSEmmanuel Vadot	};
334f126890aSEmmanuel Vadot
335f126890aSEmmanuel Vadot	i2c@7000c000 {
336f126890aSEmmanuel Vadot		status = "okay";
337f126890aSEmmanuel Vadot		clock-frequency = <400000>;
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot		wm8903: wm8903@1a {
340f126890aSEmmanuel Vadot			compatible = "wlf,wm8903";
341f126890aSEmmanuel Vadot			reg = <0x1a>;
342f126890aSEmmanuel Vadot			interrupt-parent = <&gpio>;
343f126890aSEmmanuel Vadot			interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot			gpio-controller;
346f126890aSEmmanuel Vadot			#gpio-cells = <2>;
347f126890aSEmmanuel Vadot
348f126890aSEmmanuel Vadot			micdet-cfg = <0>;
349f126890aSEmmanuel Vadot			micdet-delay = <100>;
350f126890aSEmmanuel Vadot			gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
351f126890aSEmmanuel Vadot		};
352f126890aSEmmanuel Vadot
353f126890aSEmmanuel Vadot		/* ALS and proximity sensor */
354f126890aSEmmanuel Vadot		isl29018@44 {
355f126890aSEmmanuel Vadot			compatible = "isil,isl29018";
356f126890aSEmmanuel Vadot			reg = <0x44>;
357f126890aSEmmanuel Vadot			interrupt-parent = <&gpio>;
358f126890aSEmmanuel Vadot			interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
359f126890aSEmmanuel Vadot		};
360f126890aSEmmanuel Vadot	};
361f126890aSEmmanuel Vadot
362f126890aSEmmanuel Vadot	i2c@7000c400 {
363f126890aSEmmanuel Vadot		status = "okay";
364f126890aSEmmanuel Vadot		clock-frequency = <100000>;
365f126890aSEmmanuel Vadot	};
366f126890aSEmmanuel Vadot
367f126890aSEmmanuel Vadot	i2c@7000c500 {
368f126890aSEmmanuel Vadot		status = "okay";
369f126890aSEmmanuel Vadot		clock-frequency = <400000>;
370f126890aSEmmanuel Vadot	};
371f126890aSEmmanuel Vadot
372f126890aSEmmanuel Vadot	i2c@7000d000 {
373f126890aSEmmanuel Vadot		status = "okay";
374f126890aSEmmanuel Vadot		clock-frequency = <400000>;
375f126890aSEmmanuel Vadot
376f126890aSEmmanuel Vadot		pmic: tps6586x@34 {
377f126890aSEmmanuel Vadot			compatible = "ti,tps6586x";
378f126890aSEmmanuel Vadot			reg = <0x34>;
379f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot			ti,system-power-controller;
382f126890aSEmmanuel Vadot
383f126890aSEmmanuel Vadot			#gpio-cells = <2>;
384f126890aSEmmanuel Vadot			gpio-controller;
385f126890aSEmmanuel Vadot
386f126890aSEmmanuel Vadot			sys-supply = <&vdd_5v0_reg>;
387f126890aSEmmanuel Vadot			vin-sm0-supply = <&sys_reg>;
388f126890aSEmmanuel Vadot			vin-sm1-supply = <&sys_reg>;
389f126890aSEmmanuel Vadot			vin-sm2-supply = <&sys_reg>;
390f126890aSEmmanuel Vadot			vinldo01-supply = <&sm2_reg>;
391f126890aSEmmanuel Vadot			vinldo23-supply = <&sm2_reg>;
392f126890aSEmmanuel Vadot			vinldo4-supply = <&sm2_reg>;
393f126890aSEmmanuel Vadot			vinldo678-supply = <&sm2_reg>;
394f126890aSEmmanuel Vadot			vinldo9-supply = <&sm2_reg>;
395f126890aSEmmanuel Vadot
396f126890aSEmmanuel Vadot			regulators {
397f126890aSEmmanuel Vadot				sys_reg: sys {
398f126890aSEmmanuel Vadot					regulator-name = "vdd_sys";
399f126890aSEmmanuel Vadot					regulator-always-on;
400f126890aSEmmanuel Vadot				};
401f126890aSEmmanuel Vadot
402f126890aSEmmanuel Vadot				vdd_core: sm0 {
403f126890aSEmmanuel Vadot					regulator-name = "vdd_sm0,vdd_core";
404f126890aSEmmanuel Vadot					regulator-min-microvolt = <950000>;
405f126890aSEmmanuel Vadot					regulator-max-microvolt = <1300000>;
406f126890aSEmmanuel Vadot					regulator-coupled-with = <&rtc_vdd &vdd_cpu>;
407f126890aSEmmanuel Vadot					regulator-coupled-max-spread = <170000 550000>;
408f126890aSEmmanuel Vadot					regulator-always-on;
409f126890aSEmmanuel Vadot					regulator-boot-on;
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot					nvidia,tegra-core-regulator;
412f126890aSEmmanuel Vadot				};
413f126890aSEmmanuel Vadot
414f126890aSEmmanuel Vadot				vdd_cpu: sm1 {
415f126890aSEmmanuel Vadot					regulator-name = "vdd_sm1,vdd_cpu";
416f126890aSEmmanuel Vadot					regulator-min-microvolt = <750000>;
417f126890aSEmmanuel Vadot					regulator-max-microvolt = <1125000>;
418f126890aSEmmanuel Vadot					regulator-coupled-with = <&vdd_core &rtc_vdd>;
419f126890aSEmmanuel Vadot					regulator-coupled-max-spread = <550000 550000>;
420f126890aSEmmanuel Vadot					regulator-always-on;
421f126890aSEmmanuel Vadot					regulator-boot-on;
422f126890aSEmmanuel Vadot
423f126890aSEmmanuel Vadot					nvidia,tegra-cpu-regulator;
424f126890aSEmmanuel Vadot				};
425f126890aSEmmanuel Vadot
426f126890aSEmmanuel Vadot				sm2_reg: sm2 {
427f126890aSEmmanuel Vadot					regulator-name = "vdd_sm2,vin_ldo*";
428f126890aSEmmanuel Vadot					regulator-min-microvolt = <3700000>;
429f126890aSEmmanuel Vadot					regulator-max-microvolt = <3700000>;
430f126890aSEmmanuel Vadot					regulator-always-on;
431f126890aSEmmanuel Vadot				};
432f126890aSEmmanuel Vadot
433f126890aSEmmanuel Vadot				/* LDO0 is not connected to anything */
434f126890aSEmmanuel Vadot
435f126890aSEmmanuel Vadot				ldo1 {
436f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo1,avdd_pll*";
437f126890aSEmmanuel Vadot					regulator-min-microvolt = <1100000>;
438f126890aSEmmanuel Vadot					regulator-max-microvolt = <1100000>;
439f126890aSEmmanuel Vadot					regulator-always-on;
440f126890aSEmmanuel Vadot				};
441f126890aSEmmanuel Vadot
442f126890aSEmmanuel Vadot				rtc_vdd: ldo2 {
443f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo2,vdd_rtc";
444f126890aSEmmanuel Vadot					regulator-min-microvolt = <950000>;
445f126890aSEmmanuel Vadot					regulator-max-microvolt = <1300000>;
446f126890aSEmmanuel Vadot					regulator-coupled-with = <&vdd_core &vdd_cpu>;
447f126890aSEmmanuel Vadot					regulator-coupled-max-spread = <170000 550000>;
448f126890aSEmmanuel Vadot					regulator-always-on;
449f126890aSEmmanuel Vadot					regulator-boot-on;
450f126890aSEmmanuel Vadot
451f126890aSEmmanuel Vadot					nvidia,tegra-rtc-regulator;
452f126890aSEmmanuel Vadot				};
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot				ldo3 {
455f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo3,avdd_usb*";
456f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
457f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
458f126890aSEmmanuel Vadot					regulator-always-on;
459f126890aSEmmanuel Vadot				};
460f126890aSEmmanuel Vadot
461f126890aSEmmanuel Vadot				ldo4 {
462f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
463f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
464f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
465f126890aSEmmanuel Vadot					regulator-always-on;
466f126890aSEmmanuel Vadot				};
467f126890aSEmmanuel Vadot
468f126890aSEmmanuel Vadot				ldo5 {
469f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo5,vcore_mmc";
470f126890aSEmmanuel Vadot					regulator-min-microvolt = <2850000>;
471f126890aSEmmanuel Vadot					regulator-max-microvolt = <2850000>;
472f126890aSEmmanuel Vadot					regulator-always-on;
473f126890aSEmmanuel Vadot				};
474f126890aSEmmanuel Vadot
475f126890aSEmmanuel Vadot				ldo6 {
476f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo6,avdd_vdac";
477f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
478f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
479f126890aSEmmanuel Vadot				};
480f126890aSEmmanuel Vadot
481f126890aSEmmanuel Vadot				hdmi_vdd_reg: ldo7 {
482f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo7,avdd_hdmi,vdd_fuse";
483f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
484f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
485f126890aSEmmanuel Vadot				};
486f126890aSEmmanuel Vadot
487f126890aSEmmanuel Vadot				hdmi_pll_reg: ldo8 {
488f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo8,avdd_hdmi_pll";
489f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
490f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
491f126890aSEmmanuel Vadot				};
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot				ldo9 {
494f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo9,avdd_2v85,vdd_ddr_rx";
495f126890aSEmmanuel Vadot					regulator-min-microvolt = <2850000>;
496f126890aSEmmanuel Vadot					regulator-max-microvolt = <2850000>;
497f126890aSEmmanuel Vadot					regulator-always-on;
498f126890aSEmmanuel Vadot				};
499f126890aSEmmanuel Vadot
500f126890aSEmmanuel Vadot				ldo_rtc {
501f126890aSEmmanuel Vadot					regulator-name = "vdd_rtc_out,vdd_cell";
502f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
503f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
504f126890aSEmmanuel Vadot					regulator-always-on;
505f126890aSEmmanuel Vadot				};
506f126890aSEmmanuel Vadot			};
507f126890aSEmmanuel Vadot		};
508f126890aSEmmanuel Vadot
509f126890aSEmmanuel Vadot		nct1008: temperature-sensor@4c {
510f126890aSEmmanuel Vadot			compatible = "onnn,nct1008";
511f126890aSEmmanuel Vadot			reg = <0x4c>;
512f126890aSEmmanuel Vadot			#thermal-sensor-cells = <1>;
513f126890aSEmmanuel Vadot		};
514f126890aSEmmanuel Vadot	};
515f126890aSEmmanuel Vadot
516f126890aSEmmanuel Vadot	pmc@7000e400 {
517f126890aSEmmanuel Vadot		nvidia,invert-interrupt;
518f126890aSEmmanuel Vadot		nvidia,suspend-mode = <1>;
519f126890aSEmmanuel Vadot		nvidia,cpu-pwr-good-time = <2000>;
520f126890aSEmmanuel Vadot		nvidia,cpu-pwr-off-time = <100>;
521f126890aSEmmanuel Vadot		nvidia,core-pwr-good-time = <3845 3845>;
522f126890aSEmmanuel Vadot		nvidia,core-pwr-off-time = <458>;
523f126890aSEmmanuel Vadot		nvidia,sys-clock-req-active-high;
524f126890aSEmmanuel Vadot		core-supply = <&vdd_core>;
525f126890aSEmmanuel Vadot	};
526f126890aSEmmanuel Vadot
527f126890aSEmmanuel Vadot	usb@c5000000 {
528f126890aSEmmanuel Vadot		status = "okay";
529f126890aSEmmanuel Vadot	};
530f126890aSEmmanuel Vadot
531f126890aSEmmanuel Vadot	usb-phy@c5000000 {
532f126890aSEmmanuel Vadot		status = "okay";
533f126890aSEmmanuel Vadot	};
534f126890aSEmmanuel Vadot
535f126890aSEmmanuel Vadot	usb@c5004000 {
536f126890aSEmmanuel Vadot		status = "okay";
537f126890aSEmmanuel Vadot	};
538f126890aSEmmanuel Vadot
539f126890aSEmmanuel Vadot	usb-phy@c5004000 {
540f126890aSEmmanuel Vadot		status = "okay";
541f126890aSEmmanuel Vadot		nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
542f126890aSEmmanuel Vadot			GPIO_ACTIVE_LOW>;
543f126890aSEmmanuel Vadot	};
544f126890aSEmmanuel Vadot
545f126890aSEmmanuel Vadot	usb@c5008000 {
546f126890aSEmmanuel Vadot		status = "okay";
547f126890aSEmmanuel Vadot	};
548f126890aSEmmanuel Vadot
549f126890aSEmmanuel Vadot	usb-phy@c5008000 {
550f126890aSEmmanuel Vadot		status = "okay";
551f126890aSEmmanuel Vadot	};
552f126890aSEmmanuel Vadot
553f126890aSEmmanuel Vadot	mmc@c8000000 {
554f126890aSEmmanuel Vadot		status = "okay";
555f126890aSEmmanuel Vadot		power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
556f126890aSEmmanuel Vadot		bus-width = <4>;
557f126890aSEmmanuel Vadot		keep-power-in-suspend;
558f126890aSEmmanuel Vadot	};
559f126890aSEmmanuel Vadot
560f126890aSEmmanuel Vadot	mmc@c8000400 {
561f126890aSEmmanuel Vadot		status = "okay";
562f126890aSEmmanuel Vadot		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
563f126890aSEmmanuel Vadot		wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
564f126890aSEmmanuel Vadot		power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
565f126890aSEmmanuel Vadot		bus-width = <4>;
566f126890aSEmmanuel Vadot	};
567f126890aSEmmanuel Vadot
568f126890aSEmmanuel Vadot	mmc@c8000600 {
569f126890aSEmmanuel Vadot		status = "okay";
570f126890aSEmmanuel Vadot		bus-width = <8>;
571f126890aSEmmanuel Vadot		non-removable;
572f126890aSEmmanuel Vadot	};
573f126890aSEmmanuel Vadot
574f126890aSEmmanuel Vadot	backlight: backlight {
575f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
576f126890aSEmmanuel Vadot
577f126890aSEmmanuel Vadot		enable-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
578f126890aSEmmanuel Vadot		power-supply = <&vdd_bl_reg>;
579f126890aSEmmanuel Vadot		pwms = <&pwm 2 5000000>;
580f126890aSEmmanuel Vadot
581f126890aSEmmanuel Vadot		brightness-levels = <0 4 8 16 32 64 128 255>;
582f126890aSEmmanuel Vadot		default-brightness-level = <6>;
583f126890aSEmmanuel Vadot	};
584f126890aSEmmanuel Vadot
585f126890aSEmmanuel Vadot	clk32k_in: clock-32k {
586f126890aSEmmanuel Vadot		compatible = "fixed-clock";
587f126890aSEmmanuel Vadot		clock-frequency = <32768>;
588f126890aSEmmanuel Vadot		#clock-cells = <0>;
589f126890aSEmmanuel Vadot	};
590f126890aSEmmanuel Vadot
591f126890aSEmmanuel Vadot	cpus {
592f126890aSEmmanuel Vadot		cpu0: cpu@0 {
593f126890aSEmmanuel Vadot			cpu-supply = <&vdd_cpu>;
594f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
595f126890aSEmmanuel Vadot			#cooling-cells = <2>;
596f126890aSEmmanuel Vadot		};
597f126890aSEmmanuel Vadot
598f126890aSEmmanuel Vadot		cpu1: cpu@1 {
599f126890aSEmmanuel Vadot			cpu-supply = <&vdd_cpu>;
600f126890aSEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
601f126890aSEmmanuel Vadot			#cooling-cells = <2>;
602f126890aSEmmanuel Vadot		};
603f126890aSEmmanuel Vadot	};
604f126890aSEmmanuel Vadot
605f126890aSEmmanuel Vadot	gpio-keys {
606f126890aSEmmanuel Vadot		compatible = "gpio-keys";
607f126890aSEmmanuel Vadot
608f126890aSEmmanuel Vadot		key-power {
609f126890aSEmmanuel Vadot			label = "Power";
610f126890aSEmmanuel Vadot			gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
611f126890aSEmmanuel Vadot			linux,code = <KEY_POWER>;
612f126890aSEmmanuel Vadot			wakeup-source;
613f126890aSEmmanuel Vadot		};
614f126890aSEmmanuel Vadot	};
615f126890aSEmmanuel Vadot
616f126890aSEmmanuel Vadot	i2cmux {
617f126890aSEmmanuel Vadot		compatible = "i2c-mux-pinctrl";
618f126890aSEmmanuel Vadot		#address-cells = <1>;
619f126890aSEmmanuel Vadot		#size-cells = <0>;
620f126890aSEmmanuel Vadot
621f126890aSEmmanuel Vadot		i2c-parent = <&{/i2c@7000c400}>;
622f126890aSEmmanuel Vadot
623f126890aSEmmanuel Vadot		pinctrl-names = "ddc", "pta", "idle";
624f126890aSEmmanuel Vadot		pinctrl-0 = <&state_i2cmux_ddc>;
625f126890aSEmmanuel Vadot		pinctrl-1 = <&state_i2cmux_pta>;
626f126890aSEmmanuel Vadot		pinctrl-2 = <&state_i2cmux_idle>;
627f126890aSEmmanuel Vadot
628f126890aSEmmanuel Vadot		hdmi_ddc: i2c@0 {
629f126890aSEmmanuel Vadot			reg = <0>;
630f126890aSEmmanuel Vadot			#address-cells = <1>;
631f126890aSEmmanuel Vadot			#size-cells = <0>;
632f126890aSEmmanuel Vadot		};
633f126890aSEmmanuel Vadot
634f126890aSEmmanuel Vadot		lvds_ddc: i2c@1 {
635f126890aSEmmanuel Vadot			reg = <1>;
636f126890aSEmmanuel Vadot			#address-cells = <1>;
637f126890aSEmmanuel Vadot			#size-cells = <0>;
638f126890aSEmmanuel Vadot		};
639f126890aSEmmanuel Vadot	};
640f126890aSEmmanuel Vadot
641f126890aSEmmanuel Vadot	panel: panel {
642f126890aSEmmanuel Vadot		compatible = "chunghwa,claa101wa01a";
643f126890aSEmmanuel Vadot
644f126890aSEmmanuel Vadot		power-supply = <&vdd_pnl_reg>;
645f126890aSEmmanuel Vadot		enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
646f126890aSEmmanuel Vadot
647f126890aSEmmanuel Vadot		backlight = <&backlight>;
648f126890aSEmmanuel Vadot		ddc-i2c-bus = <&lvds_ddc>;
649f126890aSEmmanuel Vadot	};
650f126890aSEmmanuel Vadot
651f126890aSEmmanuel Vadot	vdd_5v0_reg: regulator-5v0 {
652f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
653f126890aSEmmanuel Vadot		regulator-name = "vdd_5v0";
654f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
655f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
656f126890aSEmmanuel Vadot		regulator-always-on;
657f126890aSEmmanuel Vadot	};
658f126890aSEmmanuel Vadot
659f126890aSEmmanuel Vadot	regulator-1v5 {
660f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
661f126890aSEmmanuel Vadot		regulator-name = "vdd_1v5";
662f126890aSEmmanuel Vadot		regulator-min-microvolt = <1500000>;
663f126890aSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
664f126890aSEmmanuel Vadot		gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
665f126890aSEmmanuel Vadot	};
666f126890aSEmmanuel Vadot
667f126890aSEmmanuel Vadot	regulator-1v2 {
668f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
669f126890aSEmmanuel Vadot		regulator-name = "vdd_1v2";
670f126890aSEmmanuel Vadot		regulator-min-microvolt = <1200000>;
671f126890aSEmmanuel Vadot		regulator-max-microvolt = <1200000>;
672f126890aSEmmanuel Vadot		gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
673f126890aSEmmanuel Vadot		enable-active-high;
674f126890aSEmmanuel Vadot	};
675f126890aSEmmanuel Vadot
676f126890aSEmmanuel Vadot	vdd_pnl_reg: regulator-pnl {
677f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
678f126890aSEmmanuel Vadot		regulator-name = "vdd_pnl";
679f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
680f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
681f126890aSEmmanuel Vadot		gpio = <&gpio TEGRA_GPIO(C, 6) GPIO_ACTIVE_HIGH>;
682f126890aSEmmanuel Vadot		enable-active-high;
683f126890aSEmmanuel Vadot	};
684f126890aSEmmanuel Vadot
685f126890aSEmmanuel Vadot	vdd_bl_reg: regulator-bl {
686f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
687f126890aSEmmanuel Vadot		regulator-name = "vdd_bl";
688f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
689f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
690f126890aSEmmanuel Vadot		gpio = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>;
691f126890aSEmmanuel Vadot		enable-active-high;
692f126890aSEmmanuel Vadot	};
693f126890aSEmmanuel Vadot
694f126890aSEmmanuel Vadot	sound {
695f126890aSEmmanuel Vadot		compatible = "nvidia,tegra-audio-wm8903-ventana",
696f126890aSEmmanuel Vadot			     "nvidia,tegra-audio-wm8903";
697f126890aSEmmanuel Vadot		nvidia,model = "NVIDIA Tegra Ventana";
698f126890aSEmmanuel Vadot
699f126890aSEmmanuel Vadot		nvidia,audio-routing =
700f126890aSEmmanuel Vadot			"Headphone Jack", "HPOUTR",
701f126890aSEmmanuel Vadot			"Headphone Jack", "HPOUTL",
702f126890aSEmmanuel Vadot			"Int Spk", "ROP",
703f126890aSEmmanuel Vadot			"Int Spk", "RON",
704f126890aSEmmanuel Vadot			"Int Spk", "LOP",
705f126890aSEmmanuel Vadot			"Int Spk", "LON",
706f126890aSEmmanuel Vadot			"Mic Jack", "MICBIAS",
707f126890aSEmmanuel Vadot			"IN1L", "Mic Jack";
708f126890aSEmmanuel Vadot
709f126890aSEmmanuel Vadot		nvidia,i2s-controller = <&tegra_i2s1>;
710f126890aSEmmanuel Vadot		nvidia,audio-codec = <&wm8903>;
711f126890aSEmmanuel Vadot
712f126890aSEmmanuel Vadot		nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
713f126890aSEmmanuel Vadot		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
714f126890aSEmmanuel Vadot		nvidia,int-mic-en-gpios = <&gpio TEGRA_GPIO(X, 0)
715f126890aSEmmanuel Vadot			GPIO_ACTIVE_HIGH>;
716f126890aSEmmanuel Vadot		nvidia,ext-mic-en-gpios = <&gpio TEGRA_GPIO(X, 1)
717f126890aSEmmanuel Vadot			GPIO_ACTIVE_HIGH>;
718f126890aSEmmanuel Vadot
719f126890aSEmmanuel Vadot		clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
720f126890aSEmmanuel Vadot			 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
721f126890aSEmmanuel Vadot			 <&tegra_car TEGRA20_CLK_CDEV1>;
722f126890aSEmmanuel Vadot		clock-names = "pll_a", "pll_a_out0", "mclk";
723f126890aSEmmanuel Vadot	};
724f126890aSEmmanuel Vadot
725f126890aSEmmanuel Vadot	thermal-zones {
726f126890aSEmmanuel Vadot		cpu-thermal {
727f126890aSEmmanuel Vadot			polling-delay-passive = <1000>; /* milliseconds */
728f126890aSEmmanuel Vadot			polling-delay = <5000>; /* milliseconds */
729f126890aSEmmanuel Vadot
730f126890aSEmmanuel Vadot			thermal-sensors = <&nct1008 1>;
731f126890aSEmmanuel Vadot
732f126890aSEmmanuel Vadot			trips {
733f126890aSEmmanuel Vadot				trip0: cpu-alert0 {
734f126890aSEmmanuel Vadot					/* start throttling at 50C */
735f126890aSEmmanuel Vadot					temperature = <50000>;
736f126890aSEmmanuel Vadot					hysteresis = <200>;
737f126890aSEmmanuel Vadot					type = "passive";
738f126890aSEmmanuel Vadot				};
739f126890aSEmmanuel Vadot
740f126890aSEmmanuel Vadot				trip1: cpu-crit {
741f126890aSEmmanuel Vadot					/* shut down at 60C */
742f126890aSEmmanuel Vadot					temperature = <60000>;
743f126890aSEmmanuel Vadot					hysteresis = <2000>;
744f126890aSEmmanuel Vadot					type = "critical";
745f126890aSEmmanuel Vadot				};
746f126890aSEmmanuel Vadot			};
747f126890aSEmmanuel Vadot
748f126890aSEmmanuel Vadot			cooling-maps {
749f126890aSEmmanuel Vadot				map0 {
750f126890aSEmmanuel Vadot					trip = <&trip0>;
751f126890aSEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
752f126890aSEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
753f126890aSEmmanuel Vadot				};
754f126890aSEmmanuel Vadot			};
755f126890aSEmmanuel Vadot		};
756f126890aSEmmanuel Vadot	};
757f126890aSEmmanuel Vadot};
758