Lines Matching +full:lan966x +full:- +full:switch

1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/clock/microchip,lan966x.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/mfd/atmel-flexcom.h>
10 #include <dt-bindings/phy/phy-lan966x-serdes.h>
12 /dts-v1/;
17 target-path = "";
25 #interrupt-cells = <1>;
26 interrupt-controller;
29 #address-cells = <3>;
30 #size-cells = <2>;
32 cpu_clk: clock-600000000 {
33 compatible = "fixed-clock";
34 #clock-cells = <0>;
35 clock-frequency = <600000000>; /* CPU clock = 600MHz */
38 ddr_clk: clock-30000000 {
39 compatible = "fixed-clock";
40 #clock-cells = <0>;
41 clock-frequency = <30000000>; /* Fabric clock = 30MHz */
44 sys_clk: clock-15625000 {
45 compatible = "fixed-clock";
46 #clock-cells = <0>;
47 clock-frequency = <15625000>; /* System clock = 15.625MHz */
50 pci-ep-bus@0 {
51 compatible = "simple-bus";
52 #address-cells = <1>;
53 #size-cells = <1>;
63 compatible = "microchip,lan966x-oic";
64 #interrupt-cells = <2>;
65 interrupt-controller;
71 compatible = "microchip,lan966x-cpu-syscon", "syscon";
76 compatible = "microchip,lan966x-switch-reset";
78 reg-names = "gcb","cpu";
79 #reset-cells = <1>;
80 cpu-syscon = <&cpu_ctrl>;
84 compatible = "microchip,lan966x-pinctrl";
88 reset-names = "switch";
89 gpio-controller;
90 #gpio-cells = <2>;
91 gpio-ranges = <&gpio 0 0 78>;
92 interrupt-parent = <&oic>;
93 interrupt-controller;
95 #interrupt-cells = <2>;
102 fc0_a_pins: fcb4-i2c-pins {
111 compatible = "microchip,lan966x-serdes";
114 #phy-cells = <2>;
118 #address-cells = <1>;
119 #size-cells = <0>;
120 compatible = "microchip,lan966x-miim";
125 reset-names = "switch";
127 lan966x_phy0: ethernet-lan966x_phy@1 {
131 lan966x_phy1: ethernet-lan966x_phy@2 {
136 switch: switch@e0000000 {
137 compatible = "microchip,lan966x-switch";
140 reg-names = "cpu", "gcb";
142 interrupt-parent = <&oic>;
145 interrupt-names = "xtr", "ana";
148 reset-names = "switch";
150 pinctrl-names = "default";
151 pinctrl-0 = <&tod_pins>;
153 ethernet-ports {
154 #address-cells = <1>;
155 #size-cells = <0>;
158 phy-handle = <&lan966x_phy0>;
161 phy-mode = "gmii";
166 phy-handle = <&lan966x_phy1>;
169 phy-mode = "gmii";