2 * Copyright (c) 2016 BayLibre, Inc.
4 * Licensed under GPLv2.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
12 model = "DA850/AM1808/OMAP-L138 LCDK";
13 compatible = "ti,da850-lcdk", "ti,da850";
21 stdout-path = "serial2:115200n8";
25 /* 128 MB DDR2 SDRAM @ 0xc0000000 */
26 reg = <0xc0000000 0x08000000>;
34 dsp_memory_region: dsp-memory@c3000000 {
35 compatible = "shared-dma-pool";
36 reg = <0xc3000000 0x1000000>;
42 vcc_5vd: fixedregulator-vcc_5vd {
43 compatible = "regulator-fixed";
44 regulator-name = "vcc_5vd";
45 regulator-min-microvolt = <5000000>;
46 regulator-max-microvolt = <5000000>;
50 vcc_3v3d: fixedregulator-vcc_3v3d {
51 /* TPS650250 - VDCDC1 */
52 compatible = "regulator-fixed";
53 regulator-name = "vcc_3v3d";
54 regulator-min-microvolt = <3300000>;
55 regulator-max-microvolt = <3300000>;
56 vin-supply = <&vcc_5vd>;
61 vcc_1v8d: fixedregulator-vcc_1v8d {
62 /* TPS650250 - VDCDC2 */
63 compatible = "regulator-fixed";
64 regulator-name = "vcc_1v8d";
65 regulator-min-microvolt = <1800000>;
66 regulator-max-microvolt = <1800000>;
67 vin-supply = <&vcc_5vd>;
73 compatible = "simple-audio-card";
74 simple-audio-card,name = "DA850-OMAPL138 LCDK";
75 simple-audio-card,widgets =
78 "Microphone", "Mic Jack";
79 simple-audio-card,routing =
86 "Mic Jack", "Mic Bias";
87 simple-audio-card,format = "dsp_b";
88 simple-audio-card,bitclock-master = <&link0_codec>;
89 simple-audio-card,frame-master = <&link0_codec>;
90 simple-audio-card,bitclock-inversion;
92 simple-audio-card,cpu {
93 sound-dai = <&mcasp0>;
94 system-clock-frequency = <24576000>;
97 link0_codec: simple-audio-card,codec {
98 sound-dai = <&tlv320aic3106>;
99 system-clock-frequency = <24576000>;
104 compatible = "gpio-keys";
108 label = "GPIO Key USER1";
109 linux,code = <BTN_0>;
110 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
114 label = "GPIO Key USER2";
115 linux,code = <BTN_1>;
116 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
121 compatible = "ti,ths8135";
122 #address-cells = <1>;
126 #address-cells = <1>;
132 vga_bridge_in: endpoint {
133 remote-endpoint = <&lcdc_out_vga>;
140 vga_bridge_out: endpoint {
141 remote-endpoint = <&vga_con_in>;
148 compatible = "vga-connector";
150 ddc-i2c-bus = <&i2c0>;
153 vga_con_in: endpoint {
154 remote-endpoint = <&vga_bridge_out>;
161 clock-frequency = <24000000>;
167 mcasp0_pins: pinmux_mcasp0_pins {
168 pinctrl-single,bits = <
169 /* AHCLKX AFSX ACLKX */
170 0x00 0x00101010 0x00f0f0f0
172 0x04 0x00000110 0x00000ff0
176 nand_pins: nand_pins {
177 pinctrl-single,bits = <
178 /* EMA_WAIT[0], EMA_OE, EMA_WE, EMA_CS[3] */
179 0x1c 0x10110010 0xf0ff00f0
181 * EMA_D[0], EMA_D[1], EMA_D[2],
182 * EMA_D[3], EMA_D[4], EMA_D[5],
185 0x24 0x11111111 0xffffffff
187 * EMA_D[8], EMA_D[9], EMA_D[10],
188 * EMA_D[11], EMA_D[12], EMA_D[13],
189 * EMA_D[14], EMA_D[15]
191 0x20 0x11111111 0xffffffff
192 /* EMA_A[1], EMA_A[2] */
193 0x30 0x01100000 0x0ff00000
199 pinctrl-names = "default";
200 pinctrl-0 = <&serial2_rxtx_pins>;
218 clock-frequency = <100000000>;
226 pinctrl-names = "default";
227 pinctrl-0 = <&mdio_pins>;
228 bus_freq = <2200000>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&mii_pins>;
239 max-frequency = <50000000>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&mmc0_pins>;
243 cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&i2c0_pins>;
250 clock-frequency = <100000>;
253 tlv320aic3106: tlv320aic3106@18 {
254 #sound-dai-cells = <0>;
255 compatible = "ti,tlv320aic3106";
257 adc-settle-ms = <40>;
258 ai3x-micbias-vg = <1>; /* 2.0V */
262 IOVDD-supply = <&vcc_3v3d>;
263 AVDD-supply = <&vcc_3v3d>;
264 DRVDD-supply = <&vcc_3v3d>;
265 DVDD-supply = <&vcc_1v8d>;
270 #sound-dai-cells = <0>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&mcasp0_pins>;
275 op-mode = <0>; /* DAVINCI_MCASP_IIS_MODE */
277 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
300 pinctrl-names = "default";
301 pinctrl-0 = <&nand_pins>;
304 #address-cells = <2>;
309 ti,cs-chipselect = <3>;
312 compatible = "ti,davinci-nand";
313 #address-cells = <1>;
315 reg = <0 0x02000000 0x02000000
316 1 0x00000000 0x00008000>;
318 ti,davinci-chipselect = <1>;
319 ti,davinci-mask-ale = <0>;
320 ti,davinci-mask-cle = <0>;
321 ti,davinci-mask-chipsel = <0>;
323 ti,davinci-nand-buswidth = <16>;
324 ti,davinci-ecc-mode = "hw";
325 ti,davinci-ecc-bits = <4>;
326 ti,davinci-nand-use-bbt;
329 * The OMAP-L132/L138 Bootloader doc SPRAB41E reads:
330 * "To boot from NAND Flash, the AIS should be written
331 * to NAND block 1 (NAND block 0 is not used by default)".
332 * The same doc mentions that for ROM "Silicon Revision 2.1",
333 * "Updated NAND boot mode to offer boot from block 0 or block 1".
334 * However the limitaion is left here by default for compatibility
335 * with older silicon and because it needs new boot pin settings
336 * not possible in stock LCDK.
339 compatible = "fixed-partitions";
340 #address-cells = <1>;
344 label = "u-boot env";
348 /* The LCDK defaults to booting from this partition */
350 reg = <0x020000 0x080000>;
353 label = "free space";
371 pinctrl-names = "default";
372 pinctrl-0 = <&lcd_pins>;
375 lcdc_out_vga: endpoint {
376 remote-endpoint = <&vga_bridge_in>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&vpif_capture_pins>;
388 memory-region = <&dsp_memory_region>;