blob: 41715b495861f0433163deafb5243ce4f3673e83 [file] [log] [blame]
Sekhar Nori27e6e0d2012-08-29 23:25:27 +05301/*
2 * Device Tree for DA850 EVM board
3 *
4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
5 *
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.
9 */
10/dts-v1/;
Philip Avinasha2bcd772013-06-14 15:15:53 +053011#include "da850.dtsi"
Sekhar Nori27e6e0d2012-08-29 23:25:27 +053012
13/ {
14 compatible = "ti,da850-evm", "ti,da850";
15 model = "DA850/AM1808/OMAP-L138 EVM";
16
17 soc {
Kumar, Anil1faaba32013-01-16 14:37:39 +053018 pmx_core: pinmux@1c14120 {
19 status = "okay";
Peter Ujfalusi4ec582e2014-08-01 09:13:28 +030020
21 mcasp0_pins: pinmux_mcasp0_pins {
22 pinctrl-single,bits = <
23 /*
24 * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
25 * AFSR, AMUTE
26 */
27 0x00 0x11111111 0xffffffff
28 /* AXR11, AXR12 */
29 0x04 0x00011000 0x000ff000
30 >;
31 };
Kumar, Anil1faaba32013-01-16 14:37:39 +053032 };
Sekhar Nori27e6e0d2012-08-29 23:25:27 +053033 serial0: serial@1c42000 {
34 status = "okay";
35 };
36 serial1: serial@1d0c000 {
37 status = "okay";
38 };
39 serial2: serial@1d0d000 {
40 status = "okay";
41 };
Mrugesh Katepallewar16616362013-01-28 13:17:48 +053042 rtc0: rtc@1c23000 {
43 status = "okay";
44 };
Vishwanathrao Badarkhe, Manish01729cc2013-02-06 15:06:22 +053045 i2c0: i2c@1c22000 {
46 status = "okay";
47 clock-frequency = <100000>;
48 pinctrl-names = "default";
49 pinctrl-0 = <&i2c0_pins>;
Vishwanathrao Badarkhe, Manishc3847a32013-03-07 11:56:21 +053050
51 tps: tps@48 {
52 reg = <0x48>;
53 };
Peter Ujfalusi204a87e2014-08-01 09:13:29 +030054 tlv320aic3106: tlv320aic3106@18 {
55 compatible = "ti,tlv320aic3106";
56 reg = <0x18>;
57 status = "okay";
58
59 /* Regulators */
60 IOVDD-supply = <&vdcdc2_reg>;
61 /* Derived from VBAT: Baseboard 3.3V / 1.8V */
62 AVDD-supply = <&vbat>;
63 DRVDD-supply = <&vbat>;
64 DVDD-supply = <&vbat>;
65 };
66
Vishwanathrao Badarkhe, Manish01729cc2013-02-06 15:06:22 +053067 };
Kumar, Anil518f97d2013-02-06 09:30:03 +053068 wdt: wdt@1c21000 {
69 status = "okay";
70 };
Manjunathappa, Prakash88df4122013-03-28 18:42:01 +053071 mmc0: mmc@1c40000 {
72 max-frequency = <50000000>;
73 bus-width = <4>;
74 status = "okay";
75 pinctrl-names = "default";
76 pinctrl-0 = <&mmc0_pins>;
77 };
Manjunathappa, Prakash4f4d9d42013-04-03 19:39:10 +053078 spi1: spi@1f0e000 {
79 status = "okay";
80 pinctrl-names = "default";
81 pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
82 flash: m25p80@0 {
83 #address-cells = <1>;
84 #size-cells = <1>;
85 compatible = "m25p64";
86 spi-max-frequency = <30000000>;
87 reg = <0>;
88 partition@0 {
89 label = "U-Boot-SPL";
90 reg = <0x00000000 0x00010000>;
91 read-only;
92 };
93 partition@1 {
94 label = "U-Boot";
95 reg = <0x00010000 0x00080000>;
96 read-only;
97 };
98 partition@2 {
99 label = "U-Boot-Env";
100 reg = <0x00090000 0x00010000>;
101 read-only;
102 };
103 partition@3 {
104 label = "Kernel";
105 reg = <0x000a0000 0x00280000>;
106 };
107 partition@4 {
108 label = "Filesystem";
109 reg = <0x00320000 0x00400000>;
110 };
111 partition@5 {
112 label = "MAC-Address";
113 reg = <0x007f0000 0x00010000>;
114 read-only;
115 };
116 };
117 };
Lad, Prabhakar609f4bc2013-08-15 11:31:34 +0530118 mdio: mdio@1e24000 {
119 status = "okay";
120 pinctrl-names = "default";
121 pinctrl-0 = <&mdio_pins>;
122 bus_freq = <2200000>;
123 };
Lad, Prabhakardd7deaf2013-08-16 22:37:09 +0530124 eth0: ethernet@1e20000 {
125 status = "okay";
126 pinctrl-names = "default";
127 pinctrl-0 = <&mii_pins>;
128 };
KV Sujith3a9574f2013-11-21 23:45:31 +0530129 gpio: gpio@1e26000 {
130 status = "okay";
131 };
Sekhar Nori27e6e0d2012-08-29 23:25:27 +0530132 };
Kumar, Anil99b88002013-01-16 14:37:41 +0530133 nand_cs3@62000000 {
134 status = "okay";
135 pinctrl-names = "default";
136 pinctrl-0 = <&nand_cs3_pins>;
137 };
Vishwanathrao Badarkhe, Manishc3847a32013-03-07 11:56:21 +0530138 vbat: fixedregulator@0 {
139 compatible = "regulator-fixed";
140 regulator-name = "vbat";
141 regulator-min-microvolt = <5000000>;
142 regulator-max-microvolt = <5000000>;
143 regulator-boot-on;
144 };
145};
146
147/include/ "tps6507x.dtsi"
148
149&tps {
150 vdcdc1_2-supply = <&vbat>;
151 vdcdc3-supply = <&vbat>;
152 vldo1_2-supply = <&vbat>;
153
154 regulators {
155 vdcdc1_reg: regulator@0 {
156 regulator-name = "VDCDC1_3.3V";
157 regulator-min-microvolt = <3150000>;
158 regulator-max-microvolt = <3450000>;
159 regulator-always-on;
160 regulator-boot-on;
161 };
162
163 vdcdc2_reg: regulator@1 {
164 regulator-name = "VDCDC2_3.3V";
165 regulator-min-microvolt = <1710000>;
166 regulator-max-microvolt = <3450000>;
167 regulator-always-on;
168 regulator-boot-on;
169 ti,defdcdc_default = <1>;
170 };
171
172 vdcdc3_reg: regulator@2 {
173 regulator-name = "VDCDC3_1.2V";
174 regulator-min-microvolt = <950000>;
175 regulator-max-microvolt = <1350000>;
176 regulator-always-on;
177 regulator-boot-on;
178 ti,defdcdc_default = <1>;
179 };
180
181 ldo1_reg: regulator@3 {
182 regulator-name = "LDO1_1.8V";
183 regulator-min-microvolt = <1710000>;
184 regulator-max-microvolt = <1890000>;
185 regulator-always-on;
186 regulator-boot-on;
187 };
188
189 ldo2_reg: regulator@4 {
190 regulator-name = "LDO2_1.2V";
191 regulator-min-microvolt = <1140000>;
192 regulator-max-microvolt = <1320000>;
193 regulator-always-on;
194 regulator-boot-on;
195 };
196 };
Sekhar Nori27e6e0d2012-08-29 23:25:27 +0530197};
Peter Ujfalusi4ec582e2014-08-01 09:13:28 +0300198
199&mcasp0 {
200 status = "okay";
201 pinctrl-names = "default";
202 pinctrl-0 = <&mcasp0_pins>;
203
204 op-mode = <0>; /* MCASP_IIS_MODE */
205 tdm-slots = <2>;
206 /* 4 serializer */
207 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
208 0 0 0 0
209 0 0 0 0
210 0 0 0 1
211 2 0 0 0
212 >;
213 tx-num-evt = <32>;
214 rx-num-evt = <32>;
215};