xref: /freebsd-src/sys/contrib/device-tree/src/arm/nvidia/tegra30-apalis-v1.1.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
2f126890aSEmmanuel Vadot#include "tegra30.dtsi"
3f126890aSEmmanuel Vadot
4f126890aSEmmanuel Vadot/*
5f126890aSEmmanuel Vadot * Toradex Apalis T30 Module Device Tree
6f126890aSEmmanuel Vadot * Compatible for Revisions 1GB: V1.1A, V1.1B; 1GB IT: V1.1A, V1.1B;
7f126890aSEmmanuel Vadot * 2GB: V1.1A, V1.1B
8f126890aSEmmanuel Vadot */
9f126890aSEmmanuel Vadot/ {
10f126890aSEmmanuel Vadot	memory@80000000 {
11f126890aSEmmanuel Vadot		reg = <0x80000000 0x40000000>;
12f126890aSEmmanuel Vadot	};
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	pcie@3000 {
15f126890aSEmmanuel Vadot		status = "okay";
16f126890aSEmmanuel Vadot		avdd-pexa-supply = <&vdd2_reg>;
17f126890aSEmmanuel Vadot		avdd-pexb-supply = <&vdd2_reg>;
18f126890aSEmmanuel Vadot		avdd-pex-pll-supply = <&vdd2_reg>;
19f126890aSEmmanuel Vadot		avdd-plle-supply = <&ldo6_reg>;
20f126890aSEmmanuel Vadot		hvdd-pex-supply = <&reg_module_3v3>;
21f126890aSEmmanuel Vadot		vddio-pex-ctl-supply = <&reg_module_3v3>;
22f126890aSEmmanuel Vadot		vdd-pexa-supply = <&vdd2_reg>;
23f126890aSEmmanuel Vadot		vdd-pexb-supply = <&vdd2_reg>;
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot		/* Apalis type specific */
26f126890aSEmmanuel Vadot		pci@1,0 {
27f126890aSEmmanuel Vadot			nvidia,num-lanes = <4>;
28f126890aSEmmanuel Vadot		};
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot		/* Apalis PCIe */
31f126890aSEmmanuel Vadot		pci@2,0 {
32f126890aSEmmanuel Vadot			nvidia,num-lanes = <1>;
33f126890aSEmmanuel Vadot		};
34f126890aSEmmanuel Vadot
35f126890aSEmmanuel Vadot		/* I210/I211 Gigabit Ethernet Controller (on-module) */
36f126890aSEmmanuel Vadot		pci@3,0 {
37f126890aSEmmanuel Vadot			status = "okay";
38f126890aSEmmanuel Vadot			nvidia,num-lanes = <1>;
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot			ethernet@0,0 {
41f126890aSEmmanuel Vadot				reg = <0 0 0 0 0>;
42f126890aSEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
43f126890aSEmmanuel Vadot			};
44f126890aSEmmanuel Vadot		};
45f126890aSEmmanuel Vadot	};
46f126890aSEmmanuel Vadot
47f126890aSEmmanuel Vadot	host1x@50000000 {
48f126890aSEmmanuel Vadot		hdmi@54280000 {
49f126890aSEmmanuel Vadot			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
50f126890aSEmmanuel Vadot			nvidia,hpd-gpio =
51f126890aSEmmanuel Vadot				<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
52f126890aSEmmanuel Vadot			pll-supply = <&reg_1v8_avdd_hdmi_pll>;
53f126890aSEmmanuel Vadot			vdd-supply = <&reg_3v3_avdd_hdmi>;
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	pinmux@70000868 {
58f126890aSEmmanuel Vadot		pinctrl-names = "default";
59f126890aSEmmanuel Vadot		pinctrl-0 = <&state_default>;
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		state_default: pinmux {
62f126890aSEmmanuel Vadot			/* Analogue Audio (On-module) */
63f126890aSEmmanuel Vadot			clk1-out-pw4 {
64f126890aSEmmanuel Vadot				nvidia,pins = "clk1_out_pw4";
65f126890aSEmmanuel Vadot				nvidia,function = "extperiph1";
66f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
67f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
68f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
69f126890aSEmmanuel Vadot			};
70f126890aSEmmanuel Vadot			dap3-fs-pp0 {
71f126890aSEmmanuel Vadot				nvidia,pins = "dap3_fs_pp0",
72f126890aSEmmanuel Vadot					      "dap3_sclk_pp3",
73f126890aSEmmanuel Vadot					      "dap3_din_pp1",
74f126890aSEmmanuel Vadot					      "dap3_dout_pp2";
75f126890aSEmmanuel Vadot				nvidia,function = "i2s2";
76f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
77f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
78f126890aSEmmanuel Vadot			};
79f126890aSEmmanuel Vadot
80f126890aSEmmanuel Vadot			/* Apalis BKL1_ON */
81f126890aSEmmanuel Vadot			pv2 {
82f126890aSEmmanuel Vadot				nvidia,pins = "pv2";
83f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
84f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
85f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
86f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
87f126890aSEmmanuel Vadot			};
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot			/* Apalis BKL1_PWM */
90f126890aSEmmanuel Vadot			uart3-rts-n-pc0 {
91f126890aSEmmanuel Vadot				nvidia,pins = "uart3_rts_n_pc0";
92f126890aSEmmanuel Vadot				nvidia,function = "pwm0";
93f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
94f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
95f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
96f126890aSEmmanuel Vadot			};
97f126890aSEmmanuel Vadot			/* BKL1_PWM_EN#, disable TPS65911 PMIC PWM backlight */
98f126890aSEmmanuel Vadot			uart3-cts-n-pa1 {
99f126890aSEmmanuel Vadot				nvidia,pins = "uart3_cts_n_pa1";
100f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
101f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
102f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
103f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
104f126890aSEmmanuel Vadot			};
105f126890aSEmmanuel Vadot
106f126890aSEmmanuel Vadot			/* Apalis CAN1 on SPI6 */
107f126890aSEmmanuel Vadot			spi2-cs0-n-px3 {
108f126890aSEmmanuel Vadot				nvidia,pins = "spi2_cs0_n_px3",
109f126890aSEmmanuel Vadot					      "spi2_miso_px1",
110f126890aSEmmanuel Vadot					      "spi2_mosi_px0",
111f126890aSEmmanuel Vadot					      "spi2_sck_px2";
112f126890aSEmmanuel Vadot				nvidia,function = "spi6";
113f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
114f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
115f126890aSEmmanuel Vadot			};
116f126890aSEmmanuel Vadot			/* CAN_INT1 */
117f126890aSEmmanuel Vadot			spi2-cs1-n-pw2 {
118f126890aSEmmanuel Vadot				nvidia,pins = "spi2_cs1_n_pw2";
119f126890aSEmmanuel Vadot				nvidia,function = "spi3";
120f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
121f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
122f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
123f126890aSEmmanuel Vadot			};
124f126890aSEmmanuel Vadot
125f126890aSEmmanuel Vadot			/* Apalis CAN2 on SPI4 */
126f126890aSEmmanuel Vadot			gmi-a16-pj7 {
127f126890aSEmmanuel Vadot				nvidia,pins = "gmi_a16_pj7",
128f126890aSEmmanuel Vadot					      "gmi_a17_pb0",
129f126890aSEmmanuel Vadot					      "gmi_a18_pb1",
130f126890aSEmmanuel Vadot					      "gmi_a19_pk7";
131f126890aSEmmanuel Vadot				nvidia,function = "spi4";
132f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
133f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
134f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
135f126890aSEmmanuel Vadot			};
136f126890aSEmmanuel Vadot			/* CAN_INT2 */
137f126890aSEmmanuel Vadot			spi2-cs2-n-pw3 {
138f126890aSEmmanuel Vadot				nvidia,pins = "spi2_cs2_n_pw3";
139f126890aSEmmanuel Vadot				nvidia,function = "spi3";
140f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
141f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
142f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
143f126890aSEmmanuel Vadot			};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot			/* Apalis Digital Audio */
146f126890aSEmmanuel Vadot			clk1-req-pee2 {
147f126890aSEmmanuel Vadot				nvidia,pins = "clk1_req_pee2";
148f126890aSEmmanuel Vadot				nvidia,function = "hda";
149f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
150f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
151f126890aSEmmanuel Vadot			};
152f126890aSEmmanuel Vadot			clk2-out-pw5 {
153f126890aSEmmanuel Vadot				nvidia,pins = "clk2_out_pw5";
154f126890aSEmmanuel Vadot				nvidia,function = "extperiph2";
155f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
156f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
157f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
158f126890aSEmmanuel Vadot			};
159f126890aSEmmanuel Vadot			dap1-fs-pn0 {
160f126890aSEmmanuel Vadot				nvidia,pins = "dap1_fs_pn0",
161f126890aSEmmanuel Vadot					      "dap1_din_pn1",
162f126890aSEmmanuel Vadot					      "dap1_dout_pn2",
163f126890aSEmmanuel Vadot					      "dap1_sclk_pn3";
164f126890aSEmmanuel Vadot				nvidia,function = "hda";
165f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
166f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
167f126890aSEmmanuel Vadot			};
168f126890aSEmmanuel Vadot
169f126890aSEmmanuel Vadot			/* Apalis GPIO */
170f126890aSEmmanuel Vadot			kb-col0-pq0 {
171f126890aSEmmanuel Vadot				nvidia,pins = "kb_col0_pq0",
172f126890aSEmmanuel Vadot					      "kb_col1_pq1",
173f126890aSEmmanuel Vadot					      "kb_row10_ps2",
174f126890aSEmmanuel Vadot					      "kb_row11_ps3",
175f126890aSEmmanuel Vadot					      "kb_row12_ps4",
176f126890aSEmmanuel Vadot					      "kb_row13_ps5",
177f126890aSEmmanuel Vadot					      "kb_row14_ps6",
178f126890aSEmmanuel Vadot					      "kb_row15_ps7";
179f126890aSEmmanuel Vadot				nvidia,function = "kbc";
180f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
181f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
182f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
183f126890aSEmmanuel Vadot			};
184f126890aSEmmanuel Vadot			/* Multiplexed and therefore disabled */
185f126890aSEmmanuel Vadot			owr {
186f126890aSEmmanuel Vadot				nvidia,pins = "owr";
187f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
188f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
189f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
190f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
191f126890aSEmmanuel Vadot			};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot			/* Apalis HDMI1 */
194f126890aSEmmanuel Vadot			hdmi-cec-pee3 {
195f126890aSEmmanuel Vadot				nvidia,pins = "hdmi_cec_pee3";
196f126890aSEmmanuel Vadot				nvidia,function = "cec";
197f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
198f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
199f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
200f126890aSEmmanuel Vadot				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
201f126890aSEmmanuel Vadot			};
202f126890aSEmmanuel Vadot			hdmi-int-pn7 {
203f126890aSEmmanuel Vadot				nvidia,pins = "hdmi_int_pn7";
204f126890aSEmmanuel Vadot				nvidia,function = "hdmi";
205f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
206f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
207f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
208f126890aSEmmanuel Vadot			};
209f126890aSEmmanuel Vadot
210f126890aSEmmanuel Vadot			/* Apalis I2C1 */
211f126890aSEmmanuel Vadot			gen1-i2c-scl-pc4 {
212f126890aSEmmanuel Vadot				nvidia,pins = "gen1_i2c_scl_pc4",
213f126890aSEmmanuel Vadot					      "gen1_i2c_sda_pc5";
214f126890aSEmmanuel Vadot				nvidia,function = "i2c1";
215f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
216f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
217f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
218f126890aSEmmanuel Vadot				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
219f126890aSEmmanuel Vadot			};
220f126890aSEmmanuel Vadot
221f126890aSEmmanuel Vadot			/* Apalis I2C2 (DDC) */
222f126890aSEmmanuel Vadot			ddc-scl-pv4 {
223f126890aSEmmanuel Vadot				nvidia,pins = "ddc_scl_pv4",
224f126890aSEmmanuel Vadot					      "ddc_sda_pv5";
225f126890aSEmmanuel Vadot				nvidia,function = "i2c4";
226f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
227f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
228f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
229f126890aSEmmanuel Vadot			};
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot			/* Apalis I2C3 (CAM) */
232f126890aSEmmanuel Vadot			cam-i2c-scl-pbb1 {
233f126890aSEmmanuel Vadot				nvidia,pins = "cam_i2c_scl_pbb1",
234f126890aSEmmanuel Vadot					      "cam_i2c_sda_pbb2";
235f126890aSEmmanuel Vadot				nvidia,function = "i2c3";
236f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
237f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
238f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
239f126890aSEmmanuel Vadot				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
240f126890aSEmmanuel Vadot			};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot			/* Apalis LCD1 */
243f126890aSEmmanuel Vadot			lcd-d0-pe0 {
244f126890aSEmmanuel Vadot				nvidia,pins = "lcd_d0_pe0",
245f126890aSEmmanuel Vadot					      "lcd_d1_pe1",
246f126890aSEmmanuel Vadot					      "lcd_d2_pe2",
247f126890aSEmmanuel Vadot					      "lcd_d3_pe3",
248f126890aSEmmanuel Vadot					      "lcd_d4_pe4",
249f126890aSEmmanuel Vadot					      "lcd_d5_pe5",
250f126890aSEmmanuel Vadot					      "lcd_d6_pe6",
251f126890aSEmmanuel Vadot					      "lcd_d7_pe7",
252f126890aSEmmanuel Vadot					      "lcd_d8_pf0",
253f126890aSEmmanuel Vadot					      "lcd_d9_pf1",
254f126890aSEmmanuel Vadot					      "lcd_d10_pf2",
255f126890aSEmmanuel Vadot					      "lcd_d11_pf3",
256f126890aSEmmanuel Vadot					      "lcd_d12_pf4",
257f126890aSEmmanuel Vadot					      "lcd_d13_pf5",
258f126890aSEmmanuel Vadot					      "lcd_d14_pf6",
259f126890aSEmmanuel Vadot					      "lcd_d15_pf7",
260f126890aSEmmanuel Vadot					      "lcd_d16_pm0",
261f126890aSEmmanuel Vadot					      "lcd_d17_pm1",
262f126890aSEmmanuel Vadot					      "lcd_d18_pm2",
263f126890aSEmmanuel Vadot					      "lcd_d19_pm3",
264f126890aSEmmanuel Vadot					      "lcd_d20_pm4",
265f126890aSEmmanuel Vadot					      "lcd_d21_pm5",
266f126890aSEmmanuel Vadot					      "lcd_d22_pm6",
267f126890aSEmmanuel Vadot					      "lcd_d23_pm7",
268f126890aSEmmanuel Vadot					      "lcd_de_pj1",
269f126890aSEmmanuel Vadot					      "lcd_hsync_pj3",
270f126890aSEmmanuel Vadot					      "lcd_pclk_pb3",
271f126890aSEmmanuel Vadot					      "lcd_vsync_pj4";
272f126890aSEmmanuel Vadot				nvidia,function = "displaya";
273f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
274f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
275f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
276f126890aSEmmanuel Vadot			};
277f126890aSEmmanuel Vadot
278f126890aSEmmanuel Vadot			/* Apalis MMC1 */
279f126890aSEmmanuel Vadot			sdmmc3-clk-pa6 {
280f126890aSEmmanuel Vadot				nvidia,pins = "sdmmc3_clk_pa6";
281f126890aSEmmanuel Vadot				nvidia,function = "sdmmc3";
282f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
283f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
284f126890aSEmmanuel Vadot			};
285f126890aSEmmanuel Vadot			sdmmc3-dat0-pb7 {
286f126890aSEmmanuel Vadot				nvidia,pins = "sdmmc3_cmd_pa7",
287f126890aSEmmanuel Vadot					      "sdmmc3_dat0_pb7",
288f126890aSEmmanuel Vadot					      "sdmmc3_dat1_pb6",
289f126890aSEmmanuel Vadot					      "sdmmc3_dat2_pb5",
290f126890aSEmmanuel Vadot					      "sdmmc3_dat3_pb4",
291f126890aSEmmanuel Vadot					      "sdmmc3_dat4_pd1",
292f126890aSEmmanuel Vadot					      "sdmmc3_dat5_pd0",
293f126890aSEmmanuel Vadot					      "sdmmc3_dat6_pd3",
294f126890aSEmmanuel Vadot					      "sdmmc3_dat7_pd4";
295f126890aSEmmanuel Vadot				nvidia,function = "sdmmc3";
296f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
297f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
298f126890aSEmmanuel Vadot			};
299f126890aSEmmanuel Vadot			/* Apalis MMC1_CD# */
300f126890aSEmmanuel Vadot			pv3 {
301f126890aSEmmanuel Vadot				nvidia,pins = "pv3";
302f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
303f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
304f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
305f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
306f126890aSEmmanuel Vadot			};
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot			/* Apalis Parallel Camera */
309f126890aSEmmanuel Vadot			cam-mclk-pcc0 {
310f126890aSEmmanuel Vadot				nvidia,pins = "cam_mclk_pcc0";
311f126890aSEmmanuel Vadot				nvidia,function = "vi_alt3";
312f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
313f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
314f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
315f126890aSEmmanuel Vadot			};
316f126890aSEmmanuel Vadot			vi-vsync-pd6 {
317f126890aSEmmanuel Vadot				nvidia,pins = "vi_d0_pt4",
318f126890aSEmmanuel Vadot					      "vi_d1_pd5",
319f126890aSEmmanuel Vadot					      "vi_d2_pl0",
320f126890aSEmmanuel Vadot					      "vi_d3_pl1",
321f126890aSEmmanuel Vadot					      "vi_d4_pl2",
322f126890aSEmmanuel Vadot					      "vi_d5_pl3",
323f126890aSEmmanuel Vadot					      "vi_d6_pl4",
324f126890aSEmmanuel Vadot					      "vi_d7_pl5",
325f126890aSEmmanuel Vadot					      "vi_d8_pl6",
326f126890aSEmmanuel Vadot					      "vi_d9_pl7",
327f126890aSEmmanuel Vadot					      "vi_d10_pt2",
328f126890aSEmmanuel Vadot					      "vi_d11_pt3",
329f126890aSEmmanuel Vadot					      "vi_hsync_pd7",
330f126890aSEmmanuel Vadot					      "vi_pclk_pt0",
331f126890aSEmmanuel Vadot					      "vi_vsync_pd6";
332f126890aSEmmanuel Vadot				nvidia,function = "vi";
333f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
334f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
335f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
336f126890aSEmmanuel Vadot			};
337f126890aSEmmanuel Vadot			/* Multiplexed and therefore disabled */
338f126890aSEmmanuel Vadot			kb-col2-pq2 {
339f126890aSEmmanuel Vadot				nvidia,pins = "kb_col2_pq2",
340f126890aSEmmanuel Vadot					      "kb_col3_pq3",
341f126890aSEmmanuel Vadot					      "kb_col4_pq4",
342f126890aSEmmanuel Vadot					      "kb_row4_pr4";
343f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
344f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
345f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
346f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
347f126890aSEmmanuel Vadot			};
348f126890aSEmmanuel Vadot			kb-row0-pr0 {
349f126890aSEmmanuel Vadot				nvidia,pins = "kb_row0_pr0",
350f126890aSEmmanuel Vadot					      "kb_row1_pr1",
351f126890aSEmmanuel Vadot					      "kb_row2_pr2",
352f126890aSEmmanuel Vadot					      "kb_row3_pr3";
353f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
354f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
355f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
356f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
357f126890aSEmmanuel Vadot			};
358f126890aSEmmanuel Vadot			kb-row5-pr5 {
359f126890aSEmmanuel Vadot				nvidia,pins = "kb_row5_pr5",
360f126890aSEmmanuel Vadot					      "kb_row6_pr6",
361f126890aSEmmanuel Vadot					      "kb_row7_pr7";
362f126890aSEmmanuel Vadot				nvidia,function = "kbc";
363f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
364f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
365f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
366f126890aSEmmanuel Vadot			};
367f126890aSEmmanuel Vadot			/*
368f126890aSEmmanuel Vadot			 * VI level-shifter direction
369f126890aSEmmanuel Vadot			 * (pull-down => default direction input)
370f126890aSEmmanuel Vadot			 */
371f126890aSEmmanuel Vadot			vi-mclk-pt1 {
372f126890aSEmmanuel Vadot				nvidia,pins = "vi_mclk_pt1";
373f126890aSEmmanuel Vadot				nvidia,function = "vi_alt3";
374f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
375f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
376f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
377f126890aSEmmanuel Vadot			};
378f126890aSEmmanuel Vadot
379f126890aSEmmanuel Vadot			/* Apalis PWM1 */
380f126890aSEmmanuel Vadot			pu6 {
381f126890aSEmmanuel Vadot				nvidia,pins = "pu6";
382f126890aSEmmanuel Vadot				nvidia,function = "pwm3";
383f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
384f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
385f126890aSEmmanuel Vadot			};
386f126890aSEmmanuel Vadot
387f126890aSEmmanuel Vadot			/* Apalis PWM2 */
388f126890aSEmmanuel Vadot			pu5 {
389f126890aSEmmanuel Vadot				nvidia,pins = "pu5";
390f126890aSEmmanuel Vadot				nvidia,function = "pwm2";
391f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
392f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
393f126890aSEmmanuel Vadot			};
394f126890aSEmmanuel Vadot
395f126890aSEmmanuel Vadot			/* Apalis PWM3 */
396f126890aSEmmanuel Vadot			pu4 {
397f126890aSEmmanuel Vadot				nvidia,pins = "pu4";
398f126890aSEmmanuel Vadot				nvidia,function = "pwm1";
399f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
400f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
401f126890aSEmmanuel Vadot			};
402f126890aSEmmanuel Vadot
403f126890aSEmmanuel Vadot			/* Apalis PWM4 */
404f126890aSEmmanuel Vadot			pu3 {
405f126890aSEmmanuel Vadot				nvidia,pins = "pu3";
406f126890aSEmmanuel Vadot				nvidia,function = "pwm0";
407f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
408f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
409f126890aSEmmanuel Vadot			};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot			/* Apalis RESET_MOCI# */
412f126890aSEmmanuel Vadot			gmi-rst-n-pi4 {
413f126890aSEmmanuel Vadot				nvidia,pins = "gmi_rst_n_pi4";
414f126890aSEmmanuel Vadot				nvidia,function = "gmi";
415f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
416f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
417f126890aSEmmanuel Vadot			};
418f126890aSEmmanuel Vadot
419f126890aSEmmanuel Vadot			/* Apalis SATA1_ACT# */
420f126890aSEmmanuel Vadot			pex-l0-prsnt-n-pdd0 {
421f126890aSEmmanuel Vadot				nvidia,pins = "pex_l0_prsnt_n_pdd0";
422f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
423f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
424f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
425f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
426f126890aSEmmanuel Vadot			};
427f126890aSEmmanuel Vadot
428f126890aSEmmanuel Vadot			/* Apalis SD1 */
429f126890aSEmmanuel Vadot			sdmmc1-clk-pz0 {
430f126890aSEmmanuel Vadot				nvidia,pins = "sdmmc1_clk_pz0";
431f126890aSEmmanuel Vadot				nvidia,function = "sdmmc1";
432f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
433f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
434f126890aSEmmanuel Vadot			};
435f126890aSEmmanuel Vadot			sdmmc1-cmd-pz1 {
436f126890aSEmmanuel Vadot				nvidia,pins = "sdmmc1_cmd_pz1",
437f126890aSEmmanuel Vadot					      "sdmmc1_dat0_py7",
438f126890aSEmmanuel Vadot					      "sdmmc1_dat1_py6",
439f126890aSEmmanuel Vadot					      "sdmmc1_dat2_py5",
440f126890aSEmmanuel Vadot					      "sdmmc1_dat3_py4";
441f126890aSEmmanuel Vadot				nvidia,function = "sdmmc1";
442f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
443f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
444f126890aSEmmanuel Vadot			};
445f126890aSEmmanuel Vadot			/* Apalis SD1_CD# */
446f126890aSEmmanuel Vadot			clk2-req-pcc5 {
447f126890aSEmmanuel Vadot				nvidia,pins = "clk2_req_pcc5";
448f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
449f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
450f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
451f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
452f126890aSEmmanuel Vadot			};
453f126890aSEmmanuel Vadot
454f126890aSEmmanuel Vadot			/* Apalis SPDIF1 */
455f126890aSEmmanuel Vadot			spdif-out-pk5 {
456f126890aSEmmanuel Vadot				nvidia,pins = "spdif_out_pk5",
457f126890aSEmmanuel Vadot					      "spdif_in_pk6";
458f126890aSEmmanuel Vadot				nvidia,function = "spdif";
459f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
460f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
461f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
462f126890aSEmmanuel Vadot			};
463f126890aSEmmanuel Vadot
464f126890aSEmmanuel Vadot			/* Apalis SPI1 */
465f126890aSEmmanuel Vadot			spi1-sck-px5 {
466f126890aSEmmanuel Vadot				nvidia,pins = "spi1_sck_px5",
467f126890aSEmmanuel Vadot					      "spi1_mosi_px4",
468f126890aSEmmanuel Vadot					      "spi1_miso_px7",
469f126890aSEmmanuel Vadot					      "spi1_cs0_n_px6";
470f126890aSEmmanuel Vadot				nvidia,function = "spi1";
471f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
472f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
473f126890aSEmmanuel Vadot			};
474f126890aSEmmanuel Vadot
475f126890aSEmmanuel Vadot			/* Apalis SPI2 */
476f126890aSEmmanuel Vadot			lcd-sck-pz4 {
477f126890aSEmmanuel Vadot				nvidia,pins = "lcd_sck_pz4",
478f126890aSEmmanuel Vadot					      "lcd_sdout_pn5",
479f126890aSEmmanuel Vadot					      "lcd_sdin_pz2",
480f126890aSEmmanuel Vadot					      "lcd_cs0_n_pn4";
481f126890aSEmmanuel Vadot				nvidia,function = "spi5";
482f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
483f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
484f126890aSEmmanuel Vadot			};
485f126890aSEmmanuel Vadot
486f126890aSEmmanuel Vadot			/*
487f126890aSEmmanuel Vadot			 * Apalis TS (Low-speed type specific)
488f126890aSEmmanuel Vadot			 * pins may be used as GPIOs
489f126890aSEmmanuel Vadot			 */
490f126890aSEmmanuel Vadot			kb-col5-pq5 {
491f126890aSEmmanuel Vadot				nvidia,pins = "kb_col5_pq5";
492f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
493f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
494f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
495f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
496f126890aSEmmanuel Vadot			};
497f126890aSEmmanuel Vadot			kb-col6-pq6 {
498f126890aSEmmanuel Vadot				nvidia,pins = "kb_col6_pq6",
499f126890aSEmmanuel Vadot					      "kb_col7_pq7",
500f126890aSEmmanuel Vadot					      "kb_row8_ps0",
501f126890aSEmmanuel Vadot					      "kb_row9_ps1";
502f126890aSEmmanuel Vadot				nvidia,function = "kbc";
503f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
504f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
505f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
506f126890aSEmmanuel Vadot			};
507f126890aSEmmanuel Vadot
508f126890aSEmmanuel Vadot			/* Apalis UART1 */
509f126890aSEmmanuel Vadot			ulpi-data0 {
510f126890aSEmmanuel Vadot				nvidia,pins = "ulpi_data0_po1",
511f126890aSEmmanuel Vadot					      "ulpi_data1_po2",
512f126890aSEmmanuel Vadot					      "ulpi_data2_po3",
513f126890aSEmmanuel Vadot					      "ulpi_data3_po4",
514f126890aSEmmanuel Vadot					      "ulpi_data4_po5",
515f126890aSEmmanuel Vadot					      "ulpi_data5_po6",
516f126890aSEmmanuel Vadot					      "ulpi_data6_po7",
517f126890aSEmmanuel Vadot					      "ulpi_data7_po0";
518f126890aSEmmanuel Vadot				nvidia,function = "uarta";
519f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
520f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
521f126890aSEmmanuel Vadot			};
522f126890aSEmmanuel Vadot
523f126890aSEmmanuel Vadot			/* Apalis UART2 */
524f126890aSEmmanuel Vadot			ulpi-clk-py0 {
525f126890aSEmmanuel Vadot				nvidia,pins = "ulpi_clk_py0",
526f126890aSEmmanuel Vadot					      "ulpi_dir_py1",
527f126890aSEmmanuel Vadot					      "ulpi_nxt_py2",
528f126890aSEmmanuel Vadot					      "ulpi_stp_py3";
529f126890aSEmmanuel Vadot				nvidia,function = "uartd";
530f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
531f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
532f126890aSEmmanuel Vadot			};
533f126890aSEmmanuel Vadot
534f126890aSEmmanuel Vadot			/* Apalis UART3 */
535f126890aSEmmanuel Vadot			uart2-rxd-pc3 {
536f126890aSEmmanuel Vadot				nvidia,pins = "uart2_rxd_pc3",
537f126890aSEmmanuel Vadot					      "uart2_txd_pc2";
538f126890aSEmmanuel Vadot				nvidia,function = "uartb";
539f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
540f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
541f126890aSEmmanuel Vadot			};
542f126890aSEmmanuel Vadot
543f126890aSEmmanuel Vadot			/* Apalis UART4 */
544f126890aSEmmanuel Vadot			uart3-rxd-pw7 {
545f126890aSEmmanuel Vadot				nvidia,pins = "uart3_rxd_pw7",
546f126890aSEmmanuel Vadot					      "uart3_txd_pw6";
547f126890aSEmmanuel Vadot				nvidia,function = "uartc";
548f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
549f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
550f126890aSEmmanuel Vadot			};
551f126890aSEmmanuel Vadot
552f126890aSEmmanuel Vadot			/* Apalis USBH_EN */
553f126890aSEmmanuel Vadot			pex-l0-rst-n-pdd1 {
554f126890aSEmmanuel Vadot				nvidia,pins = "pex_l0_rst_n_pdd1";
555f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
556f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
557f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
558f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
559f126890aSEmmanuel Vadot			};
560f126890aSEmmanuel Vadot
561f126890aSEmmanuel Vadot			/* Apalis USBH_OC# */
562f126890aSEmmanuel Vadot			pex-l0-clkreq-n-pdd2 {
563f126890aSEmmanuel Vadot				nvidia,pins = "pex_l0_clkreq_n_pdd2";
564f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
565f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
566f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
567f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
568f126890aSEmmanuel Vadot			};
569f126890aSEmmanuel Vadot
570f126890aSEmmanuel Vadot			/* Apalis USBO1_EN */
571f126890aSEmmanuel Vadot			gen2-i2c-scl-pt5 {
572f126890aSEmmanuel Vadot				nvidia,pins = "gen2_i2c_scl_pt5";
573f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
574f126890aSEmmanuel Vadot				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
575f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
576f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
577f126890aSEmmanuel Vadot			};
578f126890aSEmmanuel Vadot
579f126890aSEmmanuel Vadot			/* Apalis USBO1_OC# */
580f126890aSEmmanuel Vadot			gen2-i2c-sda-pt6 {
581f126890aSEmmanuel Vadot				nvidia,pins = "gen2_i2c_sda_pt6";
582f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
583f126890aSEmmanuel Vadot				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
584f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
585f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
586f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
587f126890aSEmmanuel Vadot			};
588f126890aSEmmanuel Vadot
589f126890aSEmmanuel Vadot			/* Apalis VGA1 not supported and therefore disabled */
590f126890aSEmmanuel Vadot			crt-hsync-pv6 {
591f126890aSEmmanuel Vadot				nvidia,pins = "crt_hsync_pv6",
592f126890aSEmmanuel Vadot					      "crt_vsync_pv7";
593f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
594f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
595f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
596f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
597f126890aSEmmanuel Vadot			};
598f126890aSEmmanuel Vadot
599f126890aSEmmanuel Vadot			/* Apalis WAKE1_MICO */
600f126890aSEmmanuel Vadot			pv1 {
601f126890aSEmmanuel Vadot				nvidia,pins = "pv1";
602f126890aSEmmanuel Vadot				nvidia,function = "rsvd1";
603f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
604f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
605f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
606f126890aSEmmanuel Vadot			};
607f126890aSEmmanuel Vadot
608f126890aSEmmanuel Vadot			/* eMMC (On-module) */
609f126890aSEmmanuel Vadot			sdmmc4-clk-pcc4 {
610f126890aSEmmanuel Vadot				nvidia,pins = "sdmmc4_clk_pcc4",
611f126890aSEmmanuel Vadot					      "sdmmc4_cmd_pt7",
612f126890aSEmmanuel Vadot					      "sdmmc4_rst_n_pcc3";
613f126890aSEmmanuel Vadot				nvidia,function = "sdmmc4";
614f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
615f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
616f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
617f126890aSEmmanuel Vadot			};
618f126890aSEmmanuel Vadot			sdmmc4-dat0-paa0 {
619f126890aSEmmanuel Vadot				nvidia,pins = "sdmmc4_dat0_paa0",
620f126890aSEmmanuel Vadot					      "sdmmc4_dat1_paa1",
621f126890aSEmmanuel Vadot					      "sdmmc4_dat2_paa2",
622f126890aSEmmanuel Vadot					      "sdmmc4_dat3_paa3",
623f126890aSEmmanuel Vadot					      "sdmmc4_dat4_paa4",
624f126890aSEmmanuel Vadot					      "sdmmc4_dat5_paa5",
625f126890aSEmmanuel Vadot					      "sdmmc4_dat6_paa6",
626f126890aSEmmanuel Vadot					      "sdmmc4_dat7_paa7";
627f126890aSEmmanuel Vadot				nvidia,function = "sdmmc4";
628f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_UP>;
629f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
630f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
631f126890aSEmmanuel Vadot			};
632f126890aSEmmanuel Vadot
633f126890aSEmmanuel Vadot			/* EN_+3.3_SDMMC3 */
634f126890aSEmmanuel Vadot			uart2-cts-n-pj5 {
635f126890aSEmmanuel Vadot				nvidia,pins = "uart2_cts_n_pj5";
636f126890aSEmmanuel Vadot				nvidia,function = "gmi";
637f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
638f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
639f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
640f126890aSEmmanuel Vadot			};
641f126890aSEmmanuel Vadot
642f126890aSEmmanuel Vadot			/* LAN i210/i211 DEV_OFF_N, PE_RST_N (On-module) */
643f126890aSEmmanuel Vadot			pex-l2-prsnt-n-pdd7 {
644f126890aSEmmanuel Vadot				nvidia,pins = "pex_l2_prsnt_n_pdd7",
645f126890aSEmmanuel Vadot					      "pex_l2_rst_n_pcc6";
646f126890aSEmmanuel Vadot				nvidia,function = "pcie";
647f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
648f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
649f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
650f126890aSEmmanuel Vadot			};
651f126890aSEmmanuel Vadot			/* LAN i210/i211 PE_WAKE_N, SDP3 (On-module) */
652f126890aSEmmanuel Vadot			pex-wake-n-pdd3 {
653f126890aSEmmanuel Vadot				nvidia,pins = "pex_wake_n_pdd3",
654f126890aSEmmanuel Vadot					      "pex_l2_clkreq_n_pcc7";
655f126890aSEmmanuel Vadot				nvidia,function = "pcie";
656f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
657f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
658f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
659f126890aSEmmanuel Vadot			};
660f126890aSEmmanuel Vadot			/* LAN i210/i211 SMB_ALERT_N (On-module) */
661f126890aSEmmanuel Vadot			sys-clk-req-pz5 {
662f126890aSEmmanuel Vadot				nvidia,pins = "sys_clk_req_pz5";
663f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
664f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
665f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
666f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
667f126890aSEmmanuel Vadot			};
668f126890aSEmmanuel Vadot
669f126890aSEmmanuel Vadot			/* LVDS Transceiver Configuration */
670f126890aSEmmanuel Vadot			pbb0 {
671f126890aSEmmanuel Vadot				nvidia,pins = "pbb0",
672f126890aSEmmanuel Vadot					      "pbb7",
673f126890aSEmmanuel Vadot					      "pcc1",
674f126890aSEmmanuel Vadot					      "pcc2";
675f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
676f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
677f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
678f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
679f126890aSEmmanuel Vadot			};
680f126890aSEmmanuel Vadot			pbb3 {
681f126890aSEmmanuel Vadot				nvidia,pins = "pbb3",
682f126890aSEmmanuel Vadot					      "pbb4",
683f126890aSEmmanuel Vadot					      "pbb5",
684f126890aSEmmanuel Vadot					      "pbb6";
685f126890aSEmmanuel Vadot				nvidia,function = "displayb";
686f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
687f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
688f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
689f126890aSEmmanuel Vadot			};
690f126890aSEmmanuel Vadot
691f126890aSEmmanuel Vadot			/* Not connected and therefore disabled */
692f126890aSEmmanuel Vadot			clk-32k-out-pa0 {
693f126890aSEmmanuel Vadot				nvidia,pins = "clk3_out_pee0",
694f126890aSEmmanuel Vadot					      "clk3_req_pee1",
695f126890aSEmmanuel Vadot					      "clk_32k_out_pa0",
696f126890aSEmmanuel Vadot					      "dap4_din_pp5",
697f126890aSEmmanuel Vadot					      "dap4_dout_pp6",
698f126890aSEmmanuel Vadot					      "dap4_fs_pp4",
699f126890aSEmmanuel Vadot					      "dap4_sclk_pp7";
700f126890aSEmmanuel Vadot				nvidia,function = "rsvd2";
701f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
702f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
703f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
704f126890aSEmmanuel Vadot			};
705f126890aSEmmanuel Vadot			dap2-fs-pa2 {
706f126890aSEmmanuel Vadot				nvidia,pins = "dap2_fs_pa2",
707f126890aSEmmanuel Vadot					      "dap2_sclk_pa3",
708f126890aSEmmanuel Vadot					      "dap2_din_pa4",
709f126890aSEmmanuel Vadot					      "dap2_dout_pa5",
710f126890aSEmmanuel Vadot					      "lcd_dc0_pn6",
711f126890aSEmmanuel Vadot					      "lcd_m1_pw1",
712f126890aSEmmanuel Vadot					      "lcd_pwr1_pc1",
713f126890aSEmmanuel Vadot					      "pex_l1_clkreq_n_pdd6",
714f126890aSEmmanuel Vadot					      "pex_l1_prsnt_n_pdd4",
715f126890aSEmmanuel Vadot					      "pex_l1_rst_n_pdd5";
716f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
717f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
718f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
719f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
720f126890aSEmmanuel Vadot			};
721f126890aSEmmanuel Vadot			gmi-ad0-pg0 {
722f126890aSEmmanuel Vadot				nvidia,pins = "gmi_ad0_pg0",
723f126890aSEmmanuel Vadot					      "gmi_ad2_pg2",
724f126890aSEmmanuel Vadot					      "gmi_ad3_pg3",
725f126890aSEmmanuel Vadot					      "gmi_ad4_pg4",
726f126890aSEmmanuel Vadot					      "gmi_ad5_pg5",
727f126890aSEmmanuel Vadot					      "gmi_ad6_pg6",
728f126890aSEmmanuel Vadot					      "gmi_ad7_pg7",
729f126890aSEmmanuel Vadot					      "gmi_ad8_ph0",
730f126890aSEmmanuel Vadot					      "gmi_ad9_ph1",
731f126890aSEmmanuel Vadot					      "gmi_ad10_ph2",
732f126890aSEmmanuel Vadot					      "gmi_ad11_ph3",
733f126890aSEmmanuel Vadot					      "gmi_ad12_ph4",
734f126890aSEmmanuel Vadot					      "gmi_ad13_ph5",
735f126890aSEmmanuel Vadot					      "gmi_ad14_ph6",
736f126890aSEmmanuel Vadot					      "gmi_ad15_ph7",
737f126890aSEmmanuel Vadot					      "gmi_adv_n_pk0",
738f126890aSEmmanuel Vadot					      "gmi_clk_pk1",
739f126890aSEmmanuel Vadot					      "gmi_cs4_n_pk2",
740f126890aSEmmanuel Vadot					      "gmi_cs2_n_pk3",
741f126890aSEmmanuel Vadot					      "gmi_dqs_pi2",
742f126890aSEmmanuel Vadot					      "gmi_iordy_pi5",
743f126890aSEmmanuel Vadot					      "gmi_oe_n_pi1",
744f126890aSEmmanuel Vadot					      "gmi_wait_pi7",
745f126890aSEmmanuel Vadot					      "gmi_wr_n_pi0",
746f126890aSEmmanuel Vadot					      "lcd_cs1_n_pw0",
747f126890aSEmmanuel Vadot					      "pu0",
748f126890aSEmmanuel Vadot					      "pu1",
749f126890aSEmmanuel Vadot					      "pu2";
750f126890aSEmmanuel Vadot				nvidia,function = "rsvd4";
751f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
752f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
753f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
754f126890aSEmmanuel Vadot			};
755f126890aSEmmanuel Vadot			gmi-cs0-n-pj0 {
756f126890aSEmmanuel Vadot				nvidia,pins = "gmi_cs0_n_pj0",
757f126890aSEmmanuel Vadot					      "gmi_cs1_n_pj2",
758f126890aSEmmanuel Vadot					      "gmi_cs3_n_pk4";
759f126890aSEmmanuel Vadot				nvidia,function = "rsvd1";
760f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
761f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
762f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
763f126890aSEmmanuel Vadot			};
764f126890aSEmmanuel Vadot			gmi-cs6-n-pi3 {
765f126890aSEmmanuel Vadot				nvidia,pins = "gmi_cs6_n_pi3";
766f126890aSEmmanuel Vadot				nvidia,function = "sata";
767f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
768f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
769f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
770f126890aSEmmanuel Vadot			};
771f126890aSEmmanuel Vadot			gmi-cs7-n-pi6 {
772f126890aSEmmanuel Vadot				nvidia,pins = "gmi_cs7_n_pi6";
773f126890aSEmmanuel Vadot				nvidia,function = "gmi_alt";
774f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
775f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
776f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
777f126890aSEmmanuel Vadot			};
778f126890aSEmmanuel Vadot			lcd-pwr0-pb2 {
779f126890aSEmmanuel Vadot				nvidia,pins = "lcd_pwr0_pb2",
780f126890aSEmmanuel Vadot					      "lcd_pwr2_pc6",
781f126890aSEmmanuel Vadot					      "lcd_wr_n_pz3";
782f126890aSEmmanuel Vadot				nvidia,function = "hdcp";
783f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
784f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
785f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
786f126890aSEmmanuel Vadot			};
787f126890aSEmmanuel Vadot			uart2-rts-n-pj6 {
788f126890aSEmmanuel Vadot				nvidia,pins = "uart2_rts_n_pj6";
789f126890aSEmmanuel Vadot				nvidia,function = "gmi";
790f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
791f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
792f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
793f126890aSEmmanuel Vadot			};
794f126890aSEmmanuel Vadot
795f126890aSEmmanuel Vadot			/* Power I2C (On-module) */
796f126890aSEmmanuel Vadot			pwr-i2c-scl-pz6 {
797f126890aSEmmanuel Vadot				nvidia,pins = "pwr_i2c_scl_pz6",
798f126890aSEmmanuel Vadot					      "pwr_i2c_sda_pz7";
799f126890aSEmmanuel Vadot				nvidia,function = "i2cpwr";
800f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
801f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
802f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
803f126890aSEmmanuel Vadot				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
804f126890aSEmmanuel Vadot			};
805f126890aSEmmanuel Vadot
806f126890aSEmmanuel Vadot			/*
807f126890aSEmmanuel Vadot			 * THERMD_ALERT#, unlatched I2C address pin of LM95245
808f126890aSEmmanuel Vadot			 * temperature sensor therefore requires disabling for
809f126890aSEmmanuel Vadot			 * now
810f126890aSEmmanuel Vadot			 */
811f126890aSEmmanuel Vadot			lcd-dc1-pd2 {
812f126890aSEmmanuel Vadot				nvidia,pins = "lcd_dc1_pd2";
813f126890aSEmmanuel Vadot				nvidia,function = "rsvd3";
814f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
815f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_ENABLE>;
816f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
817f126890aSEmmanuel Vadot			};
818f126890aSEmmanuel Vadot
819f126890aSEmmanuel Vadot			/* TOUCH_PEN_INT# (On-module) */
820f126890aSEmmanuel Vadot			pv0 {
821f126890aSEmmanuel Vadot				nvidia,pins = "pv0";
822f126890aSEmmanuel Vadot				nvidia,function = "rsvd1";
823f126890aSEmmanuel Vadot				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
824f126890aSEmmanuel Vadot				nvidia,tristate = <TEGRA_PIN_DISABLE>;
825f126890aSEmmanuel Vadot				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
826f126890aSEmmanuel Vadot			};
827f126890aSEmmanuel Vadot		};
828f126890aSEmmanuel Vadot	};
829f126890aSEmmanuel Vadot
830f126890aSEmmanuel Vadot	serial@70006040 {
831f126890aSEmmanuel Vadot		compatible = "nvidia,tegra30-hsuart";
832*aa1a8ff2SEmmanuel Vadot		reset-names = "serial";
833f126890aSEmmanuel Vadot		/delete-property/ reg-shift;
834f126890aSEmmanuel Vadot	};
835f126890aSEmmanuel Vadot
836f126890aSEmmanuel Vadot	serial@70006200 {
837f126890aSEmmanuel Vadot		compatible = "nvidia,tegra30-hsuart";
838*aa1a8ff2SEmmanuel Vadot		reset-names = "serial";
839f126890aSEmmanuel Vadot		/delete-property/ reg-shift;
840f126890aSEmmanuel Vadot	};
841f126890aSEmmanuel Vadot
842f126890aSEmmanuel Vadot	serial@70006300 {
843f126890aSEmmanuel Vadot		compatible = "nvidia,tegra30-hsuart";
844*aa1a8ff2SEmmanuel Vadot		reset-names = "serial";
845f126890aSEmmanuel Vadot		/delete-property/ reg-shift;
846f126890aSEmmanuel Vadot	};
847f126890aSEmmanuel Vadot
848f126890aSEmmanuel Vadot	hdmi_ddc: i2c@7000c700 {
849f126890aSEmmanuel Vadot		clock-frequency = <10000>;
850f126890aSEmmanuel Vadot	};
851f126890aSEmmanuel Vadot
852f126890aSEmmanuel Vadot	/*
853f126890aSEmmanuel Vadot	 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
854f126890aSEmmanuel Vadot	 * touch screen controller
855f126890aSEmmanuel Vadot	 */
856f126890aSEmmanuel Vadot	i2c@7000d000 {
857f126890aSEmmanuel Vadot		status = "okay";
858f126890aSEmmanuel Vadot		clock-frequency = <100000>;
859f126890aSEmmanuel Vadot
860f126890aSEmmanuel Vadot		/* SGTL5000 audio codec */
861f126890aSEmmanuel Vadot		sgtl5000: codec@a {
862f126890aSEmmanuel Vadot			compatible = "fsl,sgtl5000";
863f126890aSEmmanuel Vadot			reg = <0x0a>;
864f126890aSEmmanuel Vadot			#sound-dai-cells = <0>;
865f126890aSEmmanuel Vadot			VDDA-supply = <&reg_module_3v3_audio>;
866f126890aSEmmanuel Vadot			VDDD-supply = <&reg_1v8_vio>;
867f126890aSEmmanuel Vadot			VDDIO-supply = <&reg_module_3v3>;
868f126890aSEmmanuel Vadot			clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
869f126890aSEmmanuel Vadot		};
870f126890aSEmmanuel Vadot
871f126890aSEmmanuel Vadot		pmic: pmic@2d {
872f126890aSEmmanuel Vadot			compatible = "ti,tps65911";
873f126890aSEmmanuel Vadot			reg = <0x2d>;
874f126890aSEmmanuel Vadot
875f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
876f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
877f126890aSEmmanuel Vadot			interrupt-controller;
878f126890aSEmmanuel Vadot
879f126890aSEmmanuel Vadot			ti,system-power-controller;
880f126890aSEmmanuel Vadot
881f126890aSEmmanuel Vadot			#gpio-cells = <2>;
882f126890aSEmmanuel Vadot			gpio-controller;
883f126890aSEmmanuel Vadot
884f126890aSEmmanuel Vadot			vcc1-supply = <&reg_module_3v3>;
885f126890aSEmmanuel Vadot			vcc2-supply = <&reg_module_3v3>;
886f126890aSEmmanuel Vadot			vcc3-supply = <&reg_1v8_vio>;
887f126890aSEmmanuel Vadot			vcc4-supply = <&reg_module_3v3>;
888f126890aSEmmanuel Vadot			vcc5-supply = <&reg_module_3v3>;
889f126890aSEmmanuel Vadot			vcc6-supply = <&reg_1v8_vio>;
890f126890aSEmmanuel Vadot			vcc7-supply = <&reg_5v0_charge_pump>;
891f126890aSEmmanuel Vadot			vccio-supply = <&reg_module_3v3>;
892f126890aSEmmanuel Vadot
893f126890aSEmmanuel Vadot			regulators {
894f126890aSEmmanuel Vadot				vdd1_reg: vdd1 {
895f126890aSEmmanuel Vadot					regulator-name = "+V1.35_VDDIO_DDR";
896f126890aSEmmanuel Vadot					regulator-min-microvolt = <1350000>;
897f126890aSEmmanuel Vadot					regulator-max-microvolt = <1350000>;
898f126890aSEmmanuel Vadot					regulator-always-on;
899f126890aSEmmanuel Vadot				};
900f126890aSEmmanuel Vadot
901f126890aSEmmanuel Vadot				vdd2_reg: vdd2 {
902f126890aSEmmanuel Vadot					regulator-name = "+V1.05";
903f126890aSEmmanuel Vadot					regulator-min-microvolt = <1050000>;
904f126890aSEmmanuel Vadot					regulator-max-microvolt = <1050000>;
905f126890aSEmmanuel Vadot				};
906f126890aSEmmanuel Vadot
907f126890aSEmmanuel Vadot				vddctrl_reg: vddctrl {
908f126890aSEmmanuel Vadot					regulator-name = "+V1.0_VDD_CPU";
909f126890aSEmmanuel Vadot					regulator-min-microvolt = <1150000>;
910f126890aSEmmanuel Vadot					regulator-max-microvolt = <1150000>;
911f126890aSEmmanuel Vadot					regulator-always-on;
912f126890aSEmmanuel Vadot				};
913f126890aSEmmanuel Vadot
914f126890aSEmmanuel Vadot				reg_1v8_vio: vio {
915f126890aSEmmanuel Vadot					regulator-name = "+V1.8";
916f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
917f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
918f126890aSEmmanuel Vadot					regulator-always-on;
919f126890aSEmmanuel Vadot				};
920f126890aSEmmanuel Vadot
921f126890aSEmmanuel Vadot				/*
922f126890aSEmmanuel Vadot				 * 1.8 volt +VDDIO_SDMMC3 in case EN_+3.3_SDMMC3
923f126890aSEmmanuel Vadot				 * is off
924f126890aSEmmanuel Vadot				 */
925f126890aSEmmanuel Vadot				vddio_sdmmc_1v8_reg: ldo1 {
926f126890aSEmmanuel Vadot					regulator-name = "+VDDIO_SDMMC3_1V8";
927f126890aSEmmanuel Vadot					regulator-min-microvolt = <1800000>;
928f126890aSEmmanuel Vadot					regulator-max-microvolt = <1800000>;
929f126890aSEmmanuel Vadot					regulator-always-on;
930f126890aSEmmanuel Vadot				};
931f126890aSEmmanuel Vadot
932f126890aSEmmanuel Vadot				/*
933f126890aSEmmanuel Vadot				 * EN_+V3.3 switching via FET:
934f126890aSEmmanuel Vadot				 * +V3.3_AUDIO_AVDD_S, +V3.3
935f126890aSEmmanuel Vadot				 * see also +V3.3 fixed supply
936f126890aSEmmanuel Vadot				 */
937f126890aSEmmanuel Vadot				ldo2_reg: ldo2 {
938f126890aSEmmanuel Vadot					regulator-name = "EN_+V3.3";
939f126890aSEmmanuel Vadot					regulator-min-microvolt = <3300000>;
940f126890aSEmmanuel Vadot					regulator-max-microvolt = <3300000>;
941f126890aSEmmanuel Vadot					regulator-always-on;
942f126890aSEmmanuel Vadot				};
943f126890aSEmmanuel Vadot
944f126890aSEmmanuel Vadot				ldo3_reg: ldo3 {
945f126890aSEmmanuel Vadot					regulator-name = "+V1.2_CSI";
946f126890aSEmmanuel Vadot					regulator-min-microvolt = <1200000>;
947f126890aSEmmanuel Vadot					regulator-max-microvolt = <1200000>;
948f126890aSEmmanuel Vadot				};
949f126890aSEmmanuel Vadot
950f126890aSEmmanuel Vadot				ldo4_reg: ldo4 {
951f126890aSEmmanuel Vadot					regulator-name = "+V1.2_VDD_RTC";
952f126890aSEmmanuel Vadot					regulator-min-microvolt = <1200000>;
953f126890aSEmmanuel Vadot					regulator-max-microvolt = <1200000>;
954f126890aSEmmanuel Vadot					regulator-always-on;
955f126890aSEmmanuel Vadot				};
956f126890aSEmmanuel Vadot
957f126890aSEmmanuel Vadot				/*
958f126890aSEmmanuel Vadot				 * +V2.8_AVDD_VDAC:
959f126890aSEmmanuel Vadot				 * only required for (unsupported) analog RGB
960f126890aSEmmanuel Vadot				 */
961f126890aSEmmanuel Vadot				ldo5_reg: ldo5 {
962f126890aSEmmanuel Vadot					regulator-name = "+V2.8_AVDD_VDAC";
963f126890aSEmmanuel Vadot					regulator-min-microvolt = <2800000>;
964f126890aSEmmanuel Vadot					regulator-max-microvolt = <2800000>;
965f126890aSEmmanuel Vadot					regulator-always-on;
966f126890aSEmmanuel Vadot				};
967f126890aSEmmanuel Vadot
968f126890aSEmmanuel Vadot				/*
969f126890aSEmmanuel Vadot				 * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V
970f126890aSEmmanuel Vadot				 * but LDO6 can't set voltage in 50mV
971f126890aSEmmanuel Vadot				 * granularity
972f126890aSEmmanuel Vadot				 */
973f126890aSEmmanuel Vadot				ldo6_reg: ldo6 {
974f126890aSEmmanuel Vadot					regulator-name = "+V1.05_AVDD_PLLE";
975f126890aSEmmanuel Vadot					regulator-min-microvolt = <1100000>;
976f126890aSEmmanuel Vadot					regulator-max-microvolt = <1100000>;
977f126890aSEmmanuel Vadot				};
978f126890aSEmmanuel Vadot
979f126890aSEmmanuel Vadot				ldo7_reg: ldo7 {
980f126890aSEmmanuel Vadot					regulator-name = "+V1.2_AVDD_PLL";
981f126890aSEmmanuel Vadot					regulator-min-microvolt = <1200000>;
982f126890aSEmmanuel Vadot					regulator-max-microvolt = <1200000>;
983f126890aSEmmanuel Vadot					regulator-always-on;
984f126890aSEmmanuel Vadot				};
985f126890aSEmmanuel Vadot
986f126890aSEmmanuel Vadot				ldo8_reg: ldo8 {
987f126890aSEmmanuel Vadot					regulator-name = "+V1.0_VDD_DDR_HS";
988f126890aSEmmanuel Vadot					regulator-min-microvolt = <1000000>;
989f126890aSEmmanuel Vadot					regulator-max-microvolt = <1000000>;
990f126890aSEmmanuel Vadot					regulator-always-on;
991f126890aSEmmanuel Vadot				};
992f126890aSEmmanuel Vadot			};
993f126890aSEmmanuel Vadot		};
994f126890aSEmmanuel Vadot
995f126890aSEmmanuel Vadot		/* STMPE811 touch screen controller */
996f126890aSEmmanuel Vadot		touchscreen@41 {
997f126890aSEmmanuel Vadot			compatible = "st,stmpe811";
998f126890aSEmmanuel Vadot			reg = <0x41>;
999f126890aSEmmanuel Vadot			irq-gpio = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>;
1000f126890aSEmmanuel Vadot			id = <0>;
1001f126890aSEmmanuel Vadot			blocks = <0x5>;
1002f126890aSEmmanuel Vadot			irq-trigger = <0x1>;
1003f126890aSEmmanuel Vadot			/* 3.25 MHz ADC clock speed */
1004f126890aSEmmanuel Vadot			st,adc-freq = <1>;
1005f126890aSEmmanuel Vadot			/* 12-bit ADC */
1006f126890aSEmmanuel Vadot			st,mod-12b = <1>;
1007f126890aSEmmanuel Vadot			/* internal ADC reference */
1008f126890aSEmmanuel Vadot			st,ref-sel = <0>;
1009f126890aSEmmanuel Vadot			/* ADC converstion time: 80 clocks */
1010f126890aSEmmanuel Vadot			st,sample-time = <4>;
1011f126890aSEmmanuel Vadot
1012f126890aSEmmanuel Vadot			stmpe_adc {
1013f126890aSEmmanuel Vadot				compatible = "st,stmpe-adc";
1014f126890aSEmmanuel Vadot				/* forbid to use ADC channels 3-0 (touch) */
1015f126890aSEmmanuel Vadot				st,norequest-mask = <0x0F>;
1016f126890aSEmmanuel Vadot			};
1017f126890aSEmmanuel Vadot
1018f126890aSEmmanuel Vadot			stmpe_touchscreen {
1019f126890aSEmmanuel Vadot				compatible = "st,stmpe-ts";
1020f126890aSEmmanuel Vadot				/* 8 sample average control */
1021f126890aSEmmanuel Vadot				st,ave-ctrl = <3>;
1022f126890aSEmmanuel Vadot				/* 7 length fractional part in z */
1023f126890aSEmmanuel Vadot				st,fraction-z = <7>;
1024f126890aSEmmanuel Vadot				/*
1025f126890aSEmmanuel Vadot				 * 50 mA typical 80 mA max touchscreen drivers
1026f126890aSEmmanuel Vadot				 * current limit value
1027f126890aSEmmanuel Vadot				 */
1028f126890aSEmmanuel Vadot				st,i-drive = <1>;
1029f126890aSEmmanuel Vadot				/* 1 ms panel driver settling time */
1030f126890aSEmmanuel Vadot				st,settling = <3>;
1031f126890aSEmmanuel Vadot				/* 5 ms touch detect interrupt delay */
1032f126890aSEmmanuel Vadot				st,touch-det-delay = <5>;
1033f126890aSEmmanuel Vadot			};
1034f126890aSEmmanuel Vadot		};
1035f126890aSEmmanuel Vadot
1036f126890aSEmmanuel Vadot		/*
1037f126890aSEmmanuel Vadot		 * LM95245 temperature sensor
1038f126890aSEmmanuel Vadot		 * Note: OVERT1# directly connected to TPS65911 PMIC PWRDN
1039f126890aSEmmanuel Vadot		 */
1040f126890aSEmmanuel Vadot		temp-sensor@4c {
1041f126890aSEmmanuel Vadot			compatible = "national,lm95245";
1042f126890aSEmmanuel Vadot			reg = <0x4c>;
1043f126890aSEmmanuel Vadot		};
1044f126890aSEmmanuel Vadot
1045f126890aSEmmanuel Vadot		/* SW: +V1.2_VDD_CORE */
1046f126890aSEmmanuel Vadot		regulator@60 {
1047f126890aSEmmanuel Vadot			compatible = "ti,tps62362";
1048f126890aSEmmanuel Vadot			reg = <0x60>;
1049f126890aSEmmanuel Vadot
1050f126890aSEmmanuel Vadot			regulator-name = "tps62362-vout";
1051f126890aSEmmanuel Vadot			regulator-min-microvolt = <900000>;
1052f126890aSEmmanuel Vadot			regulator-max-microvolt = <1400000>;
1053f126890aSEmmanuel Vadot			regulator-boot-on;
1054f126890aSEmmanuel Vadot			regulator-always-on;
1055f126890aSEmmanuel Vadot		};
1056f126890aSEmmanuel Vadot	};
1057f126890aSEmmanuel Vadot
1058f126890aSEmmanuel Vadot	/* SPI4: CAN2 */
1059f126890aSEmmanuel Vadot	spi@7000da00 {
1060f126890aSEmmanuel Vadot		status = "okay";
1061f126890aSEmmanuel Vadot		spi-max-frequency = <10000000>;
1062f126890aSEmmanuel Vadot
1063f126890aSEmmanuel Vadot		can@1 {
1064f126890aSEmmanuel Vadot			compatible = "microchip,mcp2515";
1065f126890aSEmmanuel Vadot			reg = <1>;
1066f126890aSEmmanuel Vadot			clocks = <&clk16m>;
1067f126890aSEmmanuel Vadot			interrupt-parent = <&gpio>;
1068f126890aSEmmanuel Vadot			interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_EDGE_FALLING>;
1069f126890aSEmmanuel Vadot			spi-max-frequency = <10000000>;
1070f126890aSEmmanuel Vadot		};
1071f126890aSEmmanuel Vadot	};
1072f126890aSEmmanuel Vadot
1073f126890aSEmmanuel Vadot	/* SPI6: CAN1 */
1074f126890aSEmmanuel Vadot	spi@7000de00 {
1075f126890aSEmmanuel Vadot		status = "okay";
1076f126890aSEmmanuel Vadot		spi-max-frequency = <10000000>;
1077f126890aSEmmanuel Vadot
1078f126890aSEmmanuel Vadot		can@0 {
1079f126890aSEmmanuel Vadot			compatible = "microchip,mcp2515";
1080f126890aSEmmanuel Vadot			reg = <0>;
1081f126890aSEmmanuel Vadot			clocks = <&clk16m>;
1082f126890aSEmmanuel Vadot			interrupt-parent = <&gpio>;
1083f126890aSEmmanuel Vadot			interrupts = <TEGRA_GPIO(W, 2) IRQ_TYPE_EDGE_FALLING>;
1084f126890aSEmmanuel Vadot			spi-max-frequency = <10000000>;
1085f126890aSEmmanuel Vadot		};
1086f126890aSEmmanuel Vadot	};
1087f126890aSEmmanuel Vadot
1088f126890aSEmmanuel Vadot	pmc@7000e400 {
1089f126890aSEmmanuel Vadot		nvidia,invert-interrupt;
1090f126890aSEmmanuel Vadot		nvidia,suspend-mode = <1>;
1091f126890aSEmmanuel Vadot		nvidia,cpu-pwr-good-time = <5000>;
1092f126890aSEmmanuel Vadot		nvidia,cpu-pwr-off-time = <5000>;
1093f126890aSEmmanuel Vadot		nvidia,core-pwr-good-time = <3845 3845>;
1094f126890aSEmmanuel Vadot		nvidia,core-pwr-off-time = <0>;
1095f126890aSEmmanuel Vadot		nvidia,core-power-req-active-high;
1096f126890aSEmmanuel Vadot		nvidia,sys-clock-req-active-high;
1097f126890aSEmmanuel Vadot
1098f126890aSEmmanuel Vadot		/* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */
1099f126890aSEmmanuel Vadot		i2c-thermtrip {
1100f126890aSEmmanuel Vadot			nvidia,i2c-controller-id = <4>;
1101f126890aSEmmanuel Vadot			nvidia,bus-addr = <0x2d>;
1102f126890aSEmmanuel Vadot			nvidia,reg-addr = <0x3f>;
1103f126890aSEmmanuel Vadot			nvidia,reg-data = <0x1>;
1104f126890aSEmmanuel Vadot		};
1105f126890aSEmmanuel Vadot	};
1106f126890aSEmmanuel Vadot
1107f126890aSEmmanuel Vadot	hda@70030000 {
1108f126890aSEmmanuel Vadot		status = "okay";
1109f126890aSEmmanuel Vadot	};
1110f126890aSEmmanuel Vadot
1111f126890aSEmmanuel Vadot	ahub@70080000 {
1112f126890aSEmmanuel Vadot		i2s@70080500 {
1113f126890aSEmmanuel Vadot			status = "okay";
1114f126890aSEmmanuel Vadot		};
1115f126890aSEmmanuel Vadot	};
1116f126890aSEmmanuel Vadot
1117f126890aSEmmanuel Vadot	/* eMMC */
1118f126890aSEmmanuel Vadot	mmc@78000600 {
1119f126890aSEmmanuel Vadot		status = "okay";
1120f126890aSEmmanuel Vadot		bus-width = <8>;
1121f126890aSEmmanuel Vadot		non-removable;
1122f126890aSEmmanuel Vadot		vmmc-supply = <&reg_module_3v3>; /* VCC */
1123f126890aSEmmanuel Vadot		vqmmc-supply = <&reg_1v8_vio>; /* VCCQ */
1124f126890aSEmmanuel Vadot		mmc-ddr-1_8v;
1125f126890aSEmmanuel Vadot	};
1126f126890aSEmmanuel Vadot
1127f126890aSEmmanuel Vadot	clk16m: clock-osc4 {
1128f126890aSEmmanuel Vadot		compatible = "fixed-clock";
1129f126890aSEmmanuel Vadot		#clock-cells = <0>;
1130f126890aSEmmanuel Vadot		clock-frequency = <16000000>;
1131f126890aSEmmanuel Vadot	};
1132f126890aSEmmanuel Vadot
1133f126890aSEmmanuel Vadot	clk32k_in: clock-xtal1 {
1134f126890aSEmmanuel Vadot		compatible = "fixed-clock";
1135f126890aSEmmanuel Vadot		#clock-cells = <0>;
1136f126890aSEmmanuel Vadot		clock-frequency = <32768>;
1137f126890aSEmmanuel Vadot	};
1138f126890aSEmmanuel Vadot
1139f126890aSEmmanuel Vadot	reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll {
1140f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
1141f126890aSEmmanuel Vadot		regulator-name = "+V1.8_AVDD_HDMI_PLL";
1142f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
1143f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1144f126890aSEmmanuel Vadot		enable-active-high;
1145f126890aSEmmanuel Vadot		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1146f126890aSEmmanuel Vadot		vin-supply = <&reg_1v8_vio>;
1147f126890aSEmmanuel Vadot	};
1148f126890aSEmmanuel Vadot
1149f126890aSEmmanuel Vadot	reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi {
1150f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
1151f126890aSEmmanuel Vadot		regulator-name = "+V3.3_AVDD_HDMI";
1152f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1153f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1154f126890aSEmmanuel Vadot		enable-active-high;
1155f126890aSEmmanuel Vadot		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1156f126890aSEmmanuel Vadot		vin-supply = <&reg_module_3v3>;
1157f126890aSEmmanuel Vadot	};
1158f126890aSEmmanuel Vadot
1159f126890aSEmmanuel Vadot	reg_5v0_charge_pump: regulator-5v0-charge-pump {
1160f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
1161f126890aSEmmanuel Vadot		regulator-name = "+V5.0";
1162f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1163f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1164f126890aSEmmanuel Vadot		regulator-always-on;
1165f126890aSEmmanuel Vadot	};
1166f126890aSEmmanuel Vadot
1167f126890aSEmmanuel Vadot	reg_module_3v3: regulator-module-3v3 {
1168f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
1169f126890aSEmmanuel Vadot		regulator-name = "+V3.3";
1170f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1171f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1172f126890aSEmmanuel Vadot		regulator-always-on;
1173f126890aSEmmanuel Vadot	};
1174f126890aSEmmanuel Vadot
1175f126890aSEmmanuel Vadot	reg_module_3v3_audio: regulator-module-3v3-audio {
1176f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
1177f126890aSEmmanuel Vadot		regulator-name = "+V3.3_AUDIO_AVDD_S";
1178f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1179f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1180f126890aSEmmanuel Vadot		regulator-always-on;
1181f126890aSEmmanuel Vadot	};
1182f126890aSEmmanuel Vadot
1183f126890aSEmmanuel Vadot	sound {
1184f126890aSEmmanuel Vadot		compatible = "toradex,tegra-audio-sgtl5000-apalis_t30",
1185f126890aSEmmanuel Vadot			     "nvidia,tegra-audio-sgtl5000";
1186f126890aSEmmanuel Vadot		nvidia,model = "Toradex Apalis T30";
1187f126890aSEmmanuel Vadot		nvidia,audio-routing =
1188f126890aSEmmanuel Vadot			"Headphone Jack", "HP_OUT",
1189f126890aSEmmanuel Vadot			"LINE_IN", "Line In Jack",
1190f126890aSEmmanuel Vadot			"MIC_IN", "Mic Jack";
1191f126890aSEmmanuel Vadot		nvidia,i2s-controller = <&tegra_i2s2>;
1192f126890aSEmmanuel Vadot		nvidia,audio-codec = <&sgtl5000>;
1193f126890aSEmmanuel Vadot		clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
1194f126890aSEmmanuel Vadot			 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1195f126890aSEmmanuel Vadot			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1196f126890aSEmmanuel Vadot		clock-names = "pll_a", "pll_a_out0", "mclk";
1197f126890aSEmmanuel Vadot
1198f126890aSEmmanuel Vadot		assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1199f126890aSEmmanuel Vadot				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1200f126890aSEmmanuel Vadot
1201f126890aSEmmanuel Vadot		assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1202f126890aSEmmanuel Vadot					 <&tegra_car TEGRA30_CLK_EXTERN1>;
1203f126890aSEmmanuel Vadot	};
1204f126890aSEmmanuel Vadot};
1205