xref: /linux/scripts/dtc/include-prefixes/arm/ti/omap/omap4-samsung-espresso-common.dtsi (revision e65f4718a577fcc84d40431f022985898b6dbf2e)
1*f768d547SMithil Bavishi// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*f768d547SMithil Bavishi/dts-v1/;
3*f768d547SMithil Bavishi#include "dt-bindings/gpio/gpio.h"
4*f768d547SMithil Bavishi#include <dt-bindings/interrupt-controller/irq.h>
5*f768d547SMithil Bavishi#include <dt-bindings/input/input.h>
6*f768d547SMithil Bavishi#include "omap443x.dtsi"
7*f768d547SMithil Bavishi
8*f768d547SMithil Bavishi/ {
9*f768d547SMithil Bavishi	memory@80000000 {
10*f768d547SMithil Bavishi		device_type = "memory";
11*f768d547SMithil Bavishi		reg = <0x80000000 0x40000000>; /* 1 GB */
12*f768d547SMithil Bavishi	};
13*f768d547SMithil Bavishi
14*f768d547SMithil Bavishi	reserved-memory {
15*f768d547SMithil Bavishi		#address-cells = <1>;
16*f768d547SMithil Bavishi		#size-cells = <1>;
17*f768d547SMithil Bavishi		ranges;
18*f768d547SMithil Bavishi
19*f768d547SMithil Bavishi		continuous_splash: framebuffer@bef00000{
20*f768d547SMithil Bavishi			reg = <0xbef00000 (1024 * 600 * 4)>;
21*f768d547SMithil Bavishi			no-map;
22*f768d547SMithil Bavishi		};
23*f768d547SMithil Bavishi	};
24*f768d547SMithil Bavishi
25*f768d547SMithil Bavishi	chosen {
26*f768d547SMithil Bavishi		stdout-path = &uart3;
27*f768d547SMithil Bavishi		#address-cells = <1>;
28*f768d547SMithil Bavishi	};
29*f768d547SMithil Bavishi
30*f768d547SMithil Bavishi	i2c-gpio5 {
31*f768d547SMithil Bavishi		compatible = "i2c-gpio";
32*f768d547SMithil Bavishi		pinctrl-names = "default";
33*f768d547SMithil Bavishi		pinctrl-0 = <&i2c5_pins>;
34*f768d547SMithil Bavishi		sda-gpios = <&gpio4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
35*f768d547SMithil Bavishi		scl-gpios = <&gpio4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
36*f768d547SMithil Bavishi		i2c-gpio,delay-us = <10>;
37*f768d547SMithil Bavishi		#address-cells = <1>;
38*f768d547SMithil Bavishi		#size-cells = <0>;
39*f768d547SMithil Bavishi
40*f768d547SMithil Bavishi		/* TODO: SMB136 Charger for 7" variant at 0x4d */
41*f768d547SMithil Bavishi	};
42*f768d547SMithil Bavishi
43*f768d547SMithil Bavishi	i2c-gpio6 {
44*f768d547SMithil Bavishi		compatible = "i2c-gpio";
45*f768d547SMithil Bavishi		pinctrl-names = "default";
46*f768d547SMithil Bavishi		pinctrl-0 = <&i2c6_pins>;
47*f768d547SMithil Bavishi		sda-gpios = <&gpio3 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
48*f768d547SMithil Bavishi		scl-gpios = <&gpio3 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
49*f768d547SMithil Bavishi		i2c-gpio,delay-us = <10>;
50*f768d547SMithil Bavishi		#address-cells = <1>;
51*f768d547SMithil Bavishi		#size-cells = <0>;
52*f768d547SMithil Bavishi
53*f768d547SMithil Bavishi		/* TODO: STMPE811 ADC at 0x41 */
54*f768d547SMithil Bavishi	};
55*f768d547SMithil Bavishi
56*f768d547SMithil Bavishi	i2c-gpio7 {
57*f768d547SMithil Bavishi		compatible = "i2c-gpio";
58*f768d547SMithil Bavishi		pinctrl-names = "default";
59*f768d547SMithil Bavishi		pinctrl-0 = <&i2c7_pins>;
60*f768d547SMithil Bavishi		sda-gpios = <&gpio2 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
61*f768d547SMithil Bavishi		scl-gpios = <&gpio2 29 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
62*f768d547SMithil Bavishi		i2c-gpio,delay-us = <3>;
63*f768d547SMithil Bavishi		#address-cells = <1>;
64*f768d547SMithil Bavishi		#size-cells = <0>;
65*f768d547SMithil Bavishi
66*f768d547SMithil Bavishi		fuel-gauge@36 {
67*f768d547SMithil Bavishi			compatible = "maxim,max17042";
68*f768d547SMithil Bavishi			reg = <0x36>;
69*f768d547SMithil Bavishi			pinctrl-0 = <&fuel_alert_irq>;
70*f768d547SMithil Bavishi			pinctrl-names = "default";
71*f768d547SMithil Bavishi			interrupt-parent = <&gpio2>;
72*f768d547SMithil Bavishi			interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
73*f768d547SMithil Bavishi			maxim,rsns-microohm = <10000>;
74*f768d547SMithil Bavishi			maxim,over-heat-temp = <500>;
75*f768d547SMithil Bavishi			maxim,dead-volt = <2500>;
76*f768d547SMithil Bavishi			maxim,over-volt = <4300>;
77*f768d547SMithil Bavishi		};
78*f768d547SMithil Bavishi	};
79*f768d547SMithil Bavishi
80*f768d547SMithil Bavishi	reg_espresso_wlan: regulator-espresso-wlan {
81*f768d547SMithil Bavishi		pinctrl-names = "default";
82*f768d547SMithil Bavishi		pinctrl-0 = <&wlanen_gpio>;
83*f768d547SMithil Bavishi		compatible = "regulator-fixed";
84*f768d547SMithil Bavishi		regulator-name = "espresso_wlan";
85*f768d547SMithil Bavishi		regulator-max-microvolt = <2000000>;
86*f768d547SMithil Bavishi		regulator-min-microvolt = <2000000>;
87*f768d547SMithil Bavishi		gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* GPIO_104 */
88*f768d547SMithil Bavishi		startup-delay-us = <70000>;
89*f768d547SMithil Bavishi		regulator-always-on;
90*f768d547SMithil Bavishi		enable-active-high;
91*f768d547SMithil Bavishi	};
92*f768d547SMithil Bavishi
93*f768d547SMithil Bavishi	wlan_pwrseq: wlan-pwrseq {
94*f768d547SMithil Bavishi		compatible = "mmc-pwrseq-simple";
95*f768d547SMithil Bavishi		clocks = <&twl 0>;
96*f768d547SMithil Bavishi		clock-names = "ext_clock";
97*f768d547SMithil Bavishi	};
98*f768d547SMithil Bavishi
99*f768d547SMithil Bavishi	reg_espresso_internal: regulator-espresso-internal {
100*f768d547SMithil Bavishi		compatible = "regulator-fixed";
101*f768d547SMithil Bavishi		regulator-name = "eMMC_LDO";
102*f768d547SMithil Bavishi		regulator-max-microvolt = <1800000>;
103*f768d547SMithil Bavishi		regulator-min-microvolt = <1800000>;
104*f768d547SMithil Bavishi		gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; /* GPIO_63 */
105*f768d547SMithil Bavishi		startup-delay-us = <100000>;
106*f768d547SMithil Bavishi		regulator-boot-on;
107*f768d547SMithil Bavishi		regulator-always-on;
108*f768d547SMithil Bavishi		enable-active-high;
109*f768d547SMithil Bavishi	};
110*f768d547SMithil Bavishi
111*f768d547SMithil Bavishi	reg_espresso_external: regulator-espresso-external {
112*f768d547SMithil Bavishi		compatible = "regulator-fixed";
113*f768d547SMithil Bavishi		regulator-name = "vmmc1";
114*f768d547SMithil Bavishi		regulator-max-microvolt = <2800000>;
115*f768d547SMithil Bavishi		regulator-min-microvolt = <2800000>;
116*f768d547SMithil Bavishi		gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; /* GPIO_34 */
117*f768d547SMithil Bavishi		enable-active-high;
118*f768d547SMithil Bavishi	};
119*f768d547SMithil Bavishi
120*f768d547SMithil Bavishi	reg_touch_ldo_en: regulator-touch-ldo-en  {
121*f768d547SMithil Bavishi		compatible = "regulator-fixed";
122*f768d547SMithil Bavishi		regulator-name = "touch_ldo_en";
123*f768d547SMithil Bavishi		regulator-max-microvolt = <2800000>;
124*f768d547SMithil Bavishi		regulator-min-microvolt = <2800000>;
125*f768d547SMithil Bavishi		gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* GPIO_54 */
126*f768d547SMithil Bavishi		regulator-always-on;
127*f768d547SMithil Bavishi		enable-active-high;
128*f768d547SMithil Bavishi	};
129*f768d547SMithil Bavishi
130*f768d547SMithil Bavishi	gpio-keys {
131*f768d547SMithil Bavishi		compatible = "gpio-keys";
132*f768d547SMithil Bavishi		pinctrl-names = "default";
133*f768d547SMithil Bavishi		pinctrl-0 = <&gpio_keys>;
134*f768d547SMithil Bavishi
135*f768d547SMithil Bavishi		key-power {
136*f768d547SMithil Bavishi			label = "power";
137*f768d547SMithil Bavishi
138*f768d547SMithil Bavishi			gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; /* GPIO_wk3 */
139*f768d547SMithil Bavishi			linux,code = <KEY_POWER>;
140*f768d547SMithil Bavishi			wakeup-source;
141*f768d547SMithil Bavishi		};
142*f768d547SMithil Bavishi
143*f768d547SMithil Bavishi		button-volup {
144*f768d547SMithil Bavishi			linux,code = <KEY_VOLUMEUP>;
145*f768d547SMithil Bavishi			label = "volume_up"; /* GPIO_wk30 */
146*f768d547SMithil Bavishi			gpios = <&gpio1 30 GPIO_ACTIVE_LOW>;
147*f768d547SMithil Bavishi		};
148*f768d547SMithil Bavishi
149*f768d547SMithil Bavishi		button-voldown {
150*f768d547SMithil Bavishi			linux,code = <KEY_VOLUMEDOWN>;
151*f768d547SMithil Bavishi			label = "volume_down"; /* GPIO_wk8 */
152*f768d547SMithil Bavishi			gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
153*f768d547SMithil Bavishi		};
154*f768d547SMithil Bavishi	};
155*f768d547SMithil Bavishi
156*f768d547SMithil Bavishi	reg_lcd: regulator-lcd	{
157*f768d547SMithil Bavishi		compatible = "regulator-fixed";
158*f768d547SMithil Bavishi		regulator-name = "lcd_en";
159*f768d547SMithil Bavishi		gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>; /* GPIO_135 */
160*f768d547SMithil Bavishi		regulator-max-microvolt = <3300000>;
161*f768d547SMithil Bavishi		regulator-min-microvolt = <3300000>;
162*f768d547SMithil Bavishi		enable-active-high;
163*f768d547SMithil Bavishi		regulator-boot-on;
164*f768d547SMithil Bavishi	};
165*f768d547SMithil Bavishi
166*f768d547SMithil Bavishi	pwm10: pwm-10 {
167*f768d547SMithil Bavishi		pinctrl-names = "default";
168*f768d547SMithil Bavishi		pinctrl-0 = <&pwm10_default>;
169*f768d547SMithil Bavishi		compatible = "ti,omap-dmtimer-pwm";
170*f768d547SMithil Bavishi		#pwm-cells = <3>;
171*f768d547SMithil Bavishi		ti,timers = <&timer10>;
172*f768d547SMithil Bavishi		ti,clock-source = <0x00>;
173*f768d547SMithil Bavishi	};
174*f768d547SMithil Bavishi
175*f768d547SMithil Bavishi	lvds-encoder {
176*f768d547SMithil Bavishi		compatible = "doestek,dtc34lm85am", "lvds-encoder";
177*f768d547SMithil Bavishi		powerdown-gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; /* GPIO_136 */
178*f768d547SMithil Bavishi		power-supply = <&reg_lcd>;
179*f768d547SMithil Bavishi		ports {
180*f768d547SMithil Bavishi			#address-cells = <1>;
181*f768d547SMithil Bavishi			#size-cells = <0>;
182*f768d547SMithil Bavishi
183*f768d547SMithil Bavishi			port@0 {
184*f768d547SMithil Bavishi				reg = <0>;
185*f768d547SMithil Bavishi				bridge_in: endpoint {
186*f768d547SMithil Bavishi					remote-endpoint = <&dpi_out>;
187*f768d547SMithil Bavishi				};
188*f768d547SMithil Bavishi			};
189*f768d547SMithil Bavishi
190*f768d547SMithil Bavishi			port@1 {
191*f768d547SMithil Bavishi				reg = <1>;
192*f768d547SMithil Bavishi				bridge_out: endpoint {
193*f768d547SMithil Bavishi					remote-endpoint = <&panel_in>;
194*f768d547SMithil Bavishi				};
195*f768d547SMithil Bavishi			};
196*f768d547SMithil Bavishi		};
197*f768d547SMithil Bavishi	};
198*f768d547SMithil Bavishi
199*f768d547SMithil Bavishi	vibrator {
200*f768d547SMithil Bavishi		compatible = "gpio-vibrator";
201*f768d547SMithil Bavishi		enable-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; /* GPIO_38 */
202*f768d547SMithil Bavishi		pinctrl-names = "default";
203*f768d547SMithil Bavishi		pinctrl-0 = <&vibrator_default>;
204*f768d547SMithil Bavishi	};
205*f768d547SMithil Bavishi
206*f768d547SMithil Bavishi	gp2a_shunt: current-sense-shunt {
207*f768d547SMithil Bavishi		compatible = "current-sense-shunt";
208*f768d547SMithil Bavishi		io-channels = <&gpadc 4>;
209*f768d547SMithil Bavishi		shunt-resistor-micro-ohms = <24000000>; /* 24 ohms */
210*f768d547SMithil Bavishi		#io-channel-cells = <0>;
211*f768d547SMithil Bavishi	};
212*f768d547SMithil Bavishi
213*f768d547SMithil Bavishi	led-ir {
214*f768d547SMithil Bavishi		compatible = "gpio-ir-tx";
215*f768d547SMithil Bavishi		gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>; /* GPIO_59 */
216*f768d547SMithil Bavishi		pinctrl-names = "default";
217*f768d547SMithil Bavishi		pinctrl-0 = <&ledir_pins>;
218*f768d547SMithil Bavishi	};
219*f768d547SMithil Bavishi};
220*f768d547SMithil Bavishi
221*f768d547SMithil Bavishi&omap4_pmx_wkup {
222*f768d547SMithil Bavishi	gpio_keys: gpio-keys-pins {
223*f768d547SMithil Bavishi		pinctrl-single,pins = <
224*f768d547SMithil Bavishi			OMAP4_IOPAD(0x046, PIN_INPUT | MUX_MODE3)
225*f768d547SMithil Bavishi			/* sim_cd.gpio_wk3 - EXT_WAKEUP */
226*f768d547SMithil Bavishi			OMAP4_IOPAD(0x056, PIN_INPUT | MUX_MODE3)
227*f768d547SMithil Bavishi			/* fref_clk3_req.gpio_wk30 - VOL_UP */
228*f768d547SMithil Bavishi			OMAP4_IOPAD(0x05C, PIN_INPUT | MUX_MODE3)
229*f768d547SMithil Bavishi			/* fref_clk4_out.gpio_wk8 - VOL_DN */
230*f768d547SMithil Bavishi		>;
231*f768d547SMithil Bavishi	};
232*f768d547SMithil Bavishi};
233*f768d547SMithil Bavishi
234*f768d547SMithil Bavishi&omap4_pmx_core {
235*f768d547SMithil Bavishi	backlight_pins: pinmux-backlight-pins {
236*f768d547SMithil Bavishi		pinctrl-single,pins = <
237*f768d547SMithil Bavishi			OMAP4_IOPAD(0X0D8, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE3)
238*f768d547SMithil Bavishi			/* usbb1_ulpitll_dat7.gpio_95 - LED_BACKLIGHT_RESET */
239*f768d547SMithil Bavishi		>;
240*f768d547SMithil Bavishi	};
241*f768d547SMithil Bavishi
242*f768d547SMithil Bavishi	bluetooth_pins: pinmux-bluetooth-pins {
243*f768d547SMithil Bavishi		pinctrl-single,pins = <
244*f768d547SMithil Bavishi			OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3)
245*f768d547SMithil Bavishi			/* gpmc_ncs6.gpio_103 - BT_EN */
246*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0be, PIN_OUTPUT | MUX_MODE3)
247*f768d547SMithil Bavishi			/* cam_strobe.gpio_82 - BT_nRST */
248*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0c0, PIN_INPUT | MUX_MODE3)
249*f768d547SMithil Bavishi			/* cam_globalreset.gpio_83 - BT_HOST_WAKE */
250*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0d4, PIN_OUTPUT | MUX_MODE3)
251*f768d547SMithil Bavishi			/* usbb1_ulpitll_dat5.gpio_93 - BT_WAKE */
252*f768d547SMithil Bavishi		>;
253*f768d547SMithil Bavishi	};
254*f768d547SMithil Bavishi
255*f768d547SMithil Bavishi	dss_dpi_pins: pinmux-dss-dpi-pins {
256*f768d547SMithil Bavishi		pinctrl-single,pins = <
257*f768d547SMithil Bavishi			OMAP4_IOPAD(0x162, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
258*f768d547SMithil Bavishi			/* dispc2_data23 */
259*f768d547SMithil Bavishi			OMAP4_IOPAD(0x164, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
260*f768d547SMithil Bavishi			/* dispc2_data22 */
261*f768d547SMithil Bavishi			OMAP4_IOPAD(0x166, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
262*f768d547SMithil Bavishi			/* dispc2_data21 */
263*f768d547SMithil Bavishi			OMAP4_IOPAD(0x168, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
264*f768d547SMithil Bavishi			/* dispc2_data20 */
265*f768d547SMithil Bavishi			OMAP4_IOPAD(0x16a, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
266*f768d547SMithil Bavishi			/* dispc2_data19 */
267*f768d547SMithil Bavishi			OMAP4_IOPAD(0x16c, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
268*f768d547SMithil Bavishi			/* dispc2_data18 */
269*f768d547SMithil Bavishi			OMAP4_IOPAD(0x16e, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
270*f768d547SMithil Bavishi			/* dispc2_data15 */
271*f768d547SMithil Bavishi			OMAP4_IOPAD(0x170, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
272*f768d547SMithil Bavishi			/* dispc2_data14 */
273*f768d547SMithil Bavishi			OMAP4_IOPAD(0x172, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
274*f768d547SMithil Bavishi			/* dispc2_data13 */
275*f768d547SMithil Bavishi			OMAP4_IOPAD(0x174, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
276*f768d547SMithil Bavishi			/* dispc2_data12 */
277*f768d547SMithil Bavishi			OMAP4_IOPAD(0x176, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
278*f768d547SMithil Bavishi			/* dispc2_data11 */
279*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1b4, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
280*f768d547SMithil Bavishi			/* dispc2_data10 */
281*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1b6, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
282*f768d547SMithil Bavishi			/* dispc2_data9 */
283*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1b8, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
284*f768d547SMithil Bavishi			/* dispc2_data16 */
285*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1ba, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
286*f768d547SMithil Bavishi			/* dispc2_data17 */
287*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1bc, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
288*f768d547SMithil Bavishi			/* dispc2_hsync */
289*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1be, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
290*f768d547SMithil Bavishi			/* dispc2_pclk */
291*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1c0, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
292*f768d547SMithil Bavishi			/* dispc2_vsync */
293*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1c2, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
294*f768d547SMithil Bavishi			/* dispc2_de */
295*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1c4, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
296*f768d547SMithil Bavishi			/* dispc2_data8 */
297*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1c6, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
298*f768d547SMithil Bavishi			/* dispc2_data7 */
299*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1c8, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
300*f768d547SMithil Bavishi			/* dispc2_data6 */
301*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1ca, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
302*f768d547SMithil Bavishi			/* dispc2_data5 */
303*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1cc, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
304*f768d547SMithil Bavishi			/* dispc2_data4 */
305*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1ce, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
306*f768d547SMithil Bavishi			/* dispc2_data3 */
307*f768d547SMithil Bavishi
308*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1d0, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
309*f768d547SMithil Bavishi			/* dispc2_data2 */
310*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1d2, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
311*f768d547SMithil Bavishi			/* dispc2_data1 */
312*f768d547SMithil Bavishi			OMAP4_IOPAD(0x1d4, PIN_OFF_OUTPUT_LOW | MUX_MODE5)
313*f768d547SMithil Bavishi			/* dispc2_data0 */
314*f768d547SMithil Bavishi		>;
315*f768d547SMithil Bavishi	};
316*f768d547SMithil Bavishi
317*f768d547SMithil Bavishi	fuel_alert_irq: pinmux-fuel-alert-pins {
318*f768d547SMithil Bavishi		pinctrl-single,pins = <
319*f768d547SMithil Bavishi			OMAP4_IOPAD(0x068, PIN_INPUT_PULLUP | MUX_MODE3)
320*f768d547SMithil Bavishi			/* gpmc_a20.gpio_44 */
321*f768d547SMithil Bavishi		>;
322*f768d547SMithil Bavishi	};
323*f768d547SMithil Bavishi
324*f768d547SMithil Bavishi	i2c1_pins: pinmux-i2c1-pins {
325*f768d547SMithil Bavishi		pinctrl-single,pins = <
326*f768d547SMithil Bavishi			OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0)
327*f768d547SMithil Bavishi			/* i2c1_scl */
328*f768d547SMithil Bavishi			OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0)
329*f768d547SMithil Bavishi			/* i2c1_sda */
330*f768d547SMithil Bavishi		>;
331*f768d547SMithil Bavishi	};
332*f768d547SMithil Bavishi
333*f768d547SMithil Bavishi	i2c2_pins: pinmux-i2c2-pins {
334*f768d547SMithil Bavishi		pinctrl-single,pins = <
335*f768d547SMithil Bavishi			OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE0)
336*f768d547SMithil Bavishi			/* i2c2_scl */
337*f768d547SMithil Bavishi			OMAP4_IOPAD(0x128, PIN_INPUT_PULLUP | MUX_MODE0)
338*f768d547SMithil Bavishi			/* i2c2_sda */
339*f768d547SMithil Bavishi		>;
340*f768d547SMithil Bavishi	};
341*f768d547SMithil Bavishi
342*f768d547SMithil Bavishi	i2c3_pins: pinmux-i2c3-pins {
343*f768d547SMithil Bavishi		pinctrl-single,pins = <
344*f768d547SMithil Bavishi			OMAP4_IOPAD(0x12a, PIN_INPUT_PULLUP | MUX_MODE0)
345*f768d547SMithil Bavishi			/* i2c3_scl */
346*f768d547SMithil Bavishi			OMAP4_IOPAD(0x12c, PIN_INPUT_PULLUP | MUX_MODE0)
347*f768d547SMithil Bavishi			/* i2c3_sda */
348*f768d547SMithil Bavishi		>;
349*f768d547SMithil Bavishi	};
350*f768d547SMithil Bavishi
351*f768d547SMithil Bavishi	i2c4_pins: pinmux-i2c4-pins {
352*f768d547SMithil Bavishi		pinctrl-single,pins = <
353*f768d547SMithil Bavishi			OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0)
354*f768d547SMithil Bavishi			/* i2c4_scl */
355*f768d547SMithil Bavishi			OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0)
356*f768d547SMithil Bavishi			/* i2c4_sda */
357*f768d547SMithil Bavishi		>;
358*f768d547SMithil Bavishi	};
359*f768d547SMithil Bavishi
360*f768d547SMithil Bavishi	i2c5_pins: pinmux-i2c5-pins {
361*f768d547SMithil Bavishi		pinctrl-single,pins = <
362*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0de, PIN_INPUT_PULLUP | MUX_MODE3)
363*f768d547SMithil Bavishi			/* usbc1_icusb_dp.gpio_98 */
364*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0e0, PIN_INPUT_PULLUP | MUX_MODE3)
365*f768d547SMithil Bavishi			/* usbc1_icusb_dm.gpio_99 */
366*f768d547SMithil Bavishi		>;
367*f768d547SMithil Bavishi	};
368*f768d547SMithil Bavishi
369*f768d547SMithil Bavishi	i2c6_pins: pinmux-i2c6-pins {
370*f768d547SMithil Bavishi		pinctrl-single,pins = <
371*f768d547SMithil Bavishi			OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE3)
372*f768d547SMithil Bavishi			/* hdmi_ddc_scl.gpio_65 */
373*f768d547SMithil Bavishi			OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE3)
374*f768d547SMithil Bavishi			/* hdmi_ddc_sda.gpio_66 */
375*f768d547SMithil Bavishi		>;
376*f768d547SMithil Bavishi	};
377*f768d547SMithil Bavishi
378*f768d547SMithil Bavishi	i2c7_pins: pinmux-i2c7-pins {
379*f768d547SMithil Bavishi		pinctrl-single,pins = <
380*f768d547SMithil Bavishi			OMAP4_IOPAD(0x08a, PIN_INPUT_PULLUP | MUX_MODE3)
381*f768d547SMithil Bavishi			/* gpmc_wait0.gpio_61 */
382*f768d547SMithil Bavishi			OMAP4_IOPAD(0x08c, PIN_INPUT_PULLUP | MUX_MODE3)
383*f768d547SMithil Bavishi			/* gpmc_wait1.gpio_62 */
384*f768d547SMithil Bavishi		>;
385*f768d547SMithil Bavishi	};
386*f768d547SMithil Bavishi
387*f768d547SMithil Bavishi	ledir_pins: pimux-ledir-pins {
388*f768d547SMithil Bavishi		pinctrl-single,pins = <
389*f768d547SMithil Bavishi			OMAP4_IOPAD(0x086, PIN_INPUT_PULLDOWN | MUX_MODE7)
390*f768d547SMithil Bavishi			/* gpmc_nbe0_cle.gpio_59 */
391*f768d547SMithil Bavishi			OMAP4_IOPAD(0x156, PIN_INPUT_PULLDOWN | MUX_MODE7)
392*f768d547SMithil Bavishi			/* mcspi4_simo.gpio_152 */
393*f768d547SMithil Bavishi		>;
394*f768d547SMithil Bavishi	};
395*f768d547SMithil Bavishi
396*f768d547SMithil Bavishi	lvds_pins: pinmux-lvds-pins {
397*f768d547SMithil Bavishi		pinctrl-single,pins = <
398*f768d547SMithil Bavishi			OMAP4_IOPAD(0X136, PIN_OUTPUT | MUX_MODE3)
399*f768d547SMithil Bavishi			/* mcspi1_simo.gpio_136 - LVDS_nSHDN */
400*f768d547SMithil Bavishi		>;
401*f768d547SMithil Bavishi	};
402*f768d547SMithil Bavishi
403*f768d547SMithil Bavishi	mmc1_pins: pinmux-mmc1-pins {
404*f768d547SMithil Bavishi		pinctrl-single,pins = <
405*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0e2, PIN_INPUT_PULLDOWN | MUX_MODE0)
406*f768d547SMithil Bavishi			/* sdmmc1_clk */
407*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0e4, PIN_INPUT_PULLUP | MUX_MODE0)
408*f768d547SMithil Bavishi			/* sdmcc1_cmd */
409*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0e6, PIN_INPUT_PULLUP | MUX_MODE0)
410*f768d547SMithil Bavishi			/* sdmcc1_dat0 */
411*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0e8, PIN_INPUT_PULLUP | MUX_MODE0)
412*f768d547SMithil Bavishi			/* sdmmc1_dat1 */
413*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0ea, PIN_INPUT_PULLUP | MUX_MODE0)
414*f768d547SMithil Bavishi			/* sdmmc1_dat2 */
415*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0ec, PIN_INPUT_PULLUP | MUX_MODE0)
416*f768d547SMithil Bavishi			/* sdmmc1_dat3 */
417*f768d547SMithil Bavishi		>;
418*f768d547SMithil Bavishi	};
419*f768d547SMithil Bavishi
420*f768d547SMithil Bavishi	mmc2_pins: pinmux-mmc2-pins {
421*f768d547SMithil Bavishi		pinctrl-single,pins = <
422*f768d547SMithil Bavishi			OMAP4_IOPAD(0x040, PIN_INPUT_PULLUP | MUX_MODE1)
423*f768d547SMithil Bavishi			/* sdmmc2_dat0 */
424*f768d547SMithil Bavishi			OMAP4_IOPAD(0x042, PIN_INPUT_PULLUP | MUX_MODE1)
425*f768d547SMithil Bavishi			/* sdmmc2_dat1 */
426*f768d547SMithil Bavishi			OMAP4_IOPAD(0x044, PIN_INPUT_PULLUP | MUX_MODE1)
427*f768d547SMithil Bavishi			/* sdmmc2_dat2 */
428*f768d547SMithil Bavishi			OMAP4_IOPAD(0x046, PIN_INPUT_PULLUP | MUX_MODE1)
429*f768d547SMithil Bavishi			/* sdmmc2_dat3 */
430*f768d547SMithil Bavishi			OMAP4_IOPAD(0x048, PIN_INPUT_PULLUP | MUX_MODE1)
431*f768d547SMithil Bavishi			/* sdmmc2_dat4 */
432*f768d547SMithil Bavishi			OMAP4_IOPAD(0x04a, PIN_INPUT_PULLUP | MUX_MODE1)
433*f768d547SMithil Bavishi			/* sdmmc2_dat5 */
434*f768d547SMithil Bavishi			OMAP4_IOPAD(0x04c, PIN_INPUT_PULLUP | MUX_MODE1)
435*f768d547SMithil Bavishi			/* sdmmc2_dat6 */
436*f768d547SMithil Bavishi			OMAP4_IOPAD(0x04e, PIN_INPUT_PULLUP | MUX_MODE1)
437*f768d547SMithil Bavishi			/* sdmmc2_dat7 */
438*f768d547SMithil Bavishi			OMAP4_IOPAD(0x082, PIN_INPUT_PULLUP | MUX_MODE1)
439*f768d547SMithil Bavishi			/* sdmmc2_clk */
440*f768d547SMithil Bavishi			OMAP4_IOPAD(0x084, PIN_INPUT_PULLUP | MUX_MODE1)
441*f768d547SMithil Bavishi			/* sdmmc2_cmd */
442*f768d547SMithil Bavishi		>;
443*f768d547SMithil Bavishi	};
444*f768d547SMithil Bavishi
445*f768d547SMithil Bavishi	mmc5_pins: pinmux-mmc5-pins {
446*f768d547SMithil Bavishi		pinctrl-single,pins = <
447*f768d547SMithil Bavishi			OMAP4_IOPAD(0x148, PIN_INPUT_PULLDOWN | MUX_MODE0)
448*f768d547SMithil Bavishi			/* sdmmc5_clk.sdmmc5_clk */
449*f768d547SMithil Bavishi			OMAP4_IOPAD(0x14a, PIN_INPUT_PULLUP | MUX_MODE0)
450*f768d547SMithil Bavishi			/* sdmmc5_cmd.sdmmc5_cmd */
451*f768d547SMithil Bavishi			OMAP4_IOPAD(0x14c, PIN_INPUT_PULLUP | MUX_MODE0)
452*f768d547SMithil Bavishi			/* sdmmc5_dat0.sdmmc5_dat0 */
453*f768d547SMithil Bavishi			OMAP4_IOPAD(0x14e, PIN_INPUT_PULLUP | MUX_MODE0)
454*f768d547SMithil Bavishi			/* sdmmc5_dat1.sdmmc5_dat1 */
455*f768d547SMithil Bavishi			OMAP4_IOPAD(0x150, PIN_INPUT_PULLUP | MUX_MODE0)
456*f768d547SMithil Bavishi			/* sdmmc5_dat2.sdmmc5_dat2 */
457*f768d547SMithil Bavishi			OMAP4_IOPAD(0x152, PIN_INPUT_PULLUP | MUX_MODE0)
458*f768d547SMithil Bavishi			/* sdmmc5_dat3.sdmmc5_dat3 */
459*f768d547SMithil Bavishi		>;
460*f768d547SMithil Bavishi	};
461*f768d547SMithil Bavishi
462*f768d547SMithil Bavishi	pwm10_default: pinmux-pwm10-pins {
463*f768d547SMithil Bavishi		pinctrl-single,pins = <
464*f768d547SMithil Bavishi			OMAP4_IOPAD(0X0D6, PIN_OUTPUT | PIN_OFF_OUTPUT_LOW | MUX_MODE1)
465*f768d547SMithil Bavishi			/* usbb1_ulpitll_dat6.dmtimer10_pwm_evt - LED_BACKLIGHT_PWM */
466*f768d547SMithil Bavishi		>;
467*f768d547SMithil Bavishi	};
468*f768d547SMithil Bavishi
469*f768d547SMithil Bavishi	touch_pins: pinmux-touch-pins {
470*f768d547SMithil Bavishi		pinctrl-single,pins = <
471*f768d547SMithil Bavishi			OMAP4_IOPAD(0x06c, PIN_INPUT | MUX_MODE3)
472*f768d547SMithil Bavishi			/* gpmc_a22.gpio_46 - TSP_INT */
473*f768d547SMithil Bavishi		>;
474*f768d547SMithil Bavishi	};
475*f768d547SMithil Bavishi
476*f768d547SMithil Bavishi	uart2_pins: pinmux-uart2-pins {
477*f768d547SMithil Bavishi		pinctrl-single,pins = <
478*f768d547SMithil Bavishi			OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0)
479*f768d547SMithil Bavishi			/* uart2_cts.uart2_cts */
480*f768d547SMithil Bavishi			OMAP4_IOPAD(0x11a, PIN_INPUT_PULLUP | MUX_MODE0)
481*f768d547SMithil Bavishi			/* uart2_rts.uart2_rts */
482*f768d547SMithil Bavishi			OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0)
483*f768d547SMithil Bavishi			/* uart2_rx.uart2_rx */
484*f768d547SMithil Bavishi			OMAP4_IOPAD(0x11e, PIN_INPUT_PULLUP | MUX_MODE0)
485*f768d547SMithil Bavishi			/* uart2_tx.uart2_tx */
486*f768d547SMithil Bavishi		>;
487*f768d547SMithil Bavishi	};
488*f768d547SMithil Bavishi
489*f768d547SMithil Bavishi	uart3_pins: pinmux-uart3-pins {
490*f768d547SMithil Bavishi		pinctrl-single,pins = <
491*f768d547SMithil Bavishi			OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0)
492*f768d547SMithil Bavishi			/* uart3_rx_irrx */
493*f768d547SMithil Bavishi			OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0)
494*f768d547SMithil Bavishi			/* uart3_tx_irtx */
495*f768d547SMithil Bavishi		>;
496*f768d547SMithil Bavishi	};
497*f768d547SMithil Bavishi
498*f768d547SMithil Bavishi	vibrator_default: pinmux-vibrator-pins {
499*f768d547SMithil Bavishi		pinctrl-single,pins = <
500*f768d547SMithil Bavishi			OMAP4_IOPAD(0x05c, PIN_INPUT_PULLDOWN | MUX_MODE3)
501*f768d547SMithil Bavishi			/* gpmc_ad14.gpio_38 - MOTOR_EN */
502*f768d547SMithil Bavishi		>;
503*f768d547SMithil Bavishi	};
504*f768d547SMithil Bavishi
505*f768d547SMithil Bavishi	wlanen_gpio: pinmux-wlanen-pins {
506*f768d547SMithil Bavishi		pinctrl-single,pins = <
507*f768d547SMithil Bavishi			OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3)
508*f768d547SMithil Bavishi			/* gpmc_ncs7.gpio_104 */
509*f768d547SMithil Bavishi		>;
510*f768d547SMithil Bavishi	};
511*f768d547SMithil Bavishi
512*f768d547SMithil Bavishi	wlan_host_wake: pinmux-wlan-host-wake-pins {
513*f768d547SMithil Bavishi		pinctrl-single,pins = <
514*f768d547SMithil Bavishi			OMAP4_IOPAD(0x0bc, PIN_INPUT | MUX_MODE3)
515*f768d547SMithil Bavishi			/* cam_shutter.gpio_81 - WLAN_HOST_WAKE */
516*f768d547SMithil Bavishi		>;
517*f768d547SMithil Bavishi	};
518*f768d547SMithil Bavishi};
519*f768d547SMithil Bavishi
520*f768d547SMithil Bavishi&uart3 {
521*f768d547SMithil Bavishi	pinctrl-names = "default";
522*f768d547SMithil Bavishi	pinctrl-0 = <&uart3_pins>;
523*f768d547SMithil Bavishi
524*f768d547SMithil Bavishi	interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
525*f768d547SMithil Bavishi				   &omap4_pmx_core OMAP4_UART3_RX>;
526*f768d547SMithil Bavishi};
527*f768d547SMithil Bavishi
528*f768d547SMithil Bavishi&i2c1 {
529*f768d547SMithil Bavishi	pinctrl-names = "default";
530*f768d547SMithil Bavishi	pinctrl-0 = <&i2c1_pins>;
531*f768d547SMithil Bavishi
532*f768d547SMithil Bavishi	clock-frequency = <400000>;
533*f768d547SMithil Bavishi
534*f768d547SMithil Bavishi	twl: pmic@48 {
535*f768d547SMithil Bavishi		reg = <0x48>;
536*f768d547SMithil Bavishi		#clock-cells = <1>;
537*f768d547SMithil Bavishi
538*f768d547SMithil Bavishi		pinctrl-names = "default";
539*f768d547SMithil Bavishi		pinctrl-0 = <
540*f768d547SMithil Bavishi			&twl6030_pins
541*f768d547SMithil Bavishi			&twl6030_wkup_pins
542*f768d547SMithil Bavishi		>;
543*f768d547SMithil Bavishi
544*f768d547SMithil Bavishi		/* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
545*f768d547SMithil Bavishi		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
546*f768d547SMithil Bavishi		interrupt-parent = <&gic>;
547*f768d547SMithil Bavishi		system-power-controller;
548*f768d547SMithil Bavishi	};
549*f768d547SMithil Bavishi};
550*f768d547SMithil Bavishi
551*f768d547SMithil Bavishi#include "twl6032.dtsi"
552*f768d547SMithil Bavishi#include "twl6030_omap4.dtsi"
553*f768d547SMithil Bavishi
554*f768d547SMithil Bavishi&ldo1 {
555*f768d547SMithil Bavishi	regulator-min-microvolt = <2800000>;
556*f768d547SMithil Bavishi	regulator-max-microvolt = <2800000>;
557*f768d547SMithil Bavishi	regulator-always-on;
558*f768d547SMithil Bavishi	regulator-state-mem {
559*f768d547SMithil Bavishi		regulator-off-in-suspend;
560*f768d547SMithil Bavishi	};
561*f768d547SMithil Bavishi};
562*f768d547SMithil Bavishi
563*f768d547SMithil Bavishi&ldo3 {
564*f768d547SMithil Bavishi	regulator-min-microvolt = <3300000>;
565*f768d547SMithil Bavishi	regulator-max-microvolt = <3300000>;
566*f768d547SMithil Bavishi	regulator-always-on;
567*f768d547SMithil Bavishi	regulator-state-mem {
568*f768d547SMithil Bavishi		regulator-off-in-suspend;
569*f768d547SMithil Bavishi	};
570*f768d547SMithil Bavishi};
571*f768d547SMithil Bavishi
572*f768d547SMithil Bavishi&ldo4 {
573*f768d547SMithil Bavishi	regulator-min-microvolt = <2800000>;
574*f768d547SMithil Bavishi	regulator-max-microvolt = <2800000>;
575*f768d547SMithil Bavishi	regulator-always-on;
576*f768d547SMithil Bavishi};
577*f768d547SMithil Bavishi
578*f768d547SMithil Bavishi&ldo5 {
579*f768d547SMithil Bavishi	regulator-min-microvolt = <1800000>;
580*f768d547SMithil Bavishi	regulator-max-microvolt = <1800000>;
581*f768d547SMithil Bavishi	regulator-always-on;
582*f768d547SMithil Bavishi};
583*f768d547SMithil Bavishi
584*f768d547SMithil Bavishi&ldo6 {
585*f768d547SMithil Bavishi	regulator-min-microvolt = <1800000>;
586*f768d547SMithil Bavishi	regulator-max-microvolt = <1800000>;
587*f768d547SMithil Bavishi	regulator-always-on;
588*f768d547SMithil Bavishi	regulator-state-mem {
589*f768d547SMithil Bavishi		regulator-off-in-suspend;
590*f768d547SMithil Bavishi	};
591*f768d547SMithil Bavishi};
592*f768d547SMithil Bavishi
593*f768d547SMithil Bavishi&smps4 {
594*f768d547SMithil Bavishi	regulator-min-microvolt = <1800000>;
595*f768d547SMithil Bavishi	regulator-max-microvolt = <1800000>;
596*f768d547SMithil Bavishi	regulator-always-on;
597*f768d547SMithil Bavishi};
598*f768d547SMithil Bavishi
599*f768d547SMithil Bavishi&ldousb {
600*f768d547SMithil Bavishi	regulator-min-microvolt = <3300000>;
601*f768d547SMithil Bavishi	regulator-max-microvolt = <3300000>;
602*f768d547SMithil Bavishi	regulator-always-on;
603*f768d547SMithil Bavishi};
604*f768d547SMithil Bavishi
605*f768d547SMithil Bavishi&i2c2 {
606*f768d547SMithil Bavishi	pinctrl-names = "default";
607*f768d547SMithil Bavishi	pinctrl-0 = <&i2c2_pins>;
608*f768d547SMithil Bavishi};
609*f768d547SMithil Bavishi
610*f768d547SMithil Bavishi&i2c3 {
611*f768d547SMithil Bavishi	pinctrl-names = "default";
612*f768d547SMithil Bavishi	pinctrl-0 = <&i2c3_pins>;
613*f768d547SMithil Bavishi};
614*f768d547SMithil Bavishi
615*f768d547SMithil Bavishi&i2c4 {
616*f768d547SMithil Bavishi	pinctrl-names = "default";
617*f768d547SMithil Bavishi	pinctrl-0 = <&i2c4_pins>;
618*f768d547SMithil Bavishi
619*f768d547SMithil Bavishi	accelerometer@18 {
620*f768d547SMithil Bavishi		compatible = "bosch,bma254";
621*f768d547SMithil Bavishi		reg = <0x18>;
622*f768d547SMithil Bavishi		vdd-supply = <&ldo4>;
623*f768d547SMithil Bavishi		vddio-supply = <&ldo5>;
624*f768d547SMithil Bavishi		interrupt-parent = <&gpio4>;
625*f768d547SMithil Bavishi		interrupts = <25 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>,
626*f768d547SMithil Bavishi			<26 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
627*f768d547SMithil Bavishi	};
628*f768d547SMithil Bavishi
629*f768d547SMithil Bavishi	magnetometer@2e {
630*f768d547SMithil Bavishi		compatible = "yamaha,yas530";
631*f768d547SMithil Bavishi		reg = <0x2e>;
632*f768d547SMithil Bavishi		vdd-supply = <&ldo4>;
633*f768d547SMithil Bavishi		iovdd-supply = <&ldo5>;
634*f768d547SMithil Bavishi		reset-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
635*f768d547SMithil Bavishi		interrupts = <&gpio6 10 IRQ_TYPE_EDGE_RISING>;
636*f768d547SMithil Bavishi	};
637*f768d547SMithil Bavishi
638*f768d547SMithil Bavishi	light-sensor@44 {
639*f768d547SMithil Bavishi		compatible = "sharp,gp2ap002a00f";
640*f768d547SMithil Bavishi		reg = <0x44>;
641*f768d547SMithil Bavishi		interrupt-parent = <&gpio1>;
642*f768d547SMithil Bavishi		interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
643*f768d547SMithil Bavishi		vdd-supply = <&ldo4>;
644*f768d547SMithil Bavishi		vio-supply = <&ldo4>;
645*f768d547SMithil Bavishi		io-channels = <&gp2a_shunt>;
646*f768d547SMithil Bavishi		io-channel-names = "alsout";
647*f768d547SMithil Bavishi		sharp,proximity-far-hysteresis = /bits/ 8 <0x40>;
648*f768d547SMithil Bavishi		sharp,proximity-close-hysteresis = /bits/ 8 <0x20>;
649*f768d547SMithil Bavishi	};
650*f768d547SMithil Bavishi};
651*f768d547SMithil Bavishi
652*f768d547SMithil Bavishi&dss {
653*f768d547SMithil Bavishi	status = "okay";
654*f768d547SMithil Bavishi
655*f768d547SMithil Bavishi	pinctrl-names = "default";
656*f768d547SMithil Bavishi	pinctrl-0 = <&dss_dpi_pins>;
657*f768d547SMithil Bavishi
658*f768d547SMithil Bavishi	port {
659*f768d547SMithil Bavishi		dpi_out: endpoint {
660*f768d547SMithil Bavishi			remote-endpoint = <&bridge_in>;
661*f768d547SMithil Bavishi			data-lines = <24>;
662*f768d547SMithil Bavishi		};
663*f768d547SMithil Bavishi	};
664*f768d547SMithil Bavishi};
665*f768d547SMithil Bavishi
666*f768d547SMithil Bavishi&twl_usb_comparator {
667*f768d547SMithil Bavishi	usb-supply = <&ldousb>;
668*f768d547SMithil Bavishi};
669*f768d547SMithil Bavishi
670*f768d547SMithil Bavishi&usb_otg_hs {
671*f768d547SMithil Bavishi	interface-type = <1>;
672*f768d547SMithil Bavishi	mode = <3>;
673*f768d547SMithil Bavishi	power = <50>;
674*f768d547SMithil Bavishi};
675*f768d547SMithil Bavishi
676*f768d547SMithil Bavishi&mmc1 {
677*f768d547SMithil Bavishi	status = "okay";
678*f768d547SMithil Bavishi	pinctrl-names = "default";
679*f768d547SMithil Bavishi	pinctrl-0 = <&mmc1_pins>;
680*f768d547SMithil Bavishi
681*f768d547SMithil Bavishi	vmmc-supply = <&reg_espresso_external>;
682*f768d547SMithil Bavishi	bus-width = <4>;
683*f768d547SMithil Bavishi};
684*f768d547SMithil Bavishi
685*f768d547SMithil Bavishi&mmc2 {
686*f768d547SMithil Bavishi	pinctrl-names = "default";
687*f768d547SMithil Bavishi	pinctrl-0 = <&mmc2_pins>;
688*f768d547SMithil Bavishi
689*f768d547SMithil Bavishi	vmmc-supply = <&reg_espresso_internal>;
690*f768d547SMithil Bavishi	ti,non-removable;
691*f768d547SMithil Bavishi	bus-width = <8>;
692*f768d547SMithil Bavishi};
693*f768d547SMithil Bavishi
694*f768d547SMithil Bavishi&mmc3 {
695*f768d547SMithil Bavishi	status = "disabled";
696*f768d547SMithil Bavishi};
697*f768d547SMithil Bavishi
698*f768d547SMithil Bavishi&mmc4 {
699*f768d547SMithil Bavishi	status = "disabled";
700*f768d547SMithil Bavishi};
701*f768d547SMithil Bavishi
702*f768d547SMithil Bavishi&mmc5 {
703*f768d547SMithil Bavishi	status = "okay";
704*f768d547SMithil Bavishi
705*f768d547SMithil Bavishi	#address-cells = <1>;
706*f768d547SMithil Bavishi	#size-cells = <0>;
707*f768d547SMithil Bavishi
708*f768d547SMithil Bavishi	non-removable;
709*f768d547SMithil Bavishi	bus-width = <4>;
710*f768d547SMithil Bavishi	vmmc-supply = <&reg_espresso_wlan>;
711*f768d547SMithil Bavishi	mmc-pwrseq = <&wlan_pwrseq>;
712*f768d547SMithil Bavishi
713*f768d547SMithil Bavishi	pinctrl-names = "default";
714*f768d547SMithil Bavishi	pinctrl-0 = <&mmc5_pins>;
715*f768d547SMithil Bavishi
716*f768d547SMithil Bavishi	brcmf: wifi@1 {
717*f768d547SMithil Bavishi		compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
718*f768d547SMithil Bavishi		reg = <1>;
719*f768d547SMithil Bavishi
720*f768d547SMithil Bavishi		interrupt-parent = <&gpio3>;
721*f768d547SMithil Bavishi		interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
722*f768d547SMithil Bavishi		interrupt-names = "host-wake";
723*f768d547SMithil Bavishi		pinctrl-names = "default";
724*f768d547SMithil Bavishi		pinctrl-0 = <&wlan_host_wake>;
725*f768d547SMithil Bavishi	};
726*f768d547SMithil Bavishi};
727*f768d547SMithil Bavishi
728*f768d547SMithil Bavishi&uart2 {
729*f768d547SMithil Bavishi	interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
730*f768d547SMithil Bavishi				&omap4_pmx_core OMAP4_UART2_RX>;
731*f768d547SMithil Bavishi	pinctrl-names = "default";
732*f768d547SMithil Bavishi	pinctrl-0 = <&uart2_pins>;
733*f768d547SMithil Bavishi	bluetooth {
734*f768d547SMithil Bavishi		compatible = "brcm,bcm4330-bt";
735*f768d547SMithil Bavishi		pinctrl-names = "default";
736*f768d547SMithil Bavishi		pinctrl-0 = <&bluetooth_pins>;
737*f768d547SMithil Bavishi		shutdown-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>;
738*f768d547SMithil Bavishi		reset-gpios = <&gpio3 18 GPIO_ACTIVE_LOW>;
739*f768d547SMithil Bavishi		device-wakeup-gpios = <&gpio3 29 GPIO_ACTIVE_HIGH>;
740*f768d547SMithil Bavishi		interrupt-parent = <&gpio3>;
741*f768d547SMithil Bavishi		interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
742*f768d547SMithil Bavishi		interrupt-names = "host-wakeup";
743*f768d547SMithil Bavishi	};
744*f768d547SMithil Bavishi};
745