aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am33xx.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/am33xx.dtsi')
-rw-r--r--arch/arm/boot/dts/am33xx.dtsi130
1 files changed, 114 insertions, 16 deletions
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 1460d9b88adf..0d4df90477f7 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -8,26 +8,33 @@
8 * kind, whether express or implied. 8 * kind, whether express or implied.
9 */ 9 */
10 10
11/include/ "skeleton.dtsi" 11#include <dt-bindings/gpio/gpio.h>
12#include <dt-bindings/pinctrl/am33xx.h>
13
14#include "skeleton.dtsi"
12 15
13/ { 16/ {
14 compatible = "ti,am33xx"; 17 compatible = "ti,am33xx";
15 interrupt-parent = <&intc>; 18 interrupt-parent = <&intc>;
16 19
17 aliases { 20 aliases {
18 serial0 = &uart1; 21 serial0 = &uart0;
19 serial1 = &uart2; 22 serial1 = &uart1;
20 serial2 = &uart3; 23 serial2 = &uart2;
21 serial3 = &uart4; 24 serial3 = &uart3;
22 serial4 = &uart5; 25 serial4 = &uart4;
23 serial5 = &uart6; 26 serial5 = &uart5;
24 d_can0 = &dcan0; 27 d_can0 = &dcan0;
25 d_can1 = &dcan1; 28 d_can1 = &dcan1;
26 }; 29 };
27 30
28 cpus { 31 cpus {
32 #address-cells = <1>;
33 #size-cells = <0>;
29 cpu@0 { 34 cpu@0 {
30 compatible = "arm,cortex-a8"; 35 compatible = "arm,cortex-a8";
36 device_type = "cpu";
37 reg = <0>;
31 38
32 /* 39 /*
33 * To consider voltage drop between PMIC and SoC, 40 * To consider voltage drop between PMIC and SoC,
@@ -133,7 +140,7 @@
133 interrupts = <62>; 140 interrupts = <62>;
134 }; 141 };
135 142
136 uart1: serial@44e09000 { 143 uart0: serial@44e09000 {
137 compatible = "ti,omap3-uart"; 144 compatible = "ti,omap3-uart";
138 ti,hwmods = "uart1"; 145 ti,hwmods = "uart1";
139 clock-frequency = <48000000>; 146 clock-frequency = <48000000>;
@@ -142,7 +149,7 @@
142 status = "disabled"; 149 status = "disabled";
143 }; 150 };
144 151
145 uart2: serial@48022000 { 152 uart1: serial@48022000 {
146 compatible = "ti,omap3-uart"; 153 compatible = "ti,omap3-uart";
147 ti,hwmods = "uart2"; 154 ti,hwmods = "uart2";
148 clock-frequency = <48000000>; 155 clock-frequency = <48000000>;
@@ -151,7 +158,7 @@
151 status = "disabled"; 158 status = "disabled";
152 }; 159 };
153 160
154 uart3: serial@48024000 { 161 uart2: serial@48024000 {
155 compatible = "ti,omap3-uart"; 162 compatible = "ti,omap3-uart";
156 ti,hwmods = "uart3"; 163 ti,hwmods = "uart3";
157 clock-frequency = <48000000>; 164 clock-frequency = <48000000>;
@@ -160,7 +167,7 @@
160 status = "disabled"; 167 status = "disabled";
161 }; 168 };
162 169
163 uart4: serial@481a6000 { 170 uart3: serial@481a6000 {
164 compatible = "ti,omap3-uart"; 171 compatible = "ti,omap3-uart";
165 ti,hwmods = "uart4"; 172 ti,hwmods = "uart4";
166 clock-frequency = <48000000>; 173 clock-frequency = <48000000>;
@@ -169,7 +176,7 @@
169 status = "disabled"; 176 status = "disabled";
170 }; 177 };
171 178
172 uart5: serial@481a8000 { 179 uart4: serial@481a8000 {
173 compatible = "ti,omap3-uart"; 180 compatible = "ti,omap3-uart";
174 ti,hwmods = "uart5"; 181 ti,hwmods = "uart5";
175 clock-frequency = <48000000>; 182 clock-frequency = <48000000>;
@@ -178,7 +185,7 @@
178 status = "disabled"; 185 status = "disabled";
179 }; 186 };
180 187
181 uart6: serial@481aa000 { 188 uart5: serial@481aa000 {
182 compatible = "ti,omap3-uart"; 189 compatible = "ti,omap3-uart";
183 ti,hwmods = "uart6"; 190 ti,hwmods = "uart6";
184 clock-frequency = <48000000>; 191 clock-frequency = <48000000>;
@@ -343,6 +350,90 @@
343 ti,hwmods = "usb_otg_hs"; 350 ti,hwmods = "usb_otg_hs";
344 }; 351 };
345 352
353 epwmss0: epwmss@48300000 {
354 compatible = "ti,am33xx-pwmss";
355 reg = <0x48300000 0x10>;
356 ti,hwmods = "epwmss0";
357 #address-cells = <1>;
358 #size-cells = <1>;
359 status = "disabled";
360 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
361 0x48300180 0x48300180 0x80 /* EQEP */
362 0x48300200 0x48300200 0x80>; /* EHRPWM */
363
364 ecap0: ecap@48300100 {
365 compatible = "ti,am33xx-ecap";
366 #pwm-cells = <3>;
367 reg = <0x48300100 0x80>;
368 ti,hwmods = "ecap0";
369 status = "disabled";
370 };
371
372 ehrpwm0: ehrpwm@48300200 {
373 compatible = "ti,am33xx-ehrpwm";
374 #pwm-cells = <3>;
375 reg = <0x48300200 0x80>;
376 ti,hwmods = "ehrpwm0";
377 status = "disabled";
378 };
379 };
380
381 epwmss1: epwmss@48302000 {
382 compatible = "ti,am33xx-pwmss";
383 reg = <0x48302000 0x10>;
384 ti,hwmods = "epwmss1";
385 #address-cells = <1>;
386 #size-cells = <1>;
387 status = "disabled";
388 ranges = <0x48302100 0x48302100 0x80 /* ECAP */
389 0x48302180 0x48302180 0x80 /* EQEP */
390 0x48302200 0x48302200 0x80>; /* EHRPWM */
391
392 ecap1: ecap@48302100 {
393 compatible = "ti,am33xx-ecap";
394 #pwm-cells = <3>;
395 reg = <0x48302100 0x80>;
396 ti,hwmods = "ecap1";
397 status = "disabled";
398 };
399
400 ehrpwm1: ehrpwm@48302200 {
401 compatible = "ti,am33xx-ehrpwm";
402 #pwm-cells = <3>;
403 reg = <0x48302200 0x80>;
404 ti,hwmods = "ehrpwm1";
405 status = "disabled";
406 };
407 };
408
409 epwmss2: epwmss@48304000 {
410 compatible = "ti,am33xx-pwmss";
411 reg = <0x48304000 0x10>;
412 ti,hwmods = "epwmss2";
413 #address-cells = <1>;
414 #size-cells = <1>;
415 status = "disabled";
416 ranges = <0x48304100 0x48304100 0x80 /* ECAP */
417 0x48304180 0x48304180 0x80 /* EQEP */
418 0x48304200 0x48304200 0x80>; /* EHRPWM */
419
420 ecap2: ecap@48304100 {
421 compatible = "ti,am33xx-ecap";
422 #pwm-cells = <3>;
423 reg = <0x48304100 0x80>;
424 ti,hwmods = "ecap2";
425 status = "disabled";
426 };
427
428 ehrpwm2: ehrpwm@48304200 {
429 compatible = "ti,am33xx-ehrpwm";
430 #pwm-cells = <3>;
431 reg = <0x48304200 0x80>;
432 ti,hwmods = "ehrpwm2";
433 status = "disabled";
434 };
435 };
436
346 mac: ethernet@4a100000 { 437 mac: ethernet@4a100000 {
347 compatible = "ti,cpsw"; 438 compatible = "ti,cpsw";
348 ti,hwmods = "cpgmac0"; 439 ti,hwmods = "cpgmac0";
@@ -394,7 +485,6 @@
394 compatible = "ti,am3352-ocmcram"; 485 compatible = "ti,am3352-ocmcram";
395 reg = <0x40300000 0x10000>; 486 reg = <0x40300000 0x10000>;
396 ti,hwmods = "ocmcram"; 487 ti,hwmods = "ocmcram";
397 ti,no_idle_on_suspend;
398 }; 488 };
399 489
400 wkup_m3: wkup_m3@44d00000 { 490 wkup_m3: wkup_m3@44d00000 {
@@ -404,13 +494,21 @@
404 ti,hwmods = "wkup_m3"; 494 ti,hwmods = "wkup_m3";
405 }; 495 };
406 496
497 elm: elm@48080000 {
498 compatible = "ti,am3352-elm";
499 reg = <0x48080000 0x2000>;
500 interrupts = <4>;
501 ti,hwmods = "elm";
502 status = "disabled";
503 };
504
407 gpmc: gpmc@50000000 { 505 gpmc: gpmc@50000000 {
408 compatible = "ti,am3352-gpmc"; 506 compatible = "ti,am3352-gpmc";
409 ti,hwmods = "gpmc"; 507 ti,hwmods = "gpmc";
410 reg = <0x50000000 0x2000>; 508 reg = <0x50000000 0x2000>;
411 interrupts = <100>; 509 interrupts = <100>;
412 num-cs = <7>; 510 gpmc,num-cs = <7>;
413 num-waitpins = <2>; 511 gpmc,num-waitpins = <2>;
414 #address-cells = <2>; 512 #address-cells = <2>;
415 #size-cells = <1>; 513 #size-cells = <1>;
416 status = "disabled"; 514 status = "disabled";