blob: 5b902f9a3af29a84fd0ee83000c8d0f2ffa280ea [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
19/include/ "armada-370-xp.dtsi"
20
21/ {
22 model = "Marvell Armada XP family SoC";
23 compatible = "marvell,armadaxp", "marvell,armada-370-xp";
24
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020025 soc {
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020026 internal-regs {
27 L2: l2-cache {
28 compatible = "marvell,aurora-system-cache";
29 reg = <0x08000 0x1000>;
30 cache-id-part = <0x100>;
31 wt-override;
32 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020033
Thomas Petazzonibe3cd262013-04-09 23:26:18 +020034 interrupt-controller@20000 {
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020035 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
36 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020037
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020038 armada-370-xp-pmsu@22000 {
39 compatible = "marvell,armada-370-xp-pmsu";
40 reg = <0x22100 0x430>, <0x20800 0x20>;
41 };
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020042
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020043 serial@12200 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010044 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020045 reg = <0x12200 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020046 reg-shift = <2>;
47 interrupts = <43>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010048 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020049 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020050 };
51 serial@12300 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010052 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020053 reg = <0x12300 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020054 reg-shift = <2>;
55 interrupts = <44>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010056 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020057 status = "disabled";
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020058 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020059
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020060 timer@20300 {
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020061 marvell,timer-25Mhz;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020062 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020063
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020064 coreclk: mvebu-sar@18230 {
65 compatible = "marvell,armada-xp-core-clock";
66 reg = <0x18230 0x08>;
67 #clock-cells = <1>;
68 };
Gregory CLEMENT9d202782012-11-17 15:22:24 +010069
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020070 cpuclk: clock-complex@18700 {
71 #clock-cells = <1>;
72 compatible = "marvell,armada-xp-cpu-clock";
73 reg = <0x18700 0xA0>;
74 clocks = <&coreclk 1>;
75 };
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
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020084 system-controller@18200 {
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020085 compatible = "marvell,armada-370-xp-system-controller";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020086 reg = <0x18200 0x500>;
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020087 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +020088
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020089 ethernet@30000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +020090 compatible = "marvell,armada-370-neta";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020091 reg = <0x30000 0x2500>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020092 interrupts = <12>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +010093 clocks = <&gateclk 2>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020094 status = "disabled";
Thomas Petazzonia1d53da2012-11-20 16:03:19 +010095 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +020096
97 xor@60900 {
98 compatible = "marvell,orion-xor";
99 reg = <0x60900 0x100
100 0x60b00 0x100>;
101 clocks = <&gateclk 22>;
102 status = "okay";
103
104 xor10 {
105 interrupts = <51>;
106 dmacap,memcpy;
107 dmacap,xor;
108 };
109 xor11 {
110 interrupts = <52>;
111 dmacap,memcpy;
112 dmacap,xor;
113 dmacap,memset;
114 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100115 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100116
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200117 xor@f0900 {
118 compatible = "marvell,orion-xor";
119 reg = <0xF0900 0x100
120 0xF0B00 0x100>;
121 clocks = <&gateclk 28>;
122 status = "okay";
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100123
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200124 xor00 {
125 interrupts = <94>;
126 dmacap,memcpy;
127 dmacap,xor;
128 };
129 xor01 {
130 interrupts = <95>;
131 dmacap,memcpy;
132 dmacap,xor;
133 dmacap,memset;
134 };
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100135 };
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200136
137 usb@50000 {
138 clocks = <&gateclk 18>;
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100139 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300140
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200141 usb@51000 {
142 clocks = <&gateclk 19>;
143 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300144
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200145 usb@52000 {
146 compatible = "marvell,orion-ehci";
147 reg = <0x52000 0x500>;
148 interrupts = <47>;
149 clocks = <&gateclk 20>;
150 status = "disabled";
151 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300152
Gregory CLEMENT467f54b2013-04-12 16:29:09 +0200153 thermal@182b0 {
154 compatible = "marvell,armadaxp-thermal";
155 reg = <0x182b0 0x4
156 0x184d0 0x4>;
157 status = "okay";
158 };
Ezequiel Garcia693a56e2013-03-26 07:16:26 -0300159 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200160 };
161};