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