]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/armada-xp.dtsi
ARM: dts: mvebu: Convert all the mvebu files to use the range property
[karo-tx-linux.git] / arch / arm / boot / dts / armada-xp.dtsi
1 /*
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  *
15  * Contains definitions specific to the Armada XP SoC that are not
16  * 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
25
26         soc {
27                 L2: l2-cache {
28                         compatible = "marvell,aurora-system-cache";
29                         reg = <0x08000 0x1000>;
30                         cache-id-part = <0x100>;
31                         wt-override;
32                 };
33
34                 mpic: interrupt-controller@20000 {
35                       reg = <0x20a00 0x2d0>,
36                             <0x21070 0x58>;
37                 };
38
39                 armada-370-xp-pmsu@22000 {
40                         compatible = "marvell,armada-370-xp-pmsu";
41                         reg = <0x22100 0x430>,
42                               <0x20800 0x20>;
43                 };
44
45                 serial@12200 {
46                                 compatible = "snps,dw-apb-uart";
47                                 reg = <0x12200 0x100>;
48                                 reg-shift = <2>;
49                                 interrupts = <43>;
50                                 reg-io-width = <1>;
51                                 status = "disabled";
52                 };
53                 serial@12300 {
54                                 compatible = "snps,dw-apb-uart";
55                                 reg = <0x12300 0x100>;
56                                 reg-shift = <2>;
57                                 interrupts = <44>;
58                                 reg-io-width = <1>;
59                                 status = "disabled";
60                 };
61
62                 timer@20300 {
63                                 marvell,timer-25Mhz;
64                 };
65
66                 coreclk: mvebu-sar@18230 {
67                         compatible = "marvell,armada-xp-core-clock";
68                         reg = <0x18230 0x08>;
69                         #clock-cells = <1>;
70                 };
71
72                 cpuclk: clock-complex@18700 {
73                         #clock-cells = <1>;
74                         compatible = "marvell,armada-xp-cpu-clock";
75                         reg = <0x18700 0xA0>;
76                         clocks = <&coreclk 1>;
77                 };
78
79                 gateclk: clock-gating-control@18220 {
80                         compatible = "marvell,armada-xp-gating-clock";
81                         reg = <0x18220 0x4>;
82                         clocks = <&coreclk 0>;
83                         #clock-cells = <1>;
84                 };
85
86                 system-controller@18200 {
87                                 compatible = "marvell,armada-370-xp-system-controller";
88                                 reg = <0x18200 0x500>;
89                 };
90
91                 ethernet@30000 {
92                                 compatible = "marvell,armada-370-neta";
93                                 reg = <0x30000 0x2500>;
94                                 interrupts = <12>;
95                                 clocks = <&gateclk 2>;
96                                 status = "disabled";
97                 };
98
99                 xor@60900 {
100                         compatible = "marvell,orion-xor";
101                         reg = <0x60900 0x100
102                                0x60b00 0x100>;
103                         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
119                 xor@f0900 {
120                         compatible = "marvell,orion-xor";
121                         reg = <0xF0900 0x100
122                                0xF0B00 0x100>;
123                         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                 };
138
139                 usb@50000 {
140                         clocks = <&gateclk 18>;
141                 };
142
143                 usb@51000 {
144                         clocks = <&gateclk 19>;
145                 };
146
147                 usb@52000 {
148                         compatible = "marvell,orion-ehci";
149                         reg = <0x52000 0x500>;
150                         interrupts = <47>;
151                         clocks = <&gateclk 20>;
152                         status = "disabled";
153                 };
154
155                 thermal@182b0 {
156                         compatible = "marvell,armadaxp-thermal";
157                         reg = <0x182b0 0x4
158                                0x184d0 0x4>;
159                         status = "okay";
160                 };
161         };
162 };