2 * OCTEON 3XXX, 5XXX, 63XX device tree skeleton.
4 * This device tree is pruned and patched by early boot code before
5 * use. Because of this, it contains a super-set of the available
6 * devices and properties.
9 /include/ "octeon_3xxx.dtsi"
13 smi0: mdio@1180000001800 {
14 phy0: ethernet-phy@0 {
15 compatible = "marvell,88e1118";
17 /* Fix rx and tx clock transition timing */
18 <2 0x15 0xffcf 0>, /* Reg 2,21 Clear bits 4, 5 */
19 /* Adjust LED drive. */
20 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */
21 /* irq, blink-activity, blink-link */
22 <3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */
26 phy1: ethernet-phy@1 {
27 compatible = "marvell,88e1118";
29 /* Fix rx and tx clock transition timing */
30 <2 0x15 0xffcf 0>, /* Reg 2,21 Clear bits 4, 5 */
31 /* Adjust LED drive. */
32 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */
33 /* irq, blink-activity, blink-link */
34 <3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */
38 phy2: ethernet-phy@2 {
40 compatible = "marvell,88e1149r";
41 marvell,reg-init = <3 0x10 0 0x5777>,
46 phy3: ethernet-phy@3 {
48 compatible = "marvell,88e1149r";
49 marvell,reg-init = <3 0x10 0 0x5777>,
54 phy4: ethernet-phy@4 {
56 compatible = "marvell,88e1149r";
57 marvell,reg-init = <3 0x10 0 0x5777>,
62 phy5: ethernet-phy@5 {
64 compatible = "marvell,88e1149r";
65 marvell,reg-init = <3 0x10 0 0x5777>,
71 phy6: ethernet-phy@6 {
73 compatible = "marvell,88e1149r";
74 marvell,reg-init = <3 0x10 0 0x5777>,
79 phy7: ethernet-phy@7 {
81 compatible = "marvell,88e1149r";
82 marvell,reg-init = <3 0x10 0 0x5777>,
87 phy8: ethernet-phy@8 {
89 compatible = "marvell,88e1149r";
90 marvell,reg-init = <3 0x10 0 0x5777>,
95 phy9: ethernet-phy@9 {
97 compatible = "marvell,88e1149r";
98 marvell,reg-init = <3 0x10 0 0x5777>,
105 smi1: mdio@1180000001900 {
106 compatible = "cavium,octeon-3860-mdio";
107 #address-cells = <1>;
109 reg = <0x11800 0x00001900 0x0 0x40>;
111 phy100: ethernet-phy@1 {
113 compatible = "marvell,88e1149r";
114 marvell,reg-init = <3 0x10 0 0x5777>,
118 interrupt-parent = <&gpio>;
119 interrupts = <12 8>; /* Pin 12, active low */
121 phy101: ethernet-phy@2 {
123 compatible = "marvell,88e1149r";
124 marvell,reg-init = <3 0x10 0 0x5777>,
128 interrupt-parent = <&gpio>;
129 interrupts = <12 8>; /* Pin 12, active low */
131 phy102: ethernet-phy@3 {
133 compatible = "marvell,88e1149r";
134 marvell,reg-init = <3 0x10 0 0x5777>,
138 interrupt-parent = <&gpio>;
139 interrupts = <12 8>; /* Pin 12, active low */
141 phy103: ethernet-phy@4 {
143 compatible = "marvell,88e1149r";
144 marvell,reg-init = <3 0x10 0 0x5777>,
148 interrupt-parent = <&gpio>;
149 interrupts = <12 8>; /* Pin 12, active low */
153 mix0: ethernet@1070000100000 {
154 compatible = "cavium,octeon-5750-mix";
155 reg = <0x10700 0x00100000 0x0 0x100>, /* MIX */
156 <0x11800 0xE0000000 0x0 0x300>, /* AGL */
157 <0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED */
158 <0x11800 0xE0002000 0x0 0x8>; /* AGL_PRT_CTL */
160 interrupts = <0 62>, <1 46>;
161 local-mac-address = [ 00 00 00 00 00 00 ];
162 phy-handle = <&phy0>;
165 mix1: ethernet@1070000100800 {
166 compatible = "cavium,octeon-5750-mix";
167 reg = <0x10700 0x00100800 0x0 0x100>, /* MIX */
168 <0x11800 0xE0000800 0x0 0x300>, /* AGL */
169 <0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED */
170 <0x11800 0xE0002008 0x0 0x8>; /* AGL_PRT_CTL */
172 interrupts = <1 18>, < 1 46>;
173 local-mac-address = [ 00 00 00 00 00 00 ];
174 phy-handle = <&phy1>;
177 pip: pip@11800a0000000 {
180 phy-handle = <&phy2>;
181 cavium,alt-phy-handle = <&phy100>;
184 phy-handle = <&phy3>;
185 cavium,alt-phy-handle = <&phy101>;
188 phy-handle = <&phy4>;
189 cavium,alt-phy-handle = <&phy102>;
192 compatible = "cavium,octeon-3860-pip-port";
193 reg = <0x3>; /* Port */
194 local-mac-address = [ 00 00 00 00 00 00 ];
195 phy-handle = <&phy5>;
196 cavium,alt-phy-handle = <&phy103>;
199 compatible = "cavium,octeon-3860-pip-port";
200 reg = <0x4>; /* Port */
201 local-mac-address = [ 00 00 00 00 00 00 ];
204 compatible = "cavium,octeon-3860-pip-port";
205 reg = <0x5>; /* Port */
206 local-mac-address = [ 00 00 00 00 00 00 ];
209 compatible = "cavium,octeon-3860-pip-port";
210 reg = <0x6>; /* Port */
211 local-mac-address = [ 00 00 00 00 00 00 ];
214 compatible = "cavium,octeon-3860-pip-port";
215 reg = <0x7>; /* Port */
216 local-mac-address = [ 00 00 00 00 00 00 ];
219 compatible = "cavium,octeon-3860-pip-port";
220 reg = <0x8>; /* Port */
221 local-mac-address = [ 00 00 00 00 00 00 ];
224 compatible = "cavium,octeon-3860-pip-port";
225 reg = <0x9>; /* Port */
226 local-mac-address = [ 00 00 00 00 00 00 ];
229 compatible = "cavium,octeon-3860-pip-port";
230 reg = <0xa>; /* Port */
231 local-mac-address = [ 00 00 00 00 00 00 ];
234 compatible = "cavium,octeon-3860-pip-port";
235 reg = <0xb>; /* Port */
236 local-mac-address = [ 00 00 00 00 00 00 ];
239 compatible = "cavium,octeon-3860-pip-port";
240 reg = <0xc>; /* Port */
241 local-mac-address = [ 00 00 00 00 00 00 ];
244 compatible = "cavium,octeon-3860-pip-port";
245 reg = <0xd>; /* Port */
246 local-mac-address = [ 00 00 00 00 00 00 ];
249 compatible = "cavium,octeon-3860-pip-port";
250 reg = <0xe>; /* Port */
251 local-mac-address = [ 00 00 00 00 00 00 ];
254 compatible = "cavium,octeon-3860-pip-port";
255 reg = <0xf>; /* Port */
256 local-mac-address = [ 00 00 00 00 00 00 ];
262 compatible = "cavium,octeon-3860-pip-port";
263 reg = <0x0>; /* Port */
264 local-mac-address = [ 00 00 00 00 00 00 ];
265 phy-handle = <&phy6>;
268 compatible = "cavium,octeon-3860-pip-port";
269 reg = <0x1>; /* Port */
270 local-mac-address = [ 00 00 00 00 00 00 ];
271 phy-handle = <&phy7>;
274 compatible = "cavium,octeon-3860-pip-port";
275 reg = <0x2>; /* Port */
276 local-mac-address = [ 00 00 00 00 00 00 ];
277 phy-handle = <&phy8>;
280 compatible = "cavium,octeon-3860-pip-port";
281 reg = <0x3>; /* Port */
282 local-mac-address = [ 00 00 00 00 00 00 ];
283 phy-handle = <&phy9>;
288 twsi0: i2c@1180000001000 {
290 compatible = "dallas,ds1337";
294 compatible = "ti,tmp421";
299 twsi1: i2c@1180000001200 {
300 #address-cells = <1>;
302 compatible = "cavium,octeon-3860-twsi";
303 reg = <0x11800 0x00001200 0x0 0x200>;
305 clock-frequency = <100000>;
308 uart1: serial@1180000000c00 {
309 compatible = "cavium,octeon-3860-uart","ns16550";
310 reg = <0x11800 0x00000c00 0x0 0x400>;
311 clock-frequency = <0>;
312 current-speed = <115200>;
317 uart2: serial@1180000000400 {
318 compatible = "cavium,octeon-3860-uart","ns16550";
319 reg = <0x11800 0x00000400 0x0 0x400>;
320 clock-frequency = <0>;
321 current-speed = <115200>;
326 bootbus: bootbus@1180000000000 {
327 led0: led-display@4,0 {
328 compatible = "avago,hdsp-253x";
329 reg = <4 0x20 0x20>, <4 0 0x20>;
332 cf0: compact-flash@5,0 {
333 compatible = "cavium,ebt3000-compact-flash";
334 reg = <5 0 0x10000>, <6 0 0x10000>;
335 cavium,bus-width = <16>;
337 cavium,dma-engine-handle = <&dma0>;
341 uctl: uctl@118006f000000 {
342 compatible = "cavium,octeon-6335-uctl";
343 reg = <0x11800 0x6f000000 0x0 0x100>;
344 ranges; /* Direct mapping */
345 #address-cells = <2>;
347 /* 12MHz, 24MHz and 48MHz allowed */
348 refclk-frequency = <12000000>;
349 /* Either "crystal" or "external" */
350 refclk-type = "crystal";
353 compatible = "cavium,octeon-6335-ehci","usb-ehci";
354 reg = <0x16f00 0x00000000 0x0 0x100>;
359 compatible = "cavium,octeon-6335-ohci","usb-ohci";
360 reg = <0x16f00 0x00000400 0x0 0x100>;
366 usbn: usbn@1180068000000 {
367 /* 12MHz, 24MHz and 48MHz allowed */
368 refclk-frequency = <12000000>;
369 /* Either "crystal" or "external" */
370 refclk-type = "crystal";