1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree for DA850 EVM board
5 * Copyright (C) 2012 Texas Instruments Incorporated - http://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
192 cpu-supply = <&vdcdc3_reg>;
196 * The standard da850-evm kits and SOM's are 375MHz so enable this operating
197 * point by default. Higher frequencies must be enabled for custom boards with
198 * other variants of the SoC.
230 clock-frequency = <100000>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&i2c0_pins>;
237 tlv320aic3106: tlv320aic3106@18 {
238 #sound-dai-cells = <0>;
239 compatible = "ti,tlv320aic3106";
244 IOVDD-supply = <&vdcdc2_reg>;
245 AVDD-supply = <&baseboard_3v3>;
246 DRVDD-supply = <&baseboard_3v3>;
247 DVDD-supply = <&baseboard_1v8>;
250 compatible = "ti,tca6416";
255 tca6416_bb: gpio@21 {
256 compatible = "ti,tca6416";
268 max-frequency = <50000000>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&mmc0_pins>;
273 cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>;
274 wp-gpios = <&gpio 65 GPIO_ACTIVE_HIGH>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
282 #address-cells = <1>;
284 compatible = "jedec,spi-nor";
285 spi-max-frequency = <30000000>;
289 label = "U-Boot-SPL";
290 reg = <0x00000000 0x00010000>;
295 reg = <0x00010000 0x00080000>;
299 label = "U-Boot-Env";
300 reg = <0x00090000 0x00010000>;
305 reg = <0x000a0000 0x00280000>;
308 label = "Filesystem";
309 reg = <0x00320000 0x00400000>;
312 label = "MAC-Address";
313 reg = <0x007f0000 0x00010000>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&mdio_pins>;
323 bus_freq = <2200000>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&mii_pins>;
336 /include/ "tps6507x.dtsi"
339 vdcdc1_2-supply = <&vbat>;
340 vdcdc3-supply = <&vbat>;
341 vldo1_2-supply = <&vbat>;
344 vdcdc1_reg: regulator@0 {
345 regulator-name = "VDCDC1_3.3V";
346 regulator-min-microvolt = <3150000>;
347 regulator-max-microvolt = <3450000>;
352 vdcdc2_reg: regulator@1 {
353 regulator-name = "VDCDC2_3.3V";
354 regulator-min-microvolt = <1710000>;
355 regulator-max-microvolt = <3450000>;
358 ti,defdcdc_default = <1>;
361 vdcdc3_reg: regulator@2 {
362 regulator-name = "VDCDC3_1.2V";
363 regulator-min-microvolt = <950000>;
364 regulator-max-microvolt = <1350000>;
367 ti,defdcdc_default = <1>;
370 ldo1_reg: regulator@3 {
371 regulator-name = "LDO1_1.8V";
372 regulator-min-microvolt = <1710000>;
373 regulator-max-microvolt = <1890000>;
378 ldo2_reg: regulator@4 {
379 regulator-name = "LDO2_1.2V";
380 regulator-min-microvolt = <1140000>;
381 regulator-max-microvolt = <1320000>;
389 #sound-dai-cells = <0>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&mcasp0_pins>;
394 op-mode = <0>; /* MCASP_IIS_MODE */
397 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
408 ti,edma-reserved-slot-ranges = <32 50>;
412 ti,edma-reserved-slot-ranges = <32 90>;
416 pinctrl-names = "default";
417 pinctrl-0 = <&nand_pins>;
420 #address-cells = <2>;
425 ti,cs-chipselect = <3>;
428 compatible = "ti,davinci-nand";
429 #address-cells = <1>;
431 reg = <0 0x02000000 0x02000000
432 1 0x00000000 0x00008000>;
434 ti,davinci-chipselect = <1>;
435 ti,davinci-mask-ale = <0>;
436 ti,davinci-mask-cle = <0>;
437 ti,davinci-mask-chipsel = <0>;
438 ti,davinci-ecc-mode = "hw";
439 ti,davinci-ecc-bits = <4>;
440 ti,davinci-nand-use-bbt;
458 pinctrl-names = "default";
459 pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
461 * The vpif and the LCD are mutually exclusive.
462 * To enable VPIF, disable the ti,tilcdc,panel then
463 * change the status below to 'okay'