blob: 0a7dff6519ce52645ead74d6b772bd623f0337b0 [file] [log] [blame]
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +02001/*
2 * Device Tree Include file for Marvell Armada XP 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 * Ben Dooks <ben.dooks@codethink.co.uk>
10 *
11 * This file is licensed under the terms of the GNU General Public
12 * License version 2. This program is licensed "as is" without any
13 * warranty of any kind, whether express or implied.
14 *
Thomas Petazzoni10b683c2012-08-02 17:13:47 +020015 * Contains definitions specific to the Armada XP SoC that are not
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020016 * common to all Armada SoCs.
17 */
18
Ezequiel Garcia38149882013-07-26 10:17:56 -030019#include "armada-370-xp.dtsi"
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020020
21/ {
22 model = "Marvell Armada XP family SoC";
23 compatible = "marvell,armadaxp", "marvell,armada-370-xp";
24
Willy Tarreaube5a9382013-06-03 18:47:36 +020025 aliases {
26 eth2 = &eth2;
27 };
28
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020029 soc {
Ezequiel Garcia5e12a612013-07-26 10:17:57 -030030 compatible = "marvell,armadaxp-mbus", "simple-bus";
31
Ezequiel Garcia0cd37542013-07-26 10:17:58 -030032 bootrom {
33 compatible = "marvell,bootrom";
34 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
35 };
36
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020037 internal-regs {
38 L2: l2-cache {
39 compatible = "marvell,aurora-system-cache";
40 reg = <0x08000 0x1000>;
41 cache-id-part = <0x100>;
42 wt-override;
43 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020044
Jason Coopera095b1c2013-12-12 13:59:17 +000045 i2c0: i2c@11000 {
46 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
47 reg = <0x11000 0x100>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020048 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020049
Jason Coopera095b1c2013-12-12 13:59:17 +000050 i2c1: i2c@11100 {
51 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
52 reg = <0x11100 0x100>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020053 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020054
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020055 serial@12200 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010056 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020057 reg = <0x12200 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020058 reg-shift = <2>;
59 interrupts = <43>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010060 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020061 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020062 };
63 serial@12300 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010064 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020065 reg = <0x12300 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020066 reg-shift = <2>;
67 interrupts = <44>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010068 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020069 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020070 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020071
Jason Coopera095b1c2013-12-12 13:59:17 +000072 system-controller@18200 {
73 compatible = "marvell,armada-370-xp-system-controller";
74 reg = <0x18200 0x500>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020075 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010076
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020077 gateclk: clock-gating-control@18220 {
78 compatible = "marvell,armada-xp-gating-clock";
79 reg = <0x18220 0x4>;
80 clocks = <&coreclk 0>;
81 #clock-cells = <1>;
82 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010083
Jason Coopera095b1c2013-12-12 13:59:17 +000084 coreclk: mvebu-sar@18230 {
85 compatible = "marvell,armada-xp-core-clock";
86 reg = <0x18230 0x08>;
87 #clock-cells = <1>;
88 };
89
90 thermal@182b0 {
91 compatible = "marvell,armadaxp-thermal";
92 reg = <0x182b0 0x4
93 0x184d0 0x4>;
94 status = "okay";
95 };
96
97 cpuclk: clock-complex@18700 {
98 #clock-cells = <1>;
99 compatible = "marvell,armada-xp-cpu-clock";
100 reg = <0x18700 0xA0>;
101 clocks = <&coreclk 1>;
102 };
103
104 interrupt-controller@20000 {
105 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
106 };
107
108 timer@20300 {
109 compatible = "marvell,armada-xp-timer";
110 clocks = <&coreclk 2>, <&refclk>;
111 clock-names = "nbclk", "fixed";
112 };
113
Ezequiel Garcia05afeeb2014-02-10 20:00:32 -0300114 watchdog@20300 {
115 compatible = "marvell,armada-xp-wdt";
116 clocks = <&coreclk 2>, <&refclk>;
117 clock-names = "nbclk", "fixed";
118 };
119
Gregory CLEMENTb6249d42014-04-14 15:50:32 +0200120 cpurst@20800 {
121 compatible = "marvell,armada-370-cpu-reset";
122 reg = <0x20800 0x20>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200123 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200124
Willy Tarreaube5a9382013-06-03 18:47:36 +0200125 eth2: ethernet@30000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200126 compatible = "marvell,armada-370-neta";
Thomas Petazzonicf8088c2013-05-21 12:33:27 +0200127 reg = <0x30000 0x4000>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200128 interrupts = <12>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +0100129 clocks = <&gateclk 2>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +0200130 status = "disabled";
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100131 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200132
Jason Coopera095b1c2013-12-12 13:59:17 +0000133 usb@50000 {
134 clocks = <&gateclk 18>;
135 };
136
137 usb@51000 {
138 clocks = <&gateclk 19>;
139 };
140
141 usb@52000 {
142 compatible = "marvell,orion-ehci";
143 reg = <0x52000 0x500>;
144 interrupts = <47>;
145 clocks = <&gateclk 20>;
146 status = "disabled";
147 };
148
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200149 xor@60900 {
150 compatible = "marvell,orion-xor";
151 reg = <0x60900 0x100
152 0x60b00 0x100>;
153 clocks = <&gateclk 22>;
154 status = "okay";
155
156 xor10 {
157 interrupts = <51>;
158 dmacap,memcpy;
159 dmacap,xor;
160 };
161 xor11 {
162 interrupts = <52>;
163 dmacap,memcpy;
164 dmacap,xor;
165 dmacap,memset;
166 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100167 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100168
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200169 xor@f0900 {
170 compatible = "marvell,orion-xor";
171 reg = <0xF0900 0x100
172 0xF0B00 0x100>;
173 clocks = <&gateclk 28>;
174 status = "okay";
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100175
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200176 xor00 {
177 interrupts = <94>;
178 dmacap,memcpy;
179 dmacap,xor;
180 };
181 xor01 {
182 interrupts = <95>;
183 dmacap,memcpy;
184 dmacap,xor;
185 dmacap,memset;
186 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100187 };
Ezequiel Garcia693a56e2013-03-26 07:16:26 -0300188 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200189 };
Ezequiel Garciac1bbd432013-08-20 12:45:50 -0300190
191 clocks {
192 /* 25 MHz reference crystal */
193 refclk: oscillator {
194 compatible = "fixed-clock";
195 #clock-cells = <0>;
196 clock-frequency = <25000000>;
197 };
198 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200199};