1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Marvell Armada XP family SoC
5 * Copyright (C) 2012 Marvell
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 * Contains definitions specific to the Armada XP MV78230 SoC that are not
10 * common to all Armada XP SoCs.
13 #include "armada-xp.dtsi"
16 model = "Marvell Armada XP MV78230 SoC";
17 compatible = "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
27 enable-method = "marvell,armada-xp-smp";
31 compatible = "marvell,sheeva-v7";
34 clock-latency = <1000000>;
39 compatible = "marvell,sheeva-v7";
42 clock-latency = <1000000>;
48 * MV78230 has 2 PCIe units Gen2.0: One unit can be
49 * configured as x4 or quad x1 lanes. One unit is
52 pciec: pcie@82000000 {
53 compatible = "marvell,armada-xp-pcie";
61 bus-range = <0x00 0xff>;
64 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 /* Port 0.0 registers */
65 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000 /* Port 0.1 registers */
66 0x82000000 0 0x48000 MBUS_ID(0xf0, 0x01) 0x48000 0 0x00002000 /* Port 0.2 registers */
67 0x82000000 0 0x4c000 MBUS_ID(0xf0, 0x01) 0x4c000 0 0x00002000 /* Port 0.3 registers */
68 0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000 /* Port 1.0 registers */
69 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
70 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */
71 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 0.1 MEM */
72 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 0.1 IO */
73 0x82000000 0x3 0 MBUS_ID(0x04, 0xb8) 0 1 0 /* Port 0.2 MEM */
74 0x81000000 0x3 0 MBUS_ID(0x04, 0xb0) 0 1 0 /* Port 0.2 IO */
75 0x82000000 0x4 0 MBUS_ID(0x04, 0x78) 0 1 0 /* Port 0.3 MEM */
76 0x81000000 0x4 0 MBUS_ID(0x04, 0x70) 0 1 0 /* Port 0.3 IO */
77 0x82000000 0x5 0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 MEM */
78 0x81000000 0x5 0 MBUS_ID(0x08, 0xe0) 0 1 0 /* Port 1.0 IO */>;
82 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
83 reg = <0x0800 0 0 0 0>;
86 interrupt-names = "intx";
87 interrupts-extended = <&mpic 58>;
88 #interrupt-cells = <1>;
89 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
90 0x81000000 0 0 0x81000000 0x1 0 1 0>;
91 bus-range = <0x00 0xff>;
92 interrupt-map-mask = <0 0 0 7>;
93 interrupt-map = <0 0 0 1 &pcie1_intc 0>,
94 <0 0 0 2 &pcie1_intc 1>,
95 <0 0 0 3 &pcie1_intc 2>,
96 <0 0 0 4 &pcie1_intc 3>;
97 marvell,pcie-port = <0>;
98 marvell,pcie-lane = <0>;
99 clocks = <&gateclk 5>;
102 pcie1_intc: interrupt-controller {
103 interrupt-controller;
104 #interrupt-cells = <1>;
110 assigned-addresses = <0x82001000 0 0x44000 0 0x2000>;
111 reg = <0x1000 0 0 0 0>;
112 #address-cells = <3>;
114 interrupt-names = "intx";
115 interrupts-extended = <&mpic 59>;
116 #interrupt-cells = <1>;
117 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
118 0x81000000 0 0 0x81000000 0x2 0 1 0>;
119 bus-range = <0x00 0xff>;
120 interrupt-map-mask = <0 0 0 7>;
121 interrupt-map = <0 0 0 1 &pcie2_intc 0>,
122 <0 0 0 2 &pcie2_intc 1>,
123 <0 0 0 3 &pcie2_intc 2>,
124 <0 0 0 4 &pcie2_intc 3>;
125 marvell,pcie-port = <0>;
126 marvell,pcie-lane = <1>;
127 clocks = <&gateclk 6>;
130 pcie2_intc: interrupt-controller {
131 interrupt-controller;
132 #interrupt-cells = <1>;
138 assigned-addresses = <0x82001800 0 0x48000 0 0x2000>;
139 reg = <0x1800 0 0 0 0>;
140 #address-cells = <3>;
142 interrupt-names = "intx";
143 interrupts-extended = <&mpic 60>;
144 #interrupt-cells = <1>;
145 ranges = <0x82000000 0 0 0x82000000 0x3 0 1 0
146 0x81000000 0 0 0x81000000 0x3 0 1 0>;
147 bus-range = <0x00 0xff>;
148 interrupt-map-mask = <0 0 0 7>;
149 interrupt-map = <0 0 0 1 &pcie3_intc 0>,
150 <0 0 0 2 &pcie3_intc 1>,
151 <0 0 0 3 &pcie3_intc 2>,
152 <0 0 0 4 &pcie3_intc 3>;
153 marvell,pcie-port = <0>;
154 marvell,pcie-lane = <2>;
155 clocks = <&gateclk 7>;
158 pcie3_intc: interrupt-controller {
159 interrupt-controller;
160 #interrupt-cells = <1>;
166 assigned-addresses = <0x82002000 0 0x4c000 0 0x2000>;
167 reg = <0x2000 0 0 0 0>;
168 #address-cells = <3>;
170 interrupt-names = "intx";
171 interrupts-extended = <&mpic 61>;
172 #interrupt-cells = <1>;
173 ranges = <0x82000000 0 0 0x82000000 0x4 0 1 0
174 0x81000000 0 0 0x81000000 0x4 0 1 0>;
175 bus-range = <0x00 0xff>;
176 interrupt-map-mask = <0 0 0 7>;
177 interrupt-map = <0 0 0 1 &pcie4_intc 0>,
178 <0 0 0 2 &pcie4_intc 1>,
179 <0 0 0 3 &pcie4_intc 2>,
180 <0 0 0 4 &pcie4_intc 3>;
181 marvell,pcie-port = <0>;
182 marvell,pcie-lane = <3>;
183 clocks = <&gateclk 8>;
186 pcie4_intc: interrupt-controller {
187 interrupt-controller;
188 #interrupt-cells = <1>;
194 assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
195 reg = <0x2800 0 0 0 0>;
196 #address-cells = <3>;
198 interrupt-names = "intx";
199 interrupts-extended = <&mpic 62>;
200 #interrupt-cells = <1>;
201 ranges = <0x82000000 0 0 0x82000000 0x5 0 1 0
202 0x81000000 0 0 0x81000000 0x5 0 1 0>;
203 bus-range = <0x00 0xff>;
204 interrupt-map-mask = <0 0 0 7>;
205 interrupt-map = <0 0 0 1 &pcie5_intc 0>,
206 <0 0 0 2 &pcie5_intc 1>,
207 <0 0 0 3 &pcie5_intc 2>,
208 <0 0 0 4 &pcie5_intc 3>;
209 marvell,pcie-port = <1>;
210 marvell,pcie-lane = <0>;
211 clocks = <&gateclk 9>;
214 pcie5_intc: interrupt-controller {
215 interrupt-controller;
216 #interrupt-cells = <1>;
223 compatible = "marvell,armada-370-gpio",
224 "marvell,orion-gpio";
225 reg = <0x18100 0x40>, <0x181c0 0x08>;
226 reg-names = "gpio", "pwm";
231 interrupt-controller;
232 #interrupt-cells = <2>;
233 interrupts = <82>, <83>, <84>, <85>;
234 clocks = <&coreclk 0>;
238 compatible = "marvell,armada-370-gpio",
239 "marvell,orion-gpio";
240 reg = <0x18140 0x40>, <0x181c8 0x08>;
241 reg-names = "gpio", "pwm";
246 interrupt-controller;
247 #interrupt-cells = <2>;
248 interrupts = <87>, <88>, <89>;
249 clocks = <&coreclk 0>;
256 compatible = "marvell,mv78230-pinctrl";