1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Microsemi Corporation
9 compatible = "mscc,serval";
16 compatible = "mips,mips24KEc";
28 cpuintc: interrupt-controller {
30 #interrupt-cells = <1>;
32 compatible = "mti,cpu-interrupt-controller";
36 compatible = "fixed-clock";
38 clock-frequency = <416666666>;
42 compatible = "fixed-factor-clock";
50 compatible = "simple-bus";
55 interrupt-parent = <&intc>;
57 cpu_ctrl: syscon@70000000 {
58 compatible = "mscc,ocelot-cpu-syscon", "syscon";
59 reg = <0x70000000 0x2c>;
62 intc: interrupt-controller@70000070 {
63 compatible = "mscc,serval-icpu-intr";
64 reg = <0x70000070 0x70>;
65 #interrupt-cells = <1>;
67 interrupt-parent = <&cpuintc>;
71 uart0: serial@70100000 {
72 pinctrl-0 = <&uart_pins>;
73 pinctrl-names = "default";
74 compatible = "ns16550a";
75 reg = <0x70100000 0x20>;
84 uart2: serial@70100800 {
85 pinctrl-0 = <&uart2_pins>;
86 pinctrl-names = "default";
87 compatible = "ns16550a";
88 reg = <0x70100800 0x20>;
97 gpio: pinctrl@71070034 {
98 compatible = "mscc,serval-pinctrl";
99 reg = <0x71070034 0x28>;
102 gpio-ranges = <&gpio 0 0 22>;
104 sgpio_pins: sgpio-pins {
105 pins = "GPIO_0", "GPIO_2", "GPIO_3", "GPIO_1";
110 pins = "GPIO_6", "GPIO_7";
114 uart_pins: uart-pins {
115 pins = "GPIO_26", "GPIO_27";
119 uart2_pins: uart2-pins {
120 pins = "GPIO_13", "GPIO_14";
129 irqext0_pins: irqext0-pins {
134 irqext1_pins: irqext1-pins {
141 compatible = "mscc,ocelot-i2c", "snps,designware-i2c";
143 pinctrl-0 = <&i2c_pins>;
144 pinctrl-names = "default";
145 reg = <0x70100400 0x100>, <0x70000190 0x8>;
146 #address-cells = <1>;
149 clock-frequency = <100000>;