blob: 7fbac28b01f3f01470ec3a8a6622322fe60cba0f [file] [log] [blame]
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +02001/*
2 * Device Tree Include file for Marvell Armada 370 family SoC
3 *
4 * Copyright (C) 2012 Marvell
5 *
6 * Lior Amsalem <alior@marvell.com>
7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 *
10 * This file is licensed under the terms of the GNU General Public
11 * License version 2. This program is licensed "as is" without any
12 * warranty of any kind, whether express or implied.
13 *
14 * Contains definitions specific to the Armada 370 SoC that are not
15 * common to all Armada SoCs.
16 */
17
18/include/ "armada-370-xp.dtsi"
19
20/ {
21 model = "Marvell Armada 370 family SoC";
22 compatible = "marvell,armada370", "marvell,armada-370-xp";
23
Thomas Petazzoni397d59f2012-09-19 22:53:01 +020024 aliases {
25 gpio0 = &gpio0;
26 gpio1 = &gpio1;
27 gpio2 = &gpio2;
28 };
29
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020030 mpic: interrupt-controller@d0020000 {
31 reg = <0xd0020a00 0x1d0>,
32 <0xd0021870 0x58>;
33 };
34
35 soc {
36 system-controller@d0018200 {
37 compatible = "marvell,armada-370-xp-system-controller";
38 reg = <0xd0018200 0x100>;
39 };
Thomas Petazzonid81b8ba2012-09-13 17:41:49 +020040
41 pinctrl {
42 compatible = "marvell,mv88f6710-pinctrl";
43 reg = <0xd0018000 0x38>;
Thomas Petazzoni397d59f2012-09-19 22:53:01 +020044 };
45
46 gpio0: gpio@d0018100 {
47 compatible = "marvell,orion-gpio";
48 reg = <0xd0018100 0x40>;
49 ngpios = <32>;
50 gpio-controller;
51 #gpio-cells = <2>;
52 interrupt-controller;
53 #interrupts-cells = <2>;
54 interrupts = <82>, <83>, <84>, <85>;
55 };
56
57 gpio1: gpio@d0018140 {
58 compatible = "marvell,orion-gpio";
59 reg = <0xd0018140 0x40>;
60 ngpios = <32>;
61 gpio-controller;
62 #gpio-cells = <2>;
63 interrupt-controller;
64 #interrupts-cells = <2>;
65 interrupts = <87>, <88>, <89>, <90>;
66 };
67
68 gpio2: gpio@d0018180 {
69 compatible = "marvell,orion-gpio";
70 reg = <0xd0018180 0x40>;
71 ngpios = <2>;
72 gpio-controller;
73 #gpio-cells = <2>;
74 interrupt-controller;
75 #interrupts-cells = <2>;
76 interrupts = <91>;
Thomas Petazzonid81b8ba2012-09-13 17:41:49 +020077 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010078
79 coreclk: mvebu-sar@d0018230 {
80 compatible = "marvell,armada-370-core-clock";
81 reg = <0xd0018230 0x08>;
82 #clock-cells = <1>;
83 };
84
85 gateclk: clock-gating-control@d0018220 {
86 compatible = "marvell,armada-370-gating-clock";
87 reg = <0xd0018220 0x4>;
88 clocks = <&coreclk 0>;
89 #clock-cells = <1>;
90 };
91
Thomas Petazzoni0122eee2012-11-20 16:03:12 +010092 xor@d0060800 {
93 compatible = "marvell,orion-xor";
94 reg = <0xd0060800 0x100
95 0xd0060A00 0x100>;
96 status = "okay";
Gregory CLEMENT9d202782012-11-17 15:22:24 +010097
Thomas Petazzoni0122eee2012-11-20 16:03:12 +010098 xor00 {
99 interrupts = <51>;
100 dmacap,memcpy;
101 dmacap,xor;
102 };
103 xor01 {
104 interrupts = <52>;
105 dmacap,memcpy;
106 dmacap,xor;
107 dmacap,memset;
108 };
109 };
110
111 xor@d0060900 {
112 compatible = "marvell,orion-xor";
113 reg = <0xd0060900 0x100
114 0xd0060b00 0x100>;
115 status = "okay";
116
117 xor10 {
118 interrupts = <94>;
119 dmacap,memcpy;
120 dmacap,xor;
121 };
122 xor11 {
123 interrupts = <95>;
124 dmacap,memcpy;
125 dmacap,xor;
126 dmacap,memset;
127 };
128 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200129 };
130};