1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /* Copyright (c) 2017 Microsemi Corporation */
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/phy/phy-ocelot-serdes.h>
12 compatible = "mscc,ocelot-pcb120", "mscc,ocelot";
15 stdout-path = "serial0:115200n8";
19 device_type = "memory";
20 reg = <0x0 0x0e000000>;
25 phy_int_pins: phy_int_pins {
30 phy_load_save_pins: phy_load_save_pins {
42 pinctrl-names = "default";
43 pinctrl-0 = <&miim1>, <&phy_int_pins>, <&phy_load_save_pins>;
45 phy7: ethernet-phy@0 {
47 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
48 interrupt-parent = <&gpio>;
49 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
51 phy6: ethernet-phy@1 {
53 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
54 interrupt-parent = <&gpio>;
55 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
57 phy5: ethernet-phy@2 {
59 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
60 interrupt-parent = <&gpio>;
61 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
63 phy4: ethernet-phy@3 {
65 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
66 interrupt-parent = <&gpio>;
67 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
90 phys = <&serdes 4 SERDES1G(2)>;
96 phys = <&serdes 5 SERDES1G(5)>;
100 phy-handle = <&phy6>;
102 phys = <&serdes 6 SERDES1G(3)>;
106 phy-handle = <&phy5>;
108 phys = <&serdes 9 SERDES1G(4)>;