blob: 8c07bfe21ee85e7171c00fed2b10fbfba02d357a [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 {
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020030 internal-regs {
31 L2: l2-cache {
32 compatible = "marvell,aurora-system-cache";
33 reg = <0x08000 0x1000>;
34 cache-id-part = <0x100>;
35 wt-override;
36 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020037
Thomas Petazzonibe3cd262013-04-09 23:26:18 +020038 interrupt-controller@20000 {
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020039 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
40 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020041
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020042 armada-370-xp-pmsu@22000 {
43 compatible = "marvell,armada-370-xp-pmsu";
44 reg = <0x22100 0x430>, <0x20800 0x20>;
45 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020046
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020047 serial@12200 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010048 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020049 reg = <0x12200 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020050 reg-shift = <2>;
51 interrupts = <43>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010052 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020053 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020054 };
55 serial@12300 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010056 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020057 reg = <0x12300 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020058 reg-shift = <2>;
59 interrupts = <44>;
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 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020063
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020064 timer@20300 {
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020065 marvell,timer-25Mhz;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020066 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020067
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020068 coreclk: mvebu-sar@18230 {
69 compatible = "marvell,armada-xp-core-clock";
70 reg = <0x18230 0x08>;
71 #clock-cells = <1>;
72 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010073
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020074 cpuclk: clock-complex@18700 {
75 #clock-cells = <1>;
76 compatible = "marvell,armada-xp-cpu-clock";
77 reg = <0x18700 0xA0>;
78 clocks = <&coreclk 1>;
79 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010080
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020081 gateclk: clock-gating-control@18220 {
82 compatible = "marvell,armada-xp-gating-clock";
83 reg = <0x18220 0x4>;
84 clocks = <&coreclk 0>;
85 #clock-cells = <1>;
86 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010087
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020088 system-controller@18200 {
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020089 compatible = "marvell,armada-370-xp-system-controller";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020090 reg = <0x18200 0x500>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020091 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +020092
Willy Tarreaube5a9382013-06-03 18:47:36 +020093 eth2: ethernet@30000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +020094 compatible = "marvell,armada-370-neta";
Thomas Petazzonicf8088c2013-05-21 12:33:27 +020095 reg = <0x30000 0x4000>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020096 interrupts = <12>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +010097 clocks = <&gateclk 2>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020098 status = "disabled";
Thomas Petazzonia1d53da2012-11-20 16:03:19 +010099 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200100
101 xor@60900 {
102 compatible = "marvell,orion-xor";
103 reg = <0x60900 0x100
104 0x60b00 0x100>;
105 clocks = <&gateclk 22>;
106 status = "okay";
107
108 xor10 {
109 interrupts = <51>;
110 dmacap,memcpy;
111 dmacap,xor;
112 };
113 xor11 {
114 interrupts = <52>;
115 dmacap,memcpy;
116 dmacap,xor;
117 dmacap,memset;
118 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100119 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100120
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200121 xor@f0900 {
122 compatible = "marvell,orion-xor";
123 reg = <0xF0900 0x100
124 0xF0B00 0x100>;
125 clocks = <&gateclk 28>;
126 status = "okay";
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100127
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200128 xor00 {
129 interrupts = <94>;
130 dmacap,memcpy;
131 dmacap,xor;
132 };
133 xor01 {
134 interrupts = <95>;
135 dmacap,memcpy;
136 dmacap,xor;
137 dmacap,memset;
138 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100139 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200140
141 usb@50000 {
142 clocks = <&gateclk 18>;
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100143 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300144
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200145 usb@51000 {
146 clocks = <&gateclk 19>;
147 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300148
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200149 usb@52000 {
150 compatible = "marvell,orion-ehci";
151 reg = <0x52000 0x500>;
152 interrupts = <47>;
153 clocks = <&gateclk 20>;
154 status = "disabled";
155 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300156
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200157 thermal@182b0 {
158 compatible = "marvell,armadaxp-thermal";
159 reg = <0x182b0 0x4
160 0x184d0 0x4>;
161 status = "okay";
162 };
Ezequiel Garcia693a56e2013-03-26 07:16:26 -0300163 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200164 };
165};