xref: /freebsd-src/sys/contrib/device-tree/src/arm/nvidia/tegra20-tamonten.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot#include "tegra20.dtsi"
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot/ {
5f126890aSEmmanuel Vadot	model = "Avionic Design Tamonten SOM";
6f126890aSEmmanuel Vadot	compatible = "ad,tamonten", "nvidia,tegra20";
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot	aliases {
9f126890aSEmmanuel Vadot		rtc0 = "/i2c@7000d000/tps6586x@34";
10f126890aSEmmanuel Vadot		rtc1 = "/rtc@7000e000";
11f126890aSEmmanuel Vadot		serial0 = &uartd;
12f126890aSEmmanuel Vadot	};
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	chosen {
15f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
16f126890aSEmmanuel Vadot	};
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot	memory@0 {
19f126890aSEmmanuel Vadot		reg = <0x00000000 0x20000000>;
20f126890aSEmmanuel Vadot	};
21f126890aSEmmanuel Vadot
22f126890aSEmmanuel Vadot	host1x@50000000 {
23f126890aSEmmanuel Vadot		hdmi@54280000 {
24f126890aSEmmanuel Vadot			vdd-supply = <&hdmi_vdd_reg>;
25f126890aSEmmanuel Vadot			pll-supply = <&hdmi_pll_reg>;
26f126890aSEmmanuel Vadot
27f126890aSEmmanuel Vadot			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
28f126890aSEmmanuel Vadot			nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7)
29f126890aSEmmanuel Vadot				GPIO_ACTIVE_HIGH>;
30f126890aSEmmanuel Vadot		};
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	pinmux@70000014 {
34f126890aSEmmanuel Vadot		pinctrl-names = "default";
35f126890aSEmmanuel Vadot		pinctrl-0 = <&state_default>;
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot		state_default: pinmux {
38f126890aSEmmanuel Vadot			ata {
39f126890aSEmmanuel Vadot				nvidia,pins = "ata";
40f126890aSEmmanuel Vadot				nvidia,function = "ide";
41f126890aSEmmanuel Vadot			};
42f126890aSEmmanuel Vadot			atb {
43f126890aSEmmanuel Vadot				nvidia,pins = "atb", "gma", "gme";
44f126890aSEmmanuel Vadot				nvidia,function = "sdio4";
45f126890aSEmmanuel Vadot			};
46f126890aSEmmanuel Vadot			atc {
47f126890aSEmmanuel Vadot				nvidia,pins = "atc";
48f126890aSEmmanuel Vadot				nvidia,function = "nand";
49f126890aSEmmanuel Vadot			};
50f126890aSEmmanuel Vadot			atd {
51f126890aSEmmanuel Vadot				nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu",
52f126890aSEmmanuel Vadot					"spia", "spib", "spic";
53f126890aSEmmanuel Vadot				nvidia,function = "gmi";
54f126890aSEmmanuel Vadot			};
55f126890aSEmmanuel Vadot			cdev1 {
56f126890aSEmmanuel Vadot				nvidia,pins = "cdev1";
57f126890aSEmmanuel Vadot				nvidia,function = "plla_out";
58f126890aSEmmanuel Vadot			};
59f126890aSEmmanuel Vadot			cdev2 {
60f126890aSEmmanuel Vadot				nvidia,pins = "cdev2";
61f126890aSEmmanuel Vadot				nvidia,function = "pllp_out4";
62f126890aSEmmanuel Vadot			};
63f126890aSEmmanuel Vadot			crtp {
64f126890aSEmmanuel Vadot				nvidia,pins = "crtp";
65f126890aSEmmanuel Vadot				nvidia,function = "crt";
66f126890aSEmmanuel Vadot			};
67f126890aSEmmanuel Vadot			csus {
68f126890aSEmmanuel Vadot				nvidia,pins = "csus";
69f126890aSEmmanuel Vadot				nvidia,function = "vi_sensor_clk";
70f126890aSEmmanuel Vadot			};
71f126890aSEmmanuel Vadot			dap1 {
72f126890aSEmmanuel Vadot				nvidia,pins = "dap1";
73f126890aSEmmanuel Vadot				nvidia,function = "dap1";
74f126890aSEmmanuel Vadot			};
75f126890aSEmmanuel Vadot			dap2 {
76f126890aSEmmanuel Vadot				nvidia,pins = "dap2";
77f126890aSEmmanuel Vadot				nvidia,function = "dap2";
78f126890aSEmmanuel Vadot			};
79f126890aSEmmanuel Vadot			dap3 {
80f126890aSEmmanuel Vadot				nvidia,pins = "dap3";
81f126890aSEmmanuel Vadot				nvidia,function = "dap3";
82f126890aSEmmanuel Vadot			};
83f126890aSEmmanuel Vadot			dap4 {
84f126890aSEmmanuel Vadot				nvidia,pins = "dap4";
85f126890aSEmmanuel Vadot				nvidia,function = "dap4";
86f126890aSEmmanuel Vadot			};
87f126890aSEmmanuel Vadot			dta {
88f126890aSEmmanuel Vadot				nvidia,pins = "dta", "dtd";
89f126890aSEmmanuel Vadot				nvidia,function = "sdio2";
90f126890aSEmmanuel Vadot			};
91f126890aSEmmanuel Vadot			dtb {
92f126890aSEmmanuel Vadot				nvidia,pins = "dtb", "dtc", "dte";
93f126890aSEmmanuel Vadot				nvidia,function = "rsvd1";
94f126890aSEmmanuel Vadot			};
95f126890aSEmmanuel Vadot			dtf {
96f126890aSEmmanuel Vadot				nvidia,pins = "dtf";
97f126890aSEmmanuel Vadot				nvidia,function = "i2c3";
98f126890aSEmmanuel Vadot			};
99f126890aSEmmanuel Vadot			gmc {
100f126890aSEmmanuel Vadot				nvidia,pins = "gmc";
101f126890aSEmmanuel Vadot				nvidia,function = "uartd";
102f126890aSEmmanuel Vadot			};
103f126890aSEmmanuel Vadot			gpu7 {
104f126890aSEmmanuel Vadot				nvidia,pins = "gpu7";
105f126890aSEmmanuel Vadot				nvidia,function = "rtck";
106f126890aSEmmanuel Vadot			};
107f126890aSEmmanuel Vadot			gpv {
108f126890aSEmmanuel Vadot				nvidia,pins = "gpv", "slxa", "slxk";
109f126890aSEmmanuel Vadot				nvidia,function = "pcie";
110f126890aSEmmanuel Vadot			};
111f126890aSEmmanuel Vadot			hdint {
112f126890aSEmmanuel Vadot				nvidia,pins = "hdint";
113f126890aSEmmanuel Vadot				nvidia,function = "hdmi";
114f126890aSEmmanuel Vadot			};
115f126890aSEmmanuel Vadot			i2cp {
116f126890aSEmmanuel Vadot				nvidia,pins = "i2cp";
117f126890aSEmmanuel Vadot				nvidia,function = "i2cp";
118f126890aSEmmanuel Vadot			};
119f126890aSEmmanuel Vadot			irrx {
120f126890aSEmmanuel Vadot				nvidia,pins = "irrx", "irtx";
121f126890aSEmmanuel Vadot				nvidia,function = "uarta";
122f126890aSEmmanuel Vadot			};
123f126890aSEmmanuel Vadot			kbca {
124f126890aSEmmanuel Vadot				nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd",
125f126890aSEmmanuel Vadot					"kbce", "kbcf";
126f126890aSEmmanuel Vadot				nvidia,function = "kbc";
127f126890aSEmmanuel Vadot			};
128f126890aSEmmanuel Vadot			lcsn {
129f126890aSEmmanuel Vadot				nvidia,pins = "lcsn", "ld0", "ld1", "ld2",
130f126890aSEmmanuel Vadot					"ld3", "ld4", "ld5", "ld6", "ld7",
131f126890aSEmmanuel Vadot					"ld8", "ld9", "ld10", "ld11", "ld12",
132f126890aSEmmanuel Vadot					"ld13", "ld14", "ld15", "ld16", "ld17",
133f126890aSEmmanuel Vadot					"ldc", "ldi", "lhp0", "lhp1", "lhp2",
134f126890aSEmmanuel Vadot					"lhs", "lm0", "lm1", "lpp", "lpw0",
135f126890aSEmmanuel Vadot					"lpw1", "lpw2", "lsc0", "lsc1", "lsck",
136f126890aSEmmanuel Vadot					"lsda", "lsdi", "lspi", "lvp0", "lvp1",
137f126890aSEmmanuel Vadot					"lvs";
138f126890aSEmmanuel Vadot				nvidia,function = "displaya";
139f126890aSEmmanuel Vadot			};
140f126890aSEmmanuel Vadot			owc {
141f126890aSEmmanuel Vadot				nvidia,pins = "owc", "spdi", "spdo", "uac";
142f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
143f126890aSEmmanuel Vadot			};
144f126890aSEmmanuel Vadot			pmc {
145f126890aSEmmanuel Vadot				nvidia,pins = "pmc";
146f126890aSEmmanuel Vadot				nvidia,function = "pwr_on";
147f126890aSEmmanuel Vadot			};
148f126890aSEmmanuel Vadot			rm {
149f126890aSEmmanuel Vadot				nvidia,pins = "rm";
150f126890aSEmmanuel Vadot				nvidia,function = "i2c1";
151f126890aSEmmanuel Vadot			};
152f126890aSEmmanuel Vadot			sdb {
153f126890aSEmmanuel Vadot				nvidia,pins = "sdb", "sdc", "sdd";
154f126890aSEmmanuel Vadot				nvidia,function = "pwm";
155f126890aSEmmanuel Vadot			};
156f126890aSEmmanuel Vadot			sdio1 {
157f126890aSEmmanuel Vadot				nvidia,pins = "sdio1";
158f126890aSEmmanuel Vadot				nvidia,function = "sdio1";
159f126890aSEmmanuel Vadot			};
160f126890aSEmmanuel Vadot			slxc {
161f126890aSEmmanuel Vadot				nvidia,pins = "slxc", "slxd";
162f126890aSEmmanuel Vadot				nvidia,function = "spdif";
163f126890aSEmmanuel Vadot			};
164f126890aSEmmanuel Vadot			spid {
165f126890aSEmmanuel Vadot				nvidia,pins = "spid", "spie", "spif";
166f126890aSEmmanuel Vadot				nvidia,function = "spi1";
167f126890aSEmmanuel Vadot			};
168f126890aSEmmanuel Vadot			spig {
169f126890aSEmmanuel Vadot				nvidia,pins = "spig", "spih";
170f126890aSEmmanuel Vadot				nvidia,function = "spi2_alt";
171f126890aSEmmanuel Vadot			};
172f126890aSEmmanuel Vadot			uaa {
173f126890aSEmmanuel Vadot				nvidia,pins = "uaa", "uab", "uda";
174f126890aSEmmanuel Vadot				nvidia,function = "ulpi";
175f126890aSEmmanuel Vadot			};
176f126890aSEmmanuel Vadot			uad {
177f126890aSEmmanuel Vadot				nvidia,pins = "uad";
178f126890aSEmmanuel Vadot				nvidia,function = "irda";
179f126890aSEmmanuel Vadot			};
180f126890aSEmmanuel Vadot			uca {
181f126890aSEmmanuel Vadot				nvidia,pins = "uca", "ucb";
182f126890aSEmmanuel Vadot				nvidia,function = "uartc";
183f126890aSEmmanuel Vadot			};
184f126890aSEmmanuel Vadot			conf_ata {
185f126890aSEmmanuel Vadot				nvidia,pins = "ata", "atb", "atc", "atd", "ate",
186f126890aSEmmanuel Vadot					"cdev1", "cdev2", "dap1", "dtb", "dtf",
187f126890aSEmmanuel Vadot					"gma", "gmb", "gmc", "gmd", "gme", "gpu7",
188f126890aSEmmanuel Vadot					"gpv", "i2cp", "irrx", "irtx", "pta",
189f126890aSEmmanuel Vadot					"rm", "slxa", "slxk", "spia", "spib",
190f126890aSEmmanuel Vadot					"uac";
191f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
192f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
193f126890aSEmmanuel Vadot			};
194f126890aSEmmanuel Vadot			conf_ck32 {
195f126890aSEmmanuel Vadot				nvidia,pins = "ck32", "ddrc", "pmca", "pmcb",
196f126890aSEmmanuel Vadot					"pmcc", "pmcd", "pmce", "xm2c", "xm2d";
197f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
198f126890aSEmmanuel Vadot			};
199f126890aSEmmanuel Vadot			conf_csus {
200f126890aSEmmanuel Vadot				nvidia,pins = "csus", "spid", "spif";
201f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
202f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
203f126890aSEmmanuel Vadot			};
204f126890aSEmmanuel Vadot			conf_crtp {
205f126890aSEmmanuel Vadot				nvidia,pins = "crtp", "dap2", "dap3", "dap4",
206f126890aSEmmanuel Vadot					"dtc", "dte", "gpu", "sdio1",
207f126890aSEmmanuel Vadot					"slxc", "slxd", "spdi", "spdo", "spig",
208f126890aSEmmanuel Vadot					"uda";
209f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
210f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
211f126890aSEmmanuel Vadot			};
212f126890aSEmmanuel Vadot			conf_ddc {
213f126890aSEmmanuel Vadot				nvidia,pins = "ddc", "dta", "dtd", "kbca",
214f126890aSEmmanuel Vadot					"kbcb", "kbcc", "kbcd", "kbce", "kbcf",
215f126890aSEmmanuel Vadot					"sdc", "uad", "uca";
216f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
217f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
218f126890aSEmmanuel Vadot			};
219f126890aSEmmanuel Vadot			conf_hdint {
220f126890aSEmmanuel Vadot				nvidia,pins = "hdint", "lcsn", "ldc", "lm1",
221f126890aSEmmanuel Vadot					"lpw1", "lsc1", "lsck", "lsda", "lsdi",
222f126890aSEmmanuel Vadot					"lvp0", "owc", "sdb";
223f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
224f126890aSEmmanuel Vadot			};
225f126890aSEmmanuel Vadot			conf_sdd {
226f126890aSEmmanuel Vadot				nvidia,pins = "sdd", "spic", "spie", "spih",
227f126890aSEmmanuel Vadot					"uaa", "uab", "ucb";
228f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
229f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
230f126890aSEmmanuel Vadot			};
231f126890aSEmmanuel Vadot			conf_lc {
232f126890aSEmmanuel Vadot				nvidia,pins = "lc", "ls";
233f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
234f126890aSEmmanuel Vadot			};
235f126890aSEmmanuel Vadot			conf_ld0 {
236f126890aSEmmanuel Vadot				nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4",
237f126890aSEmmanuel Vadot					"ld5", "ld6", "ld7", "ld8", "ld9",
238f126890aSEmmanuel Vadot					"ld10", "ld11", "ld12", "ld13", "ld14",
239f126890aSEmmanuel Vadot					"ld15", "ld16", "ld17", "ldi", "lhp0",
240f126890aSEmmanuel Vadot					"lhp1", "lhp2", "lhs", "lm0", "lpp",
241f126890aSEmmanuel Vadot					"lpw0", "lpw2", "lsc0", "lspi", "lvp1",
242f126890aSEmmanuel Vadot					"lvs", "pmc";
243f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
244f126890aSEmmanuel Vadot			};
245f126890aSEmmanuel Vadot			conf_ld17_0 {
246f126890aSEmmanuel Vadot				nvidia,pins = "ld17_0", "ld19_18", "ld21_20",
247f126890aSEmmanuel Vadot					"ld23_22";
248f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
249f126890aSEmmanuel Vadot			};
250f126890aSEmmanuel Vadot		};
251f126890aSEmmanuel Vadot
252f126890aSEmmanuel Vadot		state_i2cmux_ddc: pinmux-i2cmux-ddc {
253f126890aSEmmanuel Vadot			ddc {
254f126890aSEmmanuel Vadot				nvidia,pins = "ddc";
255f126890aSEmmanuel Vadot				nvidia,function = "i2c2";
256f126890aSEmmanuel Vadot			};
257f126890aSEmmanuel Vadot			pta {
258f126890aSEmmanuel Vadot				nvidia,pins = "pta";
259f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
260f126890aSEmmanuel Vadot			};
261f126890aSEmmanuel Vadot		};
262f126890aSEmmanuel Vadot
263f126890aSEmmanuel Vadot		state_i2cmux_idle: pinmux-i2cmux-idle {
264f126890aSEmmanuel Vadot			ddc {
265f126890aSEmmanuel Vadot				nvidia,pins = "ddc";
266f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
267f126890aSEmmanuel Vadot			};
268f126890aSEmmanuel Vadot			pta {
269f126890aSEmmanuel Vadot				nvidia,pins = "pta";
270f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
271f126890aSEmmanuel Vadot			};
272f126890aSEmmanuel Vadot		};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot		state_i2cmux_pta: pinmux-i2cmux-pta {
275f126890aSEmmanuel Vadot			ddc {
276f126890aSEmmanuel Vadot				nvidia,pins = "ddc";
277f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
278f126890aSEmmanuel Vadot			};
279f126890aSEmmanuel Vadot			pta {
280f126890aSEmmanuel Vadot				nvidia,pins = "pta";
281f126890aSEmmanuel Vadot				nvidia,function = "i2c2";
282f126890aSEmmanuel Vadot			};
283f126890aSEmmanuel Vadot		};
284f126890aSEmmanuel Vadot	};
285f126890aSEmmanuel Vadot
286f126890aSEmmanuel Vadot	i2s@70002800 {
287f126890aSEmmanuel Vadot		status = "okay";
288f126890aSEmmanuel Vadot	};
289f126890aSEmmanuel Vadot
290f126890aSEmmanuel Vadot	serial@70006300 {
291*aa1a8ff2SEmmanuel Vadot		/delete-property/ dmas;
292*aa1a8ff2SEmmanuel Vadot		/delete-property/ dma-names;
293f126890aSEmmanuel Vadot		status = "okay";
294f126890aSEmmanuel Vadot	};
295f126890aSEmmanuel Vadot
296f126890aSEmmanuel Vadot	i2c@7000c000 {
297f126890aSEmmanuel Vadot		clock-frequency = <400000>;
298f126890aSEmmanuel Vadot		status = "okay";
299f126890aSEmmanuel Vadot	};
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot	i2c@7000c400 {
302f126890aSEmmanuel Vadot		clock-frequency = <100000>;
303f126890aSEmmanuel Vadot		status = "okay";
304f126890aSEmmanuel Vadot	};
305f126890aSEmmanuel Vadot
306f126890aSEmmanuel Vadot	i2c@7000d000 {
307f126890aSEmmanuel Vadot		clock-frequency = <400000>;
308f126890aSEmmanuel Vadot		status = "okay";
309f126890aSEmmanuel Vadot
310f126890aSEmmanuel Vadot		pmic: tps6586x@34 {
311f126890aSEmmanuel Vadot			compatible = "ti,tps6586x";
312f126890aSEmmanuel Vadot			reg = <0x34>;
313f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
314f126890aSEmmanuel Vadot
315f126890aSEmmanuel Vadot			ti,system-power-controller;
316f126890aSEmmanuel Vadot
317f126890aSEmmanuel Vadot			#gpio-cells = <2>;
318f126890aSEmmanuel Vadot			gpio-controller;
319f126890aSEmmanuel Vadot
320f126890aSEmmanuel Vadot			/* vdd_5v0_reg must be provided by the base board */
321f126890aSEmmanuel Vadot			sys-supply = <&vdd_5v0_reg>;
322f126890aSEmmanuel Vadot			vin-sm0-supply = <&sys_reg>;
323f126890aSEmmanuel Vadot			vin-sm1-supply = <&sys_reg>;
324f126890aSEmmanuel Vadot			vin-sm2-supply = <&sys_reg>;
325f126890aSEmmanuel Vadot			vinldo01-supply = <&sm2_reg>;
326f126890aSEmmanuel Vadot			vinldo23-supply = <&sm2_reg>;
327f126890aSEmmanuel Vadot			vinldo4-supply = <&sm2_reg>;
328f126890aSEmmanuel Vadot			vinldo678-supply = <&sm2_reg>;
329f126890aSEmmanuel Vadot			vinldo9-supply = <&sm2_reg>;
330f126890aSEmmanuel Vadot
331f126890aSEmmanuel Vadot			regulators {
332f126890aSEmmanuel Vadot				sys_reg: sys {
333f126890aSEmmanuel Vadot					regulator-name = "vdd_sys";
334f126890aSEmmanuel Vadot					regulator-always-on;
335f126890aSEmmanuel Vadot				};
336f126890aSEmmanuel Vadot
337f126890aSEmmanuel Vadot				vdd_core: sm0 {
338f126890aSEmmanuel Vadot					regulator-name = "vdd_sys_sm0,vdd_core";
339f126890aSEmmanuel Vadot					regulator-min-microvolt = <1200000>;
340f126890aSEmmanuel Vadot					regulator-max-microvolt = <1200000>;
341f126890aSEmmanuel Vadot					regulator-always-on;
342f126890aSEmmanuel Vadot				};
343f126890aSEmmanuel Vadot
344f126890aSEmmanuel Vadot				sm1 {
345f126890aSEmmanuel Vadot					regulator-name = "vdd_sys_sm1,vdd_cpu";
346f126890aSEmmanuel Vadot					regulator-min-microvolt = <1000000>;
347f126890aSEmmanuel Vadot					regulator-max-microvolt = <1000000>;
348f126890aSEmmanuel Vadot					regulator-always-on;
349f126890aSEmmanuel Vadot				};
350f126890aSEmmanuel Vadot
351f126890aSEmmanuel Vadot				sm2_reg: sm2 {
352f126890aSEmmanuel Vadot					regulator-name = "vdd_sys_sm2,vin_ldo*";
353f126890aSEmmanuel Vadot					regulator-min-microvolt = <3700000>;
354f126890aSEmmanuel Vadot					regulator-max-microvolt = <3700000>;
355f126890aSEmmanuel Vadot					regulator-always-on;
356f126890aSEmmanuel Vadot				};
357f126890aSEmmanuel Vadot
358f126890aSEmmanuel Vadot				pci_clk_reg: ldo0 {
359f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo0,vddio_pex_clk";
360f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
361f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
362f126890aSEmmanuel Vadot				};
363f126890aSEmmanuel Vadot
364f126890aSEmmanuel Vadot				ldo1 {
365f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo1,avdd_pll*";
366f126890aSEmmanuel Vadot					regulator-min-microvolt = <1100000>;
367f126890aSEmmanuel Vadot					regulator-max-microvolt = <1100000>;
368f126890aSEmmanuel Vadot					regulator-always-on;
369f126890aSEmmanuel Vadot				};
370f126890aSEmmanuel Vadot
371f126890aSEmmanuel Vadot				ldo2 {
372f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo2,vdd_rtc";
373f126890aSEmmanuel Vadot					regulator-min-microvolt = <1200000>;
374f126890aSEmmanuel Vadot					regulator-max-microvolt = <1200000>;
375f126890aSEmmanuel Vadot				};
376f126890aSEmmanuel Vadot
377f126890aSEmmanuel Vadot				ldo3 {
378f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo3,avdd_usb*";
379f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
380f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
381f126890aSEmmanuel Vadot					regulator-always-on;
382f126890aSEmmanuel Vadot				};
383f126890aSEmmanuel Vadot
384f126890aSEmmanuel Vadot				ldo4 {
385f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo4,avdd_osc,vddio_sys";
386f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
387f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
388f126890aSEmmanuel Vadot					regulator-always-on;
389f126890aSEmmanuel Vadot				};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot				ldo5 {
392f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo5,vcore_mmc";
393f126890aSEmmanuel Vadot					regulator-min-microvolt = <2850000>;
394f126890aSEmmanuel Vadot					regulator-max-microvolt = <2850000>;
395f126890aSEmmanuel Vadot				};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot				ldo6 {
398f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo6,avdd_vdac";
399f126890aSEmmanuel Vadot					/*
400f126890aSEmmanuel Vadot					 * According to the Tegra 2 Automotive
401f126890aSEmmanuel Vadot					 * DataSheet, a typical value for this
402f126890aSEmmanuel Vadot					 * would be 2.8V, but the PMIC only
403f126890aSEmmanuel Vadot					 * supports 2.85V.
404f126890aSEmmanuel Vadot					 */
405f126890aSEmmanuel Vadot					regulator-min-microvolt = <2850000>;
406f126890aSEmmanuel Vadot					regulator-max-microvolt = <2850000>;
407f126890aSEmmanuel Vadot				};
408f126890aSEmmanuel Vadot
409f126890aSEmmanuel Vadot				hdmi_vdd_reg: ldo7 {
410f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo7,avdd_hdmi";
411f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
412f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
413f126890aSEmmanuel Vadot				};
414f126890aSEmmanuel Vadot
415f126890aSEmmanuel Vadot				hdmi_pll_reg: ldo8 {
416f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo8,avdd_hdmi_pll";
417f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
418f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
419f126890aSEmmanuel Vadot				};
420f126890aSEmmanuel Vadot
421f126890aSEmmanuel Vadot				ldo9 {
422f126890aSEmmanuel Vadot					regulator-name = "vdd_ldo9,vdd_ddr_rx,avdd_cam";
423f126890aSEmmanuel Vadot					/*
424f126890aSEmmanuel Vadot					 * According to the Tegra 2 Automotive
425f126890aSEmmanuel Vadot					 * DataSheet, a typical value for this
426f126890aSEmmanuel Vadot					 * would be 2.8V, but the PMIC only
427f126890aSEmmanuel Vadot					 * supports 2.85V.
428f126890aSEmmanuel Vadot					 */
429f126890aSEmmanuel Vadot					regulator-min-microvolt = <2850000>;
430f126890aSEmmanuel Vadot					regulator-max-microvolt = <2850000>;
431f126890aSEmmanuel Vadot					regulator-always-on;
432f126890aSEmmanuel Vadot				};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot				ldo_rtc {
435f126890aSEmmanuel Vadot					regulator-name = "vdd_rtc_out";
436f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
437f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
438f126890aSEmmanuel Vadot					regulator-always-on;
439f126890aSEmmanuel Vadot				};
440f126890aSEmmanuel Vadot			};
441f126890aSEmmanuel Vadot		};
442f126890aSEmmanuel Vadot
443f126890aSEmmanuel Vadot		temperature-sensor@4c {
444f126890aSEmmanuel Vadot			compatible = "onnn,nct1008";
445f126890aSEmmanuel Vadot			reg = <0x4c>;
446f126890aSEmmanuel Vadot		};
447f126890aSEmmanuel Vadot	};
448f126890aSEmmanuel Vadot
449f126890aSEmmanuel Vadot	pmc@7000e400 {
450f126890aSEmmanuel Vadot		nvidia,invert-interrupt;
451f126890aSEmmanuel Vadot		nvidia,suspend-mode = <1>;
452f126890aSEmmanuel Vadot		nvidia,cpu-pwr-good-time = <5000>;
453f126890aSEmmanuel Vadot		nvidia,cpu-pwr-off-time = <5000>;
454f126890aSEmmanuel Vadot		nvidia,core-pwr-good-time = <3845 3845>;
455f126890aSEmmanuel Vadot		nvidia,core-pwr-off-time = <3875>;
456f126890aSEmmanuel Vadot		nvidia,sys-clock-req-active-high;
457f126890aSEmmanuel Vadot		core-supply = <&vdd_core>;
458f126890aSEmmanuel Vadot	};
459f126890aSEmmanuel Vadot
460f126890aSEmmanuel Vadot	pcie@80003000 {
461f126890aSEmmanuel Vadot		avdd-pex-supply = <&pci_vdd_reg>;
462f126890aSEmmanuel Vadot		vdd-pex-supply = <&pci_vdd_reg>;
463f126890aSEmmanuel Vadot		avdd-pex-pll-supply = <&pci_vdd_reg>;
464f126890aSEmmanuel Vadot		avdd-plle-supply = <&pci_vdd_reg>;
465f126890aSEmmanuel Vadot		vddio-pex-clk-supply = <&pci_clk_reg>;
466f126890aSEmmanuel Vadot	};
467f126890aSEmmanuel Vadot
468f126890aSEmmanuel Vadot	usb@c5008000 {
469f126890aSEmmanuel Vadot		status = "okay";
470f126890aSEmmanuel Vadot	};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot	usb-phy@c5008000 {
473f126890aSEmmanuel Vadot		status = "okay";
474f126890aSEmmanuel Vadot	};
475f126890aSEmmanuel Vadot
476f126890aSEmmanuel Vadot	mmc@c8000600 {
477f126890aSEmmanuel Vadot		cd-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_LOW>;
478f126890aSEmmanuel Vadot		wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
479f126890aSEmmanuel Vadot		bus-width = <4>;
480f126890aSEmmanuel Vadot		status = "okay";
481f126890aSEmmanuel Vadot	};
482f126890aSEmmanuel Vadot
483f126890aSEmmanuel Vadot	clk32k_in: clock-32k {
484f126890aSEmmanuel Vadot		compatible = "fixed-clock";
485f126890aSEmmanuel Vadot		clock-frequency = <32768>;
486f126890aSEmmanuel Vadot		#clock-cells = <0>;
487f126890aSEmmanuel Vadot	};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot	i2cmux {
490f126890aSEmmanuel Vadot		compatible = "i2c-mux-pinctrl";
491f126890aSEmmanuel Vadot		#address-cells = <1>;
492f126890aSEmmanuel Vadot		#size-cells = <0>;
493f126890aSEmmanuel Vadot
494f126890aSEmmanuel Vadot		i2c-parent = <&{/i2c@7000c400}>;
495f126890aSEmmanuel Vadot
496f126890aSEmmanuel Vadot		pinctrl-names = "ddc", "pta", "idle";
497f126890aSEmmanuel Vadot		pinctrl-0 = <&state_i2cmux_ddc>;
498f126890aSEmmanuel Vadot		pinctrl-1 = <&state_i2cmux_pta>;
499f126890aSEmmanuel Vadot		pinctrl-2 = <&state_i2cmux_idle>;
500f126890aSEmmanuel Vadot
501f126890aSEmmanuel Vadot		hdmi_ddc: i2c@0 {
502f126890aSEmmanuel Vadot			reg = <0>;
503f126890aSEmmanuel Vadot			#address-cells = <1>;
504f126890aSEmmanuel Vadot			#size-cells = <0>;
505f126890aSEmmanuel Vadot		};
506f126890aSEmmanuel Vadot
507f126890aSEmmanuel Vadot		i2c@1 {
508f126890aSEmmanuel Vadot			reg = <1>;
509f126890aSEmmanuel Vadot			#address-cells = <1>;
510f126890aSEmmanuel Vadot			#size-cells = <0>;
511f126890aSEmmanuel Vadot		};
512f126890aSEmmanuel Vadot	};
513f126890aSEmmanuel Vadot
514f126890aSEmmanuel Vadot	pci_vdd_reg: regulator-1v05 {
515f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
516f126890aSEmmanuel Vadot		regulator-name = "vdd_1v05";
517f126890aSEmmanuel Vadot		regulator-min-microvolt = <1050000>;
518f126890aSEmmanuel Vadot		regulator-max-microvolt = <1050000>;
519f126890aSEmmanuel Vadot		gpio = <&pmic 2 0>;
520f126890aSEmmanuel Vadot		enable-active-high;
521f126890aSEmmanuel Vadot	};
522f126890aSEmmanuel Vadot};
523