2 * Copyright (c) 2016 BayLibre, Inc.
4 * Licensed under GPLv2.
8 #include <dt-bindings/gpio/gpio.h>
11 model = "DA850/AM1808/OMAP-L138 LCDK";
12 compatible = "ti,da850-lcdk", "ti,da850";
20 stdout-path = "serial2:115200n8";
24 device_type = "memory";
25 reg = <0xc0000000 0x08000000>;
29 compatible = "simple-audio-card";
30 simple-audio-card,name = "DA850/OMAP-L138 LCDK";
31 simple-audio-card,widgets =
34 simple-audio-card,routing =
39 simple-audio-card,format = "dsp_b";
40 simple-audio-card,bitclock-master = <&link0_codec>;
41 simple-audio-card,frame-master = <&link0_codec>;
42 simple-audio-card,bitclock-inversion;
44 simple-audio-card,cpu {
45 sound-dai = <&mcasp0>;
46 system-clock-frequency = <24576000>;
49 link0_codec: simple-audio-card,codec {
50 sound-dai = <&tlv320aic3106>;
51 system-clock-frequency = <24576000>;
59 mcasp0_pins: pinmux_mcasp0_pins {
60 pinctrl-single,bits = <
61 /* AHCLKX AFSX ACLKX */
62 0x00 0x00101010 0x00f0f0f0
64 0x04 0x00000110 0x00000ff0
68 nand_pins: nand_pins {
69 pinctrl-single,bits = <
70 /* EMA_WAIT[0], EMA_OE, EMA_WE, EMA_CS[3] */
71 0x1c 0x10110010 0xf0ff00f0
73 * EMA_D[0], EMA_D[1], EMA_D[2],
74 * EMA_D[3], EMA_D[4], EMA_D[5],
77 0x24 0x11111111 0xffffffff
79 * EMA_D[8], EMA_D[9], EMA_D[10],
80 * EMA_D[11], EMA_D[12], EMA_D[13],
81 * EMA_D[14], EMA_D[15]
83 0x20 0x11111111 0xffffffff
84 /* EMA_A[1], EMA_A[2] */
85 0x30 0x01100000 0x0ff00000
91 pinctrl-names = "default";
92 pinctrl-0 = <&serial2_rxtx_pins>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&mdio_pins>;
111 bus_freq = <2200000>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&mii_pins>;
122 max-frequency = <50000000>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&mmc0_pins>;
126 cd-gpios = <&gpio 64 GPIO_ACTIVE_LOW>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&i2c0_pins>;
133 clock-frequency = <100000>;
136 tlv320aic3106: tlv320aic3106@18 {
137 #sound-dai-cells = <0>;
138 compatible = "ti,tlv320aic3106";
145 #sound-dai-cells = <0>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&mcasp0_pins>;
150 op-mode = <0>; /* DAVINCI_MCASP_IIS_MODE */
152 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
171 pinctrl-names = "default";
172 pinctrl-0 = <&nand_pins>;
175 #address-cells = <2>;
180 ti,cs-chipselect = <3>;
183 compatible = "ti,davinci-nand";
184 #address-cells = <1>;
186 reg = <0 0x02000000 0x02000000
187 1 0x00000000 0x00008000>;
189 ti,davinci-chipselect = <1>;
190 ti,davinci-mask-ale = <0>;
191 ti,davinci-mask-cle = <0>;
192 ti,davinci-mask-chipsel = <0>;
194 ti,davinci-nand-buswidth = <16>;
195 ti,davinci-ecc-mode = "hw";
196 ti,davinci-ecc-bits = <4>;
197 ti,davinci-nand-use-bbt;
200 * The OMAP-L132/L138 Bootloader doc SPRAB41E reads:
201 * "To boot from NAND Flash, the AIS should be written
202 * to NAND block 1 (NAND block 0 is not used by default)".
203 * The same doc mentions that for ROM "Silicon Revision 2.1",
204 * "Updated NAND boot mode to offer boot from block 0 or block 1".
205 * However the limitaion is left here by default for compatibility
206 * with older silicon and because it needs new boot pin settings
207 * not possible in stock LCDK.
210 compatible = "fixed-partitions";
211 #address-cells = <1>;
215 label = "u-boot env";
219 /* The LCDK defaults to booting from this partition */
221 reg = <0x020000 0x080000>;
224 label = "free space";