1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2018 Microsemi Corporation
9 compatible = "mscc,jr2";
16 compatible = "mips,mips24KEc";
27 cpuintc: interrupt-controller@0 {
29 #interrupt-cells = <1>;
31 compatible = "mti,cpu-interrupt-controller";
35 compatible = "fixed-clock";
37 clock-frequency = <500000000>;
41 compatible = "fixed-clock";
43 clock-frequency = <250000000>;
47 compatible = "simple-bus";
50 ranges = <0 0x70000000 0x2000000>;
52 interrupt-parent = <&intc>;
55 compatible = "mscc,jr2-cpu-syscon", "syscon";
59 intc: interrupt-controller@70 {
60 compatible = "mscc,jr2-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>;
94 spi0: spi-master@101000 {
97 compatible = "snps,dw-apb-ssi";
98 reg = <0x101000 0x40>;
103 spi-max-frequency = <18000000>; /* input clock */
110 compatible = "mscc,jr2-chip-reset";
111 reg = <0x1010008 0x4>;
114 gpio: pinctrl@1070034 {
115 compatible = "mscc,jaguar2-pinctrl";
116 reg = <0x1010038 0x90>;
119 gpio-ranges = <&gpio 0 0 64>;
121 sgpio_pins: sgpio-pins {
122 pins = "GPIO_0", "GPIO_1", "GPIO_2", "GPIO_3";
126 sgpio1_pins: sgpio1-pins {
127 pins = "GPIO_4", "GPIO_5", "GPIO_12", "GPIO_13";
131 sgpio2_pins: sgpio2-pins {
132 pins = "GPIO_30", "GPIO_31",
133 "GPIO_32", "GPIO_33";
137 uart_pins: uart-pins {
138 pins = "GPIO_10", "GPIO_11";
142 uart2_pins: uart2-pins {
143 pins = "GPIO_24", "GPIO_25";
148 sgpio: gpio@1010150 {
149 compatible = "mscc,ocelot-sgpio";
151 pinctrl-0 = <&sgpio_pins>;
152 pinctrl-names = "default";
153 reg = <0x1010150 0x100>;
156 gpio-ranges = <&sgpio 0 0 64>;
157 gpio-bank-name = "sgpio0_";
158 sgpio-clock = <0x14>;
161 sgpio1: gpio@101025c {
162 compatible = "mscc,ocelot-sgpio";
164 pinctrl-0 = <&sgpio1_pins>;
165 pinctrl-names = "default";
166 reg = <0x101025c 0x100>;
169 gpio-ranges = <&sgpio1 0 0 64>;
170 gpio-bank-name = "sgpio1_";
171 sgpio-clock = <0x14>;
174 sgpio2: gpio@1010368 {
175 compatible = "mscc,ocelot-sgpio";
177 pinctrl-0 = <&sgpio2_pins>;
178 pinctrl-names = "default";
179 reg = <0x1010368 0x100>;
182 gpio-ranges = <&sgpio2 0 0 64>;
183 gpio-bank-name = "sgpio2_";
184 sgpio-clock = <0x14>;