xref: /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/octeon_3xxx.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * OCTEON 3XXX, 5XXX, 63XX device tree skeleton.
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * This device tree is pruned and patched by early boot code before
6*c66ec88fSEmmanuel Vadot * use.	 Because of this, it contains a super-set of the available
7*c66ec88fSEmmanuel Vadot * devices and properties.
8*c66ec88fSEmmanuel Vadot */
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot/include/ "octeon_3xxx.dtsi"
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot/ {
13*c66ec88fSEmmanuel Vadot	soc@0 {
14*c66ec88fSEmmanuel Vadot		smi0: mdio@1180000001800 {
15*c66ec88fSEmmanuel Vadot			phy0: ethernet-phy@0 {
16*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1118";
17*c66ec88fSEmmanuel Vadot				marvell,reg-init =
18*c66ec88fSEmmanuel Vadot					/* Fix rx and tx clock transition timing */
19*c66ec88fSEmmanuel Vadot					<2 0x15 0xffcf 0>, /* Reg 2,21 Clear bits 4, 5 */
20*c66ec88fSEmmanuel Vadot					/* Adjust LED drive. */
21*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */
22*c66ec88fSEmmanuel Vadot					/* irq, blink-activity, blink-link */
23*c66ec88fSEmmanuel Vadot					<3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */
24*c66ec88fSEmmanuel Vadot				reg = <0>;
25*c66ec88fSEmmanuel Vadot			};
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot			phy1: ethernet-phy@1 {
28*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1118";
29*c66ec88fSEmmanuel Vadot				marvell,reg-init =
30*c66ec88fSEmmanuel Vadot					/* Fix rx and tx clock transition timing */
31*c66ec88fSEmmanuel Vadot					<2 0x15 0xffcf 0>, /* Reg 2,21 Clear bits 4, 5 */
32*c66ec88fSEmmanuel Vadot					/* Adjust LED drive. */
33*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */
34*c66ec88fSEmmanuel Vadot					/* irq, blink-activity, blink-link */
35*c66ec88fSEmmanuel Vadot					<3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */
36*c66ec88fSEmmanuel Vadot				reg = <1>;
37*c66ec88fSEmmanuel Vadot			};
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot			phy2: ethernet-phy@2 {
40*c66ec88fSEmmanuel Vadot				reg = <2>;
41*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
42*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
43*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
44*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
45*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
46*c66ec88fSEmmanuel Vadot			};
47*c66ec88fSEmmanuel Vadot			phy3: ethernet-phy@3 {
48*c66ec88fSEmmanuel Vadot				reg = <3>;
49*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
50*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
51*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
52*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
53*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
54*c66ec88fSEmmanuel Vadot			};
55*c66ec88fSEmmanuel Vadot			phy4: ethernet-phy@4 {
56*c66ec88fSEmmanuel Vadot				reg = <4>;
57*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
58*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
59*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
60*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
61*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
62*c66ec88fSEmmanuel Vadot			};
63*c66ec88fSEmmanuel Vadot			phy5: ethernet-phy@5 {
64*c66ec88fSEmmanuel Vadot				reg = <5>;
65*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
66*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
67*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
68*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
69*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
70*c66ec88fSEmmanuel Vadot			};
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot			phy6: ethernet-phy@6 {
73*c66ec88fSEmmanuel Vadot				reg = <6>;
74*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
75*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
76*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
77*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
78*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
79*c66ec88fSEmmanuel Vadot			};
80*c66ec88fSEmmanuel Vadot			phy7: ethernet-phy@7 {
81*c66ec88fSEmmanuel Vadot				reg = <7>;
82*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
83*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
84*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
85*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
86*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
87*c66ec88fSEmmanuel Vadot			};
88*c66ec88fSEmmanuel Vadot			phy8: ethernet-phy@8 {
89*c66ec88fSEmmanuel Vadot				reg = <8>;
90*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
91*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
92*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
93*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
94*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
95*c66ec88fSEmmanuel Vadot			};
96*c66ec88fSEmmanuel Vadot			phy9: ethernet-phy@9 {
97*c66ec88fSEmmanuel Vadot				reg = <9>;
98*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
99*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
100*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
101*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
102*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
103*c66ec88fSEmmanuel Vadot			};
104*c66ec88fSEmmanuel Vadot		};
105*c66ec88fSEmmanuel Vadot
106*c66ec88fSEmmanuel Vadot		smi1: mdio@1180000001900 {
107*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-3860-mdio";
108*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
109*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
110*c66ec88fSEmmanuel Vadot			reg = <0x11800 0x00001900 0x0 0x40>;
111*c66ec88fSEmmanuel Vadot
112*c66ec88fSEmmanuel Vadot			phy100: ethernet-phy@1 {
113*c66ec88fSEmmanuel Vadot				reg = <1>;
114*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
115*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
116*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
117*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
118*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
119*c66ec88fSEmmanuel Vadot				interrupt-parent = <&gpio>;
120*c66ec88fSEmmanuel Vadot				interrupts = <12 8>; /* Pin 12, active low */
121*c66ec88fSEmmanuel Vadot			};
122*c66ec88fSEmmanuel Vadot			phy101: ethernet-phy@2 {
123*c66ec88fSEmmanuel Vadot				reg = <2>;
124*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
125*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
126*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
127*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
128*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
129*c66ec88fSEmmanuel Vadot				interrupt-parent = <&gpio>;
130*c66ec88fSEmmanuel Vadot				interrupts = <12 8>; /* Pin 12, active low */
131*c66ec88fSEmmanuel Vadot			};
132*c66ec88fSEmmanuel Vadot			phy102: ethernet-phy@3 {
133*c66ec88fSEmmanuel Vadot				reg = <3>;
134*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
135*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
136*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
137*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
138*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
139*c66ec88fSEmmanuel Vadot				interrupt-parent = <&gpio>;
140*c66ec88fSEmmanuel Vadot				interrupts = <12 8>; /* Pin 12, active low */
141*c66ec88fSEmmanuel Vadot			};
142*c66ec88fSEmmanuel Vadot			phy103: ethernet-phy@4 {
143*c66ec88fSEmmanuel Vadot				reg = <4>;
144*c66ec88fSEmmanuel Vadot				compatible = "marvell,88e1149r";
145*c66ec88fSEmmanuel Vadot				marvell,reg-init = <3 0x10 0 0x5777>,
146*c66ec88fSEmmanuel Vadot					<3 0x11 0 0x00aa>,
147*c66ec88fSEmmanuel Vadot					<3 0x12 0 0x4105>,
148*c66ec88fSEmmanuel Vadot					<3 0x13 0 0x0a60>;
149*c66ec88fSEmmanuel Vadot				interrupt-parent = <&gpio>;
150*c66ec88fSEmmanuel Vadot				interrupts = <12 8>; /* Pin 12, active low */
151*c66ec88fSEmmanuel Vadot			};
152*c66ec88fSEmmanuel Vadot		};
153*c66ec88fSEmmanuel Vadot
154*c66ec88fSEmmanuel Vadot		mix0: ethernet@1070000100000 {
155*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-5750-mix";
156*c66ec88fSEmmanuel Vadot			reg = <0x10700 0x00100000 0x0 0x100>, /* MIX */
157*c66ec88fSEmmanuel Vadot			      <0x11800 0xE0000000 0x0 0x300>, /* AGL */
158*c66ec88fSEmmanuel Vadot			      <0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED  */
159*c66ec88fSEmmanuel Vadot			      <0x11800 0xE0002000 0x0 0x8>;   /* AGL_PRT_CTL */
160*c66ec88fSEmmanuel Vadot			cell-index = <0>;
161*c66ec88fSEmmanuel Vadot			interrupts = <0 62>, <1 46>;
162*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
163*c66ec88fSEmmanuel Vadot			phy-handle = <&phy0>;
164*c66ec88fSEmmanuel Vadot		};
165*c66ec88fSEmmanuel Vadot
166*c66ec88fSEmmanuel Vadot		mix1: ethernet@1070000100800 {
167*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-5750-mix";
168*c66ec88fSEmmanuel Vadot			reg = <0x10700 0x00100800 0x0 0x100>, /* MIX */
169*c66ec88fSEmmanuel Vadot			      <0x11800 0xE0000800 0x0 0x300>, /* AGL */
170*c66ec88fSEmmanuel Vadot			      <0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED  */
171*c66ec88fSEmmanuel Vadot			      <0x11800 0xE0002008 0x0 0x8>;   /* AGL_PRT_CTL */
172*c66ec88fSEmmanuel Vadot			cell-index = <1>;
173*c66ec88fSEmmanuel Vadot			interrupts = <1 18>, < 1 46>;
174*c66ec88fSEmmanuel Vadot			local-mac-address = [ 00 00 00 00 00 00 ];
175*c66ec88fSEmmanuel Vadot			phy-handle = <&phy1>;
176*c66ec88fSEmmanuel Vadot		};
177*c66ec88fSEmmanuel Vadot
178*c66ec88fSEmmanuel Vadot		pip: pip@11800a0000000 {
179*c66ec88fSEmmanuel Vadot			interface@0 {
180*c66ec88fSEmmanuel Vadot				ethernet@0 {
181*c66ec88fSEmmanuel Vadot					phy-handle = <&phy2>;
182*c66ec88fSEmmanuel Vadot					cavium,alt-phy-handle = <&phy100>;
183*c66ec88fSEmmanuel Vadot					rx-delay = <0>;
184*c66ec88fSEmmanuel Vadot					tx-delay = <0>;
185*c66ec88fSEmmanuel Vadot					fixed-link {
186*c66ec88fSEmmanuel Vadot						speed = <1000>;
187*c66ec88fSEmmanuel Vadot						full-duplex;
188*c66ec88fSEmmanuel Vadot					};
189*c66ec88fSEmmanuel Vadot				};
190*c66ec88fSEmmanuel Vadot				ethernet@1 {
191*c66ec88fSEmmanuel Vadot					phy-handle = <&phy3>;
192*c66ec88fSEmmanuel Vadot					cavium,alt-phy-handle = <&phy101>;
193*c66ec88fSEmmanuel Vadot					rx-delay = <0>;
194*c66ec88fSEmmanuel Vadot					tx-delay = <0>;
195*c66ec88fSEmmanuel Vadot					fixed-link {
196*c66ec88fSEmmanuel Vadot						speed = <1000>;
197*c66ec88fSEmmanuel Vadot						full-duplex;
198*c66ec88fSEmmanuel Vadot					};
199*c66ec88fSEmmanuel Vadot				};
200*c66ec88fSEmmanuel Vadot				ethernet@2 {
201*c66ec88fSEmmanuel Vadot					phy-handle = <&phy4>;
202*c66ec88fSEmmanuel Vadot					cavium,alt-phy-handle = <&phy102>;
203*c66ec88fSEmmanuel Vadot					rx-delay = <0>;
204*c66ec88fSEmmanuel Vadot					tx-delay = <0>;
205*c66ec88fSEmmanuel Vadot				};
206*c66ec88fSEmmanuel Vadot				ethernet@3 {
207*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
208*c66ec88fSEmmanuel Vadot					reg = <0x3>; /* Port */
209*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
210*c66ec88fSEmmanuel Vadot					phy-handle = <&phy5>;
211*c66ec88fSEmmanuel Vadot					cavium,alt-phy-handle = <&phy103>;
212*c66ec88fSEmmanuel Vadot				};
213*c66ec88fSEmmanuel Vadot				ethernet@4 {
214*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
215*c66ec88fSEmmanuel Vadot					reg = <0x4>; /* Port */
216*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
217*c66ec88fSEmmanuel Vadot				};
218*c66ec88fSEmmanuel Vadot				ethernet@5 {
219*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
220*c66ec88fSEmmanuel Vadot					reg = <0x5>; /* Port */
221*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
222*c66ec88fSEmmanuel Vadot				};
223*c66ec88fSEmmanuel Vadot				ethernet@6 {
224*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
225*c66ec88fSEmmanuel Vadot					reg = <0x6>; /* Port */
226*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
227*c66ec88fSEmmanuel Vadot				};
228*c66ec88fSEmmanuel Vadot				ethernet@7 {
229*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
230*c66ec88fSEmmanuel Vadot					reg = <0x7>; /* Port */
231*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
232*c66ec88fSEmmanuel Vadot				};
233*c66ec88fSEmmanuel Vadot				ethernet@8 {
234*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
235*c66ec88fSEmmanuel Vadot					reg = <0x8>; /* Port */
236*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
237*c66ec88fSEmmanuel Vadot				};
238*c66ec88fSEmmanuel Vadot				ethernet@9 {
239*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
240*c66ec88fSEmmanuel Vadot					reg = <0x9>; /* Port */
241*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
242*c66ec88fSEmmanuel Vadot				};
243*c66ec88fSEmmanuel Vadot				ethernet@a {
244*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
245*c66ec88fSEmmanuel Vadot					reg = <0xa>; /* Port */
246*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
247*c66ec88fSEmmanuel Vadot				};
248*c66ec88fSEmmanuel Vadot				ethernet@b {
249*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
250*c66ec88fSEmmanuel Vadot					reg = <0xb>; /* Port */
251*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
252*c66ec88fSEmmanuel Vadot				};
253*c66ec88fSEmmanuel Vadot				ethernet@c {
254*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
255*c66ec88fSEmmanuel Vadot					reg = <0xc>; /* Port */
256*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
257*c66ec88fSEmmanuel Vadot				};
258*c66ec88fSEmmanuel Vadot				ethernet@d {
259*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
260*c66ec88fSEmmanuel Vadot					reg = <0xd>; /* Port */
261*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
262*c66ec88fSEmmanuel Vadot				};
263*c66ec88fSEmmanuel Vadot				ethernet@e {
264*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
265*c66ec88fSEmmanuel Vadot					reg = <0xe>; /* Port */
266*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
267*c66ec88fSEmmanuel Vadot				};
268*c66ec88fSEmmanuel Vadot				ethernet@f {
269*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
270*c66ec88fSEmmanuel Vadot					reg = <0xf>; /* Port */
271*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
272*c66ec88fSEmmanuel Vadot				};
273*c66ec88fSEmmanuel Vadot			};
274*c66ec88fSEmmanuel Vadot
275*c66ec88fSEmmanuel Vadot			interface@1 {
276*c66ec88fSEmmanuel Vadot				ethernet@0 {
277*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
278*c66ec88fSEmmanuel Vadot					reg = <0x0>; /* Port */
279*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
280*c66ec88fSEmmanuel Vadot					phy-handle = <&phy6>;
281*c66ec88fSEmmanuel Vadot				};
282*c66ec88fSEmmanuel Vadot				ethernet@1 {
283*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
284*c66ec88fSEmmanuel Vadot					reg = <0x1>; /* Port */
285*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
286*c66ec88fSEmmanuel Vadot					phy-handle = <&phy7>;
287*c66ec88fSEmmanuel Vadot				};
288*c66ec88fSEmmanuel Vadot				ethernet@2 {
289*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
290*c66ec88fSEmmanuel Vadot					reg = <0x2>; /* Port */
291*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
292*c66ec88fSEmmanuel Vadot					phy-handle = <&phy8>;
293*c66ec88fSEmmanuel Vadot				};
294*c66ec88fSEmmanuel Vadot				ethernet@3 {
295*c66ec88fSEmmanuel Vadot					compatible = "cavium,octeon-3860-pip-port";
296*c66ec88fSEmmanuel Vadot					reg = <0x3>; /* Port */
297*c66ec88fSEmmanuel Vadot					local-mac-address = [ 00 00 00 00 00 00 ];
298*c66ec88fSEmmanuel Vadot					phy-handle = <&phy9>;
299*c66ec88fSEmmanuel Vadot				};
300*c66ec88fSEmmanuel Vadot			};
301*c66ec88fSEmmanuel Vadot		};
302*c66ec88fSEmmanuel Vadot
303*c66ec88fSEmmanuel Vadot		twsi0: i2c@1180000001000 {
304*c66ec88fSEmmanuel Vadot			rtc@68 {
305*c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1337";
306*c66ec88fSEmmanuel Vadot				reg = <0x68>;
307*c66ec88fSEmmanuel Vadot			};
308*c66ec88fSEmmanuel Vadot			tmp@4c {
309*c66ec88fSEmmanuel Vadot				compatible = "ti,tmp421";
310*c66ec88fSEmmanuel Vadot				reg = <0x4c>;
311*c66ec88fSEmmanuel Vadot			};
312*c66ec88fSEmmanuel Vadot		};
313*c66ec88fSEmmanuel Vadot
314*c66ec88fSEmmanuel Vadot		twsi1: i2c@1180000001200 {
315*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
316*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
317*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-3860-twsi";
318*c66ec88fSEmmanuel Vadot			reg = <0x11800 0x00001200 0x0 0x200>;
319*c66ec88fSEmmanuel Vadot			interrupts = <0 59>;
320*c66ec88fSEmmanuel Vadot			clock-frequency = <100000>;
321*c66ec88fSEmmanuel Vadot		};
322*c66ec88fSEmmanuel Vadot
323*c66ec88fSEmmanuel Vadot		uart1: serial@1180000000c00 {
324*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-3860-uart","ns16550";
325*c66ec88fSEmmanuel Vadot			reg = <0x11800 0x00000c00 0x0 0x400>;
326*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
327*c66ec88fSEmmanuel Vadot			current-speed = <115200>;
328*c66ec88fSEmmanuel Vadot			reg-shift = <3>;
329*c66ec88fSEmmanuel Vadot			interrupts = <0 35>;
330*c66ec88fSEmmanuel Vadot		};
331*c66ec88fSEmmanuel Vadot
332*c66ec88fSEmmanuel Vadot		uart2: serial@1180000000400 {
333*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-3860-uart","ns16550";
334*c66ec88fSEmmanuel Vadot			reg = <0x11800 0x00000400 0x0 0x400>;
335*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;
336*c66ec88fSEmmanuel Vadot			current-speed = <115200>;
337*c66ec88fSEmmanuel Vadot			reg-shift = <3>;
338*c66ec88fSEmmanuel Vadot			interrupts = <1 16>;
339*c66ec88fSEmmanuel Vadot		};
340*c66ec88fSEmmanuel Vadot
341*c66ec88fSEmmanuel Vadot		bootbus: bootbus@1180000000000 {
342*c66ec88fSEmmanuel Vadot			led0: led-display@4,0 {
343*c66ec88fSEmmanuel Vadot				compatible = "avago,hdsp-253x";
344*c66ec88fSEmmanuel Vadot				reg = <4 0x20 0x20>, <4 0 0x20>;
345*c66ec88fSEmmanuel Vadot			};
346*c66ec88fSEmmanuel Vadot
347*c66ec88fSEmmanuel Vadot			cf0: compact-flash@5,0 {
348*c66ec88fSEmmanuel Vadot				compatible = "cavium,ebt3000-compact-flash";
349*c66ec88fSEmmanuel Vadot				reg = <5 0 0x10000>, <6 0 0x10000>;
350*c66ec88fSEmmanuel Vadot				cavium,bus-width = <16>;
351*c66ec88fSEmmanuel Vadot				cavium,true-ide;
352*c66ec88fSEmmanuel Vadot				cavium,dma-engine-handle = <&dma0>;
353*c66ec88fSEmmanuel Vadot			};
354*c66ec88fSEmmanuel Vadot		};
355*c66ec88fSEmmanuel Vadot
356*c66ec88fSEmmanuel Vadot		uctl: uctl@118006f000000 {
357*c66ec88fSEmmanuel Vadot			compatible = "cavium,octeon-6335-uctl";
358*c66ec88fSEmmanuel Vadot			reg = <0x11800 0x6f000000 0x0 0x100>;
359*c66ec88fSEmmanuel Vadot			ranges; /* Direct mapping */
360*c66ec88fSEmmanuel Vadot			#address-cells = <2>;
361*c66ec88fSEmmanuel Vadot			#size-cells = <2>;
362*c66ec88fSEmmanuel Vadot			/* 12MHz, 24MHz and 48MHz allowed */
363*c66ec88fSEmmanuel Vadot			refclk-frequency = <12000000>;
364*c66ec88fSEmmanuel Vadot			/* Either "crystal" or "external" */
365*c66ec88fSEmmanuel Vadot			refclk-type = "crystal";
366*c66ec88fSEmmanuel Vadot
367*c66ec88fSEmmanuel Vadot			ehci@16f0000000000 {
368*c66ec88fSEmmanuel Vadot				compatible = "cavium,octeon-6335-ehci","usb-ehci";
369*c66ec88fSEmmanuel Vadot				reg = <0x16f00 0x00000000 0x0 0x100>;
370*c66ec88fSEmmanuel Vadot				interrupts = <0 56>;
371*c66ec88fSEmmanuel Vadot				big-endian-regs;
372*c66ec88fSEmmanuel Vadot			};
373*c66ec88fSEmmanuel Vadot			ohci@16f0000000400 {
374*c66ec88fSEmmanuel Vadot				compatible = "cavium,octeon-6335-ohci","usb-ohci";
375*c66ec88fSEmmanuel Vadot				reg = <0x16f00 0x00000400 0x0 0x100>;
376*c66ec88fSEmmanuel Vadot				interrupts = <0 56>;
377*c66ec88fSEmmanuel Vadot				big-endian-regs;
378*c66ec88fSEmmanuel Vadot			};
379*c66ec88fSEmmanuel Vadot		};
380*c66ec88fSEmmanuel Vadot
381*c66ec88fSEmmanuel Vadot		usbn: usbn@1180068000000 {
382*c66ec88fSEmmanuel Vadot			/* 12MHz, 24MHz and 48MHz allowed */
383*c66ec88fSEmmanuel Vadot			refclk-frequency = <12000000>;
384*c66ec88fSEmmanuel Vadot			/* Either "crystal" or "external" */
385*c66ec88fSEmmanuel Vadot			refclk-type = "crystal";
386*c66ec88fSEmmanuel Vadot		};
387*c66ec88fSEmmanuel Vadot	};
388*c66ec88fSEmmanuel Vadot
389*c66ec88fSEmmanuel Vadot	aliases {
390*c66ec88fSEmmanuel Vadot		mix0 = &mix0;
391*c66ec88fSEmmanuel Vadot		mix1 = &mix1;
392*c66ec88fSEmmanuel Vadot		pip = &pip;
393*c66ec88fSEmmanuel Vadot		smi0 = &smi0;
394*c66ec88fSEmmanuel Vadot		smi1 = &smi1;
395*c66ec88fSEmmanuel Vadot		twsi0 = &twsi0;
396*c66ec88fSEmmanuel Vadot		twsi1 = &twsi1;
397*c66ec88fSEmmanuel Vadot		uart0 = &uart0;
398*c66ec88fSEmmanuel Vadot		uart1 = &uart1;
399*c66ec88fSEmmanuel Vadot		uart2 = &uart2;
400*c66ec88fSEmmanuel Vadot		flash0 = &flash0;
401*c66ec88fSEmmanuel Vadot		cf0 = &cf0;
402*c66ec88fSEmmanuel Vadot		uctl = &uctl;
403*c66ec88fSEmmanuel Vadot		usbn = &usbn;
404*c66ec88fSEmmanuel Vadot		led0 = &led0;
405*c66ec88fSEmmanuel Vadot	};
406*c66ec88fSEmmanuel Vadot };
407