blob: a4615b44f25e02e21a6c7ab7e391e93cbadb3f48 [file] [log] [blame]
AnilKumar Ch5fc0b422012-06-22 15:10:48 +05301/*
2 * Device Tree Source for AM33XX SoC
3 *
4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11/include/ "skeleton.dtsi"
12
13/ {
14 compatible = "ti,am33xx";
15
16 aliases {
17 serial0 = &uart1;
18 serial1 = &uart2;
19 serial2 = &uart3;
20 serial3 = &uart4;
21 serial4 = &uart5;
22 serial5 = &uart6;
23 };
24
25 cpus {
26 cpu@0 {
27 compatible = "arm,cortex-a8";
28 };
29 };
30
31 /*
32 * The soc node represents the soc top level view. It is uses for IPs
33 * that are not memory mapped in the MPU view or for the MPU itself.
34 */
35 soc {
36 compatible = "ti,omap-infra";
37 mpu {
38 compatible = "ti,omap3-mpu";
39 ti,hwmods = "mpu";
40 };
41 };
42
43 /*
44 * XXX: Use a flat representation of the AM33XX interconnect.
45 * The real AM33XX interconnect network is quite complex.Since
46 * that will not bring real advantage to represent that in DT
47 * for the moment, just use a fake OCP bus entry to represent
48 * the whole bus hierarchy.
49 */
50 ocp {
51 compatible = "simple-bus";
52 #address-cells = <1>;
53 #size-cells = <1>;
54 ranges;
55 ti,hwmods = "l3_main";
56
57 intc: interrupt-controller@48200000 {
58 compatible = "ti,omap2-intc";
59 interrupt-controller;
60 #interrupt-cells = <1>;
61 ti,intc-size = <128>;
62 reg = <0x48200000 0x1000>;
63 };
64
65 gpio1: gpio@44e07000 {
66 compatible = "ti,omap4-gpio";
67 ti,hwmods = "gpio1";
68 gpio-controller;
69 #gpio-cells = <2>;
70 interrupt-controller;
71 #interrupt-cells = <1>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +053072 reg = <0x44e07000 0x1000>;
73 interrupt-parent = <&intc>;
74 interrupts = <96>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053075 };
76
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053077 gpio2: gpio@4804c000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053078 compatible = "ti,omap4-gpio";
79 ti,hwmods = "gpio2";
80 gpio-controller;
81 #gpio-cells = <2>;
82 interrupt-controller;
83 #interrupt-cells = <1>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +053084 reg = <0x4804c000 0x1000>;
85 interrupt-parent = <&intc>;
86 interrupts = <98>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053087 };
88
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053089 gpio3: gpio@481ac000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053090 compatible = "ti,omap4-gpio";
91 ti,hwmods = "gpio3";
92 gpio-controller;
93 #gpio-cells = <2>;
94 interrupt-controller;
95 #interrupt-cells = <1>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +053096 reg = <0x481ac000 0x1000>;
97 interrupt-parent = <&intc>;
98 interrupts = <32>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053099 };
100
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530101 gpio4: gpio@481ae000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530102 compatible = "ti,omap4-gpio";
103 ti,hwmods = "gpio4";
104 gpio-controller;
105 #gpio-cells = <2>;
106 interrupt-controller;
107 #interrupt-cells = <1>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530108 reg = <0x481ae000 0x1000>;
109 interrupt-parent = <&intc>;
110 interrupts = <62>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530111 };
112
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530113 uart1: serial@44e09000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530114 compatible = "ti,omap3-uart";
115 ti,hwmods = "uart1";
116 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530117 reg = <0x44e09000 0x2000>;
118 interrupt-parent = <&intc>;
119 interrupts = <72>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530120 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530121 };
122
123 uart2: serial@48022000 {
124 compatible = "ti,omap3-uart";
125 ti,hwmods = "uart2";
126 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530127 reg = <0x48022000 0x2000>;
128 interrupt-parent = <&intc>;
129 interrupts = <73>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530130 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530131 };
132
133 uart3: serial@48024000 {
134 compatible = "ti,omap3-uart";
135 ti,hwmods = "uart3";
136 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530137 reg = <0x48024000 0x2000>;
138 interrupt-parent = <&intc>;
139 interrupts = <74>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530140 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530141 };
142
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530143 uart4: serial@481a6000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530144 compatible = "ti,omap3-uart";
145 ti,hwmods = "uart4";
146 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530147 reg = <0x481a6000 0x2000>;
148 interrupt-parent = <&intc>;
149 interrupts = <44>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530150 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530151 };
152
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530153 uart5: serial@481a8000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530154 compatible = "ti,omap3-uart";
155 ti,hwmods = "uart5";
156 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530157 reg = <0x481a8000 0x2000>;
158 interrupt-parent = <&intc>;
159 interrupts = <45>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530160 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530161 };
162
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530163 uart6: serial@481aa000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530164 compatible = "ti,omap3-uart";
165 ti,hwmods = "uart6";
166 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530167 reg = <0x481aa000 0x2000>;
168 interrupt-parent = <&intc>;
169 interrupts = <46>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530170 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530171 };
172
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530173 i2c1: i2c@44e0b000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530174 compatible = "ti,omap4-i2c";
175 #address-cells = <1>;
176 #size-cells = <0>;
177 ti,hwmods = "i2c1";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530178 reg = <0x44e0b000 0x1000>;
179 interrupt-parent = <&intc>;
180 interrupts = <70>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530181 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530182 };
183
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530184 i2c2: i2c@4802a000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530185 compatible = "ti,omap4-i2c";
186 #address-cells = <1>;
187 #size-cells = <0>;
188 ti,hwmods = "i2c2";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530189 reg = <0x4802a000 0x1000>;
190 interrupt-parent = <&intc>;
191 interrupts = <71>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530192 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530193 };
194
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +0530195 i2c3: i2c@4819c000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530196 compatible = "ti,omap4-i2c";
197 #address-cells = <1>;
198 #size-cells = <0>;
199 ti,hwmods = "i2c3";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530200 reg = <0x4819c000 0x1000>;
201 interrupt-parent = <&intc>;
202 interrupts = <30>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530203 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530204 };
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530205
206 wdt2: wdt@44e35000 {
207 compatible = "ti,omap3-wdt";
208 ti,hwmods = "wd_timer2";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530209 reg = <0x44e35000 0x1000>;
210 interrupt-parent = <&intc>;
211 interrupts = <91>;
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530212 };
Mugunthan V N1a39a652012-11-14 09:08:00 +0000213
214 mac: ethernet@4a100000 {
215 compatible = "ti,cpsw";
216 ti,hwmods = "cpgmac0";
217 cpdma_channels = <8>;
218 ale_entries = <1024>;
219 bd_ram_size = <0x2000>;
220 no_bd_ram = <0>;
221 rx_descs = <64>;
222 mac_control = <0x20>;
223 slaves = <2>;
224 cpts_active_slave = <0>;
225 cpts_clock_mult = <0x80000000>;
226 cpts_clock_shift = <29>;
227 reg = <0x4a100000 0x800
228 0x4a101200 0x100>;
229 #address-cells = <1>;
230 #size-cells = <1>;
231 interrupt-parent = <&intc>;
232 /*
233 * c0_rx_thresh_pend
234 * c0_rx_pend
235 * c0_tx_pend
236 * c0_misc_pend
237 */
238 interrupts = <40 41 42 43>;
239 ranges;
240
241 davinci_mdio: mdio@4a101000 {
242 compatible = "ti,davinci_mdio";
243 #address-cells = <1>;
244 #size-cells = <0>;
245 ti,hwmods = "davinci_mdio";
246 bus_freq = <1000000>;
247 reg = <0x4a101000 0x100>;
248 };
249
250 cpsw_emac0: slave@4a100200 {
251 /* Filled in by U-Boot */
252 mac-address = [ 00 00 00 00 00 00 ];
253 };
254
255 cpsw_emac1: slave@4a100300 {
256 /* Filled in by U-Boot */
257 mac-address = [ 00 00 00 00 00 00 ];
258 };
259
260 };
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530261 };
262};