1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /* Copyright (c) 2017 Microsemi Corporation */
7 compatible = "mscc,ocelot";
14 compatible = "mips,mips24KEc";
25 cpuintc: interrupt-controller {
27 #interrupt-cells = <1>;
29 compatible = "mti,cpu-interrupt-controller";
33 compatible = "fixed-clock";
35 clock-frequency = <500000000>;
39 compatible = "fixed-factor-clock";
47 compatible = "simple-bus";
50 ranges = <0 0x70000000 0x2000000>;
52 interrupt-parent = <&intc>;
55 compatible = "mscc,ocelot-cpu-syscon", "syscon";
59 intc: interrupt-controller@70 {
60 compatible = "mscc,ocelot-icpu-intr";
62 #interrupt-cells = <1>;
64 interrupt-parent = <&cpuintc>;
68 uart0: serial@100000 {
69 pinctrl-0 = <&uart_pins>;
70 pinctrl-names = "default";
71 compatible = "ns16550a";
72 reg = <0x100000 0x20>;
81 uart2: serial@100800 {
82 pinctrl-0 = <&uart2_pins>;
83 pinctrl-names = "default";
84 compatible = "ns16550a";
85 reg = <0x100800 0x20>;
95 compatible = "mscc,vsc7514-switch";
96 reg = <0x1010000 0x10000>,
113 reg-names = "sys", "rew", "qs", "hsio", "port0",
114 "port1", "port2", "port3", "port4", "port5",
115 "port6", "port7", "port8", "port9", "port10",
117 interrupts = <21 22>;
118 interrupt-names = "xtr", "inj";
121 #address-cells = <1>;
161 compatible = "mscc,ocelot-chip-reset";
162 reg = <0x1070008 0x4>;
165 gpio: pinctrl@1070034 {
166 compatible = "mscc,ocelot-pinctrl";
167 reg = <0x1070034 0x68>;
170 gpio-ranges = <&gpio 0 0 22>;
172 uart_pins: uart-pins {
173 pins = "GPIO_6", "GPIO_7";
177 uart2_pins: uart2-pins {
178 pins = "GPIO_12", "GPIO_13";
183 pins = "GPIO_14", "GPIO_15";
188 mdio0: mdio@107009c {
189 #address-cells = <1>;
191 compatible = "mscc,ocelot-miim";
192 reg = <0x107009c 0x24>, <0x10700f0 0x8>;
196 phy0: ethernet-phy@0 {
199 phy1: ethernet-phy@1 {
202 phy2: ethernet-phy@2 {
205 phy3: ethernet-phy@3 {
210 mdio1: mdio@10700c0 {
211 #address-cells = <1>;
213 compatible = "mscc,ocelot-miim";
214 reg = <0x10700c0 0x24>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&miim1>;