Linux Audio

Check our new training course

Loading...
v4.17
  1/*
  2 * Copyright (C) 2013 Marek Belisko <marek@goldelico.com>
  3 *
  4 * Based on omap3-beagle-xm.dts
  5 *
  6 * This program is free software; you can redistribute it and/or modify
  7 * it under the terms of the GNU General Public License version 2 as
  8 * published by the Free Software Foundation.
  9 */
 10/dts-v1/;
 11
 12#include "omap36xx.dtsi"
 13
 14/ {
 15	model = "OMAP3 GTA04";
 16	compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3";
 17
 18	cpus {
 19		cpu@0 {
 20			cpu0-supply = <&vcc>;
 21		};
 22	};
 23
 24	memory@80000000 {
 25		device_type = "memory";
 26		reg = <0x80000000 0x20000000>; /* 512 MB */
 27	};
 28
 29	aliases {
 30		display0 = &lcd;
 31	};
 32
 33	gpio-keys {
 34		compatible = "gpio-keys";
 35
 36		aux-button {
 37			label = "aux";
 38			linux,code = <169>;
 39			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 40			wakeup-source;
 41		};
 42	};
 43
 44	sound {
 45		compatible = "ti,omap-twl4030";
 46		ti,model = "gta04";
 47
 48		ti,mcbsp = <&mcbsp2>;
 49	};
 50
 51	 /* GSM audio */
 52	sound_telephony {
 53		compatible = "simple-audio-card";
 54		simple-audio-card,name = "GTA04 voice";
 55		simple-audio-card,bitclock-master = <&telephony_link_master>;
 56		simple-audio-card,frame-master = <&telephony_link_master>;
 57		simple-audio-card,format = "i2s";
 58		simple-audio-card,bitclock-inversion;
 59		simple-audio-card,frame-inversion;
 60		simple-audio-card,cpu {
 61			sound-dai = <&mcbsp4>;
 62		};
 63
 64		telephony_link_master: simple-audio-card,codec {
 65			sound-dai = <&gtm601_codec>;
 66		};
 67	};
 68
 69	gtm601_codec: gsm_codec {
 70		compatible = "option,gtm601";
 71		#sound-dai-cells = <0>;
 72	};
 73
 74	spi_lcd {
 75		compatible = "spi-gpio";
 76		#address-cells = <0x1>;
 77		#size-cells = <0x0>;
 78		pinctrl-names = "default";
 79		pinctrl-0 = <&spi_gpio_pins>;
 80
 81		gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
 82		gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
 83		gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
 84		cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
 85		num-chipselects = <1>;
 86
 87		/* lcd panel */
 88		lcd: td028ttec1@0 {
 89			compatible = "tpo,td028ttec1";
 90			reg = <0>;
 91			spi-max-frequency = <100000>;
 92			spi-cpol;
 93			spi-cpha;
 94
 95			label = "lcd";
 96			port {
 97				lcd_in: endpoint {
 98					remote-endpoint = <&dpi_out>;
 99				};
100			};
101		};
102	};
103
104	backlight {
105		compatible = "pwm-backlight";
106		pwms = <&pwm11 0 12000000 0>;
107		pwm-names = "backlight";
108		brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
109		default-brightness-level = <9>;	/* => 90 */
110		pinctrl-names = "default";
111		pinctrl-0 = <&backlight_pins>;
112	};
113
114	pwm11: dmtimer-pwm {
115		compatible = "ti,omap-dmtimer-pwm";
116		ti,timers = <&timer11>;
117		#pwm-cells = <3>;
118	};
119
120	hsusb2_phy: hsusb2_phy {
121		compatible = "usb-nop-xceiv";
122		reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
123		#phy-cells = <0>;
124	};
125
126	tv0: connector {
127		compatible = "svideo-connector";
128		label = "tv";
129
130		port {
131			tv_connector_in: endpoint {
132				remote-endpoint = <&opa_out>;
133			};
134		};
135	};
136
137	tv_amp: opa362 {
138		compatible = "ti,opa362";
139		enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
140
141		ports {
142			#address-cells = <1>;
143			#size-cells = <0>;
144
145			port@0 {
146				reg = <0>;
147				opa_in: endpoint {
148					remote-endpoint = <&venc_out>;
149				};
150			};
151
152			port@1 {
153				reg = <1>;
154				opa_out: endpoint {
155					remote-endpoint = <&tv_connector_in>;
156				};
157			};
158		};
159	};
160
161	wifi_pwrseq: wifi_pwrseq {
162		compatible = "mmc-pwrseq-simple";
163		reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>;	/* W2CBW003 reset through tca6507 */
164	};
165};
166
167&omap3_pmx_core {
168	pinctrl-names = "default";
169	pinctrl-0 = <
170			&hsusb2_pins
171	>;
172
173	hsusb2_pins: pinmux_hsusb2_pins {
174		pinctrl-single,pins = <
175			OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi1_cs3.hsusb2_data2 */
176			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_clk.hsusb2_data7 */
177			OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_simo.hsusb2_data4 */
178			OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_somi.hsusb2_data5 */
179			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs0.hsusb2_data6 */
180			OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs1.hsusb2_data3 */
181		>;
182	};
183
184	uart1_pins: pinmux_uart1_pins {
185		pinctrl-single,pins = <
186			OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0)		/* uart1_rx.uart1_rx */
187			OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0)		/* uart1_tx.uart1_tx */
188		>;
189	};
190
191	uart2_pins: pinmux_uart2_pins {
192		pinctrl-single,pins = <
193			OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0)		/* uart2_rx.uart2_rx */
194			OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0)		/* uart2_tx.uart2_tx */
195		>;
196	};
197
198	uart3_pins: pinmux_uart3_pins {
199		pinctrl-single,pins = <
200			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0)		/* uart3_rx.uart3_rx */
201			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx.uart3_tx */
202		>;
203	};
204
205	mmc1_pins: pinmux_mmc1_pins {
206		pinctrl-single,pins = <
207			OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_clk.sdmmc1_clk */
208			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_cmd.sdmmc1_cmd */
209			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat0.sdmmc1_dat0 */
210			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat1.sdmmc1_dat1 */
211			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat2.sdmmc1_dat2 */
212			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat3.sdmmc1_dat3 */
213		>;
214	};
215
216	backlight_pins: backlight_pins_pimnux {
217		pinctrl-single,pins = <
218			OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3)		/* gpt11/gpio57 */
219		>;
220	};
221
222	dss_dpi_pins: pinmux_dss_dpi_pins {
223               pinctrl-single,pins = <
224			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0)   /* dss_pclk.dss_pclk */
225			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0)   /* dss_hsync.dss_hsync */
226			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0)   /* dss_vsync.dss_vsync */
227			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0)   /* dss_acbias.dss_acbias */
228			OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0)   /* dss_data0.dss_data0 */
229			OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0)   /* dss_data1.dss_data1 */
230			OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0)   /* dss_data2.dss_data2 */
231			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0)   /* dss_data3.dss_data3 */
232			OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0)   /* dss_data4.dss_data4 */
233			OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0)   /* dss_data5.dss_data5 */
234			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0)   /* dss_data6.dss_data6 */
235			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0)   /* dss_data7.dss_data7 */
236			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0)   /* dss_data8.dss_data8 */
237			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0)   /* dss_data9.dss_data9 */
238			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0)   /* dss_data10.dss_data10 */
239			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0)   /* dss_data11.dss_data11 */
240			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0)   /* dss_data12.dss_data12 */
241			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0)   /* dss_data13.dss_data13 */
242			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0)   /* dss_data14.dss_data14 */
243			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0)   /* dss_data15.dss_data15 */
244			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0)   /* dss_data16.dss_data16 */
245			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0)   /* dss_data17.dss_data17 */
246			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0)   /* dss_data18.dss_data18 */
247			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0)   /* dss_data19.dss_data19 */
248			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0)   /* dss_data20.dss_data20 */
249			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0)   /* dss_data21.dss_data21 */
250			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0)   /* dss_data22.dss_data22 */
251			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)   /* dss_data23.dss_data23 */
252		>;
253       };
254
255	hdq_pins: hdq_pins {
256		pinctrl-single,pins = <
257			OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
258		>;
259	};
260
261	bma180_pins: pinmux_bma180_pins {
262		pinctrl-single,pins = <
263			OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
264		>;
265	};
266
267	itg3200_pins: pinmux_itg3200_pins {
268		pinctrl-single,pins = <
269			OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
270		>;
271	};
272
273	hmc5843_pins: pinmux_hmc5843_pins {
274		pinctrl-single,pins = <
275			OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
276		>;
277	};
278};
279
280&omap3_pmx_core2 {
281	pinctrl-names = "default";
282	pinctrl-0 = <
283			&hsusb2_2_pins
284	>;
285
286	hsusb2_2_pins: pinmux_hsusb2_2_pins {
287		pinctrl-single,pins = <
288			OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)		/* etk_d10.hsusb2_clk */
289			OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)		/* etk_d11.hsusb2_stp */
290			OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d12.hsusb2_dir */
291			OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d13.hsusb2_nxt */
292			OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d14.hsusb2_data0 */
293			OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d15.hsusb2_data1 */
294		>;
295	};
296
297	spi_gpio_pins: spi_gpio_pinmux {
298		pinctrl-single,pins = <
299			OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
300			OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
301			OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
302			OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
303		>;
304	};
305};
306
307&i2c1 {
308	clock-frequency = <2600000>;
309
310	twl: twl@48 {
311		reg = <0x48>;
312		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
313		interrupt-parent = <&intc>;
314
315		twl_audio: audio {
316			compatible = "ti,twl4030-audio";
317			ti,enable-vibra = <1>;
318			codec {
319				ti,ramp_delay_value = <3>;
320			};
321		};
322
323		twl_power: power {
324			compatible = "ti,twl4030-power";
325			ti,use_poweroff;
326		};
327	};
328};
329
330#include "twl4030.dtsi"
331#include "twl4030_omap3.dtsi"
332
333&i2c2 {
334	clock-frequency = <400000>;
335
336	/* pressure sensor */
337	bmp085@77 {
338		compatible = "bosch,bmp085";
339		reg = <0x77>;
340		interrupt-parent = <&gpio4>;
341		interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
342	};
343
344	/* accelerometer */
345	bma180@41 {
346		compatible = "bosch,bma180";
347		reg = <0x41>;
348		pinctrl-names = "default";
349		pintcrl-0 = <&bma180_pins>;
350		interrupt-parent = <&gpio4>;
351		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
352	};
353
354	/* gyroscope */
355	itg3200@68 {
356		compatible = "invensense,itg3200";
357		reg = <0x68>;
358		pinctrl-names = "default";
359		pinctrl-0 = <&itg3200_pins>;
360		interrupt-parent = <&gpio2>;
361		interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
362	};
363
364	/* leds + gpios */
365	tca6507: tca6507@45 {
366		compatible = "ti,tca6507";
367		#address-cells = <1>;
368		#size-cells = <0>;
369		reg = <0x45>;
370
371		gpio-controller;
372		#gpio-cells = <2>;
373
374		gta04_led0: red_aux@0 {
375			label = "gta04:red:aux";
376			reg = <0x0>;
377		};
378
379		gta04_led1: green_aux@1 {
380			label = "gta04:green:aux";
381			reg = <0x1>;
382		};
383
384		gta04_led3: red_power@3 {
385			label = "gta04:red:power";
386			reg = <0x3>;
387			linux,default-trigger = "default-on";
388		};
389
390		gta04_led4: green_power@4 {
391			label = "gta04:green:power";
392			reg = <0x4>;
393		};
394
395		wifi_reset: wifi_reset@6 {
396			reg = <0x6>;
397			compatible = "gpio";
398		};
399	};
400
401	/* compass aka magnetometer */
402	hmc5843@1e {
403		compatible = "honeywell,hmc5883l";
404		reg = <0x1e>;
405		pinctrl-names = "default";
406		pinctrl-0 = <&hmc5843_pins>;
407		interrupt-parent = <&gpio4>;
408		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;	/* gpio112 */
409	};
410
411	/* touchscreen */
412	tsc2007@48 {
413		compatible = "ti,tsc2007";
414		reg = <0x48>;
415		interrupt-parent = <&gpio6>;
416		interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
417		gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
418		ti,x-plate-ohms = <600>;
419	};
420
421	/* RFID EEPROM */
422	m24lr64@50 {
423		compatible = "atmel,24c64";
424		reg = <0x50>;
425	};
426};
427
428&i2c3 {
429	clock-frequency = <100000>;
430};
431
432&usb_otg_hs {
433	interface-type = <0>;
434	usb-phy = <&usb2_phy>;
435	phys = <&usb2_phy>;
436	phy-names = "usb2-phy";
437	mode = <3>;
438	power = <50>;
439};
440
441&usbhshost {
442	port2-mode = "ehci-phy";
443};
444
445&usbhsehci {
446	phys = <0 &hsusb2_phy>;
447};
448
449&mmc1 {
450	pinctrl-names = "default";
451	pinctrl-0 = <&mmc1_pins>;
452	vmmc-supply = <&vmmc1>;
453	bus-width = <4>;
454	ti,non-removable;
455};
456
457&mmc2 {
458	vmmc-supply = <&vaux4>;
459	bus-width = <4>;
460	ti,non-removable;
461	cap-power-off-card;
462	mmc-pwrseq = <&wifi_pwrseq>;
463};
464
465&mmc3 {
466	status = "disabled";
467};
468
469&twl_keypad {
470	status = "disabled";
471};
472
473&uart1 {
474	pinctrl-names = "default";
475	pinctrl-0 = <&uart1_pins>;
476};
477
478&uart2 {
479	pinctrl-names = "default";
480	pinctrl-0 = <&uart2_pins>;
481};
482
483&uart3 {
484	pinctrl-names = "default";
485	pinctrl-0 = <&uart3_pins>;
486};
487
488&charger {
489	ti,bb-uvolt = <3200000>;
490	ti,bb-uamp = <150>;
491};
492
493/* spare */
494&vaux1 {
495	regulator-min-microvolt = <2500000>;
496	regulator-max-microvolt = <3000000>;
497};
498
499/* sensors */
500&vaux2 {
501	regulator-min-microvolt = <2800000>;
502	regulator-max-microvolt = <2800000>;
503	regulator-always-on;
504};
505
506/* camera */
507&vaux3 {
508	regulator-min-microvolt = <2500000>;
509	regulator-max-microvolt = <2500000>;
510};
511
512/* WLAN/BT */
513&vaux4 {
514	regulator-min-microvolt = <2800000>;
515	regulator-max-microvolt = <3150000>;
516};
517
518/* GPS LNA */
519&vsim {
520	regulator-min-microvolt = <2800000>;
521	regulator-max-microvolt = <3150000>;
522};
523
524&dss {
525	pinctrl-names = "default";
526	pinctrl-0 = < &dss_dpi_pins >;
527
528	status = "okay";
529	vdds_dsi-supply = <&vpll2>;
530
531	port {
532		dpi_out: endpoint {
533			remote-endpoint = <&lcd_in>;
534			data-lines = <24>;
535		};
536	};
537};
538
539&venc {
540	status = "okay";
541
542	vdda-supply = <&vdac>;
543
544	port {
545		venc_out: endpoint {
546			remote-endpoint = <&opa_in>;
547			ti,channels = <2>;
548			ti,invert-polarity;
549		};
550	};
551};
552
553&gpmc {
554	ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
555
556	nand@0,0 {
557		compatible = "ti,omap2-nand";
558		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
559		interrupt-parent = <&gpmc>;
560		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
561			     <1 IRQ_TYPE_NONE>;	/* termcount */
562		nand-bus-width = <16>;
563		ti,nand-ecc-opt = "bch8";
564
565		gpmc,sync-clk-ps = <0>;
566		gpmc,cs-on-ns = <0>;
567		gpmc,cs-rd-off-ns = <44>;
568		gpmc,cs-wr-off-ns = <44>;
569		gpmc,adv-on-ns = <6>;
570		gpmc,adv-rd-off-ns = <34>;
571		gpmc,adv-wr-off-ns = <44>;
572		gpmc,we-off-ns = <40>;
573		gpmc,oe-off-ns = <54>;
574		gpmc,access-ns = <64>;
575		gpmc,rd-cycle-ns = <82>;
576		gpmc,wr-cycle-ns = <82>;
577		gpmc,wr-access-ns = <40>;
578		gpmc,wr-data-mux-bus-ns = <0>;
579		gpmc,device-width = <2>;
580
581		#address-cells = <1>;
582		#size-cells = <1>;
583
584		x-loader@0 {
585			label = "X-Loader";
586			reg = <0 0x80000>;
587		};
588
589		bootloaders@80000 {
590			label = "U-Boot";
591			reg = <0x80000 0x1e0000>;
592		};
593
594		bootloaders_env@260000 {
595			label = "U-Boot Env";
596			reg = <0x260000 0x20000>;
597		};
598
599		kernel@280000 {
600			label = "Kernel";
601			reg = <0x280000 0x400000>;
602		};
603
604		filesystem@680000 {
605			label = "File System";
606			reg = <0x680000 0xf980000>;
607		};
608	};
609};
610
611&mcbsp2 {
612	status = "okay";
613};
614
615&hdqw1w {
616        pinctrl-names = "default";
617        pinctrl-0 = <&hdq_pins>;
618};
619
620&mcbsp4 {
621	status = "okay";
622};
v4.10.11
  1/*
  2 * Copyright (C) 2013 Marek Belisko <marek@goldelico.com>
  3 *
  4 * Based on omap3-beagle-xm.dts
  5 *
  6 * This program is free software; you can redistribute it and/or modify
  7 * it under the terms of the GNU General Public License version 2 as
  8 * published by the Free Software Foundation.
  9 */
 10/dts-v1/;
 11
 12#include "omap36xx.dtsi"
 13
 14/ {
 15	model = "OMAP3 GTA04";
 16	compatible = "ti,omap3-gta04", "ti,omap36xx", "ti,omap3";
 17
 18	cpus {
 19		cpu@0 {
 20			cpu0-supply = <&vcc>;
 21		};
 22	};
 23
 24	memory@80000000 {
 25		device_type = "memory";
 26		reg = <0x80000000 0x20000000>; /* 512 MB */
 27	};
 28
 29	aliases {
 30		display0 = &lcd;
 31	};
 32
 33	gpio-keys {
 34		compatible = "gpio-keys";
 35
 36		aux-button {
 37			label = "aux";
 38			linux,code = <169>;
 39			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 40			wakeup-source;
 41		};
 42	};
 43
 44	sound {
 45		compatible = "ti,omap-twl4030";
 46		ti,model = "gta04";
 47
 48		ti,mcbsp = <&mcbsp2>;
 49	};
 50
 51	 /* GSM audio */
 52	sound_telephony {
 53		compatible = "simple-audio-card";
 54		simple-audio-card,name = "GTA04 voice";
 55		simple-audio-card,bitclock-master = <&telephony_link_master>;
 56		simple-audio-card,frame-master = <&telephony_link_master>;
 57		simple-audio-card,format = "i2s";
 58
 
 59		simple-audio-card,cpu {
 60			sound-dai = <&mcbsp4>;
 61		};
 62
 63		telephony_link_master: simple-audio-card,codec {
 64			sound-dai = <&gtm601_codec>;
 65		};
 66	};
 67
 68	gtm601_codec: gsm_codec {
 69		compatible = "option,gtm601";
 70		#sound-dai-cells = <0>;
 71	};
 72
 73	spi_lcd {
 74		compatible = "spi-gpio";
 75		#address-cells = <0x1>;
 76		#size-cells = <0x0>;
 77		pinctrl-names = "default";
 78		pinctrl-0 = <&spi_gpio_pins>;
 79
 80		gpio-sck = <&gpio1 12 GPIO_ACTIVE_HIGH>;
 81		gpio-miso = <&gpio1 18 GPIO_ACTIVE_HIGH>;
 82		gpio-mosi = <&gpio1 20 GPIO_ACTIVE_HIGH>;
 83		cs-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
 84		num-chipselects = <1>;
 85
 86		/* lcd panel */
 87		lcd: td028ttec1@0 {
 88			compatible = "toppoly,td028ttec1";
 89			reg = <0>;
 90			spi-max-frequency = <100000>;
 91			spi-cpol;
 92			spi-cpha;
 93
 94			label = "lcd";
 95			port {
 96				lcd_in: endpoint {
 97					remote-endpoint = <&dpi_out>;
 98				};
 99			};
100		};
101	};
102
103	backlight {
104		compatible = "pwm-backlight";
105		pwms = <&pwm11 0 12000000 0>;
106		pwm-names = "backlight";
107		brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
108		default-brightness-level = <9>;	/* => 90 */
109		pinctrl-names = "default";
110		pinctrl-0 = <&backlight_pins>;
111	};
112
113	pwm11: dmtimer-pwm {
114		compatible = "ti,omap-dmtimer-pwm";
115		ti,timers = <&timer11>;
116		#pwm-cells = <3>;
117	};
118
119	hsusb2_phy: hsusb2_phy {
120		compatible = "usb-nop-xceiv";
121		reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
 
122	};
123
124	tv0: connector {
125		compatible = "svideo-connector";
126		label = "tv";
127
128		port {
129			tv_connector_in: endpoint {
130				remote-endpoint = <&opa_out>;
131			};
132		};
133	};
134
135	tv_amp: opa362 {
136		compatible = "ti,opa362";
137		enable-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
138
139		ports {
140			#address-cells = <1>;
141			#size-cells = <0>;
142
143			port@0 {
144				reg = <0>;
145				opa_in: endpoint {
146					remote-endpoint = <&venc_out>;
147				};
148			};
149
150			port@1 {
151				reg = <1>;
152				opa_out: endpoint {
153					remote-endpoint = <&tv_connector_in>;
154				};
155			};
156		};
157	};
158
159	wifi_pwrseq: wifi_pwrseq {
160		compatible = "mmc-pwrseq-simple";
161		reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>;	/* W2CBW003 reset through tca6507 */
162	};
163};
164
165&omap3_pmx_core {
166	pinctrl-names = "default";
167	pinctrl-0 = <
168			&hsusb2_pins
169	>;
170
171	hsusb2_pins: pinmux_hsusb2_pins {
172		pinctrl-single,pins = <
173			OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi1_cs3.hsusb2_data2 */
174			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_clk.hsusb2_data7 */
175			OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_simo.hsusb2_data4 */
176			OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_somi.hsusb2_data5 */
177			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs0.hsusb2_data6 */
178			OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs1.hsusb2_data3 */
179		>;
180	};
181
182	uart1_pins: pinmux_uart1_pins {
183		pinctrl-single,pins = <
184			OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0)		/* uart1_rx.uart1_rx */
185			OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0)		/* uart1_tx.uart1_tx */
186		>;
187	};
188
189	uart2_pins: pinmux_uart2_pins {
190		pinctrl-single,pins = <
191			OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0)		/* uart2_rx.uart2_rx */
192			OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0)		/* uart2_tx.uart2_tx */
193		>;
194	};
195
196	uart3_pins: pinmux_uart3_pins {
197		pinctrl-single,pins = <
198			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0)		/* uart3_rx.uart3_rx */
199			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx.uart3_tx */
200		>;
201	};
202
203	mmc1_pins: pinmux_mmc1_pins {
204		pinctrl-single,pins = <
205			OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_clk.sdmmc1_clk */
206			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_cmd.sdmmc1_cmd */
207			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat0.sdmmc1_dat0 */
208			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat1.sdmmc1_dat1 */
209			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat2.sdmmc1_dat2 */
210			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat3.sdmmc1_dat3 */
211		>;
212	};
213
214	backlight_pins: backlight_pins_pimnux {
215		pinctrl-single,pins = <
216			OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3)		/* gpt11/gpio57 */
217		>;
218	};
219
220	dss_dpi_pins: pinmux_dss_dpi_pins {
221               pinctrl-single,pins = <
222			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0)   /* dss_pclk.dss_pclk */
223			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0)   /* dss_hsync.dss_hsync */
224			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0)   /* dss_vsync.dss_vsync */
225			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0)   /* dss_acbias.dss_acbias */
226			OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0)   /* dss_data0.dss_data0 */
227			OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0)   /* dss_data1.dss_data1 */
228			OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0)   /* dss_data2.dss_data2 */
229			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0)   /* dss_data3.dss_data3 */
230			OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0)   /* dss_data4.dss_data4 */
231			OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0)   /* dss_data5.dss_data5 */
232			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0)   /* dss_data6.dss_data6 */
233			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0)   /* dss_data7.dss_data7 */
234			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0)   /* dss_data8.dss_data8 */
235			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0)   /* dss_data9.dss_data9 */
236			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0)   /* dss_data10.dss_data10 */
237			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0)   /* dss_data11.dss_data11 */
238			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0)   /* dss_data12.dss_data12 */
239			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0)   /* dss_data13.dss_data13 */
240			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0)   /* dss_data14.dss_data14 */
241			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0)   /* dss_data15.dss_data15 */
242			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0)   /* dss_data16.dss_data16 */
243			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0)   /* dss_data17.dss_data17 */
244			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0)   /* dss_data18.dss_data18 */
245			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0)   /* dss_data19.dss_data19 */
246			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0)   /* dss_data20.dss_data20 */
247			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0)   /* dss_data21.dss_data21 */
248			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0)   /* dss_data22.dss_data22 */
249			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)   /* dss_data23.dss_data23 */
250		>;
251       };
252
253	hdq_pins: hdq_pins {
254		pinctrl-single,pins = <
255			OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
256		>;
257	};
258
259	bma180_pins: pinmux_bma180_pins {
260		pinctrl-single,pins = <
261			OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
262		>;
263	};
264
265	itg3200_pins: pinmux_itg3200_pins {
266		pinctrl-single,pins = <
267			OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
268		>;
269	};
270
271	hmc5843_pins: pinmux_hmc5843_pins {
272		pinctrl-single,pins = <
273			OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
274		>;
275	};
276};
277
278&omap3_pmx_core2 {
279	pinctrl-names = "default";
280	pinctrl-0 = <
281			&hsusb2_2_pins
282	>;
283
284	hsusb2_2_pins: pinmux_hsusb2_2_pins {
285		pinctrl-single,pins = <
286			OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)		/* etk_d10.hsusb2_clk */
287			OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)		/* etk_d11.hsusb2_stp */
288			OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d12.hsusb2_dir */
289			OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d13.hsusb2_nxt */
290			OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d14.hsusb2_data0 */
291			OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d15.hsusb2_data1 */
292		>;
293	};
294
295	spi_gpio_pins: spi_gpio_pinmux {
296		pinctrl-single,pins = <
297			OMAP3630_CORE2_IOPAD(0x25d8, PIN_OUTPUT | MUX_MODE4) /* clk */
298			OMAP3630_CORE2_IOPAD(0x25e6, PIN_OUTPUT | MUX_MODE4) /* cs */
299			OMAP3630_CORE2_IOPAD(0x25e8, PIN_OUTPUT | MUX_MODE4) /* tx */
300			OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT | MUX_MODE4) /* rx */
301		>;
302	};
303};
304
305&i2c1 {
306	clock-frequency = <2600000>;
307
308	twl: twl@48 {
309		reg = <0x48>;
310		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
311		interrupt-parent = <&intc>;
312
313		twl_audio: audio {
314			compatible = "ti,twl4030-audio";
315			ti,enable-vibra = <1>;
316			codec {
317				ti,ramp_delay_value = <3>;
318			};
319		};
320
321		twl_power: power {
322			compatible = "ti,twl4030-power";
323			ti,use_poweroff;
324		};
325	};
326};
327
328#include "twl4030.dtsi"
329#include "twl4030_omap3.dtsi"
330
331&i2c2 {
332	clock-frequency = <400000>;
333
334	/* pressure sensor */
335	bmp085@77 {
336		compatible = "bosch,bmp085";
337		reg = <0x77>;
338		interrupt-parent = <&gpio4>;
339		interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
340	};
341
342	/* accelerometer */
343	bma180@41 {
344		compatible = "bosch,bma180";
345		reg = <0x41>;
346		pinctrl-names = "default";
347		pintcrl-0 = <&bma180_pins>;
348		interrupt-parent = <&gpio4>;
349		interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
350	};
351
352	/* gyroscope */
353	itg3200@68 {
354		compatible = "invensense,itg3200";
355		reg = <0x68>;
356		pinctrl-names = "default";
357		pinctrl-0 = <&itg3200_pins>;
358		interrupt-parent = <&gpio2>;
359		interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
360	};
361
362	/* leds + gpios */
363	tca6507: tca6507@45 {
364		compatible = "ti,tca6507";
365		#address-cells = <1>;
366		#size-cells = <0>;
367		reg = <0x45>;
368
369		gpio-controller;
370		#gpio-cells = <2>;
371
372		gta04_led0: red_aux@0 {
373			label = "gta04:red:aux";
374			reg = <0x0>;
375		};
376
377		gta04_led1: green_aux@1 {
378			label = "gta04:green:aux";
379			reg = <0x1>;
380		};
381
382		gta04_led3: red_power@3 {
383			label = "gta04:red:power";
384			reg = <0x3>;
385			linux,default-trigger = "default-on";
386		};
387
388		gta04_led4: green_power@4 {
389			label = "gta04:green:power";
390			reg = <0x4>;
391		};
392
393		wifi_reset: wifi_reset@6 {
394			reg = <0x6>;
395			compatible = "gpio";
396		};
397	};
398
399	/* compass aka magnetometer */
400	hmc5843@1e {
401		compatible = "honeywell,hmc5883l";
402		reg = <0x1e>;
403		pinctrl-names = "default";
404		pinctrl-0 = <&hmc5843_pins>;
405		interrupt-parent = <&gpio4>;
406		interrupts = <16 IRQ_TYPE_EDGE_FALLING>;	/* gpio112 */
407	};
408
409	/* touchscreen */
410	tsc2007@48 {
411		compatible = "ti,tsc2007";
412		reg = <0x48>;
413		interrupt-parent = <&gpio6>;
414		interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */
415		gpios = <&gpio6 0 GPIO_ACTIVE_LOW>;
416		ti,x-plate-ohms = <600>;
417	};
418
419	/* RFID EEPROM */
420	m24lr64@50 {
421		compatible = "at,24c64";
422		reg = <0x50>;
423	};
424};
425
426&i2c3 {
427	clock-frequency = <100000>;
428};
429
430&usb_otg_hs {
431	interface-type = <0>;
432	usb-phy = <&usb2_phy>;
433	phys = <&usb2_phy>;
434	phy-names = "usb2-phy";
435	mode = <3>;
436	power = <50>;
437};
438
439&usbhshost {
440	port2-mode = "ehci-phy";
441};
442
443&usbhsehci {
444	phys = <0 &hsusb2_phy>;
445};
446
447&mmc1 {
448	pinctrl-names = "default";
449	pinctrl-0 = <&mmc1_pins>;
450	vmmc-supply = <&vmmc1>;
451	bus-width = <4>;
452	ti,non-removable;
453};
454
455&mmc2 {
456	vmmc-supply = <&vaux4>;
457	bus-width = <4>;
458	ti,non-removable;
459	cap-power-off-card;
460	mmc-pwrseq = <&wifi_pwrseq>;
461};
462
463&mmc3 {
464	status = "disabled";
465};
466
467&twl_keypad {
468	status = "disabled";
469};
470
471&uart1 {
472	pinctrl-names = "default";
473	pinctrl-0 = <&uart1_pins>;
474};
475
476&uart2 {
477	pinctrl-names = "default";
478	pinctrl-0 = <&uart2_pins>;
479};
480
481&uart3 {
482	pinctrl-names = "default";
483	pinctrl-0 = <&uart3_pins>;
484};
485
486&charger {
487	ti,bb-uvolt = <3200000>;
488	ti,bb-uamp = <150>;
489};
490
491/* spare */
492&vaux1 {
493	regulator-min-microvolt = <2500000>;
494	regulator-max-microvolt = <3000000>;
495};
496
497/* sensors */
498&vaux2 {
499	regulator-min-microvolt = <2800000>;
500	regulator-max-microvolt = <2800000>;
501	regulator-always-on;
502};
503
504/* camera */
505&vaux3 {
506	regulator-min-microvolt = <2500000>;
507	regulator-max-microvolt = <2500000>;
508};
509
510/* WLAN/BT */
511&vaux4 {
512	regulator-min-microvolt = <2800000>;
513	regulator-max-microvolt = <3150000>;
514};
515
516/* GPS LNA */
517&vsim {
518	regulator-min-microvolt = <2800000>;
519	regulator-max-microvolt = <3150000>;
520};
521
522&dss {
523	pinctrl-names = "default";
524	pinctrl-0 = < &dss_dpi_pins >;
525
526	status = "okay";
527	vdds_dsi-supply = <&vpll2>;
528
529	port {
530		dpi_out: endpoint {
531			remote-endpoint = <&lcd_in>;
532			data-lines = <24>;
533		};
534	};
535};
536
537&venc {
538	status = "okay";
539
540	vdda-supply = <&vdac>;
541
542	port {
543		venc_out: endpoint {
544			remote-endpoint = <&opa_in>;
545			ti,channels = <2>;
546			ti,invert-polarity;
547		};
548	};
549};
550
551&gpmc {
552	ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
553
554	nand@0,0 {
555		compatible = "ti,omap2-nand";
556		reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
557		interrupt-parent = <&gpmc>;
558		interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
559			     <1 IRQ_TYPE_NONE>;	/* termcount */
560		nand-bus-width = <16>;
561		ti,nand-ecc-opt = "bch8";
562
563		gpmc,sync-clk-ps = <0>;
564		gpmc,cs-on-ns = <0>;
565		gpmc,cs-rd-off-ns = <44>;
566		gpmc,cs-wr-off-ns = <44>;
567		gpmc,adv-on-ns = <6>;
568		gpmc,adv-rd-off-ns = <34>;
569		gpmc,adv-wr-off-ns = <44>;
570		gpmc,we-off-ns = <40>;
571		gpmc,oe-off-ns = <54>;
572		gpmc,access-ns = <64>;
573		gpmc,rd-cycle-ns = <82>;
574		gpmc,wr-cycle-ns = <82>;
575		gpmc,wr-access-ns = <40>;
576		gpmc,wr-data-mux-bus-ns = <0>;
577		gpmc,device-width = <2>;
578
579		#address-cells = <1>;
580		#size-cells = <1>;
581
582		x-loader@0 {
583			label = "X-Loader";
584			reg = <0 0x80000>;
585		};
586
587		bootloaders@80000 {
588			label = "U-Boot";
589			reg = <0x80000 0x1e0000>;
590		};
591
592		bootloaders_env@260000 {
593			label = "U-Boot Env";
594			reg = <0x260000 0x20000>;
595		};
596
597		kernel@280000 {
598			label = "Kernel";
599			reg = <0x280000 0x400000>;
600		};
601
602		filesystem@680000 {
603			label = "File System";
604			reg = <0x680000 0xf980000>;
605		};
606	};
607};
608
609&mcbsp2 {
610	status = "okay";
611};
612
613&hdqw1w {
614        pinctrl-names = "default";
615        pinctrl-0 = <&hdq_pins>;
616};
617
618&mcbsp4 {
619	status = "okay";
620};