1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree for DA850 EVM board
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
9 #include <dt-bindings/gpio/gpio.h>
12 compatible = "ti,da850-evm", "ti,da850";
13 model = "DA850/AM1808/OMAP-L138 EVM";
16 stdout-path = &serial2;
27 backlight: backlight-pwm {
28 pinctrl-names = "default";
29 pinctrl-0 = <&ecap2_pins>;
30 power-supply = <&backlight_lcd>;
31 compatible = "pwm-backlight";
33 * The PWM here corresponds to production hardware. The
34 * schematic needs to be 1015171 (15 March 2010), Rev A
37 pwms = <&ecap2 0 50000 0>;
38 brightness-levels = <0 10 20 30 40 50 60 70 80 90 99>;
39 default-brightness-level = <7>;
43 compatible = "ti,tilcdc,panel";
44 pinctrl-names = "default";
45 pinctrl-0 = <&lcd_pins>;
47 * The vpif and the LCD are mutually exclusive.
48 * To enable VPIF, change the status below to 'disabled' then
49 * then change the status of the vpif below to 'okay'
52 enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; /* lcd_panel_pwr */
67 native-mode = <&timing0>;
69 clock-frequency = <9000000>;
81 pixelclk-active = <1>;
86 vbat: fixedregulator0 {
87 compatible = "regulator-fixed";
88 regulator-name = "vbat";
89 regulator-min-microvolt = <5000000>;
90 regulator-max-microvolt = <5000000>;
94 baseboard_3v3: fixedregulator-3v3 {
96 compatible = "regulator-fixed";
97 regulator-name = "baseboard_3v3";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 vin-supply = <&vbat>;
105 baseboard_1v8: fixedregulator-1v8 {
107 compatible = "regulator-fixed";
108 regulator-name = "baseboard_1v8";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
111 vin-supply = <&vbat>;
116 backlight_lcd: backlight-regulator {
117 compatible = "regulator-fixed";
118 regulator-name = "lcd_backlight_pwr";
119 regulator-min-microvolt = <3300000>;
120 regulator-max-microvolt = <3300000>;
121 gpio = <&gpio 47 GPIO_ACTIVE_HIGH>; /* lcd_backlight_pwr */
126 compatible = "simple-audio-card";
127 simple-audio-card,name = "DA850-OMAPL138 EVM";
128 simple-audio-card,widgets =
131 simple-audio-card,routing =
136 simple-audio-card,format = "dsp_b";
137 simple-audio-card,bitclock-master = <&link0_codec>;
138 simple-audio-card,frame-master = <&link0_codec>;
139 simple-audio-card,bitclock-inversion;
141 simple-audio-card,cpu {
142 sound-dai = <&mcasp0>;
143 system-clock-frequency = <24576000>;
146 link0_codec: simple-audio-card,codec {
147 sound-dai = <&tlv320aic3106>;
148 system-clock-frequency = <24576000>;
158 clock-frequency = <24000000>;
164 mcasp0_pins: pinmux_mcasp0_pins {
165 pinctrl-single,bits = <
167 * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
170 0x00 0x11111111 0xffffffff
172 0x04 0x00011000 0x000ff000
175 nand_pins: nand_pins {
176 pinctrl-single,bits = <
177 /* EMA_WAIT[0], EMA_OE, EMA_WE, EMA_CS[4], EMA_CS[3] */
178 0x1c 0x10110110 0xf0ff0ff0
180 * EMA_D[0], EMA_D[1], EMA_D[2],
181 * EMA_D[3], EMA_D[4], EMA_D[5],
184 0x24 0x11111111 0xffffffff
185 /* EMA_A[1], EMA_A[2] */
186 0x30 0x01100000 0x0ff00000
217 clock-frequency = <100000>;
218 pinctrl-names = "default";
219 pinctrl-0 = <&i2c0_pins>;
224 tlv320aic3106: tlv320aic3106@18 {
225 #sound-dai-cells = <0>;
226 compatible = "ti,tlv320aic3106";
231 IOVDD-supply = <&vdcdc2_reg>;
232 AVDD-supply = <&baseboard_3v3>;
233 DRVDD-supply = <&baseboard_3v3>;
234 DVDD-supply = <&baseboard_1v8>;
237 compatible = "ti,tca6416";
242 tca6416_bb: gpio@21 {
243 compatible = "ti,tca6416";
255 max-frequency = <50000000>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&mmc0_pins>;
260 cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>;
261 wp-gpios = <&gpio 65 GPIO_ACTIVE_HIGH>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
269 #address-cells = <1>;
271 compatible = "m25p64";
272 spi-max-frequency = <30000000>;
276 label = "U-Boot-SPL";
277 reg = <0x00000000 0x00010000>;
282 reg = <0x00010000 0x00080000>;
286 label = "U-Boot-Env";
287 reg = <0x00090000 0x00010000>;
292 reg = <0x000a0000 0x00280000>;
295 label = "Filesystem";
296 reg = <0x00320000 0x00400000>;
299 label = "MAC-Address";
300 reg = <0x007f0000 0x00010000>;
308 pinctrl-names = "default";
309 pinctrl-0 = <&mdio_pins>;
310 bus_freq = <2200000>;
315 pinctrl-names = "default";
316 pinctrl-0 = <&mii_pins>;
323 /include/ "tps6507x.dtsi"
326 vdcdc1_2-supply = <&vbat>;
327 vdcdc3-supply = <&vbat>;
328 vldo1_2-supply = <&vbat>;
331 vdcdc1_reg: regulator@0 {
332 regulator-name = "VDCDC1_3.3V";
333 regulator-min-microvolt = <3150000>;
334 regulator-max-microvolt = <3450000>;
339 vdcdc2_reg: regulator@1 {
340 regulator-name = "VDCDC2_3.3V";
341 regulator-min-microvolt = <1710000>;
342 regulator-max-microvolt = <3450000>;
345 ti,defdcdc_default = <1>;
348 vdcdc3_reg: regulator@2 {
349 regulator-name = "VDCDC3_1.2V";
350 regulator-min-microvolt = <950000>;
351 regulator-max-microvolt = <1350000>;
354 ti,defdcdc_default = <1>;
357 ldo1_reg: regulator@3 {
358 regulator-name = "LDO1_1.8V";
359 regulator-min-microvolt = <1710000>;
360 regulator-max-microvolt = <1890000>;
365 ldo2_reg: regulator@4 {
366 regulator-name = "LDO2_1.2V";
367 regulator-min-microvolt = <1140000>;
368 regulator-max-microvolt = <1320000>;
376 #sound-dai-cells = <0>;
378 pinctrl-names = "default";
379 pinctrl-0 = <&mcasp0_pins>;
381 op-mode = <0>; /* MCASP_IIS_MODE */
384 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
395 ti,edma-reserved-slot-ranges = <32 50>;
399 ti,edma-reserved-slot-ranges = <32 90>;
403 pinctrl-names = "default";
404 pinctrl-0 = <&nand_pins>;
407 #address-cells = <2>;
412 ti,cs-chipselect = <3>;
415 compatible = "ti,davinci-nand";
416 #address-cells = <1>;
418 reg = <0 0x02000000 0x02000000
419 1 0x00000000 0x00008000>;
421 ti,davinci-chipselect = <1>;
422 ti,davinci-mask-ale = <0>;
423 ti,davinci-mask-cle = <0>;
424 ti,davinci-mask-chipsel = <0>;
425 ti,davinci-ecc-mode = "hw";
426 ti,davinci-ecc-bits = <4>;
427 ti,davinci-nand-use-bbt;
445 pinctrl-names = "default";
446 pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
448 * The vpif and the LCD are mutually exclusive.
449 * To enable VPIF, disable the ti,tilcdc,panel then
450 * change the status below to 'okay'