blob: 465b9fa116ea98eabc561b6fbf3ef3a024662060 [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
Gregory CLEMENT82a68262013-04-12 16:29:08 +020025
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020026 soc {
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020027 L2: l2-cache {
28 compatible = "marvell,aurora-system-cache";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020029 reg = <0x08000 0x1000>;
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020030 cache-id-part = <0x100>;
31 wt-override;
32 };
33
Gregory CLEMENT82a68262013-04-12 16:29:08 +020034 mpic: interrupt-controller@20000 {
35 reg = <0x20a00 0x2d0>,
36 <0x21070 0x58>;
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020037 };
38
Gregory CLEMENT82a68262013-04-12 16:29:08 +020039 armada-370-xp-pmsu@22000 {
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020040 compatible = "marvell,armada-370-xp-pmsu";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020041 reg = <0x22100 0x430>,
42 <0x20800 0x20>;
Thomas Petazzonib18ea4d2013-04-12 16:29:07 +020043 };
44
Gregory CLEMENT82a68262013-04-12 16:29:08 +020045 serial@12200 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010046 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020047 reg = <0x12200 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020048 reg-shift = <2>;
49 interrupts = <43>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010050 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020051 status = "disabled";
52 };
Gregory CLEMENT82a68262013-04-12 16:29:08 +020053 serial@12300 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010054 compatible = "snps,dw-apb-uart";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020055 reg = <0x12300 0x100>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020056 reg-shift = <2>;
57 interrupts = <44>;
Heikki Krogeruse3661542013-03-06 11:23:33 +010058 reg-io-width = <1>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020059 status = "disabled";
60 };
61
Gregory CLEMENT82a68262013-04-12 16:29:08 +020062 timer@20300 {
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020063 marvell,timer-25Mhz;
64 };
65
Gregory CLEMENT82a68262013-04-12 16:29:08 +020066 coreclk: mvebu-sar@18230 {
Gregory CLEMENT9d202782012-11-17 15:22:24 +010067 compatible = "marvell,armada-xp-core-clock";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020068 reg = <0x18230 0x08>;
Gregory CLEMENT9d202782012-11-17 15:22:24 +010069 #clock-cells = <1>;
70 };
71
Gregory CLEMENT82a68262013-04-12 16:29:08 +020072 cpuclk: clock-complex@18700 {
Gregory CLEMENT9d202782012-11-17 15:22:24 +010073 #clock-cells = <1>;
74 compatible = "marvell,armada-xp-cpu-clock";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020075 reg = <0x18700 0xA0>;
Gregory CLEMENT9d202782012-11-17 15:22:24 +010076 clocks = <&coreclk 1>;
77 };
78
Gregory CLEMENT82a68262013-04-12 16:29:08 +020079 gateclk: clock-gating-control@18220 {
Gregory CLEMENT9d202782012-11-17 15:22:24 +010080 compatible = "marvell,armada-xp-gating-clock";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020081 reg = <0x18220 0x4>;
Gregory CLEMENT9d202782012-11-17 15:22:24 +010082 clocks = <&coreclk 0>;
83 #clock-cells = <1>;
84 };
85
Gregory CLEMENT82a68262013-04-12 16:29:08 +020086 system-controller@18200 {
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020087 compatible = "marvell,armada-370-xp-system-controller";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020088 reg = <0x18200 0x500>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020089 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +020090
Gregory CLEMENT82a68262013-04-12 16:29:08 +020091 ethernet@30000 {
Thomas Petazzoni323c1012012-09-04 15:06:43 +020092 compatible = "marvell,armada-370-neta";
Gregory CLEMENT82a68262013-04-12 16:29:08 +020093 reg = <0x30000 0x2500>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020094 interrupts = <12>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +010095 clocks = <&gateclk 2>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020096 status = "disabled";
97 };
98
Gregory CLEMENT82a68262013-04-12 16:29:08 +020099 xor@60900 {
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100100 compatible = "marvell,orion-xor";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200101 reg = <0x60900 0x100
102 0x60b00 0x100>;
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100103 clocks = <&gateclk 22>;
104 status = "okay";
105
106 xor10 {
107 interrupts = <51>;
108 dmacap,memcpy;
109 dmacap,xor;
110 };
111 xor11 {
112 interrupts = <52>;
113 dmacap,memcpy;
114 dmacap,xor;
115 dmacap,memset;
116 };
117 };
118
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200119 xor@f0900 {
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100120 compatible = "marvell,orion-xor";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200121 reg = <0xF0900 0x100
122 0xF0B00 0x100>;
Thomas Petazzonia1d53da2012-11-20 16:03:19 +0100123 clocks = <&gateclk 28>;
124 status = "okay";
125
126 xor00 {
127 interrupts = <94>;
128 dmacap,memcpy;
129 dmacap,xor;
130 };
131 xor01 {
132 interrupts = <95>;
133 dmacap,memcpy;
134 dmacap,xor;
135 dmacap,memset;
136 };
137 };
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300138
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200139 usb@50000 {
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300140 clocks = <&gateclk 18>;
141 };
142
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200143 usb@51000 {
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300144 clocks = <&gateclk 19>;
145 };
146
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200147 usb@52000 {
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300148 compatible = "marvell,orion-ehci";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200149 reg = <0x52000 0x500>;
Ezequiel Garciab2bb8062013-01-23 12:26:30 -0300150 interrupts = <47>;
151 clocks = <&gateclk 20>;
152 status = "disabled";
153 };
154
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200155 thermal@182b0 {
Ezequiel Garcia693a56e2013-03-26 07:16:26 -0300156 compatible = "marvell,armadaxp-thermal";
Gregory CLEMENT82a68262013-04-12 16:29:08 +0200157 reg = <0x182b0 0x4
158 0x184d0 0x4>;
Ezequiel Garcia693a56e2013-03-26 07:16:26 -0300159 status = "okay";
160 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200161 };
162};