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,ocelot-spi", "snps,dw-apb-ssi";
98 reg = <0x101000 0x100>, <0x3c 0x18>;
106 compatible = "mscc,vsc7514-switch";
107 reg = <0x1010000 0x10000>,
124 reg-names = "sys", "rew", "qs", "hsio", "port0",
125 "port1", "port2", "port3", "port4", "port5",
126 "port6", "port7", "port8", "port9", "port10",
128 interrupts = <21 22>;
129 interrupt-names = "xtr", "inj";
132 #address-cells = <1>;
172 compatible = "mscc,ocelot-chip-reset";
173 reg = <0x1070008 0x4>;
176 gpio: pinctrl@1070034 {
177 compatible = "mscc,ocelot-pinctrl";
178 reg = <0x1070034 0x68>;
181 gpio-ranges = <&gpio 0 0 22>;
182 interrupt-controller;
184 #interrupt-cells = <2>;
186 uart_pins: uart-pins {
187 pins = "GPIO_6", "GPIO_7";
191 uart2_pins: uart2-pins {
192 pins = "GPIO_12", "GPIO_13";
197 pins = "GPIO_14", "GPIO_15";
202 mdio0: mdio@107009c {
203 #address-cells = <1>;
205 compatible = "mscc,ocelot-miim";
206 reg = <0x107009c 0x24>, <0x10700f0 0x8>;
210 phy0: ethernet-phy@0 {
213 phy1: ethernet-phy@1 {
216 phy2: ethernet-phy@2 {
219 phy3: ethernet-phy@3 {
224 mdio1: mdio@10700c0 {
225 #address-cells = <1>;
227 compatible = "mscc,ocelot-miim";
228 reg = <0x10700c0 0x24>;
230 pinctrl-names = "default";
231 pinctrl-0 = <&miim1>;