1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot *  Copyright (C) 2012 Marvell Technology Group Ltd.
4*f126890aSEmmanuel Vadot *  Author: Haojian Zhuang <haojian.zhuang@marvell.com>
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot#include <dt-bindings/clock/marvell,mmp2.h>
8*f126890aSEmmanuel Vadot#include <dt-bindings/power/marvell,mmp2.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/clock/marvell,mmp2-audio.h>
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	#address-cells = <1>;
13*f126890aSEmmanuel Vadot	#size-cells = <1>;
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot	aliases {
16*f126890aSEmmanuel Vadot		serial0 = &uart1;
17*f126890aSEmmanuel Vadot		serial1 = &uart2;
18*f126890aSEmmanuel Vadot		serial2 = &uart3;
19*f126890aSEmmanuel Vadot		serial3 = &uart4;
20*f126890aSEmmanuel Vadot		i2c0 = &twsi1;
21*f126890aSEmmanuel Vadot		i2c1 = &twsi2;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	soc {
25*f126890aSEmmanuel Vadot		#address-cells = <1>;
26*f126890aSEmmanuel Vadot		#size-cells = <1>;
27*f126890aSEmmanuel Vadot		compatible = "simple-bus";
28*f126890aSEmmanuel Vadot		interrupt-parent = <&intc>;
29*f126890aSEmmanuel Vadot		ranges;
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot		L2: l2-cache {
32*f126890aSEmmanuel Vadot			compatible = "marvell,tauros2-cache";
33*f126890aSEmmanuel Vadot			marvell,tauros2-cache-features = <0x3>;
34*f126890aSEmmanuel Vadot		};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot		axi@d4200000 {	/* AXI */
37*f126890aSEmmanuel Vadot			compatible = "mrvl,axi-bus", "simple-bus";
38*f126890aSEmmanuel Vadot			#address-cells = <1>;
39*f126890aSEmmanuel Vadot			#size-cells = <1>;
40*f126890aSEmmanuel Vadot			reg = <0xd4200000 0x00200000>;
41*f126890aSEmmanuel Vadot			ranges;
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot			gpu: gpu@d420d000 {
44*f126890aSEmmanuel Vadot				compatible = "vivante,gc";
45*f126890aSEmmanuel Vadot				reg = <0xd420d000 0x4000>;
46*f126890aSEmmanuel Vadot				interrupts = <8>;
47*f126890aSEmmanuel Vadot				status = "disabled";
48*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_GPU_3D>,
49*f126890aSEmmanuel Vadot					 <&soc_clocks MMP2_CLK_GPU_BUS>;
50*f126890aSEmmanuel Vadot				clock-names = "core", "bus";
51*f126890aSEmmanuel Vadot				power-domains = <&soc_clocks MMP2_POWER_DOMAIN_GPU>;
52*f126890aSEmmanuel Vadot			};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot			intc: interrupt-controller@d4282000 {
55*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-intc";
56*f126890aSEmmanuel Vadot				interrupt-controller;
57*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
58*f126890aSEmmanuel Vadot				reg = <0xd4282000 0x1000>;
59*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <64>;
60*f126890aSEmmanuel Vadot			};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot			intcmux4: interrupt-controller@d4282150 {
63*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
64*f126890aSEmmanuel Vadot				interrupts = <4>;
65*f126890aSEmmanuel Vadot				interrupt-controller;
66*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
67*f126890aSEmmanuel Vadot				reg = <0x150 0x4>, <0x168 0x4>;
68*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
69*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <2>;
70*f126890aSEmmanuel Vadot			};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot			intcmux5: interrupt-controller@d4282154 {
73*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
74*f126890aSEmmanuel Vadot				interrupts = <5>;
75*f126890aSEmmanuel Vadot				interrupt-controller;
76*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
77*f126890aSEmmanuel Vadot				reg = <0x154 0x4>, <0x16c 0x4>;
78*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
79*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <2>;
80*f126890aSEmmanuel Vadot				mrvl,clr-mfp-irq = <1>;
81*f126890aSEmmanuel Vadot			};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot			intcmux9: interrupt-controller@d4282180 {
84*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
85*f126890aSEmmanuel Vadot				interrupts = <9>;
86*f126890aSEmmanuel Vadot				interrupt-controller;
87*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
88*f126890aSEmmanuel Vadot				reg = <0x180 0x4>, <0x17c 0x4>;
89*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
90*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <3>;
91*f126890aSEmmanuel Vadot			};
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot			intcmux17: interrupt-controller@d4282158 {
94*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
95*f126890aSEmmanuel Vadot				interrupts = <17>;
96*f126890aSEmmanuel Vadot				interrupt-controller;
97*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
98*f126890aSEmmanuel Vadot				reg = <0x158 0x4>, <0x170 0x4>;
99*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
100*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <5>;
101*f126890aSEmmanuel Vadot			};
102*f126890aSEmmanuel Vadot
103*f126890aSEmmanuel Vadot			intcmux35: interrupt-controller@d428215c {
104*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
105*f126890aSEmmanuel Vadot				interrupts = <35>;
106*f126890aSEmmanuel Vadot				interrupt-controller;
107*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
108*f126890aSEmmanuel Vadot				reg = <0x15c 0x4>, <0x174 0x4>;
109*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
110*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <15>;
111*f126890aSEmmanuel Vadot			};
112*f126890aSEmmanuel Vadot
113*f126890aSEmmanuel Vadot			intcmux51: interrupt-controller@d4282160 {
114*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
115*f126890aSEmmanuel Vadot				interrupts = <51>;
116*f126890aSEmmanuel Vadot				interrupt-controller;
117*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
118*f126890aSEmmanuel Vadot				reg = <0x160 0x4>, <0x178 0x4>;
119*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
120*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <2>;
121*f126890aSEmmanuel Vadot			};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot			intcmux55: interrupt-controller@d4282188 {
124*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp2-mux-intc";
125*f126890aSEmmanuel Vadot				interrupts = <55>;
126*f126890aSEmmanuel Vadot				interrupt-controller;
127*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
128*f126890aSEmmanuel Vadot				reg = <0x188 0x4>, <0x184 0x4>;
129*f126890aSEmmanuel Vadot				reg-names = "mux status", "mux mask";
130*f126890aSEmmanuel Vadot				mrvl,intc-nr-irqs = <2>;
131*f126890aSEmmanuel Vadot			};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot			usb_phy0: usb-phy@d4207000 {
134*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-usb-phy";
135*f126890aSEmmanuel Vadot				reg = <0xd4207000 0x40>;
136*f126890aSEmmanuel Vadot				#phy-cells = <0>;
137*f126890aSEmmanuel Vadot				status = "disabled";
138*f126890aSEmmanuel Vadot			};
139*f126890aSEmmanuel Vadot
140*f126890aSEmmanuel Vadot			usb_otg0: usb-otg@d4208000 {
141*f126890aSEmmanuel Vadot				compatible = "marvell,pxau2o-ehci";
142*f126890aSEmmanuel Vadot				reg = <0xd4208000 0x200>;
143*f126890aSEmmanuel Vadot				interrupts = <44>;
144*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_USB>;
145*f126890aSEmmanuel Vadot				clock-names = "USBCLK";
146*f126890aSEmmanuel Vadot				phys = <&usb_phy0>;
147*f126890aSEmmanuel Vadot				phy-names = "usb";
148*f126890aSEmmanuel Vadot				status = "disabled";
149*f126890aSEmmanuel Vadot			};
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot			mmc1: mmc@d4280000 {
152*f126890aSEmmanuel Vadot				compatible = "mrvl,pxav3-mmc";
153*f126890aSEmmanuel Vadot				reg = <0xd4280000 0x120>;
154*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SDH0>;
155*f126890aSEmmanuel Vadot				clock-names = "io";
156*f126890aSEmmanuel Vadot				interrupts = <39>;
157*f126890aSEmmanuel Vadot				status = "disabled";
158*f126890aSEmmanuel Vadot			};
159*f126890aSEmmanuel Vadot
160*f126890aSEmmanuel Vadot			mmc2: mmc@d4280800 {
161*f126890aSEmmanuel Vadot				compatible = "mrvl,pxav3-mmc";
162*f126890aSEmmanuel Vadot				reg = <0xd4280800 0x120>;
163*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SDH1>;
164*f126890aSEmmanuel Vadot				clock-names = "io";
165*f126890aSEmmanuel Vadot				interrupts = <52>;
166*f126890aSEmmanuel Vadot				status = "disabled";
167*f126890aSEmmanuel Vadot			};
168*f126890aSEmmanuel Vadot
169*f126890aSEmmanuel Vadot			mmc3: mmc@d4281000 {
170*f126890aSEmmanuel Vadot				compatible = "mrvl,pxav3-mmc";
171*f126890aSEmmanuel Vadot				reg = <0xd4281000 0x120>;
172*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SDH2>;
173*f126890aSEmmanuel Vadot				clock-names = "io";
174*f126890aSEmmanuel Vadot				interrupts = <53>;
175*f126890aSEmmanuel Vadot				status = "disabled";
176*f126890aSEmmanuel Vadot			};
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot			mmc4: mmc@d4281800 {
179*f126890aSEmmanuel Vadot				compatible = "mrvl,pxav3-mmc";
180*f126890aSEmmanuel Vadot				reg = <0xd4281800 0x120>;
181*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SDH3>;
182*f126890aSEmmanuel Vadot				clock-names = "io";
183*f126890aSEmmanuel Vadot				interrupts = <54>;
184*f126890aSEmmanuel Vadot				status = "disabled";
185*f126890aSEmmanuel Vadot			};
186*f126890aSEmmanuel Vadot
187*f126890aSEmmanuel Vadot			camera0: camera@d420a000 {
188*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-ccic";
189*f126890aSEmmanuel Vadot				reg = <0xd420a000 0x800>;
190*f126890aSEmmanuel Vadot				interrupts = <42>;
191*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_CCIC0>;
192*f126890aSEmmanuel Vadot				clock-names = "axi";
193*f126890aSEmmanuel Vadot				#clock-cells = <0>;
194*f126890aSEmmanuel Vadot				clock-output-names = "mclk";
195*f126890aSEmmanuel Vadot				status = "disabled";
196*f126890aSEmmanuel Vadot			};
197*f126890aSEmmanuel Vadot
198*f126890aSEmmanuel Vadot			camera1: camera@d420a800 {
199*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-ccic";
200*f126890aSEmmanuel Vadot				reg = <0xd420a800 0x800>;
201*f126890aSEmmanuel Vadot				interrupts = <30>;
202*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_CCIC1>;
203*f126890aSEmmanuel Vadot				clock-names = "axi";
204*f126890aSEmmanuel Vadot				#clock-cells = <0>;
205*f126890aSEmmanuel Vadot				clock-output-names = "mclk";
206*f126890aSEmmanuel Vadot				status = "disabled";
207*f126890aSEmmanuel Vadot			};
208*f126890aSEmmanuel Vadot
209*f126890aSEmmanuel Vadot			adma0: dma-controller@d42a0800 {
210*f126890aSEmmanuel Vadot				compatible = "marvell,adma-1.0";
211*f126890aSEmmanuel Vadot				reg = <0xd42a0800 0x100>;
212*f126890aSEmmanuel Vadot				interrupts = <48>;
213*f126890aSEmmanuel Vadot				#dma-cells = <1>;
214*f126890aSEmmanuel Vadot				asram = <&asram>;
215*f126890aSEmmanuel Vadot				iram = <&asram>;
216*f126890aSEmmanuel Vadot				status = "disabled";
217*f126890aSEmmanuel Vadot			};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot			adma1: dma-controller@d42a0900 {
220*f126890aSEmmanuel Vadot				compatible = "marvell,adma-1.0";
221*f126890aSEmmanuel Vadot				reg = <0xd42a0900 0x100>;
222*f126890aSEmmanuel Vadot				interrupts = <48>;
223*f126890aSEmmanuel Vadot				#dma-cells = <1>;
224*f126890aSEmmanuel Vadot				status = "disabled";
225*f126890aSEmmanuel Vadot			};
226*f126890aSEmmanuel Vadot
227*f126890aSEmmanuel Vadot			audio_clk: clocks@d42a0c30 {
228*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-audio-clock";
229*f126890aSEmmanuel Vadot				reg = <0xd42a0c30 0x10>;
230*f126890aSEmmanuel Vadot				clock-names = "audio", "vctcxo", "i2s0", "i2s1";
231*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_AUDIO>,
232*f126890aSEmmanuel Vadot					 <&soc_clocks MMP2_CLK_VCTCXO>,
233*f126890aSEmmanuel Vadot					 <&soc_clocks MMP2_CLK_I2S0>,
234*f126890aSEmmanuel Vadot					 <&soc_clocks MMP2_CLK_I2S1>;
235*f126890aSEmmanuel Vadot				power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
236*f126890aSEmmanuel Vadot				#clock-cells = <1>;
237*f126890aSEmmanuel Vadot				status = "disabled";
238*f126890aSEmmanuel Vadot			};
239*f126890aSEmmanuel Vadot
240*f126890aSEmmanuel Vadot			sspa0: audio-controller@d42a0c00 {
241*f126890aSEmmanuel Vadot				compatible = "marvell,mmp-sspa";
242*f126890aSEmmanuel Vadot				reg = <0xd42a0c00 0x30>,
243*f126890aSEmmanuel Vadot				      <0xd42a0c80 0x30>;
244*f126890aSEmmanuel Vadot				interrupts = <2>;
245*f126890aSEmmanuel Vadot				clock-names = "audio", "bitclk";
246*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_AUDIO>,
247*f126890aSEmmanuel Vadot					 <&audio_clk MMP2_CLK_AUDIO_SSPA0>;
248*f126890aSEmmanuel Vadot				power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
249*f126890aSEmmanuel Vadot				#sound-dai-cells = <0>;
250*f126890aSEmmanuel Vadot				status = "disabled";
251*f126890aSEmmanuel Vadot			};
252*f126890aSEmmanuel Vadot
253*f126890aSEmmanuel Vadot			sspa1: audio-controller@d42a0d00 {
254*f126890aSEmmanuel Vadot				compatible = "marvell,mmp-sspa";
255*f126890aSEmmanuel Vadot				reg = <0xd42a0d00 0x30>,
256*f126890aSEmmanuel Vadot				      <0xd42a0d80 0x30>;
257*f126890aSEmmanuel Vadot				interrupts = <3>;
258*f126890aSEmmanuel Vadot				clock-names = "audio", "bitclk";
259*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_AUDIO>,
260*f126890aSEmmanuel Vadot					 <&audio_clk MMP2_CLK_AUDIO_SSPA1>;
261*f126890aSEmmanuel Vadot				power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
262*f126890aSEmmanuel Vadot				#sound-dai-cells = <0>;
263*f126890aSEmmanuel Vadot				status = "disabled";
264*f126890aSEmmanuel Vadot			};
265*f126890aSEmmanuel Vadot		};
266*f126890aSEmmanuel Vadot
267*f126890aSEmmanuel Vadot		apb@d4000000 {	/* APB */
268*f126890aSEmmanuel Vadot			compatible = "mrvl,apb-bus", "simple-bus";
269*f126890aSEmmanuel Vadot			#address-cells = <1>;
270*f126890aSEmmanuel Vadot			#size-cells = <1>;
271*f126890aSEmmanuel Vadot			reg = <0xd4000000 0x00200000>;
272*f126890aSEmmanuel Vadot			ranges;
273*f126890aSEmmanuel Vadot
274*f126890aSEmmanuel Vadot			dma-controller@d4000000 {
275*f126890aSEmmanuel Vadot				compatible = "marvell,pdma-1.0";
276*f126890aSEmmanuel Vadot				reg = <0xd4000000 0x10000>;
277*f126890aSEmmanuel Vadot				interrupts = <48>;
278*f126890aSEmmanuel Vadot				/* For backwards compatibility: */
279*f126890aSEmmanuel Vadot				#dma-channels = <16>;
280*f126890aSEmmanuel Vadot				dma-channels = <16>;
281*f126890aSEmmanuel Vadot				status = "disabled";
282*f126890aSEmmanuel Vadot			};
283*f126890aSEmmanuel Vadot
284*f126890aSEmmanuel Vadot			timer0: timer@d4014000 {
285*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-timer";
286*f126890aSEmmanuel Vadot				reg = <0xd4014000 0x100>;
287*f126890aSEmmanuel Vadot				interrupts = <13>;
288*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TIMER>;
289*f126890aSEmmanuel Vadot			};
290*f126890aSEmmanuel Vadot
291*f126890aSEmmanuel Vadot			uart1: serial@d4030000 {
292*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
293*f126890aSEmmanuel Vadot				reg = <0xd4030000 0x1000>;
294*f126890aSEmmanuel Vadot				interrupts = <27>;
295*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_UART0>;
296*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_UART0>;
297*f126890aSEmmanuel Vadot				reg-shift = <2>;
298*f126890aSEmmanuel Vadot				status = "disabled";
299*f126890aSEmmanuel Vadot			};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot			uart2: serial@d4017000 {
302*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
303*f126890aSEmmanuel Vadot				reg = <0xd4017000 0x1000>;
304*f126890aSEmmanuel Vadot				interrupts = <28>;
305*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_UART1>;
306*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_UART1>;
307*f126890aSEmmanuel Vadot				reg-shift = <2>;
308*f126890aSEmmanuel Vadot				status = "disabled";
309*f126890aSEmmanuel Vadot			};
310*f126890aSEmmanuel Vadot
311*f126890aSEmmanuel Vadot			uart3: serial@d4018000 {
312*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
313*f126890aSEmmanuel Vadot				reg = <0xd4018000 0x1000>;
314*f126890aSEmmanuel Vadot				interrupts = <24>;
315*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_UART2>;
316*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_UART2>;
317*f126890aSEmmanuel Vadot				reg-shift = <2>;
318*f126890aSEmmanuel Vadot				status = "disabled";
319*f126890aSEmmanuel Vadot			};
320*f126890aSEmmanuel Vadot
321*f126890aSEmmanuel Vadot			uart4: serial@d4016000 {
322*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-uart", "intel,xscale-uart";
323*f126890aSEmmanuel Vadot				reg = <0xd4016000 0x1000>;
324*f126890aSEmmanuel Vadot				interrupts = <46>;
325*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_UART3>;
326*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_UART3>;
327*f126890aSEmmanuel Vadot				reg-shift = <2>;
328*f126890aSEmmanuel Vadot				status = "disabled";
329*f126890aSEmmanuel Vadot			};
330*f126890aSEmmanuel Vadot
331*f126890aSEmmanuel Vadot			gpio: gpio@d4019000 {
332*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-gpio";
333*f126890aSEmmanuel Vadot				#address-cells = <1>;
334*f126890aSEmmanuel Vadot				#size-cells = <1>;
335*f126890aSEmmanuel Vadot				reg = <0xd4019000 0x1000>;
336*f126890aSEmmanuel Vadot				gpio-controller;
337*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
338*f126890aSEmmanuel Vadot				interrupts = <49>;
339*f126890aSEmmanuel Vadot				interrupt-names = "gpio_mux";
340*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_GPIO>;
341*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_GPIO>;
342*f126890aSEmmanuel Vadot				interrupt-controller;
343*f126890aSEmmanuel Vadot				#interrupt-cells = <2>;
344*f126890aSEmmanuel Vadot				ranges;
345*f126890aSEmmanuel Vadot
346*f126890aSEmmanuel Vadot				gcb0: gpio@d4019000 {
347*f126890aSEmmanuel Vadot					reg = <0xd4019000 0x4>;
348*f126890aSEmmanuel Vadot				};
349*f126890aSEmmanuel Vadot
350*f126890aSEmmanuel Vadot				gcb1: gpio@d4019004 {
351*f126890aSEmmanuel Vadot					reg = <0xd4019004 0x4>;
352*f126890aSEmmanuel Vadot				};
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot				gcb2: gpio@d4019008 {
355*f126890aSEmmanuel Vadot					reg = <0xd4019008 0x4>;
356*f126890aSEmmanuel Vadot				};
357*f126890aSEmmanuel Vadot
358*f126890aSEmmanuel Vadot				gcb3: gpio@d4019100 {
359*f126890aSEmmanuel Vadot					reg = <0xd4019100 0x4>;
360*f126890aSEmmanuel Vadot				};
361*f126890aSEmmanuel Vadot
362*f126890aSEmmanuel Vadot				gcb4: gpio@d4019104 {
363*f126890aSEmmanuel Vadot					reg = <0xd4019104 0x4>;
364*f126890aSEmmanuel Vadot				};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot				gcb5: gpio@d4019108 {
367*f126890aSEmmanuel Vadot					reg = <0xd4019108 0x4>;
368*f126890aSEmmanuel Vadot				};
369*f126890aSEmmanuel Vadot			};
370*f126890aSEmmanuel Vadot
371*f126890aSEmmanuel Vadot			twsi1: i2c@d4011000 {
372*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-twsi";
373*f126890aSEmmanuel Vadot				reg = <0xd4011000 0x1000>;
374*f126890aSEmmanuel Vadot				interrupts = <7>;
375*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TWSI0>;
376*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_TWSI0>;
377*f126890aSEmmanuel Vadot				#address-cells = <1>;
378*f126890aSEmmanuel Vadot				#size-cells = <0>;
379*f126890aSEmmanuel Vadot				mrvl,i2c-fast-mode;
380*f126890aSEmmanuel Vadot				status = "disabled";
381*f126890aSEmmanuel Vadot			};
382*f126890aSEmmanuel Vadot
383*f126890aSEmmanuel Vadot			twsi2: i2c@d4031000 {
384*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-twsi";
385*f126890aSEmmanuel Vadot				reg = <0xd4031000 0x1000>;
386*f126890aSEmmanuel Vadot				interrupt-parent = <&intcmux17>;
387*f126890aSEmmanuel Vadot				interrupts = <0>;
388*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TWSI1>;
389*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_TWSI1>;
390*f126890aSEmmanuel Vadot				#address-cells = <1>;
391*f126890aSEmmanuel Vadot				#size-cells = <0>;
392*f126890aSEmmanuel Vadot				status = "disabled";
393*f126890aSEmmanuel Vadot			};
394*f126890aSEmmanuel Vadot
395*f126890aSEmmanuel Vadot			twsi3: i2c@d4032000 {
396*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-twsi";
397*f126890aSEmmanuel Vadot				reg = <0xd4032000 0x1000>;
398*f126890aSEmmanuel Vadot				interrupt-parent = <&intcmux17>;
399*f126890aSEmmanuel Vadot				interrupts = <1>;
400*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TWSI2>;
401*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_TWSI2>;
402*f126890aSEmmanuel Vadot				#address-cells = <1>;
403*f126890aSEmmanuel Vadot				#size-cells = <0>;
404*f126890aSEmmanuel Vadot				status = "disabled";
405*f126890aSEmmanuel Vadot			};
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot			twsi4: i2c@d4033000 {
408*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-twsi";
409*f126890aSEmmanuel Vadot				reg = <0xd4033000 0x1000>;
410*f126890aSEmmanuel Vadot				interrupt-parent = <&intcmux17>;
411*f126890aSEmmanuel Vadot				interrupts = <2>;
412*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TWSI3>;
413*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_TWSI3>;
414*f126890aSEmmanuel Vadot				#address-cells = <1>;
415*f126890aSEmmanuel Vadot				#size-cells = <0>;
416*f126890aSEmmanuel Vadot				status = "disabled";
417*f126890aSEmmanuel Vadot			};
418*f126890aSEmmanuel Vadot
419*f126890aSEmmanuel Vadot
420*f126890aSEmmanuel Vadot			twsi5: i2c@d4033800 {
421*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-twsi";
422*f126890aSEmmanuel Vadot				reg = <0xd4033800 0x1000>;
423*f126890aSEmmanuel Vadot				interrupt-parent = <&intcmux17>;
424*f126890aSEmmanuel Vadot				interrupts = <3>;
425*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TWSI4>;
426*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_TWSI4>;
427*f126890aSEmmanuel Vadot				#address-cells = <1>;
428*f126890aSEmmanuel Vadot				#size-cells = <0>;
429*f126890aSEmmanuel Vadot				status = "disabled";
430*f126890aSEmmanuel Vadot			};
431*f126890aSEmmanuel Vadot
432*f126890aSEmmanuel Vadot			twsi6: i2c@d4034000 {
433*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-twsi";
434*f126890aSEmmanuel Vadot				reg = <0xd4034000 0x1000>;
435*f126890aSEmmanuel Vadot				interrupt-parent = <&intcmux17>;
436*f126890aSEmmanuel Vadot				interrupts = <4>;
437*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_TWSI5>;
438*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_TWSI5>;
439*f126890aSEmmanuel Vadot				#address-cells = <1>;
440*f126890aSEmmanuel Vadot				#size-cells = <0>;
441*f126890aSEmmanuel Vadot				status = "disabled";
442*f126890aSEmmanuel Vadot			};
443*f126890aSEmmanuel Vadot
444*f126890aSEmmanuel Vadot			rtc: rtc@d4010000 {
445*f126890aSEmmanuel Vadot				compatible = "mrvl,mmp-rtc";
446*f126890aSEmmanuel Vadot				reg = <0xd4010000 0x1000>;
447*f126890aSEmmanuel Vadot				interrupts = <1>, <0>;
448*f126890aSEmmanuel Vadot				interrupt-names = "rtc 1Hz", "rtc alarm";
449*f126890aSEmmanuel Vadot				interrupt-parent = <&intcmux5>;
450*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_RTC>;
451*f126890aSEmmanuel Vadot				resets = <&soc_clocks MMP2_CLK_RTC>;
452*f126890aSEmmanuel Vadot				status = "disabled";
453*f126890aSEmmanuel Vadot			};
454*f126890aSEmmanuel Vadot
455*f126890aSEmmanuel Vadot			ssp1: spi@d4035000 {
456*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-ssp";
457*f126890aSEmmanuel Vadot				reg = <0xd4035000 0x1000>;
458*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SSP0>;
459*f126890aSEmmanuel Vadot				interrupts = <0>;
460*f126890aSEmmanuel Vadot				#address-cells = <1>;
461*f126890aSEmmanuel Vadot				#size-cells = <0>;
462*f126890aSEmmanuel Vadot				status = "disabled";
463*f126890aSEmmanuel Vadot			};
464*f126890aSEmmanuel Vadot
465*f126890aSEmmanuel Vadot			ssp2: spi@d4036000 {
466*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-ssp";
467*f126890aSEmmanuel Vadot				reg = <0xd4036000 0x1000>;
468*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SSP1>;
469*f126890aSEmmanuel Vadot				interrupts = <1>;
470*f126890aSEmmanuel Vadot				#address-cells = <1>;
471*f126890aSEmmanuel Vadot				#size-cells = <0>;
472*f126890aSEmmanuel Vadot				status = "disabled";
473*f126890aSEmmanuel Vadot			};
474*f126890aSEmmanuel Vadot
475*f126890aSEmmanuel Vadot			ssp3: spi@d4037000 {
476*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-ssp";
477*f126890aSEmmanuel Vadot				reg = <0xd4037000 0x1000>;
478*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SSP2>;
479*f126890aSEmmanuel Vadot				interrupts = <20>;
480*f126890aSEmmanuel Vadot				#address-cells = <1>;
481*f126890aSEmmanuel Vadot				#size-cells = <0>;
482*f126890aSEmmanuel Vadot				status = "disabled";
483*f126890aSEmmanuel Vadot			};
484*f126890aSEmmanuel Vadot
485*f126890aSEmmanuel Vadot			ssp4: spi@d4039000 {
486*f126890aSEmmanuel Vadot				compatible = "marvell,mmp2-ssp";
487*f126890aSEmmanuel Vadot				reg = <0xd4039000 0x1000>;
488*f126890aSEmmanuel Vadot				clocks = <&soc_clocks MMP2_CLK_SSP3>;
489*f126890aSEmmanuel Vadot				interrupts = <21>;
490*f126890aSEmmanuel Vadot				#address-cells = <1>;
491*f126890aSEmmanuel Vadot				#size-cells = <0>;
492*f126890aSEmmanuel Vadot				status = "disabled";
493*f126890aSEmmanuel Vadot			};
494*f126890aSEmmanuel Vadot		};
495*f126890aSEmmanuel Vadot
496*f126890aSEmmanuel Vadot		asram: sram@e0000000 {
497*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
498*f126890aSEmmanuel Vadot			reg = <0xe0000000 0x10000>;
499*f126890aSEmmanuel Vadot			ranges = <0 0xe0000000 0x10000>;
500*f126890aSEmmanuel Vadot			#address-cells = <1>;
501*f126890aSEmmanuel Vadot			#size-cells = <1>;
502*f126890aSEmmanuel Vadot			status = "disabled";
503*f126890aSEmmanuel Vadot		};
504*f126890aSEmmanuel Vadot
505*f126890aSEmmanuel Vadot		soc_clocks: clocks {
506*f126890aSEmmanuel Vadot			compatible = "marvell,mmp2-clock";
507*f126890aSEmmanuel Vadot			reg = <0xd4050000 0x2000>,
508*f126890aSEmmanuel Vadot			      <0xd4282800 0x400>,
509*f126890aSEmmanuel Vadot			      <0xd4015000 0x1000>;
510*f126890aSEmmanuel Vadot			reg-names = "mpmu", "apmu", "apbc";
511*f126890aSEmmanuel Vadot			#clock-cells = <1>;
512*f126890aSEmmanuel Vadot			#reset-cells = <1>;
513*f126890aSEmmanuel Vadot			#power-domain-cells = <1>;
514*f126890aSEmmanuel Vadot		};
515*f126890aSEmmanuel Vadot	};
516*f126890aSEmmanuel Vadot};
517