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