blob: d0ecefd75cc2f5426322a1a300203ee007e0fb57 [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 */
Nishanth Menon8d766fa2014-01-29 12:19:17 -060061
62 clocks = <&dpll_mpu_ck>;
63 clock-names = "cpu";
64
AnilKumar Chefeedcf2012-08-31 15:07:20 +053065 clock-latency = <300000>; /* From omap-cpufreq driver */
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053066 };
67 };
68
Alexandre Belloni6797cdb2013-08-03 20:00:54 +020069 pmu {
70 compatible = "arm,cortex-a8-pmu";
71 interrupts = <3>;
72 };
73
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053074 /*
75 * The soc node represents the soc top level view. It is uses for IPs
76 * that are not memory mapped in the MPU view or for the MPU itself.
77 */
78 soc {
79 compatible = "ti,omap-infra";
80 mpu {
81 compatible = "ti,omap3-mpu";
82 ti,hwmods = "mpu";
83 };
84 };
85
AnilKumar Chb552dfc2012-09-20 02:49:26 +053086 am33xx_pinmux: pinmux@44e10800 {
87 compatible = "pinctrl-single";
88 reg = <0x44e10800 0x0238>;
89 #address-cells = <1>;
90 #size-cells = <0>;
91 pinctrl-single,register-width = <32>;
92 pinctrl-single,function-mask = <0x7f>;
93 };
94
AnilKumar Ch5fc0b422012-06-22 15:10:48 +053095 /*
96 * XXX: Use a flat representation of the AM33XX interconnect.
97 * The real AM33XX interconnect network is quite complex.Since
98 * that will not bring real advantage to represent that in DT
99 * for the moment, just use a fake OCP bus entry to represent
100 * the whole bus hierarchy.
101 */
102 ocp {
103 compatible = "simple-bus";
104 #address-cells = <1>;
105 #size-cells = <1>;
106 ranges;
107 ti,hwmods = "l3_main";
108
Tero Kristoea291c92013-07-18 18:15:35 +0300109 prcm: prcm@44e00000 {
110 compatible = "ti,am3-prcm";
111 reg = <0x44e00000 0x4000>;
112
113 prcm_clocks: clocks {
114 #address-cells = <1>;
115 #size-cells = <0>;
116 };
117
118 prcm_clockdomains: clockdomains {
119 };
120 };
121
122 scrm: scrm@44e10000 {
123 compatible = "ti,am3-scrm";
124 reg = <0x44e10000 0x2000>;
125
126 scrm_clocks: clocks {
127 #address-cells = <1>;
128 #size-cells = <0>;
129 };
130
131 scrm_clockdomains: clockdomains {
132 };
133 };
134
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530135 intc: interrupt-controller@48200000 {
136 compatible = "ti,omap2-intc";
137 interrupt-controller;
138 #interrupt-cells = <1>;
139 ti,intc-size = <128>;
140 reg = <0x48200000 0x1000>;
141 };
142
Matt Porter505975d2013-09-10 14:24:37 -0500143 edma: edma@49000000 {
144 compatible = "ti,edma3";
145 ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
146 reg = <0x49000000 0x10000>,
147 <0x44e10f90 0x10>;
148 interrupts = <12 13 14>;
149 #dma-cells = <1>;
150 dma-channels = <64>;
151 ti,edma-regions = <4>;
152 ti,edma-slots = <256>;
153 };
154
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530155 gpio0: gpio@44e07000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530156 compatible = "ti,omap4-gpio";
157 ti,hwmods = "gpio1";
158 gpio-controller;
159 #gpio-cells = <2>;
160 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200161 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530162 reg = <0x44e07000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530163 interrupts = <96>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530164 };
165
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530166 gpio1: gpio@4804c000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530167 compatible = "ti,omap4-gpio";
168 ti,hwmods = "gpio2";
169 gpio-controller;
170 #gpio-cells = <2>;
171 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200172 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530173 reg = <0x4804c000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530174 interrupts = <98>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530175 };
176
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530177 gpio2: gpio@481ac000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530178 compatible = "ti,omap4-gpio";
179 ti,hwmods = "gpio3";
180 gpio-controller;
181 #gpio-cells = <2>;
182 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200183 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530184 reg = <0x481ac000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530185 interrupts = <32>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530186 };
187
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530188 gpio3: gpio@481ae000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530189 compatible = "ti,omap4-gpio";
190 ti,hwmods = "gpio4";
191 gpio-controller;
192 #gpio-cells = <2>;
193 interrupt-controller;
Lars Poeschel5eac0eb2013-08-07 13:06:32 +0200194 #interrupt-cells = <2>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530195 reg = <0x481ae000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530196 interrupts = <62>;
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530197 };
198
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530199 uart0: serial@44e09000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530200 compatible = "ti,omap3-uart";
201 ti,hwmods = "uart1";
202 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530203 reg = <0x44e09000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530204 interrupts = <72>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530205 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530206 };
207
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530208 uart1: serial@48022000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530209 compatible = "ti,omap3-uart";
210 ti,hwmods = "uart2";
211 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530212 reg = <0x48022000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530213 interrupts = <73>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530214 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530215 };
216
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530217 uart2: serial@48024000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530218 compatible = "ti,omap3-uart";
219 ti,hwmods = "uart3";
220 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530221 reg = <0x48024000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530222 interrupts = <74>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530223 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530224 };
225
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530226 uart3: serial@481a6000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530227 compatible = "ti,omap3-uart";
228 ti,hwmods = "uart4";
229 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530230 reg = <0x481a6000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530231 interrupts = <44>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530232 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530233 };
234
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530235 uart4: serial@481a8000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530236 compatible = "ti,omap3-uart";
237 ti,hwmods = "uart5";
238 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530239 reg = <0x481a8000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530240 interrupts = <45>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530241 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530242 };
243
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +0530244 uart5: serial@481aa000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530245 compatible = "ti,omap3-uart";
246 ti,hwmods = "uart6";
247 clock-frequency = <48000000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530248 reg = <0x481aa000 0x2000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530249 interrupts = <46>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530250 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530251 };
252
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530253 i2c0: i2c@44e0b000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530254 compatible = "ti,omap4-i2c";
255 #address-cells = <1>;
256 #size-cells = <0>;
257 ti,hwmods = "i2c1";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530258 reg = <0x44e0b000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530259 interrupts = <70>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530260 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530261 };
262
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530263 i2c1: i2c@4802a000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530264 compatible = "ti,omap4-i2c";
265 #address-cells = <1>;
266 #size-cells = <0>;
267 ti,hwmods = "i2c2";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530268 reg = <0x4802a000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530269 interrupts = <71>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530270 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530271 };
272
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530273 i2c2: i2c@4819c000 {
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530274 compatible = "ti,omap4-i2c";
275 #address-cells = <1>;
276 #size-cells = <0>;
277 ti,hwmods = "i2c3";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530278 reg = <0x4819c000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530279 interrupts = <30>;
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530280 status = "disabled";
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530281 };
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530282
Matt Porter55b44522013-09-10 14:24:39 -0500283 mmc1: mmc@48060000 {
284 compatible = "ti,omap4-hsmmc";
285 ti,hwmods = "mmc1";
286 ti,dual-volt;
287 ti,needs-special-reset;
288 ti,needs-special-hs-handling;
289 dmas = <&edma 24
290 &edma 25>;
291 dma-names = "tx", "rx";
292 interrupts = <64>;
293 interrupt-parent = <&intc>;
294 reg = <0x48060000 0x1000>;
295 status = "disabled";
296 };
297
298 mmc2: mmc@481d8000 {
299 compatible = "ti,omap4-hsmmc";
300 ti,hwmods = "mmc2";
301 ti,needs-special-reset;
302 dmas = <&edma 2
303 &edma 3>;
304 dma-names = "tx", "rx";
305 interrupts = <28>;
306 interrupt-parent = <&intc>;
307 reg = <0x481d8000 0x1000>;
308 status = "disabled";
309 };
310
311 mmc3: mmc@47810000 {
312 compatible = "ti,omap4-hsmmc";
313 ti,hwmods = "mmc3";
314 ti,needs-special-reset;
315 interrupts = <29>;
316 interrupt-parent = <&intc>;
317 reg = <0x47810000 0x1000>;
318 status = "disabled";
319 };
320
Suman Annad4cbe802013-10-10 16:15:35 -0500321 hwspinlock: spinlock@480ca000 {
322 compatible = "ti,omap4-hwspinlock";
323 reg = <0x480ca000 0x1000>;
324 ti,hwmods = "spinlock";
Suman Anna34054212014-01-13 18:26:45 -0600325 #hwlock-cells = <1>;
Suman Annad4cbe802013-10-10 16:15:35 -0500326 };
327
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530328 wdt2: wdt@44e35000 {
329 compatible = "ti,omap3-wdt";
330 ti,hwmods = "wd_timer2";
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530331 reg = <0x44e35000 0x1000>;
Vaibhav Hiremath4462b312012-08-27 17:21:01 +0530332 interrupts = <91>;
Afzal Mohammed5f789eb2012-07-04 18:00:37 +0530333 };
AnilKumar Ch059b1852012-09-20 02:49:27 +0530334
335 dcan0: d_can@481cc000 {
336 compatible = "bosch,d_can";
337 ti,hwmods = "d_can0";
AnilKumar Chf178c012012-11-14 23:38:25 +0530338 reg = <0x481cc000 0x2000
339 0x44e10644 0x4>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530340 interrupts = <52>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530341 status = "disabled";
342 };
343
344 dcan1: d_can@481d0000 {
345 compatible = "bosch,d_can";
346 ti,hwmods = "d_can1";
AnilKumar Chf178c012012-11-14 23:38:25 +0530347 reg = <0x481d0000 0x2000
348 0x44e10644 0x4>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530349 interrupts = <55>;
AnilKumar Ch059b1852012-09-20 02:49:27 +0530350 status = "disabled";
351 };
Jon Hunterfab8ad02012-10-19 09:59:00 -0500352
353 timer1: timer@44e31000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500354 compatible = "ti,am335x-timer-1ms";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500355 reg = <0x44e31000 0x400>;
356 interrupts = <67>;
357 ti,hwmods = "timer1";
358 ti,timer-alwon;
359 };
360
361 timer2: timer@48040000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500362 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500363 reg = <0x48040000 0x400>;
364 interrupts = <68>;
365 ti,hwmods = "timer2";
366 };
367
368 timer3: timer@48042000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500369 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500370 reg = <0x48042000 0x400>;
371 interrupts = <69>;
372 ti,hwmods = "timer3";
373 };
374
375 timer4: timer@48044000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500376 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500377 reg = <0x48044000 0x400>;
378 interrupts = <92>;
379 ti,hwmods = "timer4";
380 ti,timer-pwm;
381 };
382
383 timer5: timer@48046000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500384 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500385 reg = <0x48046000 0x400>;
386 interrupts = <93>;
387 ti,hwmods = "timer5";
388 ti,timer-pwm;
389 };
390
391 timer6: timer@48048000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500392 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500393 reg = <0x48048000 0x400>;
394 interrupts = <94>;
395 ti,hwmods = "timer6";
396 ti,timer-pwm;
397 };
398
399 timer7: timer@4804a000 {
Jon Hunter002e1ec2013-03-19 12:38:18 -0500400 compatible = "ti,am335x-timer";
Jon Hunterfab8ad02012-10-19 09:59:00 -0500401 reg = <0x4804a000 0x400>;
402 interrupts = <95>;
403 ti,hwmods = "timer7";
404 ti,timer-pwm;
405 };
Afzal Mohammed0d935c12012-10-30 15:04:01 +0530406
407 rtc@44e3e000 {
408 compatible = "ti,da830-rtc";
409 reg = <0x44e3e000 0x1000>;
410 interrupts = <75
411 76>;
412 ti,hwmods = "rtc";
413 };
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530414
415 spi0: spi@48030000 {
416 compatible = "ti,omap4-mcspi";
417 #address-cells = <1>;
418 #size-cells = <0>;
419 reg = <0x48030000 0x400>;
Philip Avinash7b3754c2013-02-01 11:07:27 +0530420 interrupts = <65>;
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530421 ti,spi-num-cs = <2>;
422 ti,hwmods = "spi0";
Matt Porterf5e2f802013-09-10 14:24:38 -0500423 dmas = <&edma 16
424 &edma 17
425 &edma 18
426 &edma 19>;
427 dma-names = "tx0", "rx0", "tx1", "rx1";
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530428 status = "disabled";
429 };
430
431 spi1: spi@481a0000 {
432 compatible = "ti,omap4-mcspi";
433 #address-cells = <1>;
434 #size-cells = <0>;
435 reg = <0x481a0000 0x400>;
Philip Avinash7b3754c2013-02-01 11:07:27 +0530436 interrupts = <125>;
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530437 ti,spi-num-cs = <2>;
438 ti,hwmods = "spi1";
Matt Porterf5e2f802013-09-10 14:24:38 -0500439 dmas = <&edma 42
440 &edma 43
441 &edma 44
442 &edma 45>;
443 dma-names = "tx0", "rx0", "tx1", "rx1";
Philip, Avinash9fd3c742012-10-31 16:21:09 +0530444 status = "disabled";
445 };
Ajay Kumar Gupta35b47fb2012-11-06 19:59:38 +0530446
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200447 usb: usb@47400000 {
448 compatible = "ti,am33xx-usb";
449 reg = <0x47400000 0x1000>;
450 ranges;
451 #address-cells = <1>;
452 #size-cells = <1>;
Ajay Kumar Gupta35b47fb2012-11-06 19:59:38 +0530453 ti,hwmods = "usb_otg_hs";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200454 status = "disabled";
455
Markus Pargmanne7243b72013-10-14 14:49:21 +0200456 usb_ctrl_mod: control@44e10000 {
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200457 compatible = "ti,am335x-usb-ctrl-module";
458 reg = <0x44e10620 0x10
459 0x44e10648 0x4>;
460 reg-names = "phy_ctrl", "wakeup";
461 status = "disabled";
462 };
463
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200464 usb0_phy: usb-phy@47401300 {
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200465 compatible = "ti,am335x-usb-phy";
466 reg = <0x47401300 0x100>;
467 reg-names = "phy";
468 status = "disabled";
Markus Pargmanne7243b72013-10-14 14:49:21 +0200469 ti,ctrl_mod = <&usb_ctrl_mod>;
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200470 };
471
472 usb0: usb@47401000 {
473 compatible = "ti,musb-am33xx";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200474 status = "disabled";
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200475 reg = <0x47401400 0x400
476 0x47401000 0x200>;
477 reg-names = "mc", "control";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200478
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200479 interrupts = <18>;
480 interrupt-names = "mc";
481 dr_mode = "otg";
482 mentor,multipoint = <1>;
483 mentor,num-eps = <16>;
484 mentor,ram-bits = <12>;
485 mentor,power = <500>;
486 phys = <&usb0_phy>;
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200487
488 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
489 &cppi41dma 2 0 &cppi41dma 3 0
490 &cppi41dma 4 0 &cppi41dma 5 0
491 &cppi41dma 6 0 &cppi41dma 7 0
492 &cppi41dma 8 0 &cppi41dma 9 0
493 &cppi41dma 10 0 &cppi41dma 11 0
494 &cppi41dma 12 0 &cppi41dma 13 0
495 &cppi41dma 14 0 &cppi41dma 0 1
496 &cppi41dma 1 1 &cppi41dma 2 1
497 &cppi41dma 3 1 &cppi41dma 4 1
498 &cppi41dma 5 1 &cppi41dma 6 1
499 &cppi41dma 7 1 &cppi41dma 8 1
500 &cppi41dma 9 1 &cppi41dma 10 1
501 &cppi41dma 11 1 &cppi41dma 12 1
502 &cppi41dma 13 1 &cppi41dma 14 1>;
503 dma-names =
504 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
505 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
506 "rx14", "rx15",
507 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
508 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
509 "tx14", "tx15";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200510 };
511
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200512 usb1_phy: usb-phy@47401b00 {
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200513 compatible = "ti,am335x-usb-phy";
514 reg = <0x47401b00 0x100>;
515 reg-names = "phy";
516 status = "disabled";
Markus Pargmanne7243b72013-10-14 14:49:21 +0200517 ti,ctrl_mod = <&usb_ctrl_mod>;
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200518 };
519
520 usb1: usb@47401800 {
521 compatible = "ti,musb-am33xx";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200522 status = "disabled";
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200523 reg = <0x47401c00 0x400
524 0x47401800 0x200>;
525 reg-names = "mc", "control";
526 interrupts = <19>;
527 interrupt-names = "mc";
528 dr_mode = "otg";
529 mentor,multipoint = <1>;
530 mentor,num-eps = <16>;
531 mentor,ram-bits = <12>;
532 mentor,power = <500>;
533 phys = <&usb1_phy>;
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200534
535 dmas = <&cppi41dma 15 0 &cppi41dma 16 0
536 &cppi41dma 17 0 &cppi41dma 18 0
537 &cppi41dma 19 0 &cppi41dma 20 0
538 &cppi41dma 21 0 &cppi41dma 22 0
539 &cppi41dma 23 0 &cppi41dma 24 0
540 &cppi41dma 25 0 &cppi41dma 26 0
541 &cppi41dma 27 0 &cppi41dma 28 0
542 &cppi41dma 29 0 &cppi41dma 15 1
543 &cppi41dma 16 1 &cppi41dma 17 1
544 &cppi41dma 18 1 &cppi41dma 19 1
545 &cppi41dma 20 1 &cppi41dma 21 1
546 &cppi41dma 22 1 &cppi41dma 23 1
547 &cppi41dma 24 1 &cppi41dma 25 1
548 &cppi41dma 26 1 &cppi41dma 27 1
549 &cppi41dma 28 1 &cppi41dma 29 1>;
550 dma-names =
551 "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
552 "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
553 "rx14", "rx15",
554 "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
555 "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
556 "tx14", "tx15";
Sebastian Andrzej Siewior97238b32013-07-05 14:51:33 +0200557 };
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200558
Sebastian Andrzej Siewiorc031a7d2013-08-20 18:35:47 +0200559 cppi41dma: dma-controller@07402000 {
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200560 compatible = "ti,am3359-cppi41";
561 reg = <0x47400000 0x1000
562 0x47402000 0x1000
563 0x47403000 0x1000
564 0x47404000 0x4000>;
Sebastian Andrzej Siewior3b6394b2013-08-20 18:35:45 +0200565 reg-names = "glue", "controller", "scheduler", "queuemgr";
Sebastian Andrzej Siewior9b3452d2013-06-20 12:13:04 +0200566 interrupts = <17>;
567 interrupt-names = "glue";
568 #dma-cells = <2>;
569 #dma-channels = <30>;
570 #dma-requests = <256>;
571 status = "disabled";
572 };
Ajay Kumar Gupta35b47fb2012-11-06 19:59:38 +0530573 };
Linus Torvalds6be35c72012-12-12 18:07:07 -0800574
Philip Avinash0a7486c2013-06-06 15:52:37 +0200575 epwmss0: epwmss@48300000 {
576 compatible = "ti,am33xx-pwmss";
577 reg = <0x48300000 0x10>;
578 ti,hwmods = "epwmss0";
579 #address-cells = <1>;
580 #size-cells = <1>;
581 status = "disabled";
582 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
583 0x48300180 0x48300180 0x80 /* EQEP */
584 0x48300200 0x48300200 0x80>; /* EHRPWM */
585
586 ecap0: ecap@48300100 {
587 compatible = "ti,am33xx-ecap";
588 #pwm-cells = <3>;
589 reg = <0x48300100 0x80>;
590 ti,hwmods = "ecap0";
591 status = "disabled";
592 };
593
594 ehrpwm0: ehrpwm@48300200 {
595 compatible = "ti,am33xx-ehrpwm";
596 #pwm-cells = <3>;
597 reg = <0x48300200 0x80>;
598 ti,hwmods = "ehrpwm0";
599 status = "disabled";
600 };
601 };
602
603 epwmss1: epwmss@48302000 {
604 compatible = "ti,am33xx-pwmss";
605 reg = <0x48302000 0x10>;
606 ti,hwmods = "epwmss1";
607 #address-cells = <1>;
608 #size-cells = <1>;
609 status = "disabled";
610 ranges = <0x48302100 0x48302100 0x80 /* ECAP */
611 0x48302180 0x48302180 0x80 /* EQEP */
612 0x48302200 0x48302200 0x80>; /* EHRPWM */
613
614 ecap1: ecap@48302100 {
615 compatible = "ti,am33xx-ecap";
616 #pwm-cells = <3>;
617 reg = <0x48302100 0x80>;
618 ti,hwmods = "ecap1";
619 status = "disabled";
620 };
621
622 ehrpwm1: ehrpwm@48302200 {
623 compatible = "ti,am33xx-ehrpwm";
624 #pwm-cells = <3>;
625 reg = <0x48302200 0x80>;
626 ti,hwmods = "ehrpwm1";
627 status = "disabled";
628 };
629 };
630
631 epwmss2: epwmss@48304000 {
632 compatible = "ti,am33xx-pwmss";
633 reg = <0x48304000 0x10>;
634 ti,hwmods = "epwmss2";
635 #address-cells = <1>;
636 #size-cells = <1>;
637 status = "disabled";
638 ranges = <0x48304100 0x48304100 0x80 /* ECAP */
639 0x48304180 0x48304180 0x80 /* EQEP */
640 0x48304200 0x48304200 0x80>; /* EHRPWM */
641
642 ecap2: ecap@48304100 {
643 compatible = "ti,am33xx-ecap";
644 #pwm-cells = <3>;
645 reg = <0x48304100 0x80>;
646 ti,hwmods = "ecap2";
647 status = "disabled";
648 };
649
650 ehrpwm2: ehrpwm@48304200 {
651 compatible = "ti,am33xx-ehrpwm";
652 #pwm-cells = <3>;
653 reg = <0x48304200 0x80>;
654 ti,hwmods = "ehrpwm2";
655 status = "disabled";
656 };
657 };
658
Mugunthan V N1a39a652012-11-14 09:08:00 +0000659 mac: ethernet@4a100000 {
660 compatible = "ti,cpsw";
661 ti,hwmods = "cpgmac0";
662 cpdma_channels = <8>;
663 ale_entries = <1024>;
664 bd_ram_size = <0x2000>;
665 no_bd_ram = <0>;
666 rx_descs = <64>;
667 mac_control = <0x20>;
668 slaves = <2>;
Mugunthan V Ne86ac132013-03-11 23:16:35 +0000669 active_slave = <0>;
Mugunthan V N1a39a652012-11-14 09:08:00 +0000670 cpts_clock_mult = <0x80000000>;
671 cpts_clock_shift = <29>;
672 reg = <0x4a100000 0x800
673 0x4a101200 0x100>;
674 #address-cells = <1>;
675 #size-cells = <1>;
676 interrupt-parent = <&intc>;
677 /*
678 * c0_rx_thresh_pend
679 * c0_rx_pend
680 * c0_tx_pend
681 * c0_misc_pend
682 */
683 interrupts = <40 41 42 43>;
684 ranges;
685
686 davinci_mdio: mdio@4a101000 {
687 compatible = "ti,davinci_mdio";
688 #address-cells = <1>;
689 #size-cells = <0>;
690 ti,hwmods = "davinci_mdio";
691 bus_freq = <1000000>;
692 reg = <0x4a101000 0x100>;
693 };
694
695 cpsw_emac0: slave@4a100200 {
696 /* Filled in by U-Boot */
697 mac-address = [ 00 00 00 00 00 00 ];
698 };
699
700 cpsw_emac1: slave@4a100300 {
701 /* Filled in by U-Boot */
702 mac-address = [ 00 00 00 00 00 00 ];
703 };
Mugunthan V N39ffbd92013-09-21 00:50:41 +0530704
705 phy_sel: cpsw-phy-sel@44e10650 {
706 compatible = "ti,am3352-cpsw-phy-sel";
707 reg= <0x44e10650 0x4>;
708 reg-names = "gmii-sel";
709 };
Mugunthan V N1a39a652012-11-14 09:08:00 +0000710 };
Vaibhav Bediaf6575c92013-01-29 16:45:07 +0530711
712 ocmcram: ocmcram@40300000 {
713 compatible = "ti,am3352-ocmcram";
714 reg = <0x40300000 0x10000>;
715 ti,hwmods = "ocmcram";
Vaibhav Bediaf6575c92013-01-29 16:45:07 +0530716 };
717
718 wkup_m3: wkup_m3@44d00000 {
719 compatible = "ti,am3353-wkup-m3";
720 reg = <0x44d00000 0x4000 /* M3 UMEM */
721 0x44d80000 0x2000>; /* M3 DMEM */
722 ti,hwmods = "wkup_m3";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530723 ti,no-reset-on-init;
Vaibhav Bediaf6575c92013-01-29 16:45:07 +0530724 };
Philip Avinashe45879e2013-05-02 15:14:03 +0530725
Philip, Avinash15e82462013-05-31 13:19:03 +0530726 elm: elm@48080000 {
727 compatible = "ti,am3352-elm";
728 reg = <0x48080000 0x2000>;
729 interrupts = <4>;
730 ti,hwmods = "elm";
731 status = "disabled";
732 };
733
Benoit Parrotd6cfc1e2013-08-08 18:28:14 -0500734 lcdc: lcdc@4830e000 {
735 compatible = "ti,am33xx-tilcdc";
736 reg = <0x4830e000 0x1000>;
737 interrupt-parent = <&intc>;
738 interrupts = <36>;
739 ti,hwmods = "lcdc";
740 status = "disabled";
741 };
742
Patil, Rachnaa82279d2013-01-24 03:45:12 +0000743 tscadc: tscadc@44e0d000 {
744 compatible = "ti,am3359-tscadc";
745 reg = <0x44e0d000 0x1000>;
746 interrupt-parent = <&intc>;
747 interrupts = <16>;
748 ti,hwmods = "adc_tsc";
749 status = "disabled";
750
751 tsc {
752 compatible = "ti,am3359-tsc";
753 };
754 am335x_adc: adc {
755 #io-channel-cells = <1>;
756 compatible = "ti,am3359-adc";
757 };
Patil, Rachnaa82279d2013-01-24 03:45:12 +0000758 };
759
Philip Avinashe45879e2013-05-02 15:14:03 +0530760 gpmc: gpmc@50000000 {
761 compatible = "ti,am3352-gpmc";
762 ti,hwmods = "gpmc";
Rajendra Nayakf12ecbe22013-10-15 12:37:50 +0530763 ti,no-idle-on-init;
Philip Avinashe45879e2013-05-02 15:14:03 +0530764 reg = <0x50000000 0x2000>;
765 interrupts = <100>;
Lars Poeschel00dddca2013-05-28 10:24:57 +0200766 gpmc,num-cs = <7>;
767 gpmc,num-waitpins = <2>;
Philip Avinashe45879e2013-05-02 15:14:03 +0530768 #address-cells = <2>;
769 #size-cells = <1>;
770 status = "disabled";
771 };
Mark A. Greerf8302e12013-08-23 14:12:35 -0700772
773 sham: sham@53100000 {
774 compatible = "ti,omap4-sham";
775 ti,hwmods = "sham";
776 reg = <0x53100000 0x200>;
777 interrupts = <109>;
778 dmas = <&edma 36>;
779 dma-names = "rx";
780 };
Mark A. Greer99919e5e2013-08-23 14:12:36 -0700781
782 aes: aes@53500000 {
783 compatible = "ti,omap4-aes";
784 ti,hwmods = "aes";
785 reg = <0x53500000 0xa0>;
Joel Fernandes7af88842013-07-17 19:07:52 -0500786 interrupts = <103>;
Mark A. Greer99919e5e2013-08-23 14:12:36 -0700787 dmas = <&edma 6>,
788 <&edma 5>;
789 dma-names = "tx", "rx";
790 };
Pantelis Antoniou3f72f872013-10-20 20:04:08 +0300791
792 mcasp0: mcasp@48038000 {
793 compatible = "ti,am33xx-mcasp-audio";
794 ti,hwmods = "mcasp0";
Jyri Sarha0bee55a2013-10-20 20:04:09 +0300795 reg = <0x48038000 0x2000>,
796 <0x46000000 0x400000>;
797 reg-names = "mpu", "dat";
Pantelis Antoniou3f72f872013-10-20 20:04:08 +0300798 interrupts = <80>, <81>;
799 interrupts-names = "tx", "rx";
800 status = "disabled";
801 dmas = <&edma 8>,
802 <&edma 9>;
803 dma-names = "tx", "rx";
804 };
805
806 mcasp1: mcasp@4803C000 {
807 compatible = "ti,am33xx-mcasp-audio";
808 ti,hwmods = "mcasp1";
Jyri Sarha0bee55a2013-10-20 20:04:09 +0300809 reg = <0x4803C000 0x2000>,
810 <0x46400000 0x400000>;
811 reg-names = "mpu", "dat";
Pantelis Antoniou3f72f872013-10-20 20:04:08 +0300812 interrupts = <82>, <83>;
813 interrupts-names = "tx", "rx";
814 status = "disabled";
815 dmas = <&edma 10>,
816 <&edma 11>;
817 dma-names = "tx", "rx";
818 };
Lokesh Vutlaed845d62013-08-29 18:22:09 +0530819
820 rng: rng@48310000 {
821 compatible = "ti,omap4-rng";
822 ti,hwmods = "rng";
823 reg = <0x48310000 0x2000>;
824 interrupts = <111>;
825 };
AnilKumar Ch5fc0b422012-06-22 15:10:48 +0530826 };
827};
Tero Kristoea291c92013-07-18 18:15:35 +0300828
829/include/ "am33xx-clocks.dtsi"