xref: /freebsd-src/sys/contrib/device-tree/src/arm/marvell/kirkwood.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
3*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
4*f126890aSEmmanuel Vadot
5*f126890aSEmmanuel Vadot#define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	#address-cells = <1>;
9*f126890aSEmmanuel Vadot	#size-cells = <1>;
10*f126890aSEmmanuel Vadot	compatible = "marvell,kirkwood";
11*f126890aSEmmanuel Vadot	interrupt-parent = <&intc>;
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	cpus {
14*f126890aSEmmanuel Vadot		#address-cells = <1>;
15*f126890aSEmmanuel Vadot		#size-cells = <0>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot		cpu@0 {
18*f126890aSEmmanuel Vadot			device_type = "cpu";
19*f126890aSEmmanuel Vadot			compatible = "marvell,feroceon";
20*f126890aSEmmanuel Vadot			reg = <0>;
21*f126890aSEmmanuel Vadot			clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
22*f126890aSEmmanuel Vadot			clock-names = "cpu_clk", "ddrclk", "powersave";
23*f126890aSEmmanuel Vadot		};
24*f126890aSEmmanuel Vadot	};
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot	aliases {
27*f126890aSEmmanuel Vadot		gpio0 = &gpio0;
28*f126890aSEmmanuel Vadot		gpio1 = &gpio1;
29*f126890aSEmmanuel Vadot		i2c0 = &i2c0;
30*f126890aSEmmanuel Vadot	};
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot	mbus@f1000000 {
33*f126890aSEmmanuel Vadot		compatible = "marvell,kirkwood-mbus", "simple-bus";
34*f126890aSEmmanuel Vadot		#address-cells = <2>;
35*f126890aSEmmanuel Vadot		#size-cells = <1>;
36*f126890aSEmmanuel Vadot		/* If a board file needs to change this ranges it must replace it completely */
37*f126890aSEmmanuel Vadot		ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000	/* internal-regs */
38*f126890aSEmmanuel Vadot			  MBUS_ID(0x01, 0x2f) 0 0xf4000000 0x10000	/* nand flash */
39*f126890aSEmmanuel Vadot			  MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000	/* crypto sram */
40*f126890aSEmmanuel Vadot			  >;
41*f126890aSEmmanuel Vadot		controller = <&mbusc>;
42*f126890aSEmmanuel Vadot		pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
43*f126890aSEmmanuel Vadot		pcie-io-aperture  = <0xf2000000 0x100000>;   /*   1 MiB    I/O space */
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot		nand: nand@12f {
46*f126890aSEmmanuel Vadot			#address-cells = <1>;
47*f126890aSEmmanuel Vadot			#size-cells = <1>;
48*f126890aSEmmanuel Vadot			cle = <0>;
49*f126890aSEmmanuel Vadot			ale = <1>;
50*f126890aSEmmanuel Vadot			bank-width = <1>;
51*f126890aSEmmanuel Vadot			compatible = "marvell,orion-nand";
52*f126890aSEmmanuel Vadot			reg = <MBUS_ID(0x01, 0x2f) 0 0x400>;
53*f126890aSEmmanuel Vadot			chip-delay = <25>;
54*f126890aSEmmanuel Vadot			/* set partition map and/or chip-delay in board dts */
55*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
56*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_nand>;
57*f126890aSEmmanuel Vadot			pinctrl-names = "default";
58*f126890aSEmmanuel Vadot			status = "disabled";
59*f126890aSEmmanuel Vadot		};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot		crypto_sram: sa-sram@301 {
62*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
63*f126890aSEmmanuel Vadot			reg = <MBUS_ID(0x03, 0x01) 0x0 0x800>;
64*f126890aSEmmanuel Vadot			clocks = <&gate_clk 17>;
65*f126890aSEmmanuel Vadot			#address-cells = <1>;
66*f126890aSEmmanuel Vadot			#size-cells = <1>;
67*f126890aSEmmanuel Vadot		};
68*f126890aSEmmanuel Vadot	};
69*f126890aSEmmanuel Vadot
70*f126890aSEmmanuel Vadot	ocp@f1000000 {
71*f126890aSEmmanuel Vadot		compatible = "simple-bus";
72*f126890aSEmmanuel Vadot		ranges = <0x00000000 0xf1000000 0x0100000>;
73*f126890aSEmmanuel Vadot		#address-cells = <1>;
74*f126890aSEmmanuel Vadot		#size-cells = <1>;
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot		pinctrl: pin-controller@10000 {
77*f126890aSEmmanuel Vadot			/* set compatible property in SoC file */
78*f126890aSEmmanuel Vadot			reg = <0x10000 0x20>;
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot			pmx_ge1: pmx-ge1 {
81*f126890aSEmmanuel Vadot				marvell,pins = "mpp20", "mpp21", "mpp22", "mpp23",
82*f126890aSEmmanuel Vadot					       "mpp24", "mpp25", "mpp26", "mpp27",
83*f126890aSEmmanuel Vadot					       "mpp30", "mpp31", "mpp32", "mpp33";
84*f126890aSEmmanuel Vadot				marvell,function = "ge1";
85*f126890aSEmmanuel Vadot			};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot			pmx_nand: pmx-nand {
88*f126890aSEmmanuel Vadot				marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
89*f126890aSEmmanuel Vadot					       "mpp4", "mpp5", "mpp18", "mpp19";
90*f126890aSEmmanuel Vadot				marvell,function = "nand";
91*f126890aSEmmanuel Vadot			};
92*f126890aSEmmanuel Vadot
93*f126890aSEmmanuel Vadot			/*
94*f126890aSEmmanuel Vadot			 * Default SPI0 pinctrl setting with CSn on mpp0,
95*f126890aSEmmanuel Vadot			 * overwrite marvell,pins on board level if required.
96*f126890aSEmmanuel Vadot			 */
97*f126890aSEmmanuel Vadot			pmx_spi: pmx-spi {
98*f126890aSEmmanuel Vadot				marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
99*f126890aSEmmanuel Vadot				marvell,function = "spi";
100*f126890aSEmmanuel Vadot			};
101*f126890aSEmmanuel Vadot
102*f126890aSEmmanuel Vadot			pmx_twsi0: pmx-twsi0 {
103*f126890aSEmmanuel Vadot				marvell,pins = "mpp8", "mpp9";
104*f126890aSEmmanuel Vadot				marvell,function = "twsi0";
105*f126890aSEmmanuel Vadot			};
106*f126890aSEmmanuel Vadot
107*f126890aSEmmanuel Vadot			/*
108*f126890aSEmmanuel Vadot			 * Default UART pinctrl setting without RTS/CTS,
109*f126890aSEmmanuel Vadot			 * overwrite marvell,pins on board level if required.
110*f126890aSEmmanuel Vadot			 */
111*f126890aSEmmanuel Vadot			pmx_uart0: pmx-uart0 {
112*f126890aSEmmanuel Vadot				marvell,pins = "mpp10", "mpp11";
113*f126890aSEmmanuel Vadot				marvell,function = "uart0";
114*f126890aSEmmanuel Vadot			};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot			pmx_uart1: pmx-uart1 {
117*f126890aSEmmanuel Vadot				marvell,pins = "mpp13", "mpp14";
118*f126890aSEmmanuel Vadot				marvell,function = "uart1";
119*f126890aSEmmanuel Vadot			};
120*f126890aSEmmanuel Vadot		};
121*f126890aSEmmanuel Vadot
122*f126890aSEmmanuel Vadot		core_clk: core-clocks@10030 {
123*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-core-clock";
124*f126890aSEmmanuel Vadot			reg = <0x10030 0x4>;
125*f126890aSEmmanuel Vadot			#clock-cells = <1>;
126*f126890aSEmmanuel Vadot		};
127*f126890aSEmmanuel Vadot
128*f126890aSEmmanuel Vadot		spi0: spi@10600 {
129*f126890aSEmmanuel Vadot			compatible = "marvell,orion-spi";
130*f126890aSEmmanuel Vadot			#address-cells = <1>;
131*f126890aSEmmanuel Vadot			#size-cells = <0>;
132*f126890aSEmmanuel Vadot			cell-index = <0>;
133*f126890aSEmmanuel Vadot			interrupts = <23>;
134*f126890aSEmmanuel Vadot			reg = <0x10600 0x28>;
135*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
136*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_spi>;
137*f126890aSEmmanuel Vadot			pinctrl-names = "default";
138*f126890aSEmmanuel Vadot			status = "disabled";
139*f126890aSEmmanuel Vadot		};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot		gpio0: gpio@10100 {
142*f126890aSEmmanuel Vadot			compatible = "marvell,orion-gpio";
143*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
144*f126890aSEmmanuel Vadot			gpio-controller;
145*f126890aSEmmanuel Vadot			reg = <0x10100 0x40>;
146*f126890aSEmmanuel Vadot			ngpios = <32>;
147*f126890aSEmmanuel Vadot			interrupt-controller;
148*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
149*f126890aSEmmanuel Vadot			interrupts = <35>, <36>, <37>, <38>;
150*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
151*f126890aSEmmanuel Vadot		};
152*f126890aSEmmanuel Vadot
153*f126890aSEmmanuel Vadot		gpio1: gpio@10140 {
154*f126890aSEmmanuel Vadot			compatible = "marvell,orion-gpio";
155*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
156*f126890aSEmmanuel Vadot			gpio-controller;
157*f126890aSEmmanuel Vadot			reg = <0x10140 0x40>;
158*f126890aSEmmanuel Vadot			ngpios = <18>;
159*f126890aSEmmanuel Vadot			interrupt-controller;
160*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
161*f126890aSEmmanuel Vadot			interrupts = <39>, <40>, <41>;
162*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
163*f126890aSEmmanuel Vadot		};
164*f126890aSEmmanuel Vadot
165*f126890aSEmmanuel Vadot		i2c0: i2c@11000 {
166*f126890aSEmmanuel Vadot			compatible = "marvell,mv64xxx-i2c";
167*f126890aSEmmanuel Vadot			reg = <0x11000 0x20>;
168*f126890aSEmmanuel Vadot			#address-cells = <1>;
169*f126890aSEmmanuel Vadot			#size-cells = <0>;
170*f126890aSEmmanuel Vadot			interrupts = <29>;
171*f126890aSEmmanuel Vadot			clock-frequency = <100000>;
172*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
173*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_twsi0>;
174*f126890aSEmmanuel Vadot			pinctrl-names = "default";
175*f126890aSEmmanuel Vadot			status = "disabled";
176*f126890aSEmmanuel Vadot		};
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot		uart0: serial@12000 {
179*f126890aSEmmanuel Vadot			compatible = "ns16550a";
180*f126890aSEmmanuel Vadot			reg = <0x12000 0x100>;
181*f126890aSEmmanuel Vadot			reg-shift = <2>;
182*f126890aSEmmanuel Vadot			interrupts = <33>;
183*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
184*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_uart0>;
185*f126890aSEmmanuel Vadot			pinctrl-names = "default";
186*f126890aSEmmanuel Vadot			status = "disabled";
187*f126890aSEmmanuel Vadot		};
188*f126890aSEmmanuel Vadot
189*f126890aSEmmanuel Vadot		uart1: serial@12100 {
190*f126890aSEmmanuel Vadot			compatible = "ns16550a";
191*f126890aSEmmanuel Vadot			reg = <0x12100 0x100>;
192*f126890aSEmmanuel Vadot			reg-shift = <2>;
193*f126890aSEmmanuel Vadot			interrupts = <34>;
194*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
195*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_uart1>;
196*f126890aSEmmanuel Vadot			pinctrl-names = "default";
197*f126890aSEmmanuel Vadot			status = "disabled";
198*f126890aSEmmanuel Vadot		};
199*f126890aSEmmanuel Vadot
200*f126890aSEmmanuel Vadot		mbusc: mbus-controller@20000 {
201*f126890aSEmmanuel Vadot			compatible = "marvell,mbus-controller";
202*f126890aSEmmanuel Vadot			reg = <0x20000 0x80>, <0x1500 0x20>;
203*f126890aSEmmanuel Vadot		};
204*f126890aSEmmanuel Vadot
205*f126890aSEmmanuel Vadot		sysc: system-controller@20000 {
206*f126890aSEmmanuel Vadot			compatible = "marvell,orion-system-controller";
207*f126890aSEmmanuel Vadot			reg = <0x20000 0x120>;
208*f126890aSEmmanuel Vadot		};
209*f126890aSEmmanuel Vadot
210*f126890aSEmmanuel Vadot		bridge_intc: bridge-interrupt-ctrl@20110 {
211*f126890aSEmmanuel Vadot			compatible = "marvell,orion-bridge-intc";
212*f126890aSEmmanuel Vadot			interrupt-controller;
213*f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
214*f126890aSEmmanuel Vadot			reg = <0x20110 0x8>;
215*f126890aSEmmanuel Vadot			interrupts = <1>;
216*f126890aSEmmanuel Vadot			marvell,#interrupts = <6>;
217*f126890aSEmmanuel Vadot		};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot		gate_clk: clock-gating-control@2011c {
220*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-gating-clock";
221*f126890aSEmmanuel Vadot			reg = <0x2011c 0x4>;
222*f126890aSEmmanuel Vadot			clocks = <&core_clk 0>;
223*f126890aSEmmanuel Vadot			#clock-cells = <1>;
224*f126890aSEmmanuel Vadot		};
225*f126890aSEmmanuel Vadot
226*f126890aSEmmanuel Vadot		l2: l2-cache@20128 {
227*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-cache";
228*f126890aSEmmanuel Vadot			reg = <0x20128 0x4>;
229*f126890aSEmmanuel Vadot		};
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot		intc: interrupt-controller@20200 {
232*f126890aSEmmanuel Vadot			compatible = "marvell,orion-intc";
233*f126890aSEmmanuel Vadot			interrupt-controller;
234*f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
235*f126890aSEmmanuel Vadot			reg = <0x20200 0x10>, <0x20210 0x10>;
236*f126890aSEmmanuel Vadot		};
237*f126890aSEmmanuel Vadot
238*f126890aSEmmanuel Vadot		timer: timer@20300 {
239*f126890aSEmmanuel Vadot			compatible = "marvell,orion-timer";
240*f126890aSEmmanuel Vadot			reg = <0x20300 0x20>;
241*f126890aSEmmanuel Vadot			interrupt-parent = <&bridge_intc>;
242*f126890aSEmmanuel Vadot			interrupts = <1>, <2>;
243*f126890aSEmmanuel Vadot			clocks = <&core_clk 0>;
244*f126890aSEmmanuel Vadot		};
245*f126890aSEmmanuel Vadot
246*f126890aSEmmanuel Vadot		wdt: watchdog-timer@20300 {
247*f126890aSEmmanuel Vadot			compatible = "marvell,orion-wdt";
248*f126890aSEmmanuel Vadot			reg = <0x20300 0x28>, <0x20108 0x4>;
249*f126890aSEmmanuel Vadot			interrupt-parent = <&bridge_intc>;
250*f126890aSEmmanuel Vadot			interrupts = <3>;
251*f126890aSEmmanuel Vadot			clocks = <&gate_clk 7>;
252*f126890aSEmmanuel Vadot			status = "okay";
253*f126890aSEmmanuel Vadot		};
254*f126890aSEmmanuel Vadot
255*f126890aSEmmanuel Vadot		cesa: crypto@30000 {
256*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-crypto";
257*f126890aSEmmanuel Vadot			reg = <0x30000 0x10000>;
258*f126890aSEmmanuel Vadot			reg-names = "regs";
259*f126890aSEmmanuel Vadot			interrupts = <22>;
260*f126890aSEmmanuel Vadot			clocks = <&gate_clk 17>;
261*f126890aSEmmanuel Vadot			marvell,crypto-srams = <&crypto_sram>;
262*f126890aSEmmanuel Vadot			marvell,crypto-sram-size = <0x800>;
263*f126890aSEmmanuel Vadot			status = "okay";
264*f126890aSEmmanuel Vadot		};
265*f126890aSEmmanuel Vadot
266*f126890aSEmmanuel Vadot		usb0: ehci@50000 {
267*f126890aSEmmanuel Vadot			compatible = "marvell,orion-ehci";
268*f126890aSEmmanuel Vadot			reg = <0x50000 0x1000>;
269*f126890aSEmmanuel Vadot			interrupts = <19>;
270*f126890aSEmmanuel Vadot			clocks = <&gate_clk 3>;
271*f126890aSEmmanuel Vadot			status = "okay";
272*f126890aSEmmanuel Vadot		};
273*f126890aSEmmanuel Vadot
274*f126890aSEmmanuel Vadot		dma0: xor@60800 {
275*f126890aSEmmanuel Vadot			compatible = "marvell,orion-xor";
276*f126890aSEmmanuel Vadot			reg = <0x60800 0x100
277*f126890aSEmmanuel Vadot			       0x60A00 0x100>;
278*f126890aSEmmanuel Vadot			status = "okay";
279*f126890aSEmmanuel Vadot			clocks = <&gate_clk 8>;
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot			xor00 {
282*f126890aSEmmanuel Vadot				interrupts = <5>;
283*f126890aSEmmanuel Vadot				dmacap,memcpy;
284*f126890aSEmmanuel Vadot				dmacap,xor;
285*f126890aSEmmanuel Vadot			};
286*f126890aSEmmanuel Vadot			xor01 {
287*f126890aSEmmanuel Vadot				interrupts = <6>;
288*f126890aSEmmanuel Vadot				dmacap,memcpy;
289*f126890aSEmmanuel Vadot				dmacap,xor;
290*f126890aSEmmanuel Vadot				dmacap,memset;
291*f126890aSEmmanuel Vadot			};
292*f126890aSEmmanuel Vadot		};
293*f126890aSEmmanuel Vadot
294*f126890aSEmmanuel Vadot		dma1: xor@60900 {
295*f126890aSEmmanuel Vadot			compatible = "marvell,orion-xor";
296*f126890aSEmmanuel Vadot			reg = <0x60900 0x100
297*f126890aSEmmanuel Vadot			       0x60B00 0x100>;
298*f126890aSEmmanuel Vadot			status = "okay";
299*f126890aSEmmanuel Vadot			clocks = <&gate_clk 16>;
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot			xor00 {
302*f126890aSEmmanuel Vadot				interrupts = <7>;
303*f126890aSEmmanuel Vadot				dmacap,memcpy;
304*f126890aSEmmanuel Vadot				dmacap,xor;
305*f126890aSEmmanuel Vadot			};
306*f126890aSEmmanuel Vadot			xor01 {
307*f126890aSEmmanuel Vadot				interrupts = <8>;
308*f126890aSEmmanuel Vadot				dmacap,memcpy;
309*f126890aSEmmanuel Vadot				dmacap,xor;
310*f126890aSEmmanuel Vadot				dmacap,memset;
311*f126890aSEmmanuel Vadot			};
312*f126890aSEmmanuel Vadot		};
313*f126890aSEmmanuel Vadot
314*f126890aSEmmanuel Vadot		eth0: ethernet-controller@72000 {
315*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-eth";
316*f126890aSEmmanuel Vadot			#address-cells = <1>;
317*f126890aSEmmanuel Vadot			#size-cells = <0>;
318*f126890aSEmmanuel Vadot			reg = <0x72000 0x4000>;
319*f126890aSEmmanuel Vadot			clocks = <&gate_clk 0>;
320*f126890aSEmmanuel Vadot			marvell,tx-checksum-limit = <1600>;
321*f126890aSEmmanuel Vadot			status = "disabled";
322*f126890aSEmmanuel Vadot
323*f126890aSEmmanuel Vadot			eth0port: ethernet0-port@0 {
324*f126890aSEmmanuel Vadot				compatible = "marvell,kirkwood-eth-port";
325*f126890aSEmmanuel Vadot				reg = <0>;
326*f126890aSEmmanuel Vadot				interrupts = <11>;
327*f126890aSEmmanuel Vadot				/* overwrite MAC address in bootloader */
328*f126890aSEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
329*f126890aSEmmanuel Vadot				/* set phy-handle property in board file */
330*f126890aSEmmanuel Vadot			};
331*f126890aSEmmanuel Vadot		};
332*f126890aSEmmanuel Vadot
333*f126890aSEmmanuel Vadot		mdio: mdio-bus@72004 {
334*f126890aSEmmanuel Vadot			compatible = "marvell,orion-mdio";
335*f126890aSEmmanuel Vadot			#address-cells = <1>;
336*f126890aSEmmanuel Vadot			#size-cells = <0>;
337*f126890aSEmmanuel Vadot			reg = <0x72004 0x84>;
338*f126890aSEmmanuel Vadot			interrupts = <46>;
339*f126890aSEmmanuel Vadot			clocks = <&gate_clk 0>;
340*f126890aSEmmanuel Vadot			status = "disabled";
341*f126890aSEmmanuel Vadot
342*f126890aSEmmanuel Vadot			/* add phy nodes in board file */
343*f126890aSEmmanuel Vadot		};
344*f126890aSEmmanuel Vadot
345*f126890aSEmmanuel Vadot		eth1: ethernet-controller@76000 {
346*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-eth";
347*f126890aSEmmanuel Vadot			#address-cells = <1>;
348*f126890aSEmmanuel Vadot			#size-cells = <0>;
349*f126890aSEmmanuel Vadot			reg = <0x76000 0x4000>;
350*f126890aSEmmanuel Vadot			clocks = <&gate_clk 19>;
351*f126890aSEmmanuel Vadot			marvell,tx-checksum-limit = <1600>;
352*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_ge1>;
353*f126890aSEmmanuel Vadot			pinctrl-names = "default";
354*f126890aSEmmanuel Vadot			status = "disabled";
355*f126890aSEmmanuel Vadot
356*f126890aSEmmanuel Vadot			eth1port: ethernet1-port@0 {
357*f126890aSEmmanuel Vadot				compatible = "marvell,kirkwood-eth-port";
358*f126890aSEmmanuel Vadot				reg = <0>;
359*f126890aSEmmanuel Vadot				interrupts = <15>;
360*f126890aSEmmanuel Vadot				/* overwrite MAC address in bootloader */
361*f126890aSEmmanuel Vadot				local-mac-address = [00 00 00 00 00 00];
362*f126890aSEmmanuel Vadot				/* set phy-handle property in board file */
363*f126890aSEmmanuel Vadot			};
364*f126890aSEmmanuel Vadot		};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot		sata_phy0: sata-phy@82000 {
367*f126890aSEmmanuel Vadot			compatible = "marvell,mvebu-sata-phy";
368*f126890aSEmmanuel Vadot			reg = <0x82000 0x0334>;
369*f126890aSEmmanuel Vadot			clocks = <&gate_clk 14>;
370*f126890aSEmmanuel Vadot			clock-names = "sata";
371*f126890aSEmmanuel Vadot			#phy-cells = <0>;
372*f126890aSEmmanuel Vadot			status = "okay";
373*f126890aSEmmanuel Vadot		};
374*f126890aSEmmanuel Vadot
375*f126890aSEmmanuel Vadot		sata_phy1: sata-phy@84000 {
376*f126890aSEmmanuel Vadot			compatible = "marvell,mvebu-sata-phy";
377*f126890aSEmmanuel Vadot			reg = <0x84000 0x0334>;
378*f126890aSEmmanuel Vadot			clocks = <&gate_clk 15>;
379*f126890aSEmmanuel Vadot			clock-names = "sata";
380*f126890aSEmmanuel Vadot			#phy-cells = <0>;
381*f126890aSEmmanuel Vadot			status = "okay";
382*f126890aSEmmanuel Vadot		};
383*f126890aSEmmanuel Vadot
384*f126890aSEmmanuel Vadot		audio0: audio-controller@a0000 {
385*f126890aSEmmanuel Vadot			compatible = "marvell,kirkwood-audio";
386*f126890aSEmmanuel Vadot			#sound-dai-cells = <0>;
387*f126890aSEmmanuel Vadot			reg = <0xa0000 0x2210>;
388*f126890aSEmmanuel Vadot			interrupts = <24>;
389*f126890aSEmmanuel Vadot			clocks = <&gate_clk 9>;
390*f126890aSEmmanuel Vadot			clock-names = "internal";
391*f126890aSEmmanuel Vadot			status = "disabled";
392*f126890aSEmmanuel Vadot		};
393*f126890aSEmmanuel Vadot	};
394*f126890aSEmmanuel Vadot};
395