1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring#include "tegra30.dtsi"
3724ba675SRob Herring
4724ba675SRob Herring/*
5724ba675SRob Herring * Toradex Colibri T30 Module Device Tree
6724ba675SRob Herring * Compatible for Revisions V1.1B, V1.1C, V1.1D, V1.1E, V1.1F; IT: V1.1A, V1.1B
7724ba675SRob Herring */
8724ba675SRob Herring/ {
9724ba675SRob Herring	memory@80000000 {
10724ba675SRob Herring		reg = <0x80000000 0x40000000>;
11724ba675SRob Herring	};
12724ba675SRob Herring
13724ba675SRob Herring	host1x@50000000 {
14724ba675SRob Herring		hdmi@54280000 {
15724ba675SRob Herring			nvidia,ddc-i2c-bus = <&hdmi_ddc>;
16724ba675SRob Herring			nvidia,hpd-gpio =
17724ba675SRob Herring				<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
18724ba675SRob Herring			pll-supply = <&reg_1v8_avdd_hdmi_pll>;
19724ba675SRob Herring			vdd-supply = <&reg_3v3_avdd_hdmi>;
20724ba675SRob Herring		};
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	gpio: gpio@6000d000 {
24724ba675SRob Herring		lan-reset-n-hog {
25724ba675SRob Herring			gpio-hog;
26724ba675SRob Herring			gpios = <TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
27724ba675SRob Herring			output-high;
28724ba675SRob Herring			line-name = "LAN_RESET#";
29724ba675SRob Herring		};
30724ba675SRob Herring	};
31724ba675SRob Herring
32724ba675SRob Herring	pinmux@70000868 {
33724ba675SRob Herring		pinctrl-names = "default";
34724ba675SRob Herring		pinctrl-0 = <&state_default>;
35724ba675SRob Herring
36724ba675SRob Herring		state_default: pinmux {
37724ba675SRob Herring			/* Analogue Audio (On-module) */
38724ba675SRob Herring			clk1-out-pw4 {
39724ba675SRob Herring				nvidia,pins = "clk1_out_pw4";
40724ba675SRob Herring				nvidia,function = "extperiph1";
41724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
42724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
43724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
44724ba675SRob Herring			};
45724ba675SRob Herring			dap3-fs-pp0 {
46724ba675SRob Herring				nvidia,pins = "dap3_fs_pp0",
47724ba675SRob Herring					      "dap3_sclk_pp3",
48724ba675SRob Herring					      "dap3_din_pp1",
49724ba675SRob Herring					      "dap3_dout_pp2";
50724ba675SRob Herring				nvidia,function = "i2s2";
51724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
52724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
53724ba675SRob Herring			};
54724ba675SRob Herring
55724ba675SRob Herring			/* Colibri Address/Data Bus (GMI) */
56724ba675SRob Herring			gmi-ad0-pg0 {
57724ba675SRob Herring				nvidia,pins = "gmi_ad0_pg0",
58724ba675SRob Herring					      "gmi_ad2_pg2",
59724ba675SRob Herring					      "gmi_ad3_pg3",
60724ba675SRob Herring					      "gmi_ad4_pg4",
61724ba675SRob Herring					      "gmi_ad5_pg5",
62724ba675SRob Herring					      "gmi_ad6_pg6",
63724ba675SRob Herring					      "gmi_ad7_pg7",
64724ba675SRob Herring					      "gmi_ad8_ph0",
65724ba675SRob Herring					      "gmi_ad9_ph1",
66724ba675SRob Herring					      "gmi_ad10_ph2",
67724ba675SRob Herring					      "gmi_ad11_ph3",
68724ba675SRob Herring					      "gmi_ad12_ph4",
69724ba675SRob Herring					      "gmi_ad13_ph5",
70724ba675SRob Herring					      "gmi_ad14_ph6",
71724ba675SRob Herring					      "gmi_ad15_ph7",
72724ba675SRob Herring					      "gmi_adv_n_pk0",
73724ba675SRob Herring					      "gmi_clk_pk1",
74724ba675SRob Herring					      "gmi_cs4_n_pk2",
75724ba675SRob Herring					      "gmi_cs2_n_pk3",
76724ba675SRob Herring					      "gmi_iordy_pi5",
77724ba675SRob Herring					      "gmi_oe_n_pi1",
78724ba675SRob Herring					      "gmi_wait_pi7",
79724ba675SRob Herring					      "gmi_wr_n_pi0",
80724ba675SRob Herring					      "dap1_fs_pn0",
81724ba675SRob Herring					      "dap1_din_pn1",
82724ba675SRob Herring					      "dap1_dout_pn2",
83724ba675SRob Herring					      "dap1_sclk_pn3",
84724ba675SRob Herring					      "dap2_fs_pa2",
85724ba675SRob Herring					      "dap2_sclk_pa3",
86724ba675SRob Herring					      "dap2_din_pa4",
87724ba675SRob Herring					      "dap2_dout_pa5",
88724ba675SRob Herring					      "spi1_sck_px5",
89724ba675SRob Herring					      "spi1_mosi_px4",
90724ba675SRob Herring					      "spi1_cs0_n_px6",
91724ba675SRob Herring					      "spi2_cs0_n_px3",
92724ba675SRob Herring					      "spi2_miso_px1",
93724ba675SRob Herring					      "spi2_mosi_px0",
94724ba675SRob Herring					      "spi2_sck_px2",
95724ba675SRob Herring					      "uart2_cts_n_pj5",
96724ba675SRob Herring					      "uart2_rts_n_pj6";
97724ba675SRob Herring				nvidia,function = "gmi";
98724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
99724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
100724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
101724ba675SRob Herring			};
102724ba675SRob Herring			/* Further pins may be used as GPIOs */
103724ba675SRob Herring			dap4-din-pp5 {
104724ba675SRob Herring				nvidia,pins = "dap4_din_pp5",
105724ba675SRob Herring					      "dap4_dout_pp6",
106724ba675SRob Herring					      "dap4_fs_pp4",
107724ba675SRob Herring					      "dap4_sclk_pp7",
108724ba675SRob Herring					      "pbb7",
109724ba675SRob Herring					      "sdmmc1_clk_pz0",
110724ba675SRob Herring					      "sdmmc1_cmd_pz1",
111724ba675SRob Herring					      "sdmmc1_dat0_py7",
112724ba675SRob Herring					      "sdmmc1_dat1_py6",
113724ba675SRob Herring					      "sdmmc1_dat3_py4",
114724ba675SRob Herring					      "uart3_cts_n_pa1",
115724ba675SRob Herring					      "uart3_txd_pw6",
116724ba675SRob Herring					      "uart3_rxd_pw7";
117724ba675SRob Herring				nvidia,function = "rsvd2";
118724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
119724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
120724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
121724ba675SRob Herring			};
122724ba675SRob Herring			lcd-d18-pm2 {
123724ba675SRob Herring				nvidia,pins = "lcd_d18_pm2",
124724ba675SRob Herring					      "lcd_d19_pm3",
125724ba675SRob Herring					      "lcd_d20_pm4",
126724ba675SRob Herring					      "lcd_d21_pm5",
127724ba675SRob Herring					      "lcd_d22_pm6",
128724ba675SRob Herring					      "lcd_d23_pm7",
129724ba675SRob Herring					      "lcd_dc0_pn6",
130724ba675SRob Herring					      "pex_l2_clkreq_n_pcc7";
131724ba675SRob Herring				nvidia,function = "rsvd3";
132724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
133724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
134724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
135724ba675SRob Herring			};
136724ba675SRob Herring			lcd-cs0-n-pn4 {
137724ba675SRob Herring				nvidia,pins = "lcd_cs0_n_pn4",
138724ba675SRob Herring					      "lcd_sdin_pz2",
139724ba675SRob Herring					      "pu0",
140724ba675SRob Herring					      "pu1",
141724ba675SRob Herring					      "pu2",
142724ba675SRob Herring					      "pu3",
143724ba675SRob Herring					      "pu4",
144724ba675SRob Herring					      "pu5",
145724ba675SRob Herring					      "pu6",
146724ba675SRob Herring					      "spi1_miso_px7",
147724ba675SRob Herring					      "uart3_rts_n_pc0";
148724ba675SRob Herring				nvidia,function = "rsvd4";
149724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
150724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
151724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
152724ba675SRob Herring			};
153724ba675SRob Herring			lcd-pwr0-pb2 {
154724ba675SRob Herring				nvidia,pins = "lcd_pwr0_pb2",
155724ba675SRob Herring					      "lcd_sck_pz4",
156724ba675SRob Herring					      "lcd_sdout_pn5",
157724ba675SRob Herring					      "lcd_wr_n_pz3";
158724ba675SRob Herring				nvidia,function = "hdcp";
159724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
160724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
161724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
162724ba675SRob Herring			};
163724ba675SRob Herring			pbb4 {
164724ba675SRob Herring				nvidia,pins = "pbb4",
165724ba675SRob Herring					      "pbb5",
166724ba675SRob Herring					      "pbb6";
167724ba675SRob Herring				nvidia,function = "displayb";
168724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
169724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
170724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
171724ba675SRob Herring			};
172724ba675SRob Herring			/* Multiplexed RDnWR and therefore disabled */
173724ba675SRob Herring			lcd-cs1-n-pw0 {
174724ba675SRob Herring				nvidia,pins = "lcd_cs1_n_pw0";
175724ba675SRob Herring				nvidia,function = "rsvd4";
176724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
177724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
178724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
179724ba675SRob Herring			};
180724ba675SRob Herring			/* Multiplexed GMI_CLK and therefore disabled */
181724ba675SRob Herring			owr {
182724ba675SRob Herring				nvidia,pins = "owr";
183724ba675SRob Herring				nvidia,function = "rsvd3";
184724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
185724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
186724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
187724ba675SRob Herring			};
188724ba675SRob Herring			/* Tri-stating GMI_WR_N on nPWE SODIMM pin 99 */
189724ba675SRob Herring			sdmmc3-dat4-pd1 {
190724ba675SRob Herring				nvidia,pins = "sdmmc3_dat4_pd1";
191724ba675SRob Herring				nvidia,function = "sdmmc3";
192724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
193724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
194724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
195724ba675SRob Herring			};
196724ba675SRob Herring			/* Not tri-stating GMI_WR_N on RDnWR SODIMM pin 93 */
197724ba675SRob Herring			sdmmc3-dat5-pd0 {
198724ba675SRob Herring				nvidia,pins = "sdmmc3_dat5_pd0";
199724ba675SRob Herring				nvidia,function = "sdmmc3";
200724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
201724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
202724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
203724ba675SRob Herring			};
204724ba675SRob Herring
205724ba675SRob Herring			/* Colibri BL_ON */
206724ba675SRob Herring			pv2 {
207724ba675SRob Herring				nvidia,pins = "pv2";
208724ba675SRob Herring				nvidia,function = "rsvd4";
209724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
210724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
211724ba675SRob Herring			};
212724ba675SRob Herring
213724ba675SRob Herring			/* Colibri Backlight PWM<A> */
214724ba675SRob Herring			sdmmc3-dat3-pb4 {
215724ba675SRob Herring				nvidia,pins = "sdmmc3_dat3_pb4";
216724ba675SRob Herring				nvidia,function = "pwm0";
217724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
218724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
219724ba675SRob Herring			};
220724ba675SRob Herring
221724ba675SRob Herring			/* Colibri CAN_INT */
222724ba675SRob Herring			kb-row8-ps0 {
223724ba675SRob Herring				nvidia,pins = "kb_row8_ps0";
224724ba675SRob Herring				nvidia,function = "kbc";
225724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
226724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
227724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
228724ba675SRob Herring			};
229724ba675SRob Herring
230724ba675SRob Herring			/* Colibri DDC */
231724ba675SRob Herring			ddc-scl-pv4 {
232724ba675SRob Herring				nvidia,pins = "ddc_scl_pv4",
233724ba675SRob Herring					      "ddc_sda_pv5";
234724ba675SRob Herring				nvidia,function = "i2c4";
235724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
236724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
237724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
238724ba675SRob Herring			};
239724ba675SRob Herring
240724ba675SRob Herring			/* Colibri EXT_IO* */
241724ba675SRob Herring			gen2-i2c-scl-pt5 {
242724ba675SRob Herring				nvidia,pins = "gen2_i2c_scl_pt5",
243724ba675SRob Herring					      "gen2_i2c_sda_pt6";
244724ba675SRob Herring				nvidia,function = "rsvd4";
245724ba675SRob Herring				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
246724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
247724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
248724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
249724ba675SRob Herring			};
250724ba675SRob Herring			spdif-in-pk6 {
251724ba675SRob Herring				nvidia,pins = "spdif_in_pk6";
252724ba675SRob Herring				nvidia,function = "hda";
253724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
254724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
255724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
256724ba675SRob Herring			};
257724ba675SRob Herring
258724ba675SRob Herring			/* Colibri GPIO */
259724ba675SRob Herring			clk2-out-pw5 {
260724ba675SRob Herring				nvidia,pins = "clk2_out_pw5",
261724ba675SRob Herring					      "pcc2",
262724ba675SRob Herring					      "pv3",
263724ba675SRob Herring					      "sdmmc1_dat2_py5";
264724ba675SRob Herring				nvidia,function = "rsvd2";
265724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
266724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
267724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
268724ba675SRob Herring			};
269724ba675SRob Herring			lcd-pwr1-pc1 {
270724ba675SRob Herring				nvidia,pins = "lcd_pwr1_pc1",
271724ba675SRob Herring					      "pex_l1_clkreq_n_pdd6",
272724ba675SRob Herring					      "pex_l1_rst_n_pdd5";
273724ba675SRob Herring				nvidia,function = "rsvd3";
274724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
275724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
276724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
277724ba675SRob Herring			};
278724ba675SRob Herring			pv1 {
279724ba675SRob Herring				nvidia,pins = "pv1",
280724ba675SRob Herring					      "sdmmc3_dat0_pb7",
281724ba675SRob Herring					      "sdmmc3_dat1_pb6";
282724ba675SRob Herring				nvidia,function = "rsvd1";
283724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
284724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
285724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
286724ba675SRob Herring			};
287724ba675SRob Herring
288724ba675SRob Herring			/* Colibri HOTPLUG_DETECT (HDMI) */
289724ba675SRob Herring			hdmi-int-pn7 {
290724ba675SRob Herring				nvidia,pins = "hdmi_int_pn7";
291724ba675SRob Herring				nvidia,function = "hdmi";
292724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
293724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
294724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
295724ba675SRob Herring			};
296724ba675SRob Herring
297724ba675SRob Herring			/* Colibri I2C */
298724ba675SRob Herring			gen1-i2c-scl-pc4 {
299724ba675SRob Herring				nvidia,pins = "gen1_i2c_scl_pc4",
300724ba675SRob Herring					      "gen1_i2c_sda_pc5";
301724ba675SRob Herring				nvidia,function = "i2c1";
302724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
303724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
304724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
305724ba675SRob Herring				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
306724ba675SRob Herring			};
307724ba675SRob Herring
308724ba675SRob Herring			/* Colibri LCD (L_* resp. LDD<*>) */
309724ba675SRob Herring			lcd-d0-pe0 {
310724ba675SRob Herring				nvidia,pins = "lcd_d0_pe0",
311724ba675SRob Herring					      "lcd_d1_pe1",
312724ba675SRob Herring					      "lcd_d2_pe2",
313724ba675SRob Herring					      "lcd_d3_pe3",
314724ba675SRob Herring					      "lcd_d4_pe4",
315724ba675SRob Herring					      "lcd_d5_pe5",
316724ba675SRob Herring					      "lcd_d6_pe6",
317724ba675SRob Herring					      "lcd_d7_pe7",
318724ba675SRob Herring					      "lcd_d8_pf0",
319724ba675SRob Herring					      "lcd_d9_pf1",
320724ba675SRob Herring					      "lcd_d10_pf2",
321724ba675SRob Herring					      "lcd_d11_pf3",
322724ba675SRob Herring					      "lcd_d12_pf4",
323724ba675SRob Herring					      "lcd_d13_pf5",
324724ba675SRob Herring					      "lcd_d14_pf6",
325724ba675SRob Herring					      "lcd_d15_pf7",
326724ba675SRob Herring					      "lcd_d16_pm0",
327724ba675SRob Herring					      "lcd_d17_pm1",
328724ba675SRob Herring					      "lcd_de_pj1",
329724ba675SRob Herring					      "lcd_hsync_pj3",
330724ba675SRob Herring					      "lcd_pclk_pb3",
331724ba675SRob Herring					      "lcd_vsync_pj4";
332724ba675SRob Herring				nvidia,function = "displaya";
333724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
334724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
335724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
336724ba675SRob Herring			};
337724ba675SRob Herring			/*
338724ba675SRob Herring			 * Colibri L_BIAS, LCD_M1 is muxed with LCD_DE
339724ba675SRob Herring			 * today's display need DE, disable LCD_M1
340724ba675SRob Herring			 */
341724ba675SRob Herring			lcd-m1-pw1 {
342724ba675SRob Herring				nvidia,pins = "lcd_m1_pw1";
343724ba675SRob Herring				nvidia,function = "rsvd3";
344724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
345724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
346724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
347724ba675SRob Herring			};
348724ba675SRob Herring
349724ba675SRob Herring			/* Colibri MMC */
350724ba675SRob Herring			kb-row10-ps2 {
351724ba675SRob Herring				nvidia,pins = "kb_row10_ps2";
352724ba675SRob Herring				nvidia,function = "sdmmc2";
353724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
354724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
355724ba675SRob Herring			};
356724ba675SRob Herring			kb-row11-ps3 {
357724ba675SRob Herring				nvidia,pins = "kb_row11_ps3",
358724ba675SRob Herring					      "kb_row12_ps4",
359724ba675SRob Herring					      "kb_row13_ps5",
360724ba675SRob Herring					      "kb_row14_ps6",
361724ba675SRob Herring					      "kb_row15_ps7";
362724ba675SRob Herring				nvidia,function = "sdmmc2";
363724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
364724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
365724ba675SRob Herring			};
366724ba675SRob Herring			/* Colibri MMC_CD */
367724ba675SRob Herring			gmi-wp-n-pc7 {
368724ba675SRob Herring				nvidia,pins = "gmi_wp_n_pc7";
369724ba675SRob Herring				nvidia,function = "rsvd1";
370724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
371724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
372724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
373724ba675SRob Herring			};
374724ba675SRob Herring			/* Multiplexed and therefore disabled */
375724ba675SRob Herring			cam-mclk-pcc0 {
376724ba675SRob Herring				nvidia,pins = "cam_mclk_pcc0";
377724ba675SRob Herring				nvidia,function = "vi_alt3";
378724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
379724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
380724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
381724ba675SRob Herring			};
382724ba675SRob Herring			cam-i2c-scl-pbb1 {
383724ba675SRob Herring				nvidia,pins = "cam_i2c_scl_pbb1",
384724ba675SRob Herring					      "cam_i2c_sda_pbb2";
385724ba675SRob Herring				nvidia,function = "rsvd3";
386724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
387724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
388724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
389724ba675SRob Herring				nvidia,open-drain = <TEGRA_PIN_DISABLE>;
390724ba675SRob Herring			};
391724ba675SRob Herring			pbb0 {
392724ba675SRob Herring				nvidia,pins = "pbb0",
393724ba675SRob Herring					      "pcc1";
394724ba675SRob Herring				nvidia,function = "rsvd2";
395724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
396724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
397724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
398724ba675SRob Herring			};
399724ba675SRob Herring			pbb3 {
400724ba675SRob Herring				nvidia,pins = "pbb3";
401724ba675SRob Herring				nvidia,function = "displayb";
402724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
403724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
404724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
405724ba675SRob Herring			};
406724ba675SRob Herring
407724ba675SRob Herring			/* Colibri nRESET_OUT */
408724ba675SRob Herring			gmi-rst-n-pi4 {
409724ba675SRob Herring				nvidia,pins = "gmi_rst_n_pi4";
410724ba675SRob Herring				nvidia,function = "gmi";
411724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
412724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
413724ba675SRob Herring			};
414724ba675SRob Herring
415724ba675SRob Herring			/*
416724ba675SRob Herring			 * Colibri Parallel Camera (Optional)
417724ba675SRob Herring			 * pins multiplexed with others and therefore disabled
418724ba675SRob Herring			 */
419724ba675SRob Herring			vi-vsync-pd6 {
420724ba675SRob Herring				nvidia,pins = "vi_d0_pt4",
421724ba675SRob Herring					      "vi_d1_pd5",
422724ba675SRob Herring					      "vi_d2_pl0",
423724ba675SRob Herring					      "vi_d3_pl1",
424724ba675SRob Herring					      "vi_d4_pl2",
425724ba675SRob Herring					      "vi_d5_pl3",
426724ba675SRob Herring					      "vi_d6_pl4",
427724ba675SRob Herring					      "vi_d7_pl5",
428724ba675SRob Herring					      "vi_d8_pl6",
429724ba675SRob Herring					      "vi_d9_pl7",
430724ba675SRob Herring					      "vi_d10_pt2",
431724ba675SRob Herring					      "vi_d11_pt3",
432724ba675SRob Herring					      "vi_hsync_pd7",
433724ba675SRob Herring					      "vi_mclk_pt1",
434724ba675SRob Herring					      "vi_pclk_pt0",
435724ba675SRob Herring					      "vi_vsync_pd6";
436724ba675SRob Herring				nvidia,function = "vi";
437724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
438724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
439724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
440724ba675SRob Herring			};
441724ba675SRob Herring
442724ba675SRob Herring			/* Colibri PWM<B> */
443724ba675SRob Herring			sdmmc3-dat2-pb5 {
444724ba675SRob Herring				nvidia,pins = "sdmmc3_dat2_pb5";
445724ba675SRob Herring				nvidia,function = "pwm1";
446724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
447724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
448724ba675SRob Herring			};
449724ba675SRob Herring
450724ba675SRob Herring			/* Colibri PWM<C> */
451724ba675SRob Herring			sdmmc3-clk-pa6 {
452724ba675SRob Herring				nvidia,pins = "sdmmc3_clk_pa6";
453724ba675SRob Herring				nvidia,function = "pwm2";
454724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
455724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
456724ba675SRob Herring			};
457724ba675SRob Herring
458724ba675SRob Herring			/* Colibri PWM<D> */
459724ba675SRob Herring			sdmmc3-cmd-pa7 {
460724ba675SRob Herring				nvidia,pins = "sdmmc3_cmd_pa7";
461724ba675SRob Herring				nvidia,function = "pwm3";
462724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
463724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
464724ba675SRob Herring			};
465724ba675SRob Herring
466724ba675SRob Herring			/* Colibri SSP */
467724ba675SRob Herring			ulpi-clk-py0 {
468724ba675SRob Herring				nvidia,pins = "ulpi_clk_py0",
469724ba675SRob Herring					      "ulpi_dir_py1",
470724ba675SRob Herring					      "ulpi_nxt_py2",
471724ba675SRob Herring					      "ulpi_stp_py3";
472724ba675SRob Herring				nvidia,function = "spi1";
473724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
474724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
475724ba675SRob Herring			};
476724ba675SRob Herring			/* Multiplexed SSPFRM, SSPTXD and therefore disabled */
477724ba675SRob Herring			sdmmc3-dat6-pd3 {
478724ba675SRob Herring				nvidia,pins = "sdmmc3_dat6_pd3",
479724ba675SRob Herring					      "sdmmc3_dat7_pd4";
480724ba675SRob Herring				nvidia,function = "spdif";
481724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
482724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
483724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
484724ba675SRob Herring			};
485724ba675SRob Herring
486724ba675SRob Herring			/* Colibri UART-A */
487724ba675SRob Herring			ulpi-data0 {
488724ba675SRob Herring				nvidia,pins = "ulpi_data0_po1",
489724ba675SRob Herring					      "ulpi_data1_po2",
490724ba675SRob Herring					      "ulpi_data2_po3",
491724ba675SRob Herring					      "ulpi_data3_po4",
492724ba675SRob Herring					      "ulpi_data4_po5",
493724ba675SRob Herring					      "ulpi_data5_po6",
494724ba675SRob Herring					      "ulpi_data6_po7",
495724ba675SRob Herring					      "ulpi_data7_po0";
496724ba675SRob Herring				nvidia,function = "uarta";
497724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
498724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
499724ba675SRob Herring			};
500724ba675SRob Herring
501724ba675SRob Herring			/* Colibri UART-B */
502724ba675SRob Herring			gmi-a16-pj7 {
503724ba675SRob Herring				nvidia,pins = "gmi_a16_pj7",
504724ba675SRob Herring					      "gmi_a17_pb0",
505724ba675SRob Herring					      "gmi_a18_pb1",
506724ba675SRob Herring					      "gmi_a19_pk7";
507724ba675SRob Herring				nvidia,function = "uartd";
508724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
509724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
510724ba675SRob Herring			};
511724ba675SRob Herring
512724ba675SRob Herring			/* Colibri UART-C */
513724ba675SRob Herring			uart2-rxd {
514724ba675SRob Herring				nvidia,pins = "uart2_rxd_pc3",
515724ba675SRob Herring					      "uart2_txd_pc2";
516724ba675SRob Herring				nvidia,function = "uartb";
517724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
518724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
519724ba675SRob Herring			};
520724ba675SRob Herring
521724ba675SRob Herring			/* Colibri USBC_DET */
522724ba675SRob Herring			spdif-out-pk5 {
523724ba675SRob Herring				nvidia,pins = "spdif_out_pk5";
524724ba675SRob Herring				nvidia,function = "rsvd2";
525724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
526724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
527724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
528724ba675SRob Herring			};
529724ba675SRob Herring
530724ba675SRob Herring			/* Colibri USBH_PEN */
531724ba675SRob Herring			spi2-cs1-n-pw2 {
532724ba675SRob Herring				nvidia,pins = "spi2_cs1_n_pw2";
533724ba675SRob Herring				nvidia,function = "spi2_alt";
534724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
535724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
536724ba675SRob Herring			};
537724ba675SRob Herring
538724ba675SRob Herring			/* Colibri USBH_OC */
539724ba675SRob Herring			spi2-cs2-n-pw3 {
540724ba675SRob Herring				nvidia,pins = "spi2_cs2_n_pw3";
541724ba675SRob Herring				nvidia,function = "spi2_alt";
542724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
543724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
544724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
545724ba675SRob Herring			};
546724ba675SRob Herring
547724ba675SRob Herring			/* Colibri VGA not supported and therefore disabled */
548724ba675SRob Herring			crt-hsync-pv6 {
549724ba675SRob Herring				nvidia,pins = "crt_hsync_pv6",
550724ba675SRob Herring					      "crt_vsync_pv7";
551724ba675SRob Herring				nvidia,function = "rsvd2";
552724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
553724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
554724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
555724ba675SRob Herring			};
556724ba675SRob Herring
557724ba675SRob Herring			/* eMMC (On-module) */
558724ba675SRob Herring			sdmmc4-clk-pcc4 {
559724ba675SRob Herring				nvidia,pins = "sdmmc4_clk_pcc4",
560724ba675SRob Herring					      "sdmmc4_cmd_pt7",
561724ba675SRob Herring					      "sdmmc4_rst_n_pcc3";
562724ba675SRob Herring				nvidia,function = "sdmmc4";
563724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
564724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
565724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
566724ba675SRob Herring			};
567724ba675SRob Herring			sdmmc4-dat0-paa0 {
568724ba675SRob Herring				nvidia,pins = "sdmmc4_dat0_paa0",
569724ba675SRob Herring					      "sdmmc4_dat1_paa1",
570724ba675SRob Herring					      "sdmmc4_dat2_paa2",
571724ba675SRob Herring					      "sdmmc4_dat3_paa3",
572724ba675SRob Herring					      "sdmmc4_dat4_paa4",
573724ba675SRob Herring					      "sdmmc4_dat5_paa5",
574724ba675SRob Herring					      "sdmmc4_dat6_paa6",
575724ba675SRob Herring					      "sdmmc4_dat7_paa7";
576724ba675SRob Herring				nvidia,function = "sdmmc4";
577724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_UP>;
578724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
579724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
580724ba675SRob Herring			};
581724ba675SRob Herring
582724ba675SRob Herring			/* LAN_EXT_WAKEUP#, LAN_PME (On-module) */
583724ba675SRob Herring			pex-l0-rst-n-pdd1 {
584724ba675SRob Herring				nvidia,pins = "pex_l0_rst_n_pdd1",
585724ba675SRob Herring					      "pex_wake_n_pdd3";
586724ba675SRob Herring				nvidia,function = "rsvd3";
587724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
588724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
589724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
590724ba675SRob Herring			};
591724ba675SRob Herring			/* LAN_V_BUS, LAN_RESET# (On-module) */
592724ba675SRob Herring			pex-l0-clkreq-n-pdd2 {
593724ba675SRob Herring				nvidia,pins = "pex_l0_clkreq_n_pdd2",
594724ba675SRob Herring					      "pex_l0_prsnt_n_pdd0";
595724ba675SRob Herring				nvidia,function = "rsvd3";
596724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
597724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
598724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
599724ba675SRob Herring			};
600724ba675SRob Herring
601724ba675SRob Herring			/* nBATT_FAULT(SENSE), nVDD_FAULT(SENSE) */
602724ba675SRob Herring			pex-l2-rst-n-pcc6 {
603724ba675SRob Herring				nvidia,pins = "pex_l2_rst_n_pcc6",
604724ba675SRob Herring					      "pex_l2_prsnt_n_pdd7";
605724ba675SRob Herring				nvidia,function = "rsvd3";
606724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
607724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
608724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
609724ba675SRob Herring			};
610724ba675SRob Herring
611724ba675SRob Herring			/* Not connected and therefore disabled */
612724ba675SRob Herring			clk1-req-pee2 {
613724ba675SRob Herring				nvidia,pins = "clk1_req_pee2",
614724ba675SRob Herring					      "pex_l1_prsnt_n_pdd4";
615724ba675SRob Herring				nvidia,function = "rsvd3";
616724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
617724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
618724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
619724ba675SRob Herring			};
620724ba675SRob Herring			clk2-req-pcc5 {
621724ba675SRob Herring				nvidia,pins = "clk2_req_pcc5",
622724ba675SRob Herring					      "clk3_out_pee0",
623724ba675SRob Herring					      "clk3_req_pee1",
624724ba675SRob Herring					      "clk_32k_out_pa0",
625724ba675SRob Herring					      "hdmi_cec_pee3",
626724ba675SRob Herring					      "sys_clk_req_pz5";
627724ba675SRob Herring				nvidia,function = "rsvd2";
628724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
629724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
630724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
631724ba675SRob Herring			};
632724ba675SRob Herring			gmi-dqs-pi2 {
633724ba675SRob Herring				nvidia,pins = "gmi_dqs_pi2",
634724ba675SRob Herring					      "kb_col2_pq2",
635724ba675SRob Herring					      "kb_col3_pq3",
636724ba675SRob Herring					      "kb_col4_pq4",
637724ba675SRob Herring					      "kb_col5_pq5",
638724ba675SRob Herring					      "kb_row4_pr4";
639724ba675SRob Herring				nvidia,function = "rsvd4";
640724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
641724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
642724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
643724ba675SRob Herring			};
644724ba675SRob Herring			kb-col0-pq0 {
645724ba675SRob Herring				nvidia,pins = "kb_col0_pq0",
646724ba675SRob Herring					      "kb_col1_pq1",
647724ba675SRob Herring					      "kb_col6_pq6",
648724ba675SRob Herring					      "kb_col7_pq7",
649724ba675SRob Herring					      "kb_row5_pr5",
650724ba675SRob Herring					      "kb_row6_pr6",
651724ba675SRob Herring					      "kb_row7_pr7",
652724ba675SRob Herring					      "kb_row9_ps1";
653724ba675SRob Herring				nvidia,function = "kbc";
654724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
655724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
656724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
657724ba675SRob Herring			};
658724ba675SRob Herring			kb-row0-pr0 {
659724ba675SRob Herring				nvidia,pins = "kb_row0_pr0",
660724ba675SRob Herring					      "kb_row1_pr1",
661724ba675SRob Herring					      "kb_row2_pr2",
662724ba675SRob Herring					      "kb_row3_pr3";
663724ba675SRob Herring				nvidia,function = "rsvd3";
664724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
665724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
666724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
667724ba675SRob Herring			};
668724ba675SRob Herring			lcd-pwr2-pc6 {
669724ba675SRob Herring				nvidia,pins = "lcd_pwr2_pc6";
670724ba675SRob Herring				nvidia,function = "hdcp";
671724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
672724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
673724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
674724ba675SRob Herring			};
675724ba675SRob Herring
676724ba675SRob Herring			/* Power I2C (On-module) */
677724ba675SRob Herring			pwr-i2c-scl-pz6 {
678724ba675SRob Herring				nvidia,pins = "pwr_i2c_scl_pz6",
679724ba675SRob Herring					      "pwr_i2c_sda_pz7";
680724ba675SRob Herring				nvidia,function = "i2cpwr";
681724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
682724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
683724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
684724ba675SRob Herring				nvidia,open-drain = <TEGRA_PIN_ENABLE>;
685724ba675SRob Herring			};
686724ba675SRob Herring
687724ba675SRob Herring			/*
688724ba675SRob Herring			 * THERMD_ALERT#, unlatched I2C address pin of LM95245
689724ba675SRob Herring			 * temperature sensor therefore requires disabling for
690724ba675SRob Herring			 * now
691724ba675SRob Herring			 */
692724ba675SRob Herring			lcd-dc1-pd2 {
693724ba675SRob Herring				nvidia,pins = "lcd_dc1_pd2";
694724ba675SRob Herring				nvidia,function = "rsvd3";
695724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
696724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_ENABLE>;
697724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
698724ba675SRob Herring			};
699724ba675SRob Herring
700724ba675SRob Herring			/* TOUCH_PEN_INT# (On-module) */
701724ba675SRob Herring			pv0 {
702724ba675SRob Herring				nvidia,pins = "pv0";
703724ba675SRob Herring				nvidia,function = "rsvd1";
704724ba675SRob Herring				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
705724ba675SRob Herring				nvidia,tristate = <TEGRA_PIN_DISABLE>;
706724ba675SRob Herring				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
707724ba675SRob Herring			};
708724ba675SRob Herring		};
709724ba675SRob Herring	};
710724ba675SRob Herring
711724ba675SRob Herring	serial@70006040 {
712724ba675SRob Herring		compatible = "nvidia,tegra30-hsuart";
713*500b861dSThierry Reding		reset-names = "serial";
714724ba675SRob Herring		/delete-property/ reg-shift;
715724ba675SRob Herring	};
716724ba675SRob Herring
717724ba675SRob Herring	serial@70006300 {
718724ba675SRob Herring		compatible = "nvidia,tegra30-hsuart";
719*500b861dSThierry Reding		reset-names = "serial";
720724ba675SRob Herring		/delete-property/ reg-shift;
721724ba675SRob Herring	};
722724ba675SRob Herring
723724ba675SRob Herring	hdmi_ddc: i2c@7000c700 {
724724ba675SRob Herring		clock-frequency = <10000>;
725724ba675SRob Herring	};
726724ba675SRob Herring
727724ba675SRob Herring	/*
728724ba675SRob Herring	 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
729724ba675SRob Herring	 * touch screen controller (On-module)
730724ba675SRob Herring	 */
731724ba675SRob Herring	i2c@7000d000 {
732724ba675SRob Herring		status = "okay";
733724ba675SRob Herring		clock-frequency = <100000>;
734724ba675SRob Herring
735724ba675SRob Herring		/* SGTL5000 audio codec */
736724ba675SRob Herring		sgtl5000: codec@a {
737724ba675SRob Herring			compatible = "fsl,sgtl5000";
738724ba675SRob Herring			reg = <0x0a>;
739724ba675SRob Herring			#sound-dai-cells = <0>;
740724ba675SRob Herring			VDDA-supply = <&reg_module_3v3_audio>;
741724ba675SRob Herring			VDDD-supply = <&reg_1v8_vio>;
742724ba675SRob Herring			VDDIO-supply = <&reg_module_3v3>;
743724ba675SRob Herring			clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
744724ba675SRob Herring		};
745724ba675SRob Herring
746724ba675SRob Herring		pmic: pmic@2d {
747724ba675SRob Herring			compatible = "ti,tps65911";
748724ba675SRob Herring			reg = <0x2d>;
749724ba675SRob Herring
750724ba675SRob Herring			interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
751724ba675SRob Herring			#interrupt-cells = <2>;
752724ba675SRob Herring			interrupt-controller;
753724ba675SRob Herring			wakeup-source;
754724ba675SRob Herring
755724ba675SRob Herring			ti,system-power-controller;
756724ba675SRob Herring
757724ba675SRob Herring			#gpio-cells = <2>;
758724ba675SRob Herring			gpio-controller;
759724ba675SRob Herring
760724ba675SRob Herring			vcc1-supply = <&reg_module_3v3>;
761724ba675SRob Herring			vcc2-supply = <&reg_module_3v3>;
762724ba675SRob Herring			vcc3-supply = <&reg_1v8_vio>;
763724ba675SRob Herring			vcc4-supply = <&reg_module_3v3>;
764724ba675SRob Herring			vcc5-supply = <&reg_module_3v3>;
765724ba675SRob Herring			vcc6-supply = <&reg_1v8_vio>;
766724ba675SRob Herring			vcc7-supply = <&reg_5v0_charge_pump>;
767724ba675SRob Herring			vccio-supply = <&reg_module_3v3>;
768724ba675SRob Herring
769724ba675SRob Herring			regulators {
770724ba675SRob Herring				vdd1_reg: vdd1 {
771724ba675SRob Herring					regulator-name = "+V1.35_VDDIO_DDR";
772724ba675SRob Herring					regulator-min-microvolt = <1350000>;
773724ba675SRob Herring					regulator-max-microvolt = <1350000>;
774724ba675SRob Herring					regulator-always-on;
775724ba675SRob Herring				};
776724ba675SRob Herring
777724ba675SRob Herring				/* SW2: unused */
778724ba675SRob Herring
779724ba675SRob Herring				vddctrl_reg: vddctrl {
780724ba675SRob Herring					regulator-name = "+V1.0_VDD_CPU";
781724ba675SRob Herring					regulator-min-microvolt = <800000>;
782724ba675SRob Herring					regulator-max-microvolt = <1250000>;
783724ba675SRob Herring					regulator-coupled-with = <&vdd_core>;
784724ba675SRob Herring					regulator-coupled-max-spread = <300000>;
785724ba675SRob Herring					regulator-max-step-microvolt = <100000>;
786724ba675SRob Herring					regulator-always-on;
787724ba675SRob Herring
788724ba675SRob Herring					nvidia,tegra-cpu-regulator;
789724ba675SRob Herring				};
790724ba675SRob Herring
791724ba675SRob Herring				reg_1v8_vio: vio {
792724ba675SRob Herring					regulator-name = "+V1.8";
793724ba675SRob Herring					regulator-min-microvolt = <1800000>;
794724ba675SRob Herring					regulator-max-microvolt = <1800000>;
795724ba675SRob Herring					regulator-always-on;
796724ba675SRob Herring				};
797724ba675SRob Herring
798724ba675SRob Herring				/* LDO1: unused */
799724ba675SRob Herring
800724ba675SRob Herring				/*
801724ba675SRob Herring				 * EN_+V3.3 switching via FET:
802724ba675SRob Herring				 * +V3.3_AUDIO_AVDD_S, +V3.3 and +V1.8_VDD_LAN
803724ba675SRob Herring				 * see also +V3.3 fixed supply
804724ba675SRob Herring				 */
805724ba675SRob Herring				ldo2_reg: ldo2 {
806724ba675SRob Herring					regulator-name = "EN_+V3.3";
807724ba675SRob Herring					regulator-min-microvolt = <3300000>;
808724ba675SRob Herring					regulator-max-microvolt = <3300000>;
809724ba675SRob Herring					regulator-always-on;
810724ba675SRob Herring				};
811724ba675SRob Herring
812724ba675SRob Herring				/* LDO3: unused */
813724ba675SRob Herring
814724ba675SRob Herring				ldo4_reg: ldo4 {
815724ba675SRob Herring					regulator-name = "+V1.2_VDD_RTC";
816724ba675SRob Herring					regulator-min-microvolt = <1200000>;
817724ba675SRob Herring					regulator-max-microvolt = <1200000>;
818724ba675SRob Herring					regulator-always-on;
819724ba675SRob Herring				};
820724ba675SRob Herring
821724ba675SRob Herring				/*
822724ba675SRob Herring				 * +V2.8_AVDD_VDAC:
823724ba675SRob Herring				 * only required for (unsupported) analog RGB
824724ba675SRob Herring				 */
825724ba675SRob Herring				ldo5_reg: ldo5 {
826724ba675SRob Herring					regulator-name = "+V2.8_AVDD_VDAC";
827724ba675SRob Herring					regulator-min-microvolt = <2800000>;
828724ba675SRob Herring					regulator-max-microvolt = <2800000>;
829724ba675SRob Herring					regulator-always-on;
830724ba675SRob Herring				};
831724ba675SRob Herring
832724ba675SRob Herring				/*
833724ba675SRob Herring				 * +V1.05_AVDD_PLLE: avdd_plle should be 1.05V
834724ba675SRob Herring				 * but LDO6 can't set voltage in 50mV
835724ba675SRob Herring				 * granularity
836724ba675SRob Herring				 */
837724ba675SRob Herring				ldo6_reg: ldo6 {
838724ba675SRob Herring					regulator-name = "+V1.05_AVDD_PLLE";
839724ba675SRob Herring					regulator-min-microvolt = <1100000>;
840724ba675SRob Herring					regulator-max-microvolt = <1100000>;
841724ba675SRob Herring				};
842724ba675SRob Herring
843724ba675SRob Herring				ldo7_reg: ldo7 {
844724ba675SRob Herring					regulator-name = "+V1.2_AVDD_PLL";
845724ba675SRob Herring					regulator-min-microvolt = <1200000>;
846724ba675SRob Herring					regulator-max-microvolt = <1200000>;
847724ba675SRob Herring					regulator-always-on;
848724ba675SRob Herring				};
849724ba675SRob Herring
850724ba675SRob Herring				ldo8_reg: ldo8 {
851724ba675SRob Herring					regulator-name = "+V1.0_VDD_DDR_HS";
852724ba675SRob Herring					regulator-min-microvolt = <1000000>;
853724ba675SRob Herring					regulator-max-microvolt = <1000000>;
854724ba675SRob Herring					regulator-always-on;
855724ba675SRob Herring				};
856724ba675SRob Herring			};
857724ba675SRob Herring		};
858724ba675SRob Herring
859724ba675SRob Herring		/* STMPE811 touch screen controller */
860724ba675SRob Herring		touchscreen@41 {
861724ba675SRob Herring			compatible = "st,stmpe811";
862724ba675SRob Herring			reg = <0x41>;
863724ba675SRob Herring			irq-gpio = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>;
864724ba675SRob Herring			id = <0>;
865724ba675SRob Herring			blocks = <0x5>;
866724ba675SRob Herring			irq-trigger = <0x1>;
867724ba675SRob Herring			/* 3.25 MHz ADC clock speed */
868724ba675SRob Herring			st,adc-freq = <1>;
869724ba675SRob Herring			/* 12-bit ADC */
870724ba675SRob Herring			st,mod-12b = <1>;
871724ba675SRob Herring			/* internal ADC reference */
872724ba675SRob Herring			st,ref-sel = <0>;
873724ba675SRob Herring			/* ADC converstion time: 80 clocks */
874724ba675SRob Herring			st,sample-time = <4>;
875724ba675SRob Herring			/* forbid to use ADC channels 3-0 (touch) */
876724ba675SRob Herring
877724ba675SRob Herring			stmpe_adc {
878724ba675SRob Herring				compatible = "st,stmpe-adc";
879724ba675SRob Herring				st,norequest-mask = <0x0F>;
880724ba675SRob Herring			};
881724ba675SRob Herring
882724ba675SRob Herring			stmpe_touchscreen {
883724ba675SRob Herring				compatible = "st,stmpe-ts";
884724ba675SRob Herring				/* 8 sample average control */
885724ba675SRob Herring				st,ave-ctrl = <3>;
886724ba675SRob Herring				/* 7 length fractional part in z */
887724ba675SRob Herring				st,fraction-z = <7>;
888724ba675SRob Herring				/*
889724ba675SRob Herring				 * 50 mA typical 80 mA max touchscreen drivers
890724ba675SRob Herring				 * current limit value
891724ba675SRob Herring				 */
892724ba675SRob Herring				st,i-drive = <1>;
893724ba675SRob Herring				/* 1 ms panel driver settling time */
894724ba675SRob Herring				st,settling = <3>;
895724ba675SRob Herring				/* 5 ms touch detect interrupt delay */
896724ba675SRob Herring				st,touch-det-delay = <5>;
897724ba675SRob Herring			};
898724ba675SRob Herring		};
899724ba675SRob Herring
900724ba675SRob Herring		/*
901724ba675SRob Herring		 * LM95245 temperature sensor
902724ba675SRob Herring		 * Note: OVERT1# directly connected to TPS65911 PMIC PWRDN
903724ba675SRob Herring		 */
904724ba675SRob Herring		temp-sensor@4c {
905724ba675SRob Herring			compatible = "national,lm95245";
906724ba675SRob Herring			reg = <0x4c>;
907724ba675SRob Herring		};
908724ba675SRob Herring
909724ba675SRob Herring		/* SW: +V1.2_VDD_CORE */
910724ba675SRob Herring		vdd_core: regulator@60 {
911724ba675SRob Herring			compatible = "ti,tps62362";
912724ba675SRob Herring			reg = <0x60>;
913724ba675SRob Herring
914724ba675SRob Herring			regulator-name = "tps62362-vout";
915724ba675SRob Herring			regulator-min-microvolt = <900000>;
916724ba675SRob Herring			regulator-max-microvolt = <1400000>;
917724ba675SRob Herring			regulator-coupled-with = <&vddctrl_reg>;
918724ba675SRob Herring			regulator-coupled-max-spread = <300000>;
919724ba675SRob Herring			regulator-max-step-microvolt = <100000>;
920724ba675SRob Herring			regulator-boot-on;
921724ba675SRob Herring			regulator-always-on;
922724ba675SRob Herring
923724ba675SRob Herring			nvidia,tegra-core-regulator;
924724ba675SRob Herring		};
925724ba675SRob Herring	};
926724ba675SRob Herring
927724ba675SRob Herring	pmc@7000e400 {
928724ba675SRob Herring		nvidia,invert-interrupt;
929724ba675SRob Herring		nvidia,suspend-mode = <1>;
930724ba675SRob Herring		nvidia,cpu-pwr-good-time = <5000>;
931724ba675SRob Herring		nvidia,cpu-pwr-off-time = <5000>;
932724ba675SRob Herring		nvidia,core-pwr-good-time = <3845 3845>;
933724ba675SRob Herring		nvidia,core-pwr-off-time = <0>;
934724ba675SRob Herring		nvidia,core-power-req-active-high;
935724ba675SRob Herring		nvidia,sys-clock-req-active-high;
936724ba675SRob Herring		core-supply = <&vdd_core>;
937724ba675SRob Herring
938724ba675SRob Herring		/* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */
939724ba675SRob Herring		i2c-thermtrip {
940724ba675SRob Herring			nvidia,i2c-controller-id = <4>;
941724ba675SRob Herring			nvidia,bus-addr = <0x2d>;
942724ba675SRob Herring			nvidia,reg-addr = <0x3f>;
943724ba675SRob Herring			nvidia,reg-data = <0x1>;
944724ba675SRob Herring		};
945724ba675SRob Herring	};
946724ba675SRob Herring
947724ba675SRob Herring	hda@70030000 {
948724ba675SRob Herring		status = "okay";
949724ba675SRob Herring	};
950724ba675SRob Herring
951724ba675SRob Herring	ahub@70080000 {
952724ba675SRob Herring		i2s@70080500 {
953724ba675SRob Herring			status = "okay";
954724ba675SRob Herring		};
955724ba675SRob Herring	};
956724ba675SRob Herring
957724ba675SRob Herring	/* eMMC */
958724ba675SRob Herring	mmc@78000600 {
959724ba675SRob Herring		status = "okay";
960724ba675SRob Herring		bus-width = <8>;
961724ba675SRob Herring		non-removable;
962724ba675SRob Herring		vmmc-supply = <&reg_module_3v3>; /* VCC */
963724ba675SRob Herring		vqmmc-supply = <&reg_1v8_vio>; /* VCCQ */
964724ba675SRob Herring		mmc-ddr-1_8v;
965724ba675SRob Herring	};
966724ba675SRob Herring
967724ba675SRob Herring	/* EHCI instance 1: USB2_DP/N -> AX88772B (On-module) */
968724ba675SRob Herring	usb@7d004000 {
969724ba675SRob Herring		status = "okay";
970724ba675SRob Herring		#address-cells = <1>;
971724ba675SRob Herring		#size-cells = <0>;
972724ba675SRob Herring
973724ba675SRob Herring		ethernet@1 {
974724ba675SRob Herring			compatible = "usbb95,772b";
975724ba675SRob Herring			reg = <1>;
976724ba675SRob Herring			local-mac-address = [00 00 00 00 00 00];
977724ba675SRob Herring		};
978724ba675SRob Herring	};
979724ba675SRob Herring
980724ba675SRob Herring	usb-phy@7d004000 {
981724ba675SRob Herring		status = "okay";
982724ba675SRob Herring		vbus-supply = <&reg_lan_v_bus>;
983724ba675SRob Herring	};
984724ba675SRob Herring
985724ba675SRob Herring	clk32k_in: clock-xtal1 {
986724ba675SRob Herring		compatible = "fixed-clock";
987724ba675SRob Herring		#clock-cells = <0>;
988724ba675SRob Herring		clock-frequency = <32768>;
989724ba675SRob Herring	};
990724ba675SRob Herring
991724ba675SRob Herring	reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll {
992724ba675SRob Herring		compatible = "regulator-fixed";
993724ba675SRob Herring		regulator-name = "+V1.8_AVDD_HDMI_PLL";
994724ba675SRob Herring		regulator-min-microvolt = <1800000>;
995724ba675SRob Herring		regulator-max-microvolt = <1800000>;
996724ba675SRob Herring		enable-active-high;
997724ba675SRob Herring		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
998724ba675SRob Herring		vin-supply = <&reg_1v8_vio>;
999724ba675SRob Herring	};
1000724ba675SRob Herring
1001724ba675SRob Herring	reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi {
1002724ba675SRob Herring		compatible = "regulator-fixed";
1003724ba675SRob Herring		regulator-name = "+V3.3_AVDD_HDMI";
1004724ba675SRob Herring		regulator-min-microvolt = <3300000>;
1005724ba675SRob Herring		regulator-max-microvolt = <3300000>;
1006724ba675SRob Herring		enable-active-high;
1007724ba675SRob Herring		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
1008724ba675SRob Herring		vin-supply = <&reg_module_3v3>;
1009724ba675SRob Herring	};
1010724ba675SRob Herring
1011724ba675SRob Herring	reg_5v0_charge_pump: regulator-5v0-charge-pump {
1012724ba675SRob Herring		compatible = "regulator-fixed";
1013724ba675SRob Herring		regulator-name = "+V5.0";
1014724ba675SRob Herring		regulator-min-microvolt = <5000000>;
1015724ba675SRob Herring		regulator-max-microvolt = <5000000>;
1016724ba675SRob Herring		regulator-always-on;
1017724ba675SRob Herring	};
1018724ba675SRob Herring
1019724ba675SRob Herring	reg_lan_v_bus: regulator-lan-v-bus {
1020724ba675SRob Herring		compatible = "regulator-fixed";
1021724ba675SRob Herring		regulator-name = "LAN_V_BUS";
1022724ba675SRob Herring		regulator-min-microvolt = <5000000>;
1023724ba675SRob Herring		regulator-max-microvolt = <5000000>;
1024724ba675SRob Herring		enable-active-high;
1025724ba675SRob Herring		gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
1026724ba675SRob Herring	};
1027724ba675SRob Herring
1028724ba675SRob Herring	reg_module_3v3: regulator-module-3v3 {
1029724ba675SRob Herring		compatible = "regulator-fixed";
1030724ba675SRob Herring		regulator-name = "+V3.3";
1031724ba675SRob Herring		regulator-min-microvolt = <3300000>;
1032724ba675SRob Herring		regulator-max-microvolt = <3300000>;
1033724ba675SRob Herring		regulator-always-on;
1034724ba675SRob Herring	};
1035724ba675SRob Herring
1036724ba675SRob Herring	reg_module_3v3_audio: regulator-module-3v3-audio {
1037724ba675SRob Herring		compatible = "regulator-fixed";
1038724ba675SRob Herring		regulator-name = "+V3.3_AUDIO_AVDD_S";
1039724ba675SRob Herring		regulator-min-microvolt = <3300000>;
1040724ba675SRob Herring		regulator-max-microvolt = <3300000>;
1041724ba675SRob Herring		regulator-always-on;
1042724ba675SRob Herring	};
1043724ba675SRob Herring
1044724ba675SRob Herring	sound {
1045724ba675SRob Herring		compatible = "toradex,tegra-audio-sgtl5000-colibri_t30",
1046724ba675SRob Herring			     "nvidia,tegra-audio-sgtl5000";
1047724ba675SRob Herring		nvidia,model = "Toradex Colibri T30";
1048724ba675SRob Herring		nvidia,audio-routing =
1049724ba675SRob Herring			"Headphone Jack", "HP_OUT",
1050724ba675SRob Herring			"LINE_IN", "Line In Jack",
1051724ba675SRob Herring			"MIC_IN", "Mic Jack";
1052724ba675SRob Herring		nvidia,i2s-controller = <&tegra_i2s2>;
1053724ba675SRob Herring		nvidia,audio-codec = <&sgtl5000>;
1054724ba675SRob Herring		clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
1055724ba675SRob Herring			 <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1056724ba675SRob Herring			 <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1057724ba675SRob Herring		clock-names = "pll_a", "pll_a_out0", "mclk";
1058724ba675SRob Herring
1059724ba675SRob Herring		assigned-clocks = <&tegra_car TEGRA30_CLK_EXTERN1>,
1060724ba675SRob Herring				  <&tegra_pmc TEGRA_PMC_CLK_OUT_1>;
1061724ba675SRob Herring
1062724ba675SRob Herring		assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
1063724ba675SRob Herring					 <&tegra_car TEGRA30_CLK_EXTERN1>;
1064724ba675SRob Herring	};
1065724ba675SRob Herring};
1066