xref: /freebsd/sys/contrib/device-tree/src/arm64/microchip/sparx5_pcb134_board.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot/dts-v1/;
7c66ec88fSEmmanuel Vadot#include "sparx5_pcb_common.dtsi"
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadot/{
10c66ec88fSEmmanuel Vadot	gpio-restart {
11c66ec88fSEmmanuel Vadot		compatible = "gpio-restart";
12c66ec88fSEmmanuel Vadot		gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
13c66ec88fSEmmanuel Vadot		priority = <200>;
14c66ec88fSEmmanuel Vadot	};
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel Vadot	leds {
175def4c47SEmmanuel Vadot		compatible = "gpio-leds";
185def4c47SEmmanuel Vadot		led@0 {
195def4c47SEmmanuel Vadot			label = "twr0:green";
205def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>;
215def4c47SEmmanuel Vadot		};
225def4c47SEmmanuel Vadot		led@1 {
235def4c47SEmmanuel Vadot			label = "twr0:yellow";
245def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>;
255def4c47SEmmanuel Vadot		};
265def4c47SEmmanuel Vadot		led@2 {
275def4c47SEmmanuel Vadot			label = "twr1:green";
285def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 9 0 GPIO_ACTIVE_LOW>;
295def4c47SEmmanuel Vadot		};
305def4c47SEmmanuel Vadot		led@3 {
315def4c47SEmmanuel Vadot			label = "twr1:yellow";
325def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 9 1 GPIO_ACTIVE_LOW>;
335def4c47SEmmanuel Vadot		};
345def4c47SEmmanuel Vadot		led@4 {
355def4c47SEmmanuel Vadot			label = "twr2:green";
365def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 10 0 GPIO_ACTIVE_LOW>;
375def4c47SEmmanuel Vadot		};
385def4c47SEmmanuel Vadot		led@5 {
395def4c47SEmmanuel Vadot			label = "twr2:yellow";
405def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 10 1 GPIO_ACTIVE_LOW>;
415def4c47SEmmanuel Vadot		};
425def4c47SEmmanuel Vadot		led@6 {
435def4c47SEmmanuel Vadot			label = "twr3:green";
445def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 11 0 GPIO_ACTIVE_LOW>;
455def4c47SEmmanuel Vadot		};
465def4c47SEmmanuel Vadot		led@7 {
475def4c47SEmmanuel Vadot			label = "twr3:yellow";
485def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 11 1 GPIO_ACTIVE_LOW>;
495def4c47SEmmanuel Vadot		};
505def4c47SEmmanuel Vadot		led@8 {
515def4c47SEmmanuel Vadot			label = "eth12:green";
525def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 12 0 GPIO_ACTIVE_HIGH>;
535def4c47SEmmanuel Vadot			default-state = "off";
545def4c47SEmmanuel Vadot		};
555def4c47SEmmanuel Vadot		led@9 {
565def4c47SEmmanuel Vadot			label = "eth12:yellow";
575def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 12 1 GPIO_ACTIVE_HIGH>;
585def4c47SEmmanuel Vadot			default-state = "off";
595def4c47SEmmanuel Vadot		};
605def4c47SEmmanuel Vadot		led@10 {
615def4c47SEmmanuel Vadot			label = "eth13:green";
625def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 13 0 GPIO_ACTIVE_HIGH>;
635def4c47SEmmanuel Vadot			default-state = "off";
645def4c47SEmmanuel Vadot		};
655def4c47SEmmanuel Vadot		led@11 {
665def4c47SEmmanuel Vadot			label = "eth13:yellow";
675def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 13 1 GPIO_ACTIVE_HIGH>;
685def4c47SEmmanuel Vadot			default-state = "off";
695def4c47SEmmanuel Vadot		};
705def4c47SEmmanuel Vadot		led@12 {
715def4c47SEmmanuel Vadot			label = "eth14:green";
725def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 14 0 GPIO_ACTIVE_HIGH>;
735def4c47SEmmanuel Vadot			default-state = "off";
745def4c47SEmmanuel Vadot		};
755def4c47SEmmanuel Vadot		led@13 {
765def4c47SEmmanuel Vadot			label = "eth14:yellow";
775def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 14 1 GPIO_ACTIVE_HIGH>;
785def4c47SEmmanuel Vadot			default-state = "off";
795def4c47SEmmanuel Vadot		};
805def4c47SEmmanuel Vadot		led@14 {
815def4c47SEmmanuel Vadot			label = "eth15:green";
825def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 15 0 GPIO_ACTIVE_HIGH>;
835def4c47SEmmanuel Vadot			default-state = "off";
845def4c47SEmmanuel Vadot		};
855def4c47SEmmanuel Vadot		led@15 {
865def4c47SEmmanuel Vadot			label = "eth15:yellow";
875def4c47SEmmanuel Vadot			gpios = <&sgpio_out0 15 1 GPIO_ACTIVE_HIGH>;
885def4c47SEmmanuel Vadot			default-state = "off";
895def4c47SEmmanuel Vadot		};
905def4c47SEmmanuel Vadot		led@16 {
915def4c47SEmmanuel Vadot			label = "eth48:green";
925def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 16 0 GPIO_ACTIVE_HIGH>;
935def4c47SEmmanuel Vadot			default-state = "off";
945def4c47SEmmanuel Vadot		};
955def4c47SEmmanuel Vadot		led@17 {
965def4c47SEmmanuel Vadot			label = "eth48:yellow";
975def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 16 1 GPIO_ACTIVE_HIGH>;
985def4c47SEmmanuel Vadot			default-state = "off";
995def4c47SEmmanuel Vadot		};
1005def4c47SEmmanuel Vadot		led@18 {
1015def4c47SEmmanuel Vadot			label = "eth49:green";
1025def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 17 0 GPIO_ACTIVE_HIGH>;
1035def4c47SEmmanuel Vadot			default-state = "off";
1045def4c47SEmmanuel Vadot		};
1055def4c47SEmmanuel Vadot		led@19 {
1065def4c47SEmmanuel Vadot			label = "eth49:yellow";
1075def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 17 1 GPIO_ACTIVE_HIGH>;
1085def4c47SEmmanuel Vadot			default-state = "off";
1095def4c47SEmmanuel Vadot		};
1105def4c47SEmmanuel Vadot		led@20 {
1115def4c47SEmmanuel Vadot			label = "eth50:green";
1125def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 18 0 GPIO_ACTIVE_HIGH>;
1135def4c47SEmmanuel Vadot			default-state = "off";
1145def4c47SEmmanuel Vadot		};
1155def4c47SEmmanuel Vadot		led@21 {
1165def4c47SEmmanuel Vadot			label = "eth50:yellow";
1175def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 18 1 GPIO_ACTIVE_HIGH>;
1185def4c47SEmmanuel Vadot			default-state = "off";
1195def4c47SEmmanuel Vadot		};
1205def4c47SEmmanuel Vadot		led@22 {
1215def4c47SEmmanuel Vadot			label = "eth51:green";
1225def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 19 0 GPIO_ACTIVE_HIGH>;
1235def4c47SEmmanuel Vadot			default-state = "off";
1245def4c47SEmmanuel Vadot		};
1255def4c47SEmmanuel Vadot		led@23 {
1265def4c47SEmmanuel Vadot			label = "eth51:yellow";
1275def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 19 1 GPIO_ACTIVE_HIGH>;
1285def4c47SEmmanuel Vadot			default-state = "off";
1295def4c47SEmmanuel Vadot		};
1305def4c47SEmmanuel Vadot		led@24 {
1315def4c47SEmmanuel Vadot			label = "eth52:green";
1325def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 20 0 GPIO_ACTIVE_HIGH>;
1335def4c47SEmmanuel Vadot			default-state = "off";
1345def4c47SEmmanuel Vadot		};
1355def4c47SEmmanuel Vadot		led@25 {
1365def4c47SEmmanuel Vadot			label = "eth52:yellow";
1375def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 20 1 GPIO_ACTIVE_HIGH>;
1385def4c47SEmmanuel Vadot			default-state = "off";
1395def4c47SEmmanuel Vadot		};
1405def4c47SEmmanuel Vadot		led@26 {
1415def4c47SEmmanuel Vadot			label = "eth53:green";
1425def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 21 0 GPIO_ACTIVE_HIGH>;
1435def4c47SEmmanuel Vadot			default-state = "off";
1445def4c47SEmmanuel Vadot		};
1455def4c47SEmmanuel Vadot		led@27 {
1465def4c47SEmmanuel Vadot			label = "eth53:yellow";
1475def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 21 1 GPIO_ACTIVE_HIGH>;
1485def4c47SEmmanuel Vadot			default-state = "off";
1495def4c47SEmmanuel Vadot		};
1505def4c47SEmmanuel Vadot		led@28 {
1515def4c47SEmmanuel Vadot			label = "eth54:green";
1525def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 22 0 GPIO_ACTIVE_HIGH>;
1535def4c47SEmmanuel Vadot			default-state = "off";
1545def4c47SEmmanuel Vadot		};
1555def4c47SEmmanuel Vadot		led@29 {
1565def4c47SEmmanuel Vadot			label = "eth54:yellow";
1575def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 22 1 GPIO_ACTIVE_HIGH>;
1585def4c47SEmmanuel Vadot			default-state = "off";
1595def4c47SEmmanuel Vadot		};
1605def4c47SEmmanuel Vadot		led@30 {
1615def4c47SEmmanuel Vadot			label = "eth55:green";
1625def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 23 0 GPIO_ACTIVE_HIGH>;
1635def4c47SEmmanuel Vadot			default-state = "off";
1645def4c47SEmmanuel Vadot		};
1655def4c47SEmmanuel Vadot		led@31 {
1665def4c47SEmmanuel Vadot			label = "eth55:yellow";
1675def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 23 1 GPIO_ACTIVE_HIGH>;
1685def4c47SEmmanuel Vadot			default-state = "off";
1695def4c47SEmmanuel Vadot		};
1705def4c47SEmmanuel Vadot		led@32 {
1715def4c47SEmmanuel Vadot			label = "eth56:green";
1725def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 24 0 GPIO_ACTIVE_HIGH>;
1735def4c47SEmmanuel Vadot			default-state = "off";
1745def4c47SEmmanuel Vadot		};
1755def4c47SEmmanuel Vadot		led@33 {
1765def4c47SEmmanuel Vadot			label = "eth56:yellow";
1775def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 24 1 GPIO_ACTIVE_HIGH>;
1785def4c47SEmmanuel Vadot			default-state = "off";
1795def4c47SEmmanuel Vadot		};
1805def4c47SEmmanuel Vadot		led@34 {
1815def4c47SEmmanuel Vadot			label = "eth57:green";
1825def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 25 0 GPIO_ACTIVE_HIGH>;
1835def4c47SEmmanuel Vadot			default-state = "off";
1845def4c47SEmmanuel Vadot		};
1855def4c47SEmmanuel Vadot		led@35 {
1865def4c47SEmmanuel Vadot			label = "eth57:yellow";
1875def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 25 1 GPIO_ACTIVE_HIGH>;
1885def4c47SEmmanuel Vadot			default-state = "off";
1895def4c47SEmmanuel Vadot		};
1905def4c47SEmmanuel Vadot		led@36 {
1915def4c47SEmmanuel Vadot			label = "eth58:green";
1925def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 26 0 GPIO_ACTIVE_HIGH>;
1935def4c47SEmmanuel Vadot			default-state = "off";
1945def4c47SEmmanuel Vadot		};
1955def4c47SEmmanuel Vadot		led@37 {
1965def4c47SEmmanuel Vadot			label = "eth58:yellow";
1975def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 26 1 GPIO_ACTIVE_HIGH>;
1985def4c47SEmmanuel Vadot			default-state = "off";
1995def4c47SEmmanuel Vadot		};
2005def4c47SEmmanuel Vadot		led@38 {
2015def4c47SEmmanuel Vadot			label = "eth59:green";
2025def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 27 0 GPIO_ACTIVE_HIGH>;
2035def4c47SEmmanuel Vadot			default-state = "off";
2045def4c47SEmmanuel Vadot		};
2055def4c47SEmmanuel Vadot		led@39 {
2065def4c47SEmmanuel Vadot			label = "eth59:yellow";
2075def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 27 1 GPIO_ACTIVE_HIGH>;
2085def4c47SEmmanuel Vadot			default-state = "off";
2095def4c47SEmmanuel Vadot		};
2105def4c47SEmmanuel Vadot		led@40 {
2115def4c47SEmmanuel Vadot			label = "eth60:green";
2125def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 28 0 GPIO_ACTIVE_HIGH>;
2135def4c47SEmmanuel Vadot			default-state = "off";
2145def4c47SEmmanuel Vadot		};
2155def4c47SEmmanuel Vadot		led@41 {
2165def4c47SEmmanuel Vadot			label = "eth60:yellow";
2175def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 28 1 GPIO_ACTIVE_HIGH>;
2185def4c47SEmmanuel Vadot			default-state = "off";
2195def4c47SEmmanuel Vadot		};
2205def4c47SEmmanuel Vadot		led@42 {
2215def4c47SEmmanuel Vadot			label = "eth61:green";
2225def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 29 0 GPIO_ACTIVE_HIGH>;
2235def4c47SEmmanuel Vadot			default-state = "off";
2245def4c47SEmmanuel Vadot		};
2255def4c47SEmmanuel Vadot		led@43 {
2265def4c47SEmmanuel Vadot			label = "eth61:yellow";
2275def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 29 1 GPIO_ACTIVE_HIGH>;
2285def4c47SEmmanuel Vadot			default-state = "off";
2295def4c47SEmmanuel Vadot		};
2305def4c47SEmmanuel Vadot		led@44 {
2315def4c47SEmmanuel Vadot			label = "eth62:green";
2325def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 30 0 GPIO_ACTIVE_HIGH>;
2335def4c47SEmmanuel Vadot			default-state = "off";
2345def4c47SEmmanuel Vadot		};
2355def4c47SEmmanuel Vadot		led@45 {
2365def4c47SEmmanuel Vadot			label = "eth62:yellow";
2375def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 30 1 GPIO_ACTIVE_HIGH>;
2385def4c47SEmmanuel Vadot			default-state = "off";
2395def4c47SEmmanuel Vadot		};
2405def4c47SEmmanuel Vadot		led@46 {
2415def4c47SEmmanuel Vadot			label = "eth63:green";
2425def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 31 0 GPIO_ACTIVE_HIGH>;
2435def4c47SEmmanuel Vadot			default-state = "off";
2445def4c47SEmmanuel Vadot		};
2455def4c47SEmmanuel Vadot		led@47 {
2465def4c47SEmmanuel Vadot			label = "eth63:yellow";
2475def4c47SEmmanuel Vadot			gpios = <&sgpio_out1 31 1 GPIO_ACTIVE_HIGH>;
2485def4c47SEmmanuel Vadot			default-state = "off";
2495def4c47SEmmanuel Vadot		};
2505def4c47SEmmanuel Vadot	};
2515def4c47SEmmanuel Vadot};
2525def4c47SEmmanuel Vadot
2535def4c47SEmmanuel Vadot&sgpio0 {
2545def4c47SEmmanuel Vadot	status = "okay";
2555def4c47SEmmanuel Vadot	microchip,sgpio-port-ranges = <8 15>;
2565def4c47SEmmanuel Vadot	gpio@0 {
2575def4c47SEmmanuel Vadot		ngpios = <64>;
2585def4c47SEmmanuel Vadot	};
2595def4c47SEmmanuel Vadot	gpio@1 {
2605def4c47SEmmanuel Vadot		ngpios = <64>;
2615def4c47SEmmanuel Vadot	};
2625def4c47SEmmanuel Vadot};
2635def4c47SEmmanuel Vadot
2645def4c47SEmmanuel Vadot&sgpio1 {
2655def4c47SEmmanuel Vadot	status = "okay";
2665def4c47SEmmanuel Vadot	microchip,sgpio-port-ranges = <24 31>;
2675def4c47SEmmanuel Vadot	gpio@0 {
2685def4c47SEmmanuel Vadot		ngpios = <64>;
2695def4c47SEmmanuel Vadot	};
2705def4c47SEmmanuel Vadot	gpio@1 {
2715def4c47SEmmanuel Vadot		ngpios = <64>;
2725def4c47SEmmanuel Vadot	};
273c66ec88fSEmmanuel Vadot};
274c66ec88fSEmmanuel Vadot
2756be33864SEmmanuel Vadot&spi0 {
2766be33864SEmmanuel Vadot	status = "okay";
277d5b0e70fSEmmanuel Vadot	flash@0 {
2786be33864SEmmanuel Vadot		compatible = "jedec,spi-nor";
2796be33864SEmmanuel Vadot		spi-max-frequency = <8000000>;
2805956d97fSEmmanuel Vadot		reg = <0>;
2816be33864SEmmanuel Vadot	};
2826be33864SEmmanuel Vadot};
2836be33864SEmmanuel Vadot
2846be33864SEmmanuel Vadot&spi0 {
2856be33864SEmmanuel Vadot	status = "okay";
2866be33864SEmmanuel Vadot	spi@0 {
2876be33864SEmmanuel Vadot		compatible = "spi-mux";
2886be33864SEmmanuel Vadot		mux-controls = <&mux>;
2896be33864SEmmanuel Vadot		#address-cells = <1>;
2906be33864SEmmanuel Vadot		#size-cells = <0>;
2916be33864SEmmanuel Vadot		reg = <0>;	/* CS0 */
292d5b0e70fSEmmanuel Vadot		flash@9 {
2936be33864SEmmanuel Vadot			compatible = "jedec,spi-nor";
2946be33864SEmmanuel Vadot			spi-max-frequency = <8000000>;
2956be33864SEmmanuel Vadot			reg = <0x9>;	/* SPI */
2966be33864SEmmanuel Vadot		};
2976be33864SEmmanuel Vadot	};
2986be33864SEmmanuel Vadot};
2996be33864SEmmanuel Vadot
3005956d97fSEmmanuel Vadot&sgpio0 {
3015956d97fSEmmanuel Vadot	status = "okay";
3025956d97fSEmmanuel Vadot	microchip,sgpio-port-ranges = <8 15>;
3035956d97fSEmmanuel Vadot	gpio@0 {
3045956d97fSEmmanuel Vadot		ngpios = <64>;
3055956d97fSEmmanuel Vadot	};
3065956d97fSEmmanuel Vadot	gpio@1 {
3075956d97fSEmmanuel Vadot		ngpios = <64>;
3085956d97fSEmmanuel Vadot	};
3095956d97fSEmmanuel Vadot};
3105956d97fSEmmanuel Vadot
3115956d97fSEmmanuel Vadot&sgpio1 {
3125956d97fSEmmanuel Vadot	status = "okay";
3135956d97fSEmmanuel Vadot	microchip,sgpio-port-ranges = <24 31>;
3145956d97fSEmmanuel Vadot	gpio@0 {
3155956d97fSEmmanuel Vadot		ngpios = <64>;
3165956d97fSEmmanuel Vadot	};
3175956d97fSEmmanuel Vadot	gpio@1 {
3185956d97fSEmmanuel Vadot		ngpios = <64>;
3195956d97fSEmmanuel Vadot	};
3205956d97fSEmmanuel Vadot};
3215956d97fSEmmanuel Vadot
3225956d97fSEmmanuel Vadot&sgpio2 {
3235956d97fSEmmanuel Vadot	status = "okay";
3245956d97fSEmmanuel Vadot	microchip,sgpio-port-ranges = <0 0>, <11 31>;
3255956d97fSEmmanuel Vadot};
3265956d97fSEmmanuel Vadot
327c66ec88fSEmmanuel Vadot&gpio {
328*f126890aSEmmanuel Vadot	i2cmux_pins_i: i2cmux-pins {
329c66ec88fSEmmanuel Vadot	       pins = "GPIO_16", "GPIO_17", "GPIO_18", "GPIO_19",
330c66ec88fSEmmanuel Vadot		      "GPIO_20", "GPIO_22", "GPIO_36", "GPIO_35",
331c66ec88fSEmmanuel Vadot		      "GPIO_50", "GPIO_51", "GPIO_56", "GPIO_57";
332c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
333c66ec88fSEmmanuel Vadot		output-low;
334c66ec88fSEmmanuel Vadot	};
335*f126890aSEmmanuel Vadot	i2cmux_0: i2cmux-0-pins {
336c66ec88fSEmmanuel Vadot		pins = "GPIO_16";
337c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
338c66ec88fSEmmanuel Vadot		output-high;
339c66ec88fSEmmanuel Vadot	};
340*f126890aSEmmanuel Vadot	i2cmux_1: i2cmux-1-pins {
341c66ec88fSEmmanuel Vadot		pins = "GPIO_17";
342c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
343c66ec88fSEmmanuel Vadot		output-high;
344c66ec88fSEmmanuel Vadot	};
345*f126890aSEmmanuel Vadot	i2cmux_2: i2cmux-2-pins {
346c66ec88fSEmmanuel Vadot		pins = "GPIO_18";
347c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
348c66ec88fSEmmanuel Vadot		output-high;
349c66ec88fSEmmanuel Vadot	};
350*f126890aSEmmanuel Vadot	i2cmux_3: i2cmux-3-pins {
351c66ec88fSEmmanuel Vadot		pins = "GPIO_19";
352c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
353c66ec88fSEmmanuel Vadot		output-high;
354c66ec88fSEmmanuel Vadot	};
355*f126890aSEmmanuel Vadot	i2cmux_4: i2cmux-4-pins {
356c66ec88fSEmmanuel Vadot		pins = "GPIO_20";
357c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
358c66ec88fSEmmanuel Vadot		output-high;
359c66ec88fSEmmanuel Vadot	};
360*f126890aSEmmanuel Vadot	i2cmux_5: i2cmux-5-pins {
361c66ec88fSEmmanuel Vadot		pins = "GPIO_22";
362c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
363c66ec88fSEmmanuel Vadot		output-high;
364c66ec88fSEmmanuel Vadot	};
365*f126890aSEmmanuel Vadot	i2cmux_6: i2cmux-6-pins {
366c66ec88fSEmmanuel Vadot		pins = "GPIO_36";
367c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
368c66ec88fSEmmanuel Vadot		output-high;
369c66ec88fSEmmanuel Vadot	};
370*f126890aSEmmanuel Vadot	i2cmux_7: i2cmux-7-pins {
371c66ec88fSEmmanuel Vadot		pins = "GPIO_35";
372c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
373c66ec88fSEmmanuel Vadot		output-high;
374c66ec88fSEmmanuel Vadot	};
375*f126890aSEmmanuel Vadot	i2cmux_8: i2cmux-8-pins {
376c66ec88fSEmmanuel Vadot		pins = "GPIO_50";
377c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
378c66ec88fSEmmanuel Vadot		output-high;
379c66ec88fSEmmanuel Vadot	};
380*f126890aSEmmanuel Vadot	i2cmux_9: i2cmux-9-pins {
381c66ec88fSEmmanuel Vadot		pins = "GPIO_51";
382c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
383c66ec88fSEmmanuel Vadot		output-high;
384c66ec88fSEmmanuel Vadot	};
385*f126890aSEmmanuel Vadot	i2cmux_10: i2cmux-10-pins {
386c66ec88fSEmmanuel Vadot		pins = "GPIO_56";
387c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
388c66ec88fSEmmanuel Vadot		output-high;
389c66ec88fSEmmanuel Vadot	};
390*f126890aSEmmanuel Vadot	i2cmux_11: i2cmux-11-pins {
391c66ec88fSEmmanuel Vadot		pins = "GPIO_57";
392c66ec88fSEmmanuel Vadot		function = "twi_scl_m";
393c66ec88fSEmmanuel Vadot		output-high;
394c66ec88fSEmmanuel Vadot	};
395c66ec88fSEmmanuel Vadot};
396c66ec88fSEmmanuel Vadot
397c66ec88fSEmmanuel Vadot&axi {
398c66ec88fSEmmanuel Vadot	i2c0_imux: i2c0-imux@0 {
399c66ec88fSEmmanuel Vadot		compatible = "i2c-mux-pinctrl";
400c66ec88fSEmmanuel Vadot		#address-cells = <1>;
401c66ec88fSEmmanuel Vadot		#size-cells = <0>;
402c66ec88fSEmmanuel Vadot		i2c-parent = <&i2c0>;
403c66ec88fSEmmanuel Vadot	};
404c66ec88fSEmmanuel Vadot	i2c0_emux: i2c0-emux@0 {
405c66ec88fSEmmanuel Vadot		compatible = "i2c-mux-gpio";
406c66ec88fSEmmanuel Vadot		#address-cells = <1>;
407c66ec88fSEmmanuel Vadot		#size-cells = <0>;
408c66ec88fSEmmanuel Vadot		i2c-parent = <&i2c0>;
409c66ec88fSEmmanuel Vadot	};
410c66ec88fSEmmanuel Vadot};
411c66ec88fSEmmanuel Vadot
412c66ec88fSEmmanuel Vadot&i2c0_imux {
413c66ec88fSEmmanuel Vadot	pinctrl-names =
4145956d97fSEmmanuel Vadot		"i2c_sfp1", "i2c_sfp2", "i2c_sfp3", "i2c_sfp4",
4155956d97fSEmmanuel Vadot		"i2c_sfp5", "i2c_sfp6", "i2c_sfp7", "i2c_sfp8",
4165956d97fSEmmanuel Vadot		"i2c_sfp9", "i2c_sfp10", "i2c_sfp11", "i2c_sfp12", "idle";
417c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2cmux_0>;
418c66ec88fSEmmanuel Vadot	pinctrl-1 = <&i2cmux_1>;
419c66ec88fSEmmanuel Vadot	pinctrl-2 = <&i2cmux_2>;
420c66ec88fSEmmanuel Vadot	pinctrl-3 = <&i2cmux_3>;
421c66ec88fSEmmanuel Vadot	pinctrl-4 = <&i2cmux_4>;
422c66ec88fSEmmanuel Vadot	pinctrl-5 = <&i2cmux_5>;
423c66ec88fSEmmanuel Vadot	pinctrl-6 = <&i2cmux_6>;
424c66ec88fSEmmanuel Vadot	pinctrl-7 = <&i2cmux_7>;
425c66ec88fSEmmanuel Vadot	pinctrl-8 = <&i2cmux_8>;
426c66ec88fSEmmanuel Vadot	pinctrl-9 = <&i2cmux_9>;
427c66ec88fSEmmanuel Vadot	pinctrl-10 = <&i2cmux_10>;
428c66ec88fSEmmanuel Vadot	pinctrl-11 = <&i2cmux_11>;
429c66ec88fSEmmanuel Vadot	pinctrl-12 = <&i2cmux_pins_i>;
4305956d97fSEmmanuel Vadot	i2c_sfp1: i2c_sfp1 {
431c66ec88fSEmmanuel Vadot		reg = <0x0>;
432c66ec88fSEmmanuel Vadot		#address-cells = <1>;
433c66ec88fSEmmanuel Vadot		#size-cells = <0>;
434c66ec88fSEmmanuel Vadot	};
4355956d97fSEmmanuel Vadot	i2c_sfp2: i2c_sfp2 {
436c66ec88fSEmmanuel Vadot		reg = <0x1>;
437c66ec88fSEmmanuel Vadot		#address-cells = <1>;
438c66ec88fSEmmanuel Vadot		#size-cells = <0>;
439c66ec88fSEmmanuel Vadot	};
4405956d97fSEmmanuel Vadot	i2c_sfp3: i2c_sfp3 {
441c66ec88fSEmmanuel Vadot		reg = <0x2>;
442c66ec88fSEmmanuel Vadot		#address-cells = <1>;
443c66ec88fSEmmanuel Vadot		#size-cells = <0>;
444c66ec88fSEmmanuel Vadot	};
4455956d97fSEmmanuel Vadot	i2c_sfp4: i2c_sfp4 {
446c66ec88fSEmmanuel Vadot		reg = <0x3>;
447c66ec88fSEmmanuel Vadot		#address-cells = <1>;
448c66ec88fSEmmanuel Vadot		#size-cells = <0>;
449c66ec88fSEmmanuel Vadot	};
4505956d97fSEmmanuel Vadot	i2c_sfp5: i2c_sfp5 {
451c66ec88fSEmmanuel Vadot		reg = <0x4>;
452c66ec88fSEmmanuel Vadot		#address-cells = <1>;
453c66ec88fSEmmanuel Vadot		#size-cells = <0>;
454c66ec88fSEmmanuel Vadot	};
4555956d97fSEmmanuel Vadot	i2c_sfp6: i2c_sfp6 {
456c66ec88fSEmmanuel Vadot		reg = <0x5>;
457c66ec88fSEmmanuel Vadot		#address-cells = <1>;
458c66ec88fSEmmanuel Vadot		#size-cells = <0>;
459c66ec88fSEmmanuel Vadot	};
4605956d97fSEmmanuel Vadot	i2c_sfp7: i2c_sfp7 {
461c66ec88fSEmmanuel Vadot		reg = <0x6>;
462c66ec88fSEmmanuel Vadot		#address-cells = <1>;
463c66ec88fSEmmanuel Vadot		#size-cells = <0>;
464c66ec88fSEmmanuel Vadot	};
4655956d97fSEmmanuel Vadot	i2c_sfp8: i2c_sfp8 {
466c66ec88fSEmmanuel Vadot		reg = <0x7>;
467c66ec88fSEmmanuel Vadot		#address-cells = <1>;
468c66ec88fSEmmanuel Vadot		#size-cells = <0>;
469c66ec88fSEmmanuel Vadot	};
4705956d97fSEmmanuel Vadot	i2c_sfp9: i2c_sfp9 {
471c66ec88fSEmmanuel Vadot		reg = <0x8>;
472c66ec88fSEmmanuel Vadot		#address-cells = <1>;
473c66ec88fSEmmanuel Vadot		#size-cells = <0>;
474c66ec88fSEmmanuel Vadot	};
4755956d97fSEmmanuel Vadot	i2c_sfp10: i2c_sfp10 {
476c66ec88fSEmmanuel Vadot		reg = <0x9>;
477c66ec88fSEmmanuel Vadot		#address-cells = <1>;
478c66ec88fSEmmanuel Vadot		#size-cells = <0>;
479c66ec88fSEmmanuel Vadot	};
4805956d97fSEmmanuel Vadot	i2c_sfp11: i2c_sfp11 {
481c66ec88fSEmmanuel Vadot		reg = <0xa>;
482c66ec88fSEmmanuel Vadot		#address-cells = <1>;
483c66ec88fSEmmanuel Vadot		#size-cells = <0>;
484c66ec88fSEmmanuel Vadot	};
4855956d97fSEmmanuel Vadot	i2c_sfp12: i2c_sfp12 {
486c66ec88fSEmmanuel Vadot		reg = <0xb>;
487c66ec88fSEmmanuel Vadot		#address-cells = <1>;
488c66ec88fSEmmanuel Vadot		#size-cells = <0>;
489c66ec88fSEmmanuel Vadot	};
490c66ec88fSEmmanuel Vadot};
491c66ec88fSEmmanuel Vadot
492c66ec88fSEmmanuel Vadot&i2c0_emux {
493c66ec88fSEmmanuel Vadot	mux-gpios = <&gpio 55 GPIO_ACTIVE_HIGH
494c66ec88fSEmmanuel Vadot		     &gpio 60 GPIO_ACTIVE_HIGH
495c66ec88fSEmmanuel Vadot		     &gpio 61 GPIO_ACTIVE_HIGH
496c66ec88fSEmmanuel Vadot		     &gpio 54 GPIO_ACTIVE_HIGH>;
497c66ec88fSEmmanuel Vadot	idle-state = <0x8>;
4985956d97fSEmmanuel Vadot	i2c_sfp13: i2c_sfp13 {
499c66ec88fSEmmanuel Vadot		reg = <0x0>;
500c66ec88fSEmmanuel Vadot		#address-cells = <1>;
501c66ec88fSEmmanuel Vadot		#size-cells = <0>;
502c66ec88fSEmmanuel Vadot	};
5035956d97fSEmmanuel Vadot	i2c_sfp14: i2c_sfp14 {
504c66ec88fSEmmanuel Vadot		reg = <0x1>;
505c66ec88fSEmmanuel Vadot		#address-cells = <1>;
506c66ec88fSEmmanuel Vadot		#size-cells = <0>;
507c66ec88fSEmmanuel Vadot	};
5085956d97fSEmmanuel Vadot	i2c_sfp15: i2c_sfp15 {
509c66ec88fSEmmanuel Vadot		reg = <0x2>;
510c66ec88fSEmmanuel Vadot		#address-cells = <1>;
511c66ec88fSEmmanuel Vadot		#size-cells = <0>;
512c66ec88fSEmmanuel Vadot	};
5135956d97fSEmmanuel Vadot	i2c_sfp16: i2c_sfp16 {
514c66ec88fSEmmanuel Vadot		reg = <0x3>;
515c66ec88fSEmmanuel Vadot		#address-cells = <1>;
516c66ec88fSEmmanuel Vadot		#size-cells = <0>;
517c66ec88fSEmmanuel Vadot	};
5185956d97fSEmmanuel Vadot	i2c_sfp17: i2c_sfp17 {
519c66ec88fSEmmanuel Vadot		reg = <0x4>;
520c66ec88fSEmmanuel Vadot		#address-cells = <1>;
521c66ec88fSEmmanuel Vadot		#size-cells = <0>;
522c66ec88fSEmmanuel Vadot	};
5235956d97fSEmmanuel Vadot	i2c_sfp18: i2c_sfp18 {
524c66ec88fSEmmanuel Vadot		reg = <0x5>;
525c66ec88fSEmmanuel Vadot		#address-cells = <1>;
526c66ec88fSEmmanuel Vadot		#size-cells = <0>;
527c66ec88fSEmmanuel Vadot	};
5285956d97fSEmmanuel Vadot	i2c_sfp19: i2c_sfp19 {
529c66ec88fSEmmanuel Vadot		reg = <0x6>;
530c66ec88fSEmmanuel Vadot		#address-cells = <1>;
531c66ec88fSEmmanuel Vadot		#size-cells = <0>;
532c66ec88fSEmmanuel Vadot	};
5335956d97fSEmmanuel Vadot	i2c_sfp20: i2c_sfp20 {
534c66ec88fSEmmanuel Vadot		reg = <0x7>;
535c66ec88fSEmmanuel Vadot		#address-cells = <1>;
536c66ec88fSEmmanuel Vadot		#size-cells = <0>;
537c66ec88fSEmmanuel Vadot	};
538c66ec88fSEmmanuel Vadot};
5395956d97fSEmmanuel Vadot
5405956d97fSEmmanuel Vadot&mdio3 {
541cb7aa33aSEmmanuel Vadot	status = "okay";
5425956d97fSEmmanuel Vadot	phy64: ethernet-phy@64 {
5435956d97fSEmmanuel Vadot		reg = <28>;
5445956d97fSEmmanuel Vadot	};
5455956d97fSEmmanuel Vadot};
5465956d97fSEmmanuel Vadot
5475956d97fSEmmanuel Vadot&axi {
5485956d97fSEmmanuel Vadot	sfp_eth12: sfp-eth12 {
5495956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5505956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp1>;
5515956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 11 1 GPIO_ACTIVE_LOW>;
5525956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 11 1 GPIO_ACTIVE_HIGH>;
5535956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 11 2 GPIO_ACTIVE_LOW>;
5545956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 12 0 GPIO_ACTIVE_HIGH>;
5555956d97fSEmmanuel Vadot	};
5565956d97fSEmmanuel Vadot	sfp_eth13: sfp-eth13 {
5575956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5585956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp2>;
5595956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 12 1 GPIO_ACTIVE_LOW>;
5605956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 12 1 GPIO_ACTIVE_HIGH>;
5615956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 12 2 GPIO_ACTIVE_LOW>;
5625956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 13 0 GPIO_ACTIVE_HIGH>;
5635956d97fSEmmanuel Vadot	};
5645956d97fSEmmanuel Vadot	sfp_eth14: sfp-eth14 {
5655956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5665956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp3>;
5675956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 13 1 GPIO_ACTIVE_LOW>;
5685956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 13 1 GPIO_ACTIVE_HIGH>;
5695956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 13 2 GPIO_ACTIVE_LOW>;
5705956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 14 0 GPIO_ACTIVE_HIGH>;
5715956d97fSEmmanuel Vadot	};
5725956d97fSEmmanuel Vadot	sfp_eth15: sfp-eth15 {
5735956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5745956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp4>;
5755956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 14 1 GPIO_ACTIVE_LOW>;
5765956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 14 1 GPIO_ACTIVE_HIGH>;
5775956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 14 2 GPIO_ACTIVE_LOW>;
5785956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 15 0 GPIO_ACTIVE_HIGH>;
5795956d97fSEmmanuel Vadot	};
5805956d97fSEmmanuel Vadot	sfp_eth48: sfp-eth48 {
5815956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5825956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp5>;
5835956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 15 1 GPIO_ACTIVE_LOW>;
5845956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 15 1 GPIO_ACTIVE_HIGH>;
5855956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 15 2 GPIO_ACTIVE_LOW>;
5865956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 16 0 GPIO_ACTIVE_HIGH>;
5875956d97fSEmmanuel Vadot	};
5885956d97fSEmmanuel Vadot	sfp_eth49: sfp-eth49 {
5895956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5905956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp6>;
5915956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 16 1 GPIO_ACTIVE_LOW>;
5925956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 16 1 GPIO_ACTIVE_HIGH>;
5935956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 16 2 GPIO_ACTIVE_LOW>;
5945956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 17 0 GPIO_ACTIVE_HIGH>;
5955956d97fSEmmanuel Vadot	};
5965956d97fSEmmanuel Vadot	sfp_eth50: sfp-eth50 {
5975956d97fSEmmanuel Vadot		compatible = "sff,sfp";
5985956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp7>;
5995956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 17 1 GPIO_ACTIVE_LOW>;
6005956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 17 1 GPIO_ACTIVE_HIGH>;
6015956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 17 2 GPIO_ACTIVE_LOW>;
6025956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 18 0 GPIO_ACTIVE_HIGH>;
6035956d97fSEmmanuel Vadot	};
6045956d97fSEmmanuel Vadot	sfp_eth51: sfp-eth51 {
6055956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6065956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp8>;
6075956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 18 1 GPIO_ACTIVE_LOW>;
6085956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 18 1 GPIO_ACTIVE_HIGH>;
6095956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 18 2 GPIO_ACTIVE_LOW>;
6105956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 19 0 GPIO_ACTIVE_HIGH>;
6115956d97fSEmmanuel Vadot	};
6125956d97fSEmmanuel Vadot	sfp_eth52: sfp-eth52 {
6135956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6145956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp9>;
6155956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 19 1 GPIO_ACTIVE_LOW>;
6165956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 19 1 GPIO_ACTIVE_HIGH>;
6175956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 19 2 GPIO_ACTIVE_LOW>;
6185956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 20 0 GPIO_ACTIVE_HIGH>;
6195956d97fSEmmanuel Vadot	};
6205956d97fSEmmanuel Vadot	sfp_eth53: sfp-eth53 {
6215956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6225956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp10>;
6235956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 20 1 GPIO_ACTIVE_LOW>;
6245956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 20 1 GPIO_ACTIVE_HIGH>;
6255956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 20 2 GPIO_ACTIVE_LOW>;
6265956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 21 0 GPIO_ACTIVE_HIGH>;
6275956d97fSEmmanuel Vadot	};
6285956d97fSEmmanuel Vadot	sfp_eth54: sfp-eth54 {
6295956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6305956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp11>;
6315956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 21 1 GPIO_ACTIVE_LOW>;
6325956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 21 1 GPIO_ACTIVE_HIGH>;
6335956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 21 2 GPIO_ACTIVE_LOW>;
6345956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 22 0 GPIO_ACTIVE_HIGH>;
6355956d97fSEmmanuel Vadot	};
6365956d97fSEmmanuel Vadot	sfp_eth55: sfp-eth55 {
6375956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6385956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp12>;
6395956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 22 1 GPIO_ACTIVE_LOW>;
6405956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 22 1 GPIO_ACTIVE_HIGH>;
6415956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 22 2 GPIO_ACTIVE_LOW>;
6425956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 23 0 GPIO_ACTIVE_HIGH>;
6435956d97fSEmmanuel Vadot	};
6445956d97fSEmmanuel Vadot	sfp_eth56: sfp-eth56 {
6455956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6465956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp13>;
6475956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 23 1 GPIO_ACTIVE_LOW>;
6485956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 23 1 GPIO_ACTIVE_HIGH>;
6495956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 23 2 GPIO_ACTIVE_LOW>;
6505956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 24 0 GPIO_ACTIVE_HIGH>;
6515956d97fSEmmanuel Vadot	};
6525956d97fSEmmanuel Vadot	sfp_eth57: sfp-eth57 {
6535956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6545956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp14>;
6555956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 24 1 GPIO_ACTIVE_LOW>;
6565956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 24 1 GPIO_ACTIVE_HIGH>;
6575956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 24 2 GPIO_ACTIVE_LOW>;
6585956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 25 0 GPIO_ACTIVE_HIGH>;
6595956d97fSEmmanuel Vadot	};
6605956d97fSEmmanuel Vadot	sfp_eth58: sfp-eth58 {
6615956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6625956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp15>;
6635956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 25 1 GPIO_ACTIVE_LOW>;
6645956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 25 1 GPIO_ACTIVE_HIGH>;
6655956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 25 2 GPIO_ACTIVE_LOW>;
6665956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 26 0 GPIO_ACTIVE_HIGH>;
6675956d97fSEmmanuel Vadot	};
6685956d97fSEmmanuel Vadot	sfp_eth59: sfp-eth59 {
6695956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6705956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp16>;
6715956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 26 1 GPIO_ACTIVE_LOW>;
6725956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 26 1 GPIO_ACTIVE_HIGH>;
6735956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 26 2 GPIO_ACTIVE_LOW>;
6745956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 27 0 GPIO_ACTIVE_HIGH>;
6755956d97fSEmmanuel Vadot	};
6765956d97fSEmmanuel Vadot	sfp_eth60: sfp-eth60 {
6775956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6785956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp17>;
6795956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 27 1 GPIO_ACTIVE_LOW>;
6805956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 27 1 GPIO_ACTIVE_HIGH>;
6815956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 27 2 GPIO_ACTIVE_LOW>;
6825956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 28 0 GPIO_ACTIVE_HIGH>;
6835956d97fSEmmanuel Vadot	};
6845956d97fSEmmanuel Vadot	sfp_eth61: sfp-eth61 {
6855956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6865956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp18>;
6875956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 28 1 GPIO_ACTIVE_LOW>;
6885956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 28 1 GPIO_ACTIVE_HIGH>;
6895956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 28 2 GPIO_ACTIVE_LOW>;
6905956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 29 0 GPIO_ACTIVE_HIGH>;
6915956d97fSEmmanuel Vadot	};
6925956d97fSEmmanuel Vadot	sfp_eth62: sfp-eth62 {
6935956d97fSEmmanuel Vadot		compatible = "sff,sfp";
6945956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp19>;
6955956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 29 1 GPIO_ACTIVE_LOW>;
6965956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 29 1 GPIO_ACTIVE_HIGH>;
6975956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 29 2 GPIO_ACTIVE_LOW>;
6985956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 30 0 GPIO_ACTIVE_HIGH>;
6995956d97fSEmmanuel Vadot	};
7005956d97fSEmmanuel Vadot	sfp_eth63: sfp-eth63 {
7015956d97fSEmmanuel Vadot		compatible = "sff,sfp";
7025956d97fSEmmanuel Vadot		i2c-bus = <&i2c_sfp20>;
7035956d97fSEmmanuel Vadot		tx-disable-gpios = <&sgpio_out2 30 1 GPIO_ACTIVE_LOW>;
7045956d97fSEmmanuel Vadot		los-gpios = <&sgpio_in2 30 1 GPIO_ACTIVE_HIGH>;
7055956d97fSEmmanuel Vadot		mod-def0-gpios = <&sgpio_in2 30 2 GPIO_ACTIVE_LOW>;
7065956d97fSEmmanuel Vadot		tx-fault-gpios = <&sgpio_in2 31 0 GPIO_ACTIVE_HIGH>;
7075956d97fSEmmanuel Vadot	};
7085956d97fSEmmanuel Vadot};
7095956d97fSEmmanuel Vadot
7105956d97fSEmmanuel Vadot&switch {
7115956d97fSEmmanuel Vadot	ethernet-ports {
7125956d97fSEmmanuel Vadot		#address-cells = <1>;
7135956d97fSEmmanuel Vadot		#size-cells = <0>;
7145956d97fSEmmanuel Vadot
7155956d97fSEmmanuel Vadot		/* 10G SFPs */
7165956d97fSEmmanuel Vadot		port12: port@12 {
7175956d97fSEmmanuel Vadot			reg = <12>;
7185956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7195956d97fSEmmanuel Vadot			phys = <&serdes 13>;
7205956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7215956d97fSEmmanuel Vadot			sfp = <&sfp_eth12>;
7225956d97fSEmmanuel Vadot			microchip,sd-sgpio = <301>;
7235956d97fSEmmanuel Vadot			managed = "in-band-status";
7245956d97fSEmmanuel Vadot		};
7255956d97fSEmmanuel Vadot		port13: port@13 {
7265956d97fSEmmanuel Vadot			reg = <13>;
7275956d97fSEmmanuel Vadot			/* Example: CU SFP, 1G speed */
7285956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7295956d97fSEmmanuel Vadot			phys = <&serdes 14>;
7305956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7315956d97fSEmmanuel Vadot			sfp = <&sfp_eth13>;
7325956d97fSEmmanuel Vadot			microchip,sd-sgpio = <305>;
7335956d97fSEmmanuel Vadot			managed = "in-band-status";
7345956d97fSEmmanuel Vadot		};
7355956d97fSEmmanuel Vadot		port14: port@14 {
7365956d97fSEmmanuel Vadot			reg = <14>;
7375956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7385956d97fSEmmanuel Vadot			phys = <&serdes 15>;
7395956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7405956d97fSEmmanuel Vadot			sfp = <&sfp_eth14>;
7415956d97fSEmmanuel Vadot			microchip,sd-sgpio = <309>;
7425956d97fSEmmanuel Vadot			managed = "in-band-status";
7435956d97fSEmmanuel Vadot		};
7445956d97fSEmmanuel Vadot		port15: port@15 {
7455956d97fSEmmanuel Vadot			reg = <15>;
7465956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7475956d97fSEmmanuel Vadot			phys = <&serdes 16>;
7485956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7495956d97fSEmmanuel Vadot			sfp = <&sfp_eth15>;
7505956d97fSEmmanuel Vadot			microchip,sd-sgpio = <313>;
7515956d97fSEmmanuel Vadot			managed = "in-band-status";
7525956d97fSEmmanuel Vadot		};
7535956d97fSEmmanuel Vadot		port48: port@48 {
7545956d97fSEmmanuel Vadot			reg = <48>;
7555956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7565956d97fSEmmanuel Vadot			phys = <&serdes 17>;
7575956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7585956d97fSEmmanuel Vadot			sfp = <&sfp_eth48>;
7595956d97fSEmmanuel Vadot			microchip,sd-sgpio = <317>;
7605956d97fSEmmanuel Vadot			managed = "in-band-status";
7615956d97fSEmmanuel Vadot		};
7625956d97fSEmmanuel Vadot		port49: port@49 {
7635956d97fSEmmanuel Vadot			reg = <49>;
7645956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7655956d97fSEmmanuel Vadot			phys = <&serdes 18>;
7665956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7675956d97fSEmmanuel Vadot			sfp = <&sfp_eth49>;
7685956d97fSEmmanuel Vadot			microchip,sd-sgpio = <321>;
7695956d97fSEmmanuel Vadot			managed = "in-band-status";
7705956d97fSEmmanuel Vadot		};
7715956d97fSEmmanuel Vadot		port50: port@50 {
7725956d97fSEmmanuel Vadot			reg = <50>;
7735956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7745956d97fSEmmanuel Vadot			phys = <&serdes 19>;
7755956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7765956d97fSEmmanuel Vadot			sfp = <&sfp_eth50>;
7775956d97fSEmmanuel Vadot			microchip,sd-sgpio = <325>;
7785956d97fSEmmanuel Vadot			managed = "in-band-status";
7795956d97fSEmmanuel Vadot		};
7805956d97fSEmmanuel Vadot		port51: port@51 {
7815956d97fSEmmanuel Vadot			reg = <51>;
7825956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7835956d97fSEmmanuel Vadot			phys = <&serdes 20>;
7845956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7855956d97fSEmmanuel Vadot			sfp = <&sfp_eth51>;
7865956d97fSEmmanuel Vadot			microchip,sd-sgpio = <329>;
7875956d97fSEmmanuel Vadot			managed = "in-band-status";
7885956d97fSEmmanuel Vadot		};
7895956d97fSEmmanuel Vadot		port52: port@52 {
7905956d97fSEmmanuel Vadot			reg = <52>;
7915956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
7925956d97fSEmmanuel Vadot			phys = <&serdes 21>;
7935956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
7945956d97fSEmmanuel Vadot			sfp = <&sfp_eth52>;
7955956d97fSEmmanuel Vadot			microchip,sd-sgpio = <333>;
7965956d97fSEmmanuel Vadot			managed = "in-band-status";
7975956d97fSEmmanuel Vadot		};
7985956d97fSEmmanuel Vadot		port53: port@53 {
7995956d97fSEmmanuel Vadot			reg = <53>;
8005956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8015956d97fSEmmanuel Vadot			phys = <&serdes 22>;
8025956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8035956d97fSEmmanuel Vadot			sfp = <&sfp_eth53>;
8045956d97fSEmmanuel Vadot			microchip,sd-sgpio = <337>;
8055956d97fSEmmanuel Vadot			managed = "in-band-status";
8065956d97fSEmmanuel Vadot		};
8075956d97fSEmmanuel Vadot		port54: port@54 {
8085956d97fSEmmanuel Vadot			reg = <54>;
8095956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8105956d97fSEmmanuel Vadot			phys = <&serdes 23>;
8115956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8125956d97fSEmmanuel Vadot			sfp = <&sfp_eth54>;
8135956d97fSEmmanuel Vadot			microchip,sd-sgpio = <341>;
8145956d97fSEmmanuel Vadot			managed = "in-band-status";
8155956d97fSEmmanuel Vadot		};
8165956d97fSEmmanuel Vadot		port55: port@55 {
8175956d97fSEmmanuel Vadot			reg = <55>;
8185956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8195956d97fSEmmanuel Vadot			phys = <&serdes 24>;
8205956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8215956d97fSEmmanuel Vadot			sfp = <&sfp_eth55>;
8225956d97fSEmmanuel Vadot			microchip,sd-sgpio = <345>;
8235956d97fSEmmanuel Vadot			managed = "in-band-status";
8245956d97fSEmmanuel Vadot		};
8255956d97fSEmmanuel Vadot		/* 25G SFPs */
8265956d97fSEmmanuel Vadot		port56: port@56 {
8275956d97fSEmmanuel Vadot			reg = <56>;
8285956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8295956d97fSEmmanuel Vadot			phys = <&serdes 25>;
8305956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8315956d97fSEmmanuel Vadot			sfp = <&sfp_eth56>;
8325956d97fSEmmanuel Vadot			microchip,sd-sgpio = <349>;
8335956d97fSEmmanuel Vadot			managed = "in-band-status";
8345956d97fSEmmanuel Vadot		};
8355956d97fSEmmanuel Vadot		port57: port@57 {
8365956d97fSEmmanuel Vadot			reg = <57>;
8375956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8385956d97fSEmmanuel Vadot			phys = <&serdes 26>;
8395956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8405956d97fSEmmanuel Vadot			sfp = <&sfp_eth57>;
8415956d97fSEmmanuel Vadot			microchip,sd-sgpio = <353>;
8425956d97fSEmmanuel Vadot			managed = "in-band-status";
8435956d97fSEmmanuel Vadot		};
8445956d97fSEmmanuel Vadot		port58: port@58 {
8455956d97fSEmmanuel Vadot			reg = <58>;
8465956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8475956d97fSEmmanuel Vadot			phys = <&serdes 27>;
8485956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8495956d97fSEmmanuel Vadot			sfp = <&sfp_eth58>;
8505956d97fSEmmanuel Vadot			microchip,sd-sgpio = <357>;
8515956d97fSEmmanuel Vadot			managed = "in-band-status";
8525956d97fSEmmanuel Vadot		};
8535956d97fSEmmanuel Vadot		port59: port@59 {
8545956d97fSEmmanuel Vadot			reg = <59>;
8555956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8565956d97fSEmmanuel Vadot			phys = <&serdes 28>;
8575956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8585956d97fSEmmanuel Vadot			sfp = <&sfp_eth59>;
8595956d97fSEmmanuel Vadot			microchip,sd-sgpio = <361>;
8605956d97fSEmmanuel Vadot			managed = "in-band-status";
8615956d97fSEmmanuel Vadot		};
8625956d97fSEmmanuel Vadot		port60: port@60 {
8635956d97fSEmmanuel Vadot			reg = <60>;
8645956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8655956d97fSEmmanuel Vadot			phys = <&serdes 29>;
8665956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8675956d97fSEmmanuel Vadot			sfp = <&sfp_eth60>;
8685956d97fSEmmanuel Vadot			microchip,sd-sgpio = <365>;
8695956d97fSEmmanuel Vadot			managed = "in-band-status";
8705956d97fSEmmanuel Vadot		};
8715956d97fSEmmanuel Vadot		port61: port@61 {
8725956d97fSEmmanuel Vadot			reg = <61>;
8735956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8745956d97fSEmmanuel Vadot			phys = <&serdes 30>;
8755956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8765956d97fSEmmanuel Vadot			sfp = <&sfp_eth61>;
8775956d97fSEmmanuel Vadot			microchip,sd-sgpio = <369>;
8785956d97fSEmmanuel Vadot			managed = "in-band-status";
8795956d97fSEmmanuel Vadot		};
8805956d97fSEmmanuel Vadot		port62: port@62 {
8815956d97fSEmmanuel Vadot			reg = <62>;
8825956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8835956d97fSEmmanuel Vadot			phys = <&serdes 31>;
8845956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8855956d97fSEmmanuel Vadot			sfp = <&sfp_eth62>;
8865956d97fSEmmanuel Vadot			microchip,sd-sgpio = <373>;
8875956d97fSEmmanuel Vadot			managed = "in-band-status";
8885956d97fSEmmanuel Vadot		};
8895956d97fSEmmanuel Vadot		port63: port@63 {
8905956d97fSEmmanuel Vadot			reg = <63>;
8915956d97fSEmmanuel Vadot			microchip,bandwidth = <10000>;
8925956d97fSEmmanuel Vadot			phys = <&serdes 32>;
8935956d97fSEmmanuel Vadot			phy-mode = "10gbase-r";
8945956d97fSEmmanuel Vadot			sfp = <&sfp_eth63>;
8955956d97fSEmmanuel Vadot			microchip,sd-sgpio = <377>;
8965956d97fSEmmanuel Vadot			managed = "in-band-status";
8975956d97fSEmmanuel Vadot		};
8985956d97fSEmmanuel Vadot		/* Finally the Management interface */
8995956d97fSEmmanuel Vadot		port64: port@64 {
9005956d97fSEmmanuel Vadot			reg = <64>;
9015956d97fSEmmanuel Vadot			microchip,bandwidth = <1000>;
9025956d97fSEmmanuel Vadot			phys = <&serdes 0>;
9035956d97fSEmmanuel Vadot			phy-handle = <&phy64>;
9045956d97fSEmmanuel Vadot			phy-mode = "sgmii";
9055956d97fSEmmanuel Vadot		};
9065956d97fSEmmanuel Vadot	};
9075956d97fSEmmanuel Vadot};
908