2 * Device Tree for DA850 EVM board
4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, version 2.
12 #include <dt-bindings/gpio/gpio.h>
15 compatible = "ti,da850-evm", "ti,da850";
16 model = "DA850/AM1808/OMAP-L138 EVM";
19 stdout-path = &serial2;
30 backlight: backlight-pwm {
31 pinctrl-names = "default";
32 pinctrl-0 = <&ecap2_pins>;
33 power-supply = <&backlight_lcd>;
34 compatible = "pwm-backlight";
36 * The PWM here corresponds to production hardware. The
37 * schematic needs to be 1015171 (15 March 2010), Rev A
40 pwms = <&ecap2 0 50000 0>;
41 brightness-levels = <0 10 20 30 40 50 60 70 80 90 99>;
42 default-brightness-level = <7>;
46 compatible = "ti,tilcdc,panel";
47 pinctrl-names = "default";
48 pinctrl-0 = <&lcd_pins>;
50 * The vpif and the LCD are mutually exclusive.
51 * To enable VPIF, change the status below to 'disabled' then
52 * then change the status of the vpif below to 'okay'
55 enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; /* lcd_panel_pwr */
70 native-mode = <&timing0>;
72 clock-frequency = <9000000>;
84 pixelclk-active = <1>;
89 vbat: fixedregulator0 {
90 compatible = "regulator-fixed";
91 regulator-name = "vbat";
92 regulator-min-microvolt = <5000000>;
93 regulator-max-microvolt = <5000000>;
97 baseboard_3v3: fixedregulator-3v3 {
99 compatible = "regulator-fixed";
100 regulator-name = "baseboard_3v3";
101 regulator-min-microvolt = <3300000>;
102 regulator-max-microvolt = <3300000>;
103 vin-supply = <&vbat>;
108 baseboard_1v8: fixedregulator-1v8 {
110 compatible = "regulator-fixed";
111 regulator-name = "baseboard_1v8";
112 regulator-min-microvolt = <1800000>;
113 regulator-max-microvolt = <1800000>;
114 vin-supply = <&vbat>;
119 backlight_lcd: backlight-regulator {
120 compatible = "regulator-fixed";
121 regulator-name = "lcd_backlight_pwr";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
124 gpio = <&gpio 47 GPIO_ACTIVE_HIGH>; /* lcd_backlight_pwr */
129 compatible = "simple-audio-card";
130 simple-audio-card,name = "DA850-OMAPL138 EVM";
131 simple-audio-card,widgets =
134 simple-audio-card,routing =
139 simple-audio-card,format = "dsp_b";
140 simple-audio-card,bitclock-master = <&link0_codec>;
141 simple-audio-card,frame-master = <&link0_codec>;
142 simple-audio-card,bitclock-inversion;
144 simple-audio-card,cpu {
145 sound-dai = <&mcasp0>;
146 system-clock-frequency = <24576000>;
149 link0_codec: simple-audio-card,codec {
150 sound-dai = <&tlv320aic3106>;
151 system-clock-frequency = <24576000>;
161 clock-frequency = <24000000>;
167 mcasp0_pins: pinmux_mcasp0_pins {
168 pinctrl-single,bits = <
170 * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
173 0x00 0x11111111 0xffffffff
175 0x04 0x00011000 0x000ff000
178 nand_pins: nand_pins {
179 pinctrl-single,bits = <
180 /* EMA_WAIT[0], EMA_OE, EMA_WE, EMA_CS[4], EMA_CS[3] */
181 0x1c 0x10110110 0xf0ff0ff0
183 * EMA_D[0], EMA_D[1], EMA_D[2],
184 * EMA_D[3], EMA_D[4], EMA_D[5],
187 0x24 0x11111111 0xffffffff
188 /* EMA_A[1], EMA_A[2] */
189 0x30 0x01100000 0x0ff00000
220 clock-frequency = <100000>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&i2c0_pins>;
227 tlv320aic3106: tlv320aic3106@18 {
228 #sound-dai-cells = <0>;
229 compatible = "ti,tlv320aic3106";
234 IOVDD-supply = <&vdcdc2_reg>;
235 AVDD-supply = <&baseboard_3v3>;
236 DRVDD-supply = <&baseboard_3v3>;
237 DVDD-supply = <&baseboard_1v8>;
240 compatible = "ti,tca6416";
245 tca6416_bb: gpio@21 {
246 compatible = "ti,tca6416";
258 max-frequency = <50000000>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&mmc0_pins>;
263 cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>;
264 wp-gpios = <&gpio 65 GPIO_ACTIVE_HIGH>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
272 #address-cells = <1>;
274 compatible = "m25p64";
275 spi-max-frequency = <30000000>;
279 label = "U-Boot-SPL";
280 reg = <0x00000000 0x00010000>;
285 reg = <0x00010000 0x00080000>;
289 label = "U-Boot-Env";
290 reg = <0x00090000 0x00010000>;
295 reg = <0x000a0000 0x00280000>;
298 label = "Filesystem";
299 reg = <0x00320000 0x00400000>;
302 label = "MAC-Address";
303 reg = <0x007f0000 0x00010000>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&mdio_pins>;
313 bus_freq = <2200000>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&mii_pins>;
326 /include/ "tps6507x.dtsi"
329 vdcdc1_2-supply = <&vbat>;
330 vdcdc3-supply = <&vbat>;
331 vldo1_2-supply = <&vbat>;
334 vdcdc1_reg: regulator@0 {
335 regulator-name = "VDCDC1_3.3V";
336 regulator-min-microvolt = <3150000>;
337 regulator-max-microvolt = <3450000>;
342 vdcdc2_reg: regulator@1 {
343 regulator-name = "VDCDC2_3.3V";
344 regulator-min-microvolt = <1710000>;
345 regulator-max-microvolt = <3450000>;
348 ti,defdcdc_default = <1>;
351 vdcdc3_reg: regulator@2 {
352 regulator-name = "VDCDC3_1.2V";
353 regulator-min-microvolt = <950000>;
354 regulator-max-microvolt = <1350000>;
357 ti,defdcdc_default = <1>;
360 ldo1_reg: regulator@3 {
361 regulator-name = "LDO1_1.8V";
362 regulator-min-microvolt = <1710000>;
363 regulator-max-microvolt = <1890000>;
368 ldo2_reg: regulator@4 {
369 regulator-name = "LDO2_1.2V";
370 regulator-min-microvolt = <1140000>;
371 regulator-max-microvolt = <1320000>;
379 #sound-dai-cells = <0>;
381 pinctrl-names = "default";
382 pinctrl-0 = <&mcasp0_pins>;
384 op-mode = <0>; /* MCASP_IIS_MODE */
387 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
398 ti,edma-reserved-slot-ranges = <32 50>;
402 ti,edma-reserved-slot-ranges = <32 90>;
406 pinctrl-names = "default";
407 pinctrl-0 = <&nand_pins>;
410 #address-cells = <2>;
415 ti,cs-chipselect = <3>;
418 compatible = "ti,davinci-nand";
419 #address-cells = <1>;
421 reg = <0 0x02000000 0x02000000
422 1 0x00000000 0x00008000>;
424 ti,davinci-chipselect = <1>;
425 ti,davinci-mask-ale = <0>;
426 ti,davinci-mask-cle = <0>;
427 ti,davinci-mask-chipsel = <0>;
428 ti,davinci-ecc-mode = "hw";
429 ti,davinci-ecc-bits = <4>;
430 ti,davinci-nand-use-bbt;
448 pinctrl-names = "default";
449 pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
451 * The vpif and the LCD are mutually exclusive.
452 * To enable VPIF, disable the ti,tilcdc,panel then
453 * change the status below to 'okay'