blob: 6d95d3df33c7913dc0feb76598f6e94ea15cf0fa [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
Florian Vaussarde94233c2013-06-03 16:12:23 +020011#include <dt-bindings/gpio/gpio.h>
Florian Vaussard6a8a6b62013-06-03 16:12:25 +020012#include <dt-bindings/pinctrl/am33xx.h>
Florian Vaussarde94233c2013-06-03 16:12:23 +020013
Florian Vaussardeb33ef662013-06-03 16:12:22 +020014#include "skeleton.dtsi"
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053015
16/ {
17 compatible = "ti,am33xx";
Benoit Cousson4c94ac22012-10-24 10:47:52 +020018 interrupt-parent = <&intc>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053019
20 aliases {
Nishanth Menon6a968672013-10-16 15:21:04 -050021 i2c0 = &i2c0;
22 i2c1 = &i2c1;
23 i2c2 = &i2c2;
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +053024 serial0 = &uart0;
25 serial1 = &uart1;
26 serial2 = &uart2;
27 serial3 = &uart3;
28 serial4 = &uart4;
29 serial5 = &uart5;
AnilKumar Ch7a57ee82012-11-14 23:38:24 +053030 d_can0 = &dcan0;
31 d_can1 = &dcan1;
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +020032 usb0 = &usb0;
33 usb1 = &usb1;
34 phy0 = &usb0_phy;
35 phy1 = &usb1_phy;
Dan Murphy81700562013-10-02 12:58:33 -050036 ethernet0 = &cpsw_emac0;
37 ethernet1 = &cpsw_emac1;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053038 };
39
40 cpus {
Lorenzo Pieralisi2e0d5132013-04-18 18:35:59 +010041 #address-cells = <1>;
42 #size-cells = <0>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053043 cpu@0 {
44 compatible = "arm,cortex-a8";
Lorenzo Pieralisi2e0d5132013-04-18 18:35:59 +010045 device_type = "cpu";
46 reg = <0>;
AnilKumar Chefeedcf2012-08-31 15:07:20 +053047
48 /*
49 * To consider voltage drop between PMIC and SoC,
50 * tolerance value is reduced to 2% from 4% and
51 * voltage value is increased as a precaution.
52 */
53 operating-points = <
54 /* kHz uV */
55 720000 1285000
56 600000 1225000
57 500000 1125000
58 275000 1125000
59 >;
60 voltage-tolerance = <2>; /* 2 percentage */
61 clock-latency = <300000>; /* From omap-cpufreq driver */
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053062 };
63 };
64
Alexandre Belloni6797cdb2013-08-03 20:00:54 +020065 pmu {
66 compatible = "arm,cortex-a8-pmu";
67 interrupts = <3>;
68 };
69
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053070 /*
71 * The soc node represents the soc top level view. It is uses for IPs
72 * that are not memory mapped in the MPU view or for the MPU itself.
73 */
74 soc {
75 compatible = "ti,omap-infra";
76 mpu {
77 compatible = "ti,omap3-mpu";
78 ti,hwmods = "mpu";
79 };
80 };
81
AnilKumar Chb552dfc2012-09-20 02:49:26 +053082 am33xx_pinmux: pinmux@44e10800 {
83 compatible = "pinctrl-single";
84 reg = <0x44e10800 0x0238>;
85 #address-cells = <1>;
86 #size-cells = <0>;
87 pinctrl-single,register-width = <32>;
88 pinctrl-single,function-mask = <0x7f>;
89 };
90
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053091 /*
92 * XXX: Use a flat representation of the AM33XX interconnect.
93 * The real AM33XX interconnect network is quite complex.Since
94 * that will not bring real advantage to represent that in DT
95 * for the moment, just use a fake OCP bus entry to represent
96 * the whole bus hierarchy.
97 */
98 ocp {
99 compatible = "simple-bus";
100 #address-cells = <1>;
101 #size-cells = <1>;
102 ranges;
103 ti,hwmods = "l3_main";
104
Tero Kristoea291c92013-07-18 18:15:35 +0300105 prcm: prcm@44e00000 {
106 compatible = "ti,am3-prcm";
107 reg = <0x44e00000 0x4000>;
108
109 prcm_clocks: clocks {
110 #address-cells = <1>;
111 #size-cells = <0>;
112 };
113
114 prcm_clockdomains: clockdomains {
115 };
116 };
117
118 scrm: scrm@44e10000 {
119 compatible = "ti,am3-scrm";
120 reg = <0x44e10000 0x2000>;
121
122 scrm_clocks: clocks {
123 #address-cells = <1>;
124 #size-cells = <0>;
125 };
126
127 scrm_clockdomains: clockdomains {
128 };
129 };
130
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530131 intc: interrupt-controller@48200000 {
132 compatible = "ti,omap2-intc";
133 interrupt-controller;
134 #interrupt-cells = <1>;
135 ti,intc-size = <128>;
136 reg = <0x48200000 0x1000>;
137 };
138
Matt Porter505975d2013-09-10 14:24:37 -0500139 edma: edma@49000000 {
140 compatible = "ti,edma3";
141 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
142 reg = <0x49000000 0x10000>,
143 <0x44e10f90 0x10>;
144 interrupts = <12 13 14>;
145 #dma-cells = <1>;
146 dma-channels = <64>;
147 ti,edma-regions = <4>;
148 ti,edma-slots = <256>;
149 };
150
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530151 gpio0: gpio@44e07000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530152 compatible = "ti,omap4-gpio";
153 ti,hwmods = "gpio1";
154 gpio-controller;
155 #gpio-cells = <2>;
156 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200157 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530158 reg = <0x44e07000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530159 interrupts = <96>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530160 };
161
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530162 gpio1: gpio@4804c000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530163 compatible = "ti,omap4-gpio";
164 ti,hwmods = "gpio2";
165 gpio-controller;
166 #gpio-cells = <2>;
167 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200168 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530169 reg = <0x4804c000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530170 interrupts = <98>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530171 };
172
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530173 gpio2: gpio@481ac000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530174 compatible = "ti,omap4-gpio";
175 ti,hwmods = "gpio3";
176 gpio-controller;
177 #gpio-cells = <2>;
178 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200179 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530180 reg = <0x481ac000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530181 interrupts = <32>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530182 };
183
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530184 gpio3: gpio@481ae000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530185 compatible = "ti,omap4-gpio";
186 ti,hwmods = "gpio4";
187 gpio-controller;
188 #gpio-cells = <2>;
189 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200190 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530191 reg = <0x481ae000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530192 interrupts = <62>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530193 };
194
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530195 uart0: serial@44e09000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530196 compatible = "ti,omap3-uart";
197 ti,hwmods = "uart1";
198 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530199 reg = <0x44e09000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530200 interrupts = <72>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530201 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530202 };
203
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530204 uart1: serial@48022000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530205 compatible = "ti,omap3-uart";
206 ti,hwmods = "uart2";
207 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530208 reg = <0x48022000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530209 interrupts = <73>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530210 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530211 };
212
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530213 uart2: serial@48024000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530214 compatible = "ti,omap3-uart";
215 ti,hwmods = "uart3";
216 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530217 reg = <0x48024000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530218 interrupts = <74>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530219 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530220 };
221
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530222 uart3: serial@481a6000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530223 compatible = "ti,omap3-uart";
224 ti,hwmods = "uart4";
225 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530226 reg = <0x481a6000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530227 interrupts = <44>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530228 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530229 };
230
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530231 uart4: serial@481a8000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530232 compatible = "ti,omap3-uart";
233 ti,hwmods = "uart5";
234 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530235 reg = <0x481a8000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530236 interrupts = <45>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530237 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530238 };
239
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530240 uart5: serial@481aa000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530241 compatible = "ti,omap3-uart";
242 ti,hwmods = "uart6";
243 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530244 reg = <0x481aa000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530245 interrupts = <46>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530246 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530247 };
248
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530249 i2c0: i2c@44e0b000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530250 compatible = "ti,omap4-i2c";
251 #address-cells = <1>;
252 #size-cells = <0>;
253 ti,hwmods = "i2c1";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530254 reg = <0x44e0b000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530255 interrupts = <70>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530256 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530257 };
258
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530259 i2c1: i2c@4802a000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530260 compatible = "ti,omap4-i2c";
261 #address-cells = <1>;
262 #size-cells = <0>;
263 ti,hwmods = "i2c2";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530264 reg = <0x4802a000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530265 interrupts = <71>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530266 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530267 };
268
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530269 i2c2: i2c@4819c000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530270 compatible = "ti,omap4-i2c";
271 #address-cells = <1>;
272 #size-cells = <0>;
273 ti,hwmods = "i2c3";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530274 reg = <0x4819c000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530275 interrupts = <30>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530276 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530277 };
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530278
Matt Porter55b44522013-09-10 14:24:39 -0500279 mmc1: mmc@48060000 {
280 compatible = "ti,omap4-hsmmc";
281 ti,hwmods = "mmc1";
282 ti,dual-volt;
283 ti,needs-special-reset;
284 ti,needs-special-hs-handling;
285 dmas = <&edma 24
286 &edma 25>;
287 dma-names = "tx", "rx";
288 interrupts = <64>;
289 interrupt-parent = <&intc>;
290 reg = <0x48060000 0x1000>;
291 status = "disabled";
292 };
293
294 mmc2: mmc@481d8000 {
295 compatible = "ti,omap4-hsmmc";
296 ti,hwmods = "mmc2";
297 ti,needs-special-reset;
298 dmas = <&edma 2
299 &edma 3>;
300 dma-names = "tx", "rx";
301 interrupts = <28>;
302 interrupt-parent = <&intc>;
303 reg = <0x481d8000 0x1000>;
304 status = "disabled";
305 };
306
307 mmc3: mmc@47810000 {
308 compatible = "ti,omap4-hsmmc";
309 ti,hwmods = "mmc3";
310 ti,needs-special-reset;
311 interrupts = <29>;
312 interrupt-parent = <&intc>;
313 reg = <0x47810000 0x1000>;
314 status = "disabled";
315 };
316
Suman Annad4cbe802013-10-10 16:15:35 -0500317 hwspinlock: spinlock@480ca000 {
318 compatible = "ti,omap4-hwspinlock";
319 reg = <0x480ca000 0x1000>;
320 ti,hwmods = "spinlock";
321 };
322
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530323 wdt2: wdt@44e35000 {
324 compatible = "ti,omap3-wdt";
325 ti,hwmods = "wd_timer2";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530326 reg = <0x44e35000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530327 interrupts = <91>;
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530328 };
AnilKumar Ch059b1852012-09-20 02:49:27 +0530329
330 dcan0: d_can@481cc000 {
331 compatible = "bosch,d_can";
332 ti,hwmods = "d_can0";
AnilKumar Chf178c012012-11-14 23:38:25 +0530333 reg = <0x481cc000 0x2000
334 0x44e10644 0x4>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530335 interrupts = <52>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530336 status = "disabled";
337 };
338
339 dcan1: d_can@481d0000 {
340 compatible = "bosch,d_can";
341 ti,hwmods = "d_can1";
AnilKumar Chf178c012012-11-14 23:38:25 +0530342 reg = <0x481d0000 0x2000
343 0x44e10644 0x4>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530344 interrupts = <55>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530345 status = "disabled";
346 };
Jon Hunterfab8ad02012-10-19 09:59:00 -0500347
348 timer1: timer@44e31000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500349 compatible = "ti,am335x-timer-1ms";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500350 reg = <0x44e31000 0x400>;
351 interrupts = <67>;
352 ti,hwmods = "timer1";
353 ti,timer-alwon;
354 };
355
356 timer2: timer@48040000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500357 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500358 reg = <0x48040000 0x400>;
359 interrupts = <68>;
360 ti,hwmods = "timer2";
361 };
362
363 timer3: timer@48042000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500364 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500365 reg = <0x48042000 0x400>;
366 interrupts = <69>;
367 ti,hwmods = "timer3";
368 };
369
370 timer4: timer@48044000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500371 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500372 reg = <0x48044000 0x400>;
373 interrupts = <92>;
374 ti,hwmods = "timer4";
375 ti,timer-pwm;
376 };
377
378 timer5: timer@48046000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500379 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500380 reg = <0x48046000 0x400>;
381 interrupts = <93>;
382 ti,hwmods = "timer5";
383 ti,timer-pwm;
384 };
385
386 timer6: timer@48048000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500387 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500388 reg = <0x48048000 0x400>;
389 interrupts = <94>;
390 ti,hwmods = "timer6";
391 ti,timer-pwm;
392 };
393
394 timer7: timer@4804a000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500395 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500396 reg = <0x4804a000 0x400>;
397 interrupts = <95>;
398 ti,hwmods = "timer7";
399 ti,timer-pwm;
400 };
Afzal Mohammed0d935c12012-10-30 15:04:01 +0530401
402 rtc@44e3e000 {
403 compatible = "ti,da830-rtc";
404 reg = <0x44e3e000 0x1000>;
405 interrupts = <75
406 76>;
407 ti,hwmods = "rtc";
408 };
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530409
410 spi0: spi@48030000 {
411 compatible = "ti,omap4-mcspi";
412 #address-cells = <1>;
413 #size-cells = <0>;
414 reg = <0x48030000 0x400>;
Philip Avinash7b3754c2013-02-01 11:07:27 +0530415 interrupts = <65>;
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530416 ti,spi-num-cs = <2>;
417 ti,hwmods = "spi0";
Matt Porterf5e2f802013-09-10 14:24:38 -0500418 dmas = <&edma 16
419 &edma 17
420 &edma 18
421 &edma 19>;
422 dma-names = "tx0", "rx0", "tx1", "rx1";
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530423 status = "disabled";
424 };
425
426 spi1: spi@481a0000 {
427 compatible = "ti,omap4-mcspi";
428 #address-cells = <1>;
429 #size-cells = <0>;
430 reg = <0x481a0000 0x400>;
Philip Avinash7b3754c2013-02-01 11:07:27 +0530431 interrupts = <125>;
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530432 ti,spi-num-cs = <2>;
433 ti,hwmods = "spi1";
Matt Porterf5e2f802013-09-10 14:24:38 -0500434 dmas = <&edma 42
435 &edma 43
436 &edma 44
437 &edma 45>;
438 dma-names = "tx0", "rx0", "tx1", "rx1";
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530439 status = "disabled";
440 };
Ajay Kumar Gupta35b47fb2012-11-06 19:59:38 +0530441
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200442 usb: usb@47400000 {
443 compatible = "ti,am33xx-usb";
444 reg = <0x47400000 0x1000>;
445 ranges;
446 #address-cells = <1>;
447 #size-cells = <1>;
Ajay Kumar Gupta35b47fb2012-11-06 19:59:38 +0530448 ti,hwmods = "usb_otg_hs";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200449 status = "disabled";
450
Markus Pargmanne7243b72013-10-14 14:49:21 +0200451 usb_ctrl_mod: control@44e10000 {
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200452 compatible = "ti,am335x-usb-ctrl-module";
453 reg = <0x44e10620 0x10
454 0x44e10648 0x4>;
455 reg-names = "phy_ctrl", "wakeup";
456 status = "disabled";
457 };
458
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200459 usb0_phy: usb-phy@47401300 {
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200460 compatible = "ti,am335x-usb-phy";
461 reg = <0x47401300 0x100>;
462 reg-names = "phy";
463 status = "disabled";
Markus Pargmanne7243b72013-10-14 14:49:21 +0200464 ti,ctrl_mod = <&usb_ctrl_mod>;
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200465 };
466
467 usb0: usb@47401000 {
468 compatible = "ti,musb-am33xx";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200469 status = "disabled";
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200470 reg = <0x47401400 0x400
471 0x47401000 0x200>;
472 reg-names = "mc", "control";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200473
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200474 interrupts = <18>;
475 interrupt-names = "mc";
476 dr_mode = "otg";
477 mentor,multipoint = <1>;
478 mentor,num-eps = <16>;
479 mentor,ram-bits = <12>;
480 mentor,power = <500>;
481 phys = <&usb0_phy>;
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200482
483 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
484 &cppi41dma 2 0 &cppi41dma 3 0
485 &cppi41dma 4 0 &cppi41dma 5 0
486 &cppi41dma 6 0 &cppi41dma 7 0
487 &cppi41dma 8 0 &cppi41dma 9 0
488 &cppi41dma 10 0 &cppi41dma 11 0
489 &cppi41dma 12 0 &cppi41dma 13 0
490 &cppi41dma 14 0 &cppi41dma 0 1
491 &cppi41dma 1 1 &cppi41dma 2 1
492 &cppi41dma 3 1 &cppi41dma 4 1
493 &cppi41dma 5 1 &cppi41dma 6 1
494 &cppi41dma 7 1 &cppi41dma 8 1
495 &cppi41dma 9 1 &cppi41dma 10 1
496 &cppi41dma 11 1 &cppi41dma 12 1
497 &cppi41dma 13 1 &cppi41dma 14 1>;
498 dma-names =
499 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
500 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
501 "rx14", "rx15",
502 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
503 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
504 "tx14", "tx15";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200505 };
506
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200507 usb1_phy: usb-phy@47401b00 {
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200508 compatible = "ti,am335x-usb-phy";
509 reg = <0x47401b00 0x100>;
510 reg-names = "phy";
511 status = "disabled";
Markus Pargmanne7243b72013-10-14 14:49:21 +0200512 ti,ctrl_mod = <&usb_ctrl_mod>;
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200513 };
514
515 usb1: usb@47401800 {
516 compatible = "ti,musb-am33xx";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200517 status = "disabled";
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200518 reg = <0x47401c00 0x400
519 0x47401800 0x200>;
520 reg-names = "mc", "control";
521 interrupts = <19>;
522 interrupt-names = "mc";
523 dr_mode = "otg";
524 mentor,multipoint = <1>;
525 mentor,num-eps = <16>;
526 mentor,ram-bits = <12>;
527 mentor,power = <500>;
528 phys = <&usb1_phy>;
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200529
530 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
531 &cppi41dma 17 0 &cppi41dma 18 0
532 &cppi41dma 19 0 &cppi41dma 20 0
533 &cppi41dma 21 0 &cppi41dma 22 0
534 &cppi41dma 23 0 &cppi41dma 24 0
535 &cppi41dma 25 0 &cppi41dma 26 0
536 &cppi41dma 27 0 &cppi41dma 28 0
537 &cppi41dma 29 0 &cppi41dma 15 1
538 &cppi41dma 16 1 &cppi41dma 17 1
539 &cppi41dma 18 1 &cppi41dma 19 1
540 &cppi41dma 20 1 &cppi41dma 21 1
541 &cppi41dma 22 1 &cppi41dma 23 1
542 &cppi41dma 24 1 &cppi41dma 25 1
543 &cppi41dma 26 1 &cppi41dma 27 1
544 &cppi41dma 28 1 &cppi41dma 29 1>;
545 dma-names =
546 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
547 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
548 "rx14", "rx15",
549 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
550 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
551 "tx14", "tx15";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200552 };
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200553
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200554 cppi41dma: dma-controller@07402000 {
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200555 compatible = "ti,am3359-cppi41";
556 reg = <0x47400000 0x1000
557 0x47402000 0x1000
558 0x47403000 0x1000
559 0x47404000 0x4000>;
Sebastian Andrzej Siewior3b6394b2013-08-20 18:35:45 +0200560 reg-names = "glue", "controller", "scheduler", "queuemgr";
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200561 interrupts = <17>;
562 interrupt-names = "glue";
563 #dma-cells = <2>;
564 #dma-channels = <30>;
565 #dma-requests = <256>;
566 status = "disabled";
567 };
Ajay Kumar Gupta35b47fb2012-11-06 19:59:38 +0530568 };
Linus Torvalds6be35c72012-12-12 18:07:07 -0800569
Philip Avinash0a7486c2013-06-06 15:52:37 +0200570 epwmss0: epwmss@48300000 {
571 compatible = "ti,am33xx-pwmss";
572 reg = <0x48300000 0x10>;
573 ti,hwmods = "epwmss0";
574 #address-cells = <1>;
575 #size-cells = <1>;
576 status = "disabled";
577 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
578 0x48300180 0x48300180 0x80 /* EQEP */
579 0x48300200 0x48300200 0x80>; /* EHRPWM */
580
581 ecap0: ecap@48300100 {
582 compatible = "ti,am33xx-ecap";
583 #pwm-cells = <3>;
584 reg = <0x48300100 0x80>;
585 ti,hwmods = "ecap0";
586 status = "disabled";
587 };
588
589 ehrpwm0: ehrpwm@48300200 {
590 compatible = "ti,am33xx-ehrpwm";
591 #pwm-cells = <3>;
592 reg = <0x48300200 0x80>;
593 ti,hwmods = "ehrpwm0";
594 status = "disabled";
595 };
596 };
597
598 epwmss1: epwmss@48302000 {
599 compatible = "ti,am33xx-pwmss";
600 reg = <0x48302000 0x10>;
601 ti,hwmods = "epwmss1";
602 #address-cells = <1>;
603 #size-cells = <1>;
604 status = "disabled";
605 ranges = <0x48302100 0x48302100 0x80 /* ECAP */
606 0x48302180 0x48302180 0x80 /* EQEP */
607 0x48302200 0x48302200 0x80>; /* EHRPWM */
608
609 ecap1: ecap@48302100 {
610 compatible = "ti,am33xx-ecap";
611 #pwm-cells = <3>;
612 reg = <0x48302100 0x80>;
613 ti,hwmods = "ecap1";
614 status = "disabled";
615 };
616
617 ehrpwm1: ehrpwm@48302200 {
618 compatible = "ti,am33xx-ehrpwm";
619 #pwm-cells = <3>;
620 reg = <0x48302200 0x80>;
621 ti,hwmods = "ehrpwm1";
622 status = "disabled";
623 };
624 };
625
626 epwmss2: epwmss@48304000 {
627 compatible = "ti,am33xx-pwmss";
628 reg = <0x48304000 0x10>;
629 ti,hwmods = "epwmss2";
630 #address-cells = <1>;
631 #size-cells = <1>;
632 status = "disabled";
633 ranges = <0x48304100 0x48304100 0x80 /* ECAP */
634 0x48304180 0x48304180 0x80 /* EQEP */
635 0x48304200 0x48304200 0x80>; /* EHRPWM */
636
637 ecap2: ecap@48304100 {
638 compatible = "ti,am33xx-ecap";
639 #pwm-cells = <3>;
640 reg = <0x48304100 0x80>;
641 ti,hwmods = "ecap2";
642 status = "disabled";
643 };
644
645 ehrpwm2: ehrpwm@48304200 {
646 compatible = "ti,am33xx-ehrpwm";
647 #pwm-cells = <3>;
648 reg = <0x48304200 0x80>;
649 ti,hwmods = "ehrpwm2";
650 status = "disabled";
651 };
652 };
653
Mugunthan V N1a39a652012-11-14 09:08:00 +0000654 mac: ethernet@4a100000 {
655 compatible = "ti,cpsw";
656 ti,hwmods = "cpgmac0";
657 cpdma_channels = <8>;
658 ale_entries = <1024>;
659 bd_ram_size = <0x2000>;
660 no_bd_ram = <0>;
661 rx_descs = <64>;
662 mac_control = <0x20>;
663 slaves = <2>;
Mugunthan V Ne86ac132013-03-11 23:16:35 +0000664 active_slave = <0>;
Mugunthan V N1a39a652012-11-14 09:08:00 +0000665 cpts_clock_mult = <0x80000000>;
666 cpts_clock_shift = <29>;
667 reg = <0x4a100000 0x800
668 0x4a101200 0x100>;
669 #address-cells = <1>;
670 #size-cells = <1>;
671 interrupt-parent = <&intc>;
672 /*
673 * c0_rx_thresh_pend
674 * c0_rx_pend
675 * c0_tx_pend
676 * c0_misc_pend
677 */
678 interrupts = <40 41 42 43>;
679 ranges;
680
681 davinci_mdio: mdio@4a101000 {
682 compatible = "ti,davinci_mdio";
683 #address-cells = <1>;
684 #size-cells = <0>;
685 ti,hwmods = "davinci_mdio";
686 bus_freq = <1000000>;
687 reg = <0x4a101000 0x100>;
688 };
689
690 cpsw_emac0: slave@4a100200 {
691 /* Filled in by U-Boot */
692 mac-address = [ 00 00 00 00 00 00 ];
693 };
694
695 cpsw_emac1: slave@4a100300 {
696 /* Filled in by U-Boot */
697 mac-address = [ 00 00 00 00 00 00 ];
698 };
Mugunthan V N39ffbd92013-09-21 00:50:41 +0530699
700 phy_sel: cpsw-phy-sel@44e10650 {
701 compatible = "ti,am3352-cpsw-phy-sel";
702 reg= <0x44e10650 0x4>;
703 reg-names = "gmii-sel";
704 };
Mugunthan V N1a39a652012-11-14 09:08:00 +0000705 };
Vaibhav Bediaf6575c92013-01-29 16:45:07 +0530706
707 ocmcram: ocmcram@40300000 {
708 compatible = "ti,am3352-ocmcram";
709 reg = <0x40300000 0x10000>;
710 ti,hwmods = "ocmcram";
Vaibhav Bediaf6575c92013-01-29 16:45:07 +0530711 };
712
713 wkup_m3: wkup_m3@44d00000 {
714 compatible = "ti,am3353-wkup-m3";
715 reg = <0x44d00000 0x4000 /* M3 UMEM */
716 0x44d80000 0x2000>; /* M3 DMEM */
717 ti,hwmods = "wkup_m3";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530718 ti,no-reset-on-init;
Vaibhav Bediaf6575c92013-01-29 16:45:07 +0530719 };
Philip Avinashe45879e2013-05-02 15:14:03 +0530720
Philip, Avinash15e82462013-05-31 13:19:03 +0530721 elm: elm@48080000 {
722 compatible = "ti,am3352-elm";
723 reg = <0x48080000 0x2000>;
724 interrupts = <4>;
725 ti,hwmods = "elm";
726 status = "disabled";
727 };
728
Benoit Parrotd6cfc1e2013-08-08 18:28:14 -0500729 lcdc: lcdc@4830e000 {
730 compatible = "ti,am33xx-tilcdc";
731 reg = <0x4830e000 0x1000>;
732 interrupt-parent = <&intc>;
733 interrupts = <36>;
734 ti,hwmods = "lcdc";
735 status = "disabled";
736 };
737
Patil, Rachnaa82279d2013-01-24 03:45:12 +0000738 tscadc: tscadc@44e0d000 {
739 compatible = "ti,am3359-tscadc";
740 reg = <0x44e0d000 0x1000>;
741 interrupt-parent = <&intc>;
742 interrupts = <16>;
743 ti,hwmods = "adc_tsc";
744 status = "disabled";
745
746 tsc {
747 compatible = "ti,am3359-tsc";
748 };
749 am335x_adc: adc {
750 #io-channel-cells = <1>;
751 compatible = "ti,am3359-adc";
752 };
Patil, Rachnaa82279d2013-01-24 03:45:12 +0000753 };
754
Philip Avinashe45879e2013-05-02 15:14:03 +0530755 gpmc: gpmc@50000000 {
756 compatible = "ti,am3352-gpmc";
757 ti,hwmods = "gpmc";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530758 ti,no-idle-on-init;
Philip Avinashe45879e2013-05-02 15:14:03 +0530759 reg = <0x50000000 0x2000>;
760 interrupts = <100>;
Lars Poeschel00dddca2013-05-28 10:24:57 +0200761 gpmc,num-cs = <7>;
762 gpmc,num-waitpins = <2>;
Philip Avinashe45879e2013-05-02 15:14:03 +0530763 #address-cells = <2>;
764 #size-cells = <1>;
765 status = "disabled";
766 };
Mark A. Greerf8302e12013-08-23 14:12:35 -0700767
768 sham: sham@53100000 {
769 compatible = "ti,omap4-sham";
770 ti,hwmods = "sham";
771 reg = <0x53100000 0x200>;
772 interrupts = <109>;
773 dmas = <&edma 36>;
774 dma-names = "rx";
775 };
Mark A. Greer99919e5e2013-08-23 14:12:36 -0700776
777 aes: aes@53500000 {
778 compatible = "ti,omap4-aes";
779 ti,hwmods = "aes";
780 reg = <0x53500000 0xa0>;
Joel Fernandes7af88842013-07-17 19:07:52 -0500781 interrupts = <103>;
Mark A. Greer99919e5e2013-08-23 14:12:36 -0700782 dmas = <&edma 6>,
783 <&edma 5>;
784 dma-names = "tx", "rx";
785 };
Pantelis Antoniou3f72f872013-10-20 20:04:08 +0300786
787 mcasp0: mcasp@48038000 {
788 compatible = "ti,am33xx-mcasp-audio";
789 ti,hwmods = "mcasp0";
Jyri Sarha0bee55a2013-10-20 20:04:09 +0300790 reg = <0x48038000 0x2000>,
791 <0x46000000 0x400000>;
792 reg-names = "mpu", "dat";
Pantelis Antoniou3f72f872013-10-20 20:04:08 +0300793 interrupts = <80>, <81>;
794 interrupts-names = "tx", "rx";
795 status = "disabled";
796 dmas = <&edma 8>,
797 <&edma 9>;
798 dma-names = "tx", "rx";
799 };
800
801 mcasp1: mcasp@4803C000 {
802 compatible = "ti,am33xx-mcasp-audio";
803 ti,hwmods = "mcasp1";
Jyri Sarha0bee55a2013-10-20 20:04:09 +0300804 reg = <0x4803C000 0x2000>,
805 <0x46400000 0x400000>;
806 reg-names = "mpu", "dat";
Pantelis Antoniou3f72f872013-10-20 20:04:08 +0300807 interrupts = <82>, <83>;
808 interrupts-names = "tx", "rx";
809 status = "disabled";
810 dmas = <&edma 10>,
811 <&edma 11>;
812 dma-names = "tx", "rx";
813 };
Lokesh Vutlaed845d62013-08-29 18:22:09 +0530814
815 rng: rng@48310000 {
816 compatible = "ti,omap4-rng";
817 ti,hwmods = "rng";
818 reg = <0x48310000 0x2000>;
819 interrupts = <111>;
820 };
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530821 };
822};
Tero Kristoea291c92013-07-18 18:15:35 +0300823
824/include/ "am33xx-clocks.dtsi"