1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
7 #include "sparx5_pcb_common.dtsi"
35 compatible = "gpio-restart";
36 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
44 gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>;
47 label = "twr0:yellow";
48 gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>;
52 gpios = <&sgpio_out0 9 0 GPIO_ACTIVE_LOW>;
55 label = "twr1:yellow";
56 gpios = <&sgpio_out0 9 1 GPIO_ACTIVE_LOW>;
60 gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>;
63 label = "twr2:yellow";
64 gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>;
68 gpios = <&sgpio_out0 11 0 GPIO_ACTIVE_LOW>;
71 label = "twr3:yellow";
72 gpios = <&sgpio_out0 11 1 GPIO_ACTIVE_LOW>;
75 label = "eth12:green";
76 gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>;
77 default-state = "off";
80 label = "eth12:yellow";
81 gpios = <&sgpio_out0 12 1 GPIO_ACTIVE_HIGH>;
82 default-state = "off";
85 label = "eth13:green";
86 gpios = <&sgpio_out0 13 0 GPIO_ACTIVE_HIGH>;
87 default-state = "off";
90 label = "eth13:yellow";
91 gpios = <&sgpio_out0 13 1 GPIO_ACTIVE_HIGH>;
92 default-state = "off";
95 label = "eth14:green";
96 gpios = <&sgpio_out0 14 0 GPIO_ACTIVE_HIGH>;
97 default-state = "off";
100 label = "eth14:yellow";
101 gpios = <&sgpio_out0 14 1 GPIO_ACTIVE_HIGH>;
102 default-state = "off";
105 label = "eth15:green";
106 gpios = <&sgpio_out0 15 0 GPIO_ACTIVE_HIGH>;
107 default-state = "off";
110 label = "eth15:yellow";
111 gpios = <&sgpio_out0 15 1 GPIO_ACTIVE_HIGH>;
112 default-state = "off";
115 label = "eth48:green";
116 gpios = <&sgpio_out1 16 0 GPIO_ACTIVE_HIGH>;
117 default-state = "off";
120 label = "eth48:yellow";
121 gpios = <&sgpio_out1 16 1 GPIO_ACTIVE_HIGH>;
122 default-state = "off";
125 label = "eth49:green";
126 gpios = <&sgpio_out1 17 0 GPIO_ACTIVE_HIGH>;
127 default-state = "off";
130 label = "eth49:yellow";
131 gpios = <&sgpio_out1 17 1 GPIO_ACTIVE_HIGH>;
132 default-state = "off";
135 label = "eth50:green";
136 gpios = <&sgpio_out1 18 0 GPIO_ACTIVE_HIGH>;
137 default-state = "off";
140 label = "eth50:yellow";
141 gpios = <&sgpio_out1 18 1 GPIO_ACTIVE_HIGH>;
142 default-state = "off";
145 label = "eth51:green";
146 gpios = <&sgpio_out1 19 0 GPIO_ACTIVE_HIGH>;
147 default-state = "off";
150 label = "eth51:yellow";
151 gpios = <&sgpio_out1 19 1 GPIO_ACTIVE_HIGH>;
152 default-state = "off";
155 label = "eth52:green";
156 gpios = <&sgpio_out1 20 0 GPIO_ACTIVE_HIGH>;
157 default-state = "off";
160 label = "eth52:yellow";
161 gpios = <&sgpio_out1 20 1 GPIO_ACTIVE_HIGH>;
162 default-state = "off";
165 label = "eth53:green";
166 gpios = <&sgpio_out1 21 0 GPIO_ACTIVE_HIGH>;
167 default-state = "off";
170 label = "eth53:yellow";
171 gpios = <&sgpio_out1 21 1 GPIO_ACTIVE_HIGH>;
172 default-state = "off";
175 label = "eth54:green";
176 gpios = <&sgpio_out1 22 0 GPIO_ACTIVE_HIGH>;
177 default-state = "off";
180 label = "eth54:yellow";
181 gpios = <&sgpio_out1 22 1 GPIO_ACTIVE_HIGH>;
182 default-state = "off";
185 label = "eth55:green";
186 gpios = <&sgpio_out1 23 0 GPIO_ACTIVE_HIGH>;
187 default-state = "off";
190 label = "eth55:yellow";
191 gpios = <&sgpio_out1 23 1 GPIO_ACTIVE_HIGH>;
192 default-state = "off";
195 label = "eth56:green";
196 gpios = <&sgpio_out1 24 0 GPIO_ACTIVE_HIGH>;
197 default-state = "off";
200 label = "eth56:yellow";
201 gpios = <&sgpio_out1 24 1 GPIO_ACTIVE_HIGH>;
202 default-state = "off";
205 label = "eth57:green";
206 gpios = <&sgpio_out1 25 0 GPIO_ACTIVE_HIGH>;
207 default-state = "off";
210 label = "eth57:yellow";
211 gpios = <&sgpio_out1 25 1 GPIO_ACTIVE_HIGH>;
212 default-state = "off";
215 label = "eth58:green";
216 gpios = <&sgpio_out1 26 0 GPIO_ACTIVE_HIGH>;
217 default-state = "off";
220 label = "eth58:yellow";
221 gpios = <&sgpio_out1 26 1 GPIO_ACTIVE_HIGH>;
222 default-state = "off";
225 label = "eth59:green";
226 gpios = <&sgpio_out1 27 0 GPIO_ACTIVE_HIGH>;
227 default-state = "off";
230 label = "eth59:yellow";
231 gpios = <&sgpio_out1 27 1 GPIO_ACTIVE_HIGH>;
232 default-state = "off";
235 label = "eth60:green";
236 gpios = <&sgpio_out1 28 0 GPIO_ACTIVE_HIGH>;
237 default-state = "off";
240 label = "eth60:yellow";
241 gpios = <&sgpio_out1 28 1 GPIO_ACTIVE_HIGH>;
242 default-state = "off";
245 label = "eth61:green";
246 gpios = <&sgpio_out1 29 0 GPIO_ACTIVE_HIGH>;
247 default-state = "off";
250 label = "eth61:yellow";
251 gpios = <&sgpio_out1 29 1 GPIO_ACTIVE_HIGH>;
252 default-state = "off";
255 label = "eth62:green";
256 gpios = <&sgpio_out1 30 0 GPIO_ACTIVE_HIGH>;
257 default-state = "off";
260 label = "eth62:yellow";
261 gpios = <&sgpio_out1 30 1 GPIO_ACTIVE_HIGH>;
262 default-state = "off";
265 label = "eth63:green";
266 gpios = <&sgpio_out1 31 0 GPIO_ACTIVE_HIGH>;
267 default-state = "off";
270 label = "eth63:yellow";
271 gpios = <&sgpio_out1 31 1 GPIO_ACTIVE_HIGH>;
272 default-state = "off";
279 microchip,sgpio-port-ranges = <8 15>;
290 microchip,sgpio-port-ranges = <24 31>;
302 compatible = "spi-mux";
303 mux-controls = <&mux>;
304 #address-cells = <1>;
308 compatible = "jedec,spi-nor";
309 spi-max-frequency = <8000000>;
310 reg = <0x9>; /* SPI */
318 compatible = "spi-mux";
319 mux-controls = <&mux>;
320 #address-cells = <1>;
324 compatible = "jedec,spi-nor";
325 spi-max-frequency = <8000000>;
326 reg = <0x9>; /* SPI */
332 i2cmux_pins_i: i2cmux-pins-i {
333 pins = "GPIO_16", "GPIO_17", "GPIO_18", "GPIO_19",
334 "GPIO_20", "GPIO_22", "GPIO_36", "GPIO_35",
335 "GPIO_50", "GPIO_51", "GPIO_56", "GPIO_57";
336 function = "twi_scl_m";
341 function = "twi_scl_m";
346 function = "twi_scl_m";
351 function = "twi_scl_m";
356 function = "twi_scl_m";
361 function = "twi_scl_m";
366 function = "twi_scl_m";
371 function = "twi_scl_m";
376 function = "twi_scl_m";
381 function = "twi_scl_m";
386 function = "twi_scl_m";
389 i2cmux_10: i2cmux-10 {
391 function = "twi_scl_m";
394 i2cmux_11: i2cmux-11 {
396 function = "twi_scl_m";
402 i2c0_imux: i2c0-imux@0 {
403 compatible = "i2c-mux-pinctrl";
404 #address-cells = <1>;
406 i2c-parent = <&i2c0>;
408 i2c0_emux: i2c0-emux@0 {
409 compatible = "i2c-mux-gpio";
410 #address-cells = <1>;
412 i2c-parent = <&i2c0>;
418 "i2c100", "i2c101", "i2c102", "i2c103",
419 "i2c104", "i2c105", "i2c106", "i2c107",
420 "i2c108", "i2c109", "i2c110", "i2c111", "idle";
421 pinctrl-0 = <&i2cmux_0>;
422 pinctrl-1 = <&i2cmux_1>;
423 pinctrl-2 = <&i2cmux_2>;
424 pinctrl-3 = <&i2cmux_3>;
425 pinctrl-4 = <&i2cmux_4>;
426 pinctrl-5 = <&i2cmux_5>;
427 pinctrl-6 = <&i2cmux_6>;
428 pinctrl-7 = <&i2cmux_7>;
429 pinctrl-8 = <&i2cmux_8>;
430 pinctrl-9 = <&i2cmux_9>;
431 pinctrl-10 = <&i2cmux_10>;
432 pinctrl-11 = <&i2cmux_11>;
433 pinctrl-12 = <&i2cmux_pins_i>;
436 #address-cells = <1>;
441 #address-cells = <1>;
446 #address-cells = <1>;
451 #address-cells = <1>;
456 #address-cells = <1>;
461 #address-cells = <1>;
466 #address-cells = <1>;
471 #address-cells = <1>;
476 #address-cells = <1>;
481 #address-cells = <1>;
486 #address-cells = <1>;
491 #address-cells = <1>;
497 mux-gpios = <&gpio 55 GPIO_ACTIVE_HIGH
498 &gpio 60 GPIO_ACTIVE_HIGH
499 &gpio 61 GPIO_ACTIVE_HIGH
500 &gpio 54 GPIO_ACTIVE_HIGH>;
504 #address-cells = <1>;
509 #address-cells = <1>;
514 #address-cells = <1>;
519 #address-cells = <1>;
524 #address-cells = <1>;
529 #address-cells = <1>;
534 #address-cells = <1>;
539 #address-cells = <1>;