xref: /openbmc/u-boot/arch/arm/dts/logicpd-torpedo-baseboard.dtsi (revision e6ea2390cde39b5c928d27adcf512293ff24dd77)
1*e6ea2390SAdam Ford/*
2*e6ea2390SAdam Ford * This program is free software; you can redistribute it and/or modify
3*e6ea2390SAdam Ford * it under the terms of the GNU General Public License version 2 as
4*e6ea2390SAdam Ford * published by the Free Software Foundation.
5*e6ea2390SAdam Ford */
6*e6ea2390SAdam Ford
7*e6ea2390SAdam Ford/ {
8*e6ea2390SAdam Ford	gpio_keys {
9*e6ea2390SAdam Ford		compatible = "gpio-keys";
10*e6ea2390SAdam Ford		pinctrl-names = "default";
11*e6ea2390SAdam Ford		pinctrl-0 = <&gpio_key_pins &gpio_key_pins_wkup>;
12*e6ea2390SAdam Ford
13*e6ea2390SAdam Ford		sysboot2 {
14*e6ea2390SAdam Ford			label = "sysboot2";
15*e6ea2390SAdam Ford			gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;	/* gpio2 */
16*e6ea2390SAdam Ford			linux,code = <BTN_0>;
17*e6ea2390SAdam Ford			wakeup-source;
18*e6ea2390SAdam Ford		};
19*e6ea2390SAdam Ford
20*e6ea2390SAdam Ford		sysboot5 {
21*e6ea2390SAdam Ford			label = "sysboot5";
22*e6ea2390SAdam Ford			gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;	/* gpio7 */
23*e6ea2390SAdam Ford			linux,code = <BTN_1>;
24*e6ea2390SAdam Ford			wakeup-source;
25*e6ea2390SAdam Ford		};
26*e6ea2390SAdam Ford
27*e6ea2390SAdam Ford		gpio1 {
28*e6ea2390SAdam Ford			label = "gpio1";
29*e6ea2390SAdam Ford			gpios = <&gpio6 21 GPIO_ACTIVE_LOW>;	/* gpio181 */
30*e6ea2390SAdam Ford			linux,code = <BTN_2>;
31*e6ea2390SAdam Ford			wakeup-source;
32*e6ea2390SAdam Ford		};
33*e6ea2390SAdam Ford
34*e6ea2390SAdam Ford		gpio2 {
35*e6ea2390SAdam Ford			label = "gpio2";
36*e6ea2390SAdam Ford			gpios = <&gpio6 18 GPIO_ACTIVE_LOW>;	/* gpio178 */
37*e6ea2390SAdam Ford			linux,code = <BTN_3>;
38*e6ea2390SAdam Ford			wakeup-source;
39*e6ea2390SAdam Ford		};
40*e6ea2390SAdam Ford	};
41*e6ea2390SAdam Ford
42*e6ea2390SAdam Ford	sound {
43*e6ea2390SAdam Ford		compatible = "ti,omap-twl4030";
44*e6ea2390SAdam Ford		ti,model = "omap3logic";
45*e6ea2390SAdam Ford		ti,mcbsp = <&mcbsp2>;
46*e6ea2390SAdam Ford	};
47*e6ea2390SAdam Ford
48*e6ea2390SAdam Ford	leds {
49*e6ea2390SAdam Ford		compatible = "gpio-leds";
50*e6ea2390SAdam Ford		pinctrl-names = "default";
51*e6ea2390SAdam Ford		pinctrl-0 = <&led_pins>;
52*e6ea2390SAdam Ford
53*e6ea2390SAdam Ford		led1 {
54*e6ea2390SAdam Ford			label = "led1";
55*e6ea2390SAdam Ford			gpios = <&gpio6 20 GPIO_ACTIVE_HIGH>;	/* gpio180 */
56*e6ea2390SAdam Ford			linux,default-trigger = "cpu0";
57*e6ea2390SAdam Ford		};
58*e6ea2390SAdam Ford
59*e6ea2390SAdam Ford		led2 {
60*e6ea2390SAdam Ford			label = "led2";
61*e6ea2390SAdam Ford			gpios = <&gpio6 19 GPIO_ACTIVE_HIGH>;	/* gpio179 */
62*e6ea2390SAdam Ford			linux,default-trigger = "none";
63*e6ea2390SAdam Ford		};
64*e6ea2390SAdam Ford	};
65*e6ea2390SAdam Ford
66*e6ea2390SAdam Ford	pwm10: dmtimer-pwm {
67*e6ea2390SAdam Ford		compatible = "ti,omap-dmtimer-pwm";
68*e6ea2390SAdam Ford		pinctrl-names = "default";
69*e6ea2390SAdam Ford		pinctrl-0 = <&pwm_pins>;
70*e6ea2390SAdam Ford		ti,timers = <&timer10>;
71*e6ea2390SAdam Ford		#pwm-cells = <3>;
72*e6ea2390SAdam Ford	};
73*e6ea2390SAdam Ford
74*e6ea2390SAdam Ford};
75*e6ea2390SAdam Ford
76*e6ea2390SAdam Ford&vaux1 {
77*e6ea2390SAdam Ford	regulator-min-microvolt = <3000000>;
78*e6ea2390SAdam Ford	regulator-max-microvolt = <3000000>;
79*e6ea2390SAdam Ford};
80*e6ea2390SAdam Ford
81*e6ea2390SAdam Ford&vaux4 {
82*e6ea2390SAdam Ford	regulator-min-microvolt = <1800000>;
83*e6ea2390SAdam Ford	regulator-max-microvolt = <1800000>;
84*e6ea2390SAdam Ford};
85*e6ea2390SAdam Ford
86*e6ea2390SAdam Ford&mcbsp2 {
87*e6ea2390SAdam Ford	status = "okay";
88*e6ea2390SAdam Ford};
89*e6ea2390SAdam Ford
90*e6ea2390SAdam Ford&charger {
91*e6ea2390SAdam Ford	ti,bb-uvolt = <3200000>;
92*e6ea2390SAdam Ford	ti,bb-uamp = <150>;
93*e6ea2390SAdam Ford};
94*e6ea2390SAdam Ford
95*e6ea2390SAdam Ford&gpmc {
96*e6ea2390SAdam Ford	ranges = <0 0 0x30000000 0x1000000	/* CS0: 16MB for NAND */
97*e6ea2390SAdam Ford		  1 0 0x2c000000 0x1000000>;	/* CS1: 16MB for LAN9221 */
98*e6ea2390SAdam Ford
99*e6ea2390SAdam Ford	ethernet@gpmc {
100*e6ea2390SAdam Ford		pinctrl-names = "default";
101*e6ea2390SAdam Ford		pinctrl-0 = <&lan9221_pins>;
102*e6ea2390SAdam Ford		interrupt-parent = <&gpio5>;
103*e6ea2390SAdam Ford		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;		/* gpio129 */
104*e6ea2390SAdam Ford		reg = <1 0 0xff>;
105*e6ea2390SAdam Ford	};
106*e6ea2390SAdam Ford};
107*e6ea2390SAdam Ford
108*e6ea2390SAdam Ford&vpll2 {
109*e6ea2390SAdam Ford	regulator-always-on;
110*e6ea2390SAdam Ford};
111*e6ea2390SAdam Ford
112*e6ea2390SAdam Ford&dss {
113*e6ea2390SAdam Ford	status = "ok";
114*e6ea2390SAdam Ford	vdds_dsi-supply = <&vpll2>;
115*e6ea2390SAdam Ford	vdda_video-supply = <&video_reg>;
116*e6ea2390SAdam Ford	pinctrl-names = "default";
117*e6ea2390SAdam Ford	pinctrl-0 = <&dss_dpi_pins1>;
118*e6ea2390SAdam Ford	port {
119*e6ea2390SAdam Ford		dpi_out: endpoint {
120*e6ea2390SAdam Ford			remote-endpoint = <&lcd_in>;
121*e6ea2390SAdam Ford			data-lines = <16>;
122*e6ea2390SAdam Ford		};
123*e6ea2390SAdam Ford	};
124*e6ea2390SAdam Ford};
125*e6ea2390SAdam Ford
126*e6ea2390SAdam Ford/ {
127*e6ea2390SAdam Ford	aliases {
128*e6ea2390SAdam Ford		display0 = &lcd0;
129*e6ea2390SAdam Ford	};
130*e6ea2390SAdam Ford
131*e6ea2390SAdam Ford	video_reg: video_reg {
132*e6ea2390SAdam Ford		pinctrl-names = "default";
133*e6ea2390SAdam Ford		pinctrl-0 = <&panel_pwr_pins>;
134*e6ea2390SAdam Ford		compatible = "regulator-fixed";
135*e6ea2390SAdam Ford		regulator-name = "fixed-supply";
136*e6ea2390SAdam Ford		regulator-min-microvolt = <3300000>;
137*e6ea2390SAdam Ford		regulator-max-microvolt = <3300000>;
138*e6ea2390SAdam Ford		gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>;	/* gpio155, lcd INI */
139*e6ea2390SAdam Ford	};
140*e6ea2390SAdam Ford
141*e6ea2390SAdam Ford	lcd0: display {
142*e6ea2390SAdam Ford		compatible = "panel-dpi";
143*e6ea2390SAdam Ford		label = "15";
144*e6ea2390SAdam Ford		status = "okay";
145*e6ea2390SAdam Ford		/* default-on; */
146*e6ea2390SAdam Ford		pinctrl-names = "default";
147*e6ea2390SAdam Ford
148*e6ea2390SAdam Ford		port {
149*e6ea2390SAdam Ford			lcd_in: endpoint {
150*e6ea2390SAdam Ford				remote-endpoint = <&dpi_out>;
151*e6ea2390SAdam Ford			};
152*e6ea2390SAdam Ford		};
153*e6ea2390SAdam Ford
154*e6ea2390SAdam Ford		panel-timing {
155*e6ea2390SAdam Ford			clock-frequency = <9000000>;
156*e6ea2390SAdam Ford			hactive = <480>;
157*e6ea2390SAdam Ford			vactive = <272>;
158*e6ea2390SAdam Ford			hfront-porch = <3>;
159*e6ea2390SAdam Ford			hback-porch = <2>;
160*e6ea2390SAdam Ford			hsync-len = <42>;
161*e6ea2390SAdam Ford			vback-porch = <3>;
162*e6ea2390SAdam Ford			vfront-porch = <4>;
163*e6ea2390SAdam Ford			vsync-len = <11>;
164*e6ea2390SAdam Ford			hsync-active = <0>;
165*e6ea2390SAdam Ford			vsync-active = <0>;
166*e6ea2390SAdam Ford			de-active = <1>;
167*e6ea2390SAdam Ford			pixelclk-active = <1>;
168*e6ea2390SAdam Ford		};
169*e6ea2390SAdam Ford	};
170*e6ea2390SAdam Ford
171*e6ea2390SAdam Ford	bl: backlight {
172*e6ea2390SAdam Ford		compatible = "pwm-backlight";
173*e6ea2390SAdam Ford		pinctrl-names = "default";
174*e6ea2390SAdam Ford		pinctrl-0 = <&backlight_pins>;
175*e6ea2390SAdam Ford		pwms = <&pwm10 0 5000000 0>;
176*e6ea2390SAdam Ford		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
177*e6ea2390SAdam Ford		default-brightness-level = <7>;
178*e6ea2390SAdam Ford		enable-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>; /* gpio_154 */
179*e6ea2390SAdam Ford	};
180*e6ea2390SAdam Ford};
181*e6ea2390SAdam Ford
182*e6ea2390SAdam Ford&mmc1 {
183*e6ea2390SAdam Ford	interrupts-extended = <&intc 83 &omap3_pmx_core 0x11a>;
184*e6ea2390SAdam Ford	pinctrl-names = "default";
185*e6ea2390SAdam Ford	pinctrl-0 = <&mmc1_pins &mmc1_cd>;
186*e6ea2390SAdam Ford	cd-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>;		/* gpio127 */
187*e6ea2390SAdam Ford	vmmc-supply = <&vmmc1>;
188*e6ea2390SAdam Ford	bus-width = <4>;
189*e6ea2390SAdam Ford	cap-power-off-card;
190*e6ea2390SAdam Ford};
191*e6ea2390SAdam Ford
192*e6ea2390SAdam Ford&omap3_pmx_core {
193*e6ea2390SAdam Ford	gpio_key_pins: pinmux_gpio_key_pins {
194*e6ea2390SAdam Ford		pinctrl-single,pins = <
195*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLUP | MUX_MODE4)	/* mcspi2_clk.gpio_178 */
196*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLUP | MUX_MODE4)	/* mcspi2_cs0.gpio_181 */
197*e6ea2390SAdam Ford		>;
198*e6ea2390SAdam Ford	};
199*e6ea2390SAdam Ford
200*e6ea2390SAdam Ford	pwm_pins: pinmux_pwm_pins {
201*e6ea2390SAdam Ford		pinctrl-single,pins = <
202*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20B8, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE3)       /* gpmc_ncs5.gpt_10_pwm_evt */
203*e6ea2390SAdam Ford		>;
204*e6ea2390SAdam Ford	};
205*e6ea2390SAdam Ford
206*e6ea2390SAdam Ford	led_pins: pinmux_led_pins {
207*e6ea2390SAdam Ford		pinctrl-single,pins = <
208*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x21d8, PIN_OUTPUT | MUX_MODE4)	/* gpio_179 */
209*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x21da, PIN_OUTPUT | MUX_MODE4)	/* gpio_180 */
210*e6ea2390SAdam Ford		>;
211*e6ea2390SAdam Ford	};
212*e6ea2390SAdam Ford
213*e6ea2390SAdam Ford	mmc1_pins: pinmux_mmc1_pins {
214*e6ea2390SAdam Ford		pinctrl-single,pins = <
215*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT | MUX_MODE0)	/* sdmmc1_clk.sdmmc1_clk */
216*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
217*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT | MUX_MODE0)	/* sdmmc1_dat0.sdmmc1_dat0 */
218*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT | MUX_MODE0)	/* sdmmc1_dat1.sdmmc1_dat1 */
219*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT | MUX_MODE0)	/* sdmmc1_dat2.sdmmc1_dat2 */
220*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT | MUX_MODE0)	/* sdmmc1_dat3.sdmmc1_dat3 */
221*e6ea2390SAdam Ford		>;
222*e6ea2390SAdam Ford	};
223*e6ea2390SAdam Ford
224*e6ea2390SAdam Ford	tsc2004_pins: pinmux_tsc2004_pins {
225*e6ea2390SAdam Ford		pinctrl-single,pins = <
226*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE4)	/* mcbsp4_dr.gpio_153 */
227*e6ea2390SAdam Ford		>;
228*e6ea2390SAdam Ford	};
229*e6ea2390SAdam Ford
230*e6ea2390SAdam Ford	backlight_pins: pinmux_backlight_pins {
231*e6ea2390SAdam Ford		pinctrl-single,pins = <
232*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4)       /* mcbsp4_dx.gpio_154 */
233*e6ea2390SAdam Ford		>;
234*e6ea2390SAdam Ford	};
235*e6ea2390SAdam Ford
236*e6ea2390SAdam Ford	isp_pins: pinmux_isp_pins {
237*e6ea2390SAdam Ford		pinctrl-single,pins = <
238*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x210c, PIN_INPUT | MUX_MODE0)   /* cam_hs.cam_hs */
239*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x210e, PIN_INPUT | MUX_MODE0)   /* cam_vs.cam_vs */
240*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2110, PIN_INPUT | MUX_MODE0)   /* cam_xclka.cam_xclka */
241*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2112, PIN_INPUT | MUX_MODE0)   /* cam_pclk.cam_pclk */
242*e6ea2390SAdam Ford
243*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2116, PIN_INPUT | MUX_MODE0)   /* cam_d0.cam_d0 */
244*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2118, PIN_INPUT | MUX_MODE0)   /* cam_d1.cam_d1 */
245*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x211a, PIN_INPUT | MUX_MODE0)   /* cam_d2.cam_d2 */
246*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x211c, PIN_INPUT | MUX_MODE0)   /* cam_d3.cam_d3 */
247*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x211e, PIN_INPUT | MUX_MODE0)   /* cam_d4.cam_d4 */
248*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2120, PIN_INPUT | MUX_MODE0)   /* cam_d5.cam_d5 */
249*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2122, PIN_INPUT | MUX_MODE0)   /* cam_d6.cam_d6 */
250*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2124, PIN_INPUT | MUX_MODE0)   /* cam_d7.cam_d7 */
251*e6ea2390SAdam Ford		>;
252*e6ea2390SAdam Ford	};
253*e6ea2390SAdam Ford
254*e6ea2390SAdam Ford	panel_pwr_pins: pinmux_panel_pwr_pins {
255*e6ea2390SAdam Ford		pinctrl-single,pins = <
256*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE4)       /* mcbsp4_fs.gpio_155 */
257*e6ea2390SAdam Ford		>;
258*e6ea2390SAdam Ford	};
259*e6ea2390SAdam Ford
260*e6ea2390SAdam Ford	dss_dpi_pins1: pinmux_dss_dpi_pins1 {
261*e6ea2390SAdam Ford		pinctrl-single,pins = <
262*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_pclk.dss_pclk */
263*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_hsync.dss_hsync */
264*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_vsync.dss_vsync */
265*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_acbias.dss_acbias */
266*e6ea2390SAdam Ford
267*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data6.dss_data6 */
268*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data7.dss_data7 */
269*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data8.dss_data8 */
270*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data9.dss_data9 */
271*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data10.dss_data10 */
272*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data11.dss_data11 */
273*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data12.dss_data12 */
274*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data13.dss_data13 */
275*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data14.dss_data14 */
276*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data15.dss_data15 */
277*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data16.dss_data16 */
278*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE0)   /* dss_data17.dss_data17 */
279*e6ea2390SAdam Ford
280*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE3)   /* dss_data18.dss_data0 */
281*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE3)   /* dss_data19.dss_data1 */
282*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE3)   /* dss_data20.dss_data2 */
283*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE3)   /* dss_data21.dss_data3 */
284*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE3)   /* dss_data22.dss_data4 */
285*e6ea2390SAdam Ford			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT_PULLDOWN | PIN_OFF_OUTPUT_LOW | MUX_MODE3)   /* dss_data23.dss_data5 */
286*e6ea2390SAdam Ford		>;
287*e6ea2390SAdam Ford	};
288*e6ea2390SAdam Ford};
289*e6ea2390SAdam Ford
290*e6ea2390SAdam Ford&omap3_pmx_wkup {
291*e6ea2390SAdam Ford	gpio_key_pins_wkup: pinmux_gpio_key_pins_wkup {
292*e6ea2390SAdam Ford		pinctrl-single,pins = <
293*e6ea2390SAdam Ford			OMAP3_WKUP_IOPAD(0x2a0a, PIN_INPUT_PULLUP | MUX_MODE4)	/* sys_boot0.gpio_2 */
294*e6ea2390SAdam Ford			OMAP3_WKUP_IOPAD(0x2a14, PIN_INPUT_PULLUP | MUX_MODE4)	/* sys_boot5.gpio_7 */
295*e6ea2390SAdam Ford		>;
296*e6ea2390SAdam Ford	};
297*e6ea2390SAdam Ford
298*e6ea2390SAdam Ford	lan9221_pins: pinmux_lan9221_pins {
299*e6ea2390SAdam Ford		pinctrl-single,pins = <
300*e6ea2390SAdam Ford			OMAP3_WKUP_IOPAD(0x2a5a, PIN_INPUT | MUX_MODE4)		/* reserved.gpio_129 */
301*e6ea2390SAdam Ford		>;
302*e6ea2390SAdam Ford	};
303*e6ea2390SAdam Ford
304*e6ea2390SAdam Ford	mmc1_cd: pinmux_mmc1_cd {
305*e6ea2390SAdam Ford		pinctrl-single,pins = <
306*e6ea2390SAdam Ford			OMAP3_WKUP_IOPAD(0x2a54, PIN_INPUT_PULLUP | MUX_MODE4)	/* reserved.gpio_127 */
307*e6ea2390SAdam Ford		>;
308*e6ea2390SAdam Ford	};
309*e6ea2390SAdam Ford};
310*e6ea2390SAdam Ford
311*e6ea2390SAdam Ford&i2c2 {
312*e6ea2390SAdam Ford	mt9p031@48 {
313*e6ea2390SAdam Ford		compatible = "aptina,mt9p031";
314*e6ea2390SAdam Ford		reg = <0x48>;
315*e6ea2390SAdam Ford		clocks = <&isp 0>;
316*e6ea2390SAdam Ford		vaa-supply = <&vaux4>;
317*e6ea2390SAdam Ford		vdd-supply = <&vaux4>;
318*e6ea2390SAdam Ford		vdd_io-supply = <&vaux4>;
319*e6ea2390SAdam Ford		port {
320*e6ea2390SAdam Ford			mt9p031_out: endpoint {
321*e6ea2390SAdam Ford				input-clock-frequency = <24000000>;
322*e6ea2390SAdam Ford				pixel-clock-frequency = <72000000>;
323*e6ea2390SAdam Ford				remote-endpoint = <&ccdc_ep>;
324*e6ea2390SAdam Ford			};
325*e6ea2390SAdam Ford		};
326*e6ea2390SAdam Ford	};
327*e6ea2390SAdam Ford};
328*e6ea2390SAdam Ford
329*e6ea2390SAdam Ford&i2c3 {
330*e6ea2390SAdam Ford	touchscreen: tsc2004@48 {
331*e6ea2390SAdam Ford		compatible = "ti,tsc2004";
332*e6ea2390SAdam Ford		reg = <0x48>;
333*e6ea2390SAdam Ford		vio-supply = <&vaux1>;
334*e6ea2390SAdam Ford		pinctrl-names = "default";
335*e6ea2390SAdam Ford		pinctrl-0 = <&tsc2004_pins>;
336*e6ea2390SAdam Ford		interrupts-extended = <&gpio5 25 IRQ_TYPE_EDGE_RISING>; /* gpio 153 */
337*e6ea2390SAdam Ford
338*e6ea2390SAdam Ford		touchscreen-fuzz-x = <4>;
339*e6ea2390SAdam Ford		touchscreen-fuzz-y = <7>;
340*e6ea2390SAdam Ford		touchscreen-fuzz-pressure = <2>;
341*e6ea2390SAdam Ford		touchscreen-size-x = <4096>;
342*e6ea2390SAdam Ford		touchscreen-size-y = <4096>;
343*e6ea2390SAdam Ford		touchscreen-max-pressure = <2048>;
344*e6ea2390SAdam Ford
345*e6ea2390SAdam Ford		ti,x-plate-ohms = <280>;
346*e6ea2390SAdam Ford		ti,esd-recovery-timeout-ms = <8000>;
347*e6ea2390SAdam Ford	};
348*e6ea2390SAdam Ford};
349*e6ea2390SAdam Ford
350*e6ea2390SAdam Ford&mcspi1 {
351*e6ea2390SAdam Ford	at25@0 {
352*e6ea2390SAdam Ford		compatible = "atmel,at25";
353*e6ea2390SAdam Ford		reg = <0>;
354*e6ea2390SAdam Ford		spi-max-frequency = <5000000>;
355*e6ea2390SAdam Ford		spi-cpha;
356*e6ea2390SAdam Ford		spi-cpol;
357*e6ea2390SAdam Ford
358*e6ea2390SAdam Ford		pagesize = <64>;
359*e6ea2390SAdam Ford		size = <32768>;
360*e6ea2390SAdam Ford		address-width = <16>;
361*e6ea2390SAdam Ford	};
362*e6ea2390SAdam Ford};
363*e6ea2390SAdam Ford
364*e6ea2390SAdam Ford&isp {
365*e6ea2390SAdam Ford	pinctrl-names = "default";
366*e6ea2390SAdam Ford	pinctrl-0 = <&isp_pins>;
367*e6ea2390SAdam Ford	ports {
368*e6ea2390SAdam Ford		port@0 {
369*e6ea2390SAdam Ford			reg = <0>;
370*e6ea2390SAdam Ford			ccdc_ep: endpoint {
371*e6ea2390SAdam Ford				remote-endpoint = <&mt9p031_out>;
372*e6ea2390SAdam Ford				bus-width = <8>;
373*e6ea2390SAdam Ford				hsync-active = <1>;
374*e6ea2390SAdam Ford				vsync-active = <1>;
375*e6ea2390SAdam Ford				pclk-sample = <0>;
376*e6ea2390SAdam Ford			};
377*e6ea2390SAdam Ford		};
378*e6ea2390SAdam Ford	};
379*e6ea2390SAdam Ford};
380*e6ea2390SAdam Ford
381*e6ea2390SAdam Ford&uart1 {
382*e6ea2390SAdam Ford	interrupts-extended = <&intc 72 &omap3_pmx_core OMAP3_UART1_RX>;
383*e6ea2390SAdam Ford};
384*e6ea2390SAdam Ford
385*e6ea2390SAdam Ford/* Wired to the tps65950 on the SOM, only the USB connector is on the devkit */
386*e6ea2390SAdam Ford&usb_otg_hs {
387*e6ea2390SAdam Ford	pinctrl-names = "default";
388*e6ea2390SAdam Ford	pinctrl-0 = <&hsusb_otg_pins>;
389*e6ea2390SAdam Ford	interface-type = <0>;
390*e6ea2390SAdam Ford	usb-phy = <&usb2_phy>;
391*e6ea2390SAdam Ford	phys = <&usb2_phy>;
392*e6ea2390SAdam Ford	phy-names = "usb2-phy";
393*e6ea2390SAdam Ford	mode = <3>;
394*e6ea2390SAdam Ford	power = <50>;
395*e6ea2390SAdam Ford};
396