blob: 2e37ef101c9035d65efefa83854ba79c742a8d94 [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 CLEMENT2f96fbb2012-09-26 18:02:49 +020025 L2: l2-cache {
26 compatible = "marvell,aurora-system-cache";
27 reg = <0xd0008000 0x1000>;
28 cache-id-part = <0x100>;
29 wt-override;
30 };
31
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020032 mpic: interrupt-controller@d0020000 {
33 reg = <0xd0020a00 0x1d0>,
Gregory CLEMENT344e8732012-08-02 11:19:12 +030034 <0xd0021070 0x58>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020035 };
36
Gregory CLEMENT7444dad2012-08-02 11:17:51 +030037 armada-370-xp-pmsu@d0022000 {
38 compatible = "marvell,armada-370-xp-pmsu";
39 reg = <0xd0022100 0x430>,
40 <0xd0020800 0x20>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020041 };
42
43 soc {
44 serial@d0012200 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010045 compatible = "snps,dw-apb-uart";
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020046 reg = <0xd0012200 0x100>;
47 reg-shift = <2>;
48 interrupts = <43>;
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010049 reg-io-width = <4>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020050 status = "disabled";
51 };
52 serial@d0012300 {
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010053 compatible = "snps,dw-apb-uart";
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020054 reg = <0xd0012300 0x100>;
55 reg-shift = <2>;
56 interrupts = <44>;
Gregory CLEMENTb24212f2012-12-04 18:04:59 +010057 reg-io-width = <4>;
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020058 status = "disabled";
59 };
60
61 timer@d0020300 {
62 marvell,timer-25Mhz;
63 };
64
Gregory CLEMENT9d202782012-11-17 15:22:24 +010065 coreclk: mvebu-sar@d0018230 {
66 compatible = "marvell,armada-xp-core-clock";
67 reg = <0xd0018230 0x08>;
68 #clock-cells = <1>;
69 };
70
71 cpuclk: clock-complex@d0018700 {
72 #clock-cells = <1>;
73 compatible = "marvell,armada-xp-cpu-clock";
74 reg = <0xd0018700 0xA0>;
75 clocks = <&coreclk 1>;
76 };
77
78 gateclk: clock-gating-control@d0018220 {
79 compatible = "marvell,armada-xp-gating-clock";
80 reg = <0xd0018220 0x4>;
81 clocks = <&coreclk 0>;
82 #clock-cells = <1>;
83 };
84
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +020085 system-controller@d0018200 {
86 compatible = "marvell,armada-370-xp-system-controller";
87 reg = <0xd0018200 0x500>;
88 };
Thomas Petazzoni323c1012012-09-04 15:06:43 +020089
90 ethernet@d0030000 {
91 compatible = "marvell,armada-370-neta";
92 reg = <0xd0030000 0x2500>;
93 interrupts = <12>;
Thomas Petazzoni4aa935a2012-11-19 14:18:09 +010094 clocks = <&gateclk 2>;
Thomas Petazzoni323c1012012-09-04 15:06:43 +020095 status = "disabled";
96 };
97
Thomas Petazzonia1d53da2012-11-20 16:03:19 +010098 xor@d0060900 {
99 compatible = "marvell,orion-xor";
100 reg = <0xd0060900 0x100
101 0xd0060b00 0x100>;
102 clocks = <&gateclk 22>;
103 status = "okay";
104
105 xor10 {
106 interrupts = <51>;
107 dmacap,memcpy;
108 dmacap,xor;
109 };
110 xor11 {
111 interrupts = <52>;
112 dmacap,memcpy;
113 dmacap,xor;
114 dmacap,memset;
115 };
116 };
117
118 xor@d00f0900 {
119 compatible = "marvell,orion-xor";
120 reg = <0xd00F0900 0x100
121 0xd00F0B00 0x100>;
122 clocks = <&gateclk 28>;
123 status = "okay";
124
125 xor00 {
126 interrupts = <94>;
127 dmacap,memcpy;
128 dmacap,xor;
129 };
130 xor01 {
131 interrupts = <95>;
132 dmacap,memcpy;
133 dmacap,xor;
134 dmacap,memset;
135 };
136 };
Thomas Petazzoni9ae6f742012-06-13 19:01:28 +0200137 };
138};