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