summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-cavium/dts/ebb8104-linux.dts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-cavium/dts/ebb8104-linux.dts')
-rw-r--r--recipes-kernel/linux/linux-cavium/dts/ebb8104-linux.dts620
1 files changed, 0 insertions, 620 deletions
diff --git a/recipes-kernel/linux/linux-cavium/dts/ebb8104-linux.dts b/recipes-kernel/linux/linux-cavium/dts/ebb8104-linux.dts
deleted file mode 100644
index 84922d1..0000000
--- a/recipes-kernel/linux/linux-cavium/dts/ebb8104-linux.dts
+++ /dev/null
@@ -1,620 +0,0 @@
1/*
2 * Cavium Thunder DTS file - Thunder board description
3 *
4 * Copyright (C) 2016, Cavium Inc.
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
9 * whole.
10 *
11 * a) This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24 * MA 02110-1301 USA
25 *
26 * Or, alternatively,
27 *
28 * b) Permission is hereby granted, free of charge, to any person
29 * obtaining a copy of this software and associated documentation
30 * files (the "Software"), to deal in the Software without
31 * restriction, including without limitation the rights to use,
32 * copy, modify, merge, publish, distribute, sublicense, and/or
33 * sell copies of the Software, and to permit persons to whom the
34 * Software is furnished to do so, subject to the following
35 * conditions:
36 *
37 * The above copyright notice and this permission notice shall be
38 * included in all copies or substantial portions of the Software.
39 *
40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
48 */
49
50/dts-v1/;
51
52/include/ "cn81xx-linux.dtsi"
53
54&mrml_bridge {
55 mdio-nexus@1,3 {
56 mdio0@87e005003800 {
57 rgmii00: rgmii00 {
58 reg = <3> ;
59 compatible = "micrel,ksz9031", "ethernet-phy-ieee802.3-c22";
60 };
61 };
62
63 mdio1@87e005003880 {
64 sgmii00: sgmii00 {
65 qlm-mode = "0x000,sgmii";
66 reg = <0> ;
67 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
68 /* LED[2,1]: Speed, LED[3]: RX, LED[0]: TX, all open-drain */
69 marvell,reg-init = <3 0x10 0 0x8665>,
70 <3 0x11 0 0x00aa>,
71 <3 0x12 0 0x4105>,
72 <3 0x13 0 0x8a08>;
73 };
74 sgmii01: sgmii01 {
75 qlm-mode = "0x001,sgmii";
76 reg = <1> ;
77 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
78 marvell,reg-init = <3 0x10 0 0x8665>,
79 <3 0x11 0 0x00aa>,
80 <3 0x12 0 0x4105>,
81 <3 0x13 0 0x8a08>;
82 };
83 sgmii02: sgmii02 {
84 qlm-mode = "0x002,sgmii";
85 reg = <2> ;
86 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
87 marvell,reg-init = <3 0x10 0 0x8665>,
88 <3 0x11 0 0x00aa>,
89 <3 0x12 0 0x4105>,
90 <3 0x13 0 0x8a08>;
91 };
92 sgmii03: sgmii03 {
93 qlm-mode = "0x003,sgmii";
94 reg = <3> ;
95 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
96 marvell,reg-init = <3 0x10 0 0x8665>,
97 <3 0x11 0 0x00aa>,
98 <3 0x12 0 0x4105>,
99 <3 0x13 0 0x8a08>;
100 };
101 xfi00: xfi00 {
102 qlm-mode = "0x000,xfi","0x000,xfi-10g-kr";
103 reg = <0> ;
104 compatible = "cortina,cs4223-slice";
105 };
106 xfi01: xfi01 {
107 qlm-mode = "0x001,xfi","0x001,xfi-10g-kr";
108 reg = <1> ;
109 compatible = "cortina,cs4223-slice";
110 };
111 xfi02: xfi02 {
112 qlm-mode = "0x002,xfi","0x002,xfi-10g-kr";
113 reg = <2> ;
114 compatible = "cortina,cs4223-slice";
115 };
116 xfi03: xfi03 {
117 qlm-mode = "0x003,xfi","0x003,xfi-10g-kr";
118 reg = <3> ;
119 compatible = "cortina,cs4223-slice";
120 };
121 xlaui00: xlaui00 {
122 qlm-mode = "0x000,xlaui","0x000,xlaui-40g-kr";
123 reg = <0> ;
124 compatible = "cortina,cs4223-slice";
125 };
126 xaui00: xaui00 {
127 qlm-mode = "0x000,xaui";
128 reg = <0> ;
129 compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45";
130 broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>;
131 };
132 rxaui00: rxaui00 {
133 qlm-mode = "0x000,rxaui";
134 reg = <0> ;
135 compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45";
136 };
137 rxaui01: rxaui01 {
138 qlm-mode = "0x001,rxaui";
139 reg = <1> ;
140 compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45";
141 };
142 qsgmii00: qsgmii00 {
143 qlm-mode = "0x000,qsgmii";
144 reg = <0> ;
145 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
146 };
147 qsgmii01: qsgmii01 {
148 qlm-mode = "0x001,qsgmii";
149 reg = <1> ;
150 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
151 };
152 qsgmii02: qsgmii02 {
153 qlm-mode = "0x002,qsgmii";
154 reg = <2> ;
155 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
156 };
157 qsgmii03: qsgmii03 {
158 qlm-mode = "0x003,qsgmii";
159 reg = <3> ;
160 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
161 };
162
163 sgmii10: sgmii10 {
164 qlm-mode = "0x010,sgmii";
165 reg = <8> ;
166 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
167 marvell,reg-init = <3 0x10 0 0x8665>,
168 <3 0x11 0 0x00aa>,
169 <3 0x12 0 0x4105>,
170 <3 0x13 0 0x8a08>;
171 };
172 sgmii11: sgmii11 {
173 qlm-mode = "0x011,sgmii";
174 reg = <9> ;
175 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
176 marvell,reg-init = <3 0x10 0 0x8665>,
177 <3 0x11 0 0x00aa>,
178 <3 0x12 0 0x4105>,
179 <3 0x13 0 0x8a08>;
180 };
181 sgmii12: sgmii12 {
182 qlm-mode = "0x012,sgmii";
183 reg = <10> ;
184 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
185 marvell,reg-init = <3 0x10 0 0x8665>,
186 <3 0x11 0 0x00aa>,
187 <3 0x12 0 0x4105>,
188 <3 0x13 0 0x8a08>;
189 };
190 sgmii13: sgmii13 {
191 qlm-mode = "0x013,sgmii";
192 reg = <11> ;
193 compatible = "marvell,88e1240", "ethernet-phy-ieee802.3-c22";
194 marvell,reg-init = <3 0x10 0 0x8665>,
195 <3 0x11 0 0x00aa>,
196 <3 0x12 0 0x4105>,
197 <3 0x13 0 0x8a08>;
198 };
199 xfi10: xfi10 {
200 qlm-mode = "0x010,xfi","0x010,xfi-10g-kr";
201 reg = <8> ;
202 compatible = "cortina,cs4223-slice";
203 };
204 xfi11: xfi11 {
205 qlm-mode = "0x011,xfi","0x011,xfi-10g-kr";
206 reg = <9> ;
207 compatible = "cortina,cs4223-slice";
208 };
209 xfi12: xfi12 {
210 qlm-mode = "0x012,xfi","0x012,xfi-10g-kr";
211 reg = <10> ;
212 compatible = "cortina,cs4223-slice";
213 };
214 xfi13: xfi13 {
215 qlm-mode = "0x013,xfi","0x013,xfi-10g-kr";
216 reg = <11> ;
217 compatible = "cortina,cs4223-slice";
218 };
219 xlaui10: xlaui10 {
220 qlm-mode = "0x010,xlaui","0x010,xlaui-40g-kr";
221 reg = <8> ;
222 compatible = "cortina,cs4223-slice";
223 };
224 xaui10: xaui10 {
225 qlm-mode = "0x010,xaui";
226 reg = <8> ;
227 compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45";
228 broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>;
229 };
230 rxaui10: rxaui10 {
231 qlm-mode = "0x010,rxaui";
232 reg = <8> ;
233 compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45";
234 };
235 rxaui11: rxaui11 {
236 qlm-mode = "0x011,rxaui";
237 reg = <9> ;
238 compatible = "marvell,88x3120", "ethernet-phy-ieee802.3-c45";
239 };
240 qsgmii10: qsgmii10 {
241 qlm-mode = "0x010,qsgmii";
242 reg = <8> ;
243 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
244 };
245 qsgmii11: qsgmii11 {
246 qlm-mode = "0x011,qsgmii";
247 reg = <9> ;
248 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
249 };
250 qsgmii12: qsgmii12 {
251 qlm-mode = "0x012,qsgmii";
252 reg = <10> ;
253 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
254 };
255 qsgmii13: qsgmii13 {
256 qlm-mode = "0x013,qsgmii";
257 reg = <11> ;
258 compatible = "vitesse,vsc8574", "ethernet-phy-ieee802.3-c22";
259 };
260 };
261 };
262
263 rgx0 {
264 rgmii00 {
265 reg = <3>;
266 local-mac-address = [00 00 00 00 00 00];
267 phy-handle = <&rgmii00>;
268 };
269 };
270
271 bgx0 {
272 /* typename+qlm+typenumber eg :
273 sgmii+bgx0+sgmmi0
274 */
275 // SGMII
276 sgmii00 {
277 reg = <0>;
278 qlm-mode = "0x000,sgmii";
279 local-mac-address = [00 00 00 00 00 00];
280 phy-handle = <&sgmii00>;
281 };
282 sgmii01 {
283 reg = <1>;
284 qlm-mode = "0x001,sgmii";
285 local-mac-address = [00 00 00 00 00 00];
286 phy-handle = <&sgmii01>;
287 };
288 sgmii02 {
289 reg = <2>;
290 qlm-mode = "0x002,sgmii";
291 local-mac-address = [00 00 00 00 00 00];
292 phy-handle = <&sgmii02>;
293 };
294 sgmii03 {
295 reg = <3>;
296 qlm-mode = "0x003,sgmii";
297 local-mac-address = [00 00 00 00 00 00];
298 phy-handle = <&sgmii03>;
299 };
300 xfi00 {
301 reg = <0>;
302 qlm-mode = "0x000,xfi";
303 local-mac-address = [00 00 00 00 00 00];
304 phy-handle = <&xfi00>;
305 };
306 xfi01 {
307 reg = <1>;
308 qlm-mode = "0x001,xfi";
309 local-mac-address = [00 00 00 00 00 00];
310 phy-handle = <&xfi01>;
311 };
312 xfi02 {
313 reg = <2>;
314 qlm-mode = "0x002,xfi";
315 local-mac-address = [00 00 00 00 00 00];
316 phy-handle = <&xfi02>;
317 };
318 xfi03 {
319 reg = <3>;
320 qlm-mode = "0x003,xfi";
321 local-mac-address = [00 00 00 00 00 00];
322 phy-handle = <&xfi03>;
323 };
324 // 10g-kr
325 xfi-10g-kr00 {
326 reg = <0>;
327 qlm-mode = "0x000,xfi-10g-kr";
328 local-mac-address = [00 00 00 00 00 00];
329 phy-handle = <&xfi00>;
330 };
331 xfi-10g-kr01 {
332 reg = <1>;
333 qlm-mode = "0x001,xfi-10g-kr";
334 local-mac-address = [00 00 00 00 00 00];
335 phy-handle = <&xfi01>;
336 };
337 xfi-10g-kr02 {
338 reg = <2>;
339 qlm-mode = "0x002,xfi-10g-kr";
340 local-mac-address = [00 00 00 00 00 00];
341 phy-handle = <&xfi02>;
342 };
343 xfi-10g-kr03 {
344 reg = <3>;
345 qlm-mode = "0x003,xfi-10g-kr";
346 local-mac-address = [00 00 00 00 00 00];
347 phy-handle = <&xfi03>;
348 };
349 xlaui00 {
350 reg = <0>;
351 qlm-mode = "0x000,xlaui";
352 local-mac-address = [00 00 00 00 00 00];
353 phy-handle = <&xlaui00>;
354 };
355 xlaui-40g-kr00 {
356 reg = <0>;
357 qlm-mode = "0x000,xlaui-40g-kr";
358 local-mac-address = [00 00 00 00 00 00];
359 phy-handle = <&xlaui00>;
360 };
361 xaui00 {
362 reg = <0>;
363 qlm-mode = "0x000,xaui";
364 local-mac-address = [00 00 00 00 00 00];
365 phy-handle = <&xaui00>;
366 };
367 rxaui00 {
368 reg = <0>;
369 qlm-mode = "0x000,rxaui";
370 local-mac-address = [00 00 00 00 00 00];
371 phy-handle = <&rxaui00>;
372 };
373 rxaui01 {
374 reg = <1>;
375 qlm-mode = "0x001,rxaui";
376 local-mac-address = [00 00 00 00 00 00];
377 phy-handle = <&rxaui01>;
378 };
379 qsgmii00 {
380 reg = <0>;
381 qlm-mode = "0x000,qsgmii";
382 local-mac-address = [00 00 00 00 00 00];
383 phy-handle = <&qsgmii00>;
384 };
385 qsgmii01 {
386 reg = <1>;
387 qlm-mode = "0x001,qsgmii";
388 local-mac-address = [00 00 00 00 00 00];
389 phy-handle = <&qsgmii01>;
390 };
391 qsgmii02 {
392 reg = <2>;
393 qlm-mode = "0x002,qsgmii";
394 local-mac-address = [00 00 00 00 00 00];
395 phy-handle = <&qsgmii02>;
396 };
397 qsgmii03 {
398 reg = <3>;
399 qlm-mode = "0x003,qsgmii";
400 local-mac-address = [00 00 00 00 00 00];
401 phy-handle = <&qsgmii03>;
402 };
403 };
404 bgx1 {
405 sgmii10 {
406 reg = <0>;
407 qlm-mode = "0x010,sgmii";
408 local-mac-address = [00 00 00 00 00 00];
409 phy-handle = <&sgmii10>; /*"sgmmi"+bgx+no */
410 };
411 sgmii11 {
412 reg = <1>;
413 qlm-mode = "0x011,sgmii";
414 local-mac-address = [00 00 00 00 00 00];
415 phy-handle = <&sgmii11>;
416 };
417 sgmii12 {
418 reg = <2>;
419 qlm-mode = "0x012,sgmii";
420 local-mac-address = [00 00 00 00 00 00];
421 phy-handle = <&sgmii12>;
422 };
423 sgmii13 {
424 reg = <3>;
425 qlm-mode = "0x013,sgmii";
426 local-mac-address = [00 00 00 00 00 00];
427 phy-handle = <&sgmii13>;
428 };
429 xfi10 {
430 reg = <0>;
431 qlm-mode = "0x010,xfi";
432 local-mac-address = [00 00 00 00 00 00];
433 phy-handle = <&xfi10>;
434 };
435 xfi11 {
436 reg = <1>;
437 qlm-mode = "0x011,xfi";
438 local-mac-address = [00 00 00 00 00 00];
439 phy-handle = <&xfi11>;
440 };
441 xfi12 {
442 reg = <2>;
443 qlm-mode = "0x012,xfi";
444 local-mac-address = [00 00 00 00 00 00];
445 phy-handle = <&xfi12>;
446 };
447 xfi13 {
448 reg = <3>;
449 qlm-mode = "0x013,xfi";
450 local-mac-address = [00 00 00 00 00 00];
451 phy-handle = <&xfi13>;
452 };
453 // 10g_kr
454 xfi-10g-kr10 {
455 reg = <0>;
456 qlm-mode = "0x010,xfi-10g-kr";
457 local-mac-address = [00 00 00 00 00 00];
458 phy-handle = <&xfi10>;
459 };
460 xfi-10g-kr11 {
461 reg = <1>;
462 qlm-mode = "0x011,xfi-10g-kr";
463 local-mac-address = [00 00 00 00 00 00];
464 phy-handle = <&xfi11>;
465 };
466 xfi-10g-kr12 {
467 reg = <2>;
468 qlm-mode = "0x012,xfi-10g-kr";
469 local-mac-address = [00 00 00 00 00 00];
470 phy-handle = <&xfi12>;
471 };
472 xfi-10g-kr13 {
473 reg = <3>;
474 qlm-mode = "0x013,xfi-10g-kr";
475 local-mac-address = [00 00 00 00 00 00];
476 phy-handle = <&xfi13>;
477 };
478 xlaui10 {
479 reg = <0>;
480 qlm-mode = "0x010,xlaui";
481 local-mac-address = [00 00 00 00 00 00];
482 phy-handle = <&xlaui10>;
483 };
484 xlaui-40g-kr-10 {
485 reg = <0>;
486 qlm-mode = "0x010,xlaui-40g-kr";
487 local-mac-address = [00 00 00 00 00 00];
488 phy-handle = <&xlaui10>;
489 };
490 xaui10 {
491 reg = <0>;
492 qlm-mode = "0x010,xaui";
493 local-mac-address = [00 00 00 00 00 00];
494 phy-handle = <&xaui10>;
495 };
496 rxaui10 {
497 reg = <8>;
498 qlm-mode = "0x010,rxaui";
499 local-mac-address = [00 00 00 00 00 00];
500 phy-handle = <&rxaui10>;
501 };
502 rxaui11 {
503 reg = <9>;
504 qlm-mode = "0x011,rxaui";
505 local-mac-address = [00 00 00 00 00 00];
506 phy-handle = <&rxaui11>;
507 };
508 qsgmii10 {
509 reg = <0>;
510 qlm-mode = "0x010,qsgmii";
511 local-mac-address = [00 00 00 00 00 00];
512 phy-handle = <&qsgmii10>;
513 };
514 qsgmii11 {
515 reg = <1>;
516 qlm-mode = "0x011,qsgmii";
517 local-mac-address = [00 00 00 00 00 00];
518 phy-handle = <&qsgmii11>;
519 };
520 qsgmii12 {
521 reg = <2>;
522 qlm-mode = "0x012,qsgmii";
523 local-mac-address = [00 00 00 00 00 00];
524 phy-handle = <&qsgmii12>;
525 };
526 qsgmii13 {
527 reg = <3>;
528 qlm-mode = "0x013,qsgmii";
529 local-mac-address = [00 00 00 00 00 00];
530 phy-handle = <&qsgmii13>;
531 };
532 };
533};
534
535&mmc_1_4 {
536 mmc-slot@0 {
537 compatible = "mmc-slot";
538 reg = <0>;
539 vmmc-supply = <&mmc_supply_3v3>;
540 max-frequency = <26000000>;
541 mmc-ddr-3_3v;
542 /* 1.8v is not supported */
543 no-1-8-v;
544 /* Bus width is only 8 bits maximum */
545 bus-width = <8>;
546 /* Write-protect */
547 wp-gpios = <&gpio_6_0 26 0>;
548 /* Card detect */
549 cd-gpios = <&gpio_6_0 27 1>;
550
551 /* SD UHS SDR25 is supported */
552 sd-uhs-sdr25;
553 /* High-speed mode is supported */
554 cap-sd-highspeed;
555 cap-mmc-highspeed;
556 };
557 mmc-slot@1 {
558 compatible = "mmc-slot";
559 reg = <1>;
560 vmmc-supply = <&mmc_supply_3v3>;
561 max-frequency = <26000000>;
562 mmc-ddr-3_3v;
563 /* 1.8v is not supported */
564 no-1-8-v;
565 /* Bus width is only 8 bits maximum */
566 bus-width = <8>;
567 /* Write-protect */
568 wp-gpios = <&gpio_6_0 24 0>;
569 /* Card detect */
570 cd-gpios = <&gpio_6_0 25 1>;
571 /* SD UHS SDR25 is supported */
572 sd-uhs-sdr25;
573 /* High-speed mode is supported */
574 cap-sd-highspeed;
575 cap-mmc-highspeed;
576 };
577};
578
579&i2c_9_0 {
580 rtc@68 {
581 compatible = "dallas,ds1337";
582 reg = <0x68>;
583 rtcmodel = <1>;
584 };
585 gpio1: cpld@6c {
586 compatible = "gpio-i2c", "cavium,cpld8104";
587 gpio-controller;
588 reg = <0x6c>;
589 ngpios = <160>; // 8bits for each reg 0..0x13
590 #gpio-cells = <2>;
591 };
592};
593
594&spi_7_0 {
595 flash@0 {
596 compatible = "jedec,spi-nor", "spi-flash";
597 reg = <0x0>;
598 spi-max-frequency = <16000000>;
599 #address-cells = <1>;
600 #size-cells = <1>;
601 };
602 slic0@2 {
603 compatible = "silabs,si32260", "linux,spidev";
604 reg = <2>;
605 spi-max-frequency = <2500000>;
606 reset-gpios = <&gpio1 74 1>;
607 irq-gpios = <&gpio_6_0 3>;
608 tx = <&tdm 0>;
609 rx = <&tdm 1>;
610 };
611 slic1@3 {
612 compatible = "silabs,si32260", "linux,spidev";
613 reg = <3>;
614 spi-max-frequency = <2500000>;
615 reset-gpios = <&gpio1 75 1>;
616 irq-gpios = <&gpio_6_0 5>;
617 tx = <&tdm 2>;
618 rx = <&tdm 3>;
619 };
620};