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