1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * lan966x_pcb8309.dts - Device Tree file for PCB8309
6 #include "lan966x.dtsi"
7 #include "dt-bindings/phy/phy-lan966x-serdes.h"
10 model = "Microchip EVB - LAN9662";
11 compatible = "microchip,lan9662-pcb8309", "microchip,lan9662", "microchip,lan966";
20 stdout-path = "serial0:115200n8";
24 compatible = "gpio-restart";
25 gpios = <&gpio 56 GPIO_ACTIVE_LOW>;
30 compatible = "i2c-mux";
33 mux-controls = <&mux>;
46 compatible = "gpio-leds";
50 gpios = <&sgpio_out 2 0 GPIO_ACTIVE_LOW>;
51 default-state = "off";
56 gpios = <&sgpio_out 2 1 GPIO_ACTIVE_LOW>;
57 default-state = "off";
62 gpios = <&sgpio_out 3 0 GPIO_ACTIVE_LOW>;
63 default-state = "off";
68 gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>;
69 default-state = "off";
74 compatible = "gpio-mux";
75 #mux-control-cells = <0>;
77 mux-gpios = <&sgpio_out 11 0 GPIO_ACTIVE_HIGH>, /* p11b0 */
78 <&sgpio_out 11 1 GPIO_ACTIVE_HIGH>; /* p11b1 */
82 compatible = "sff,sfp";
84 tx-disable-gpios = <&sgpio_out 10 0 GPIO_ACTIVE_LOW>;
85 los-gpios = <&sgpio_in 2 0 GPIO_ACTIVE_HIGH>;
86 mod-def0-gpios = <&sgpio_in 2 1 GPIO_ACTIVE_LOW>;
87 tx-fault-gpios = <&sgpio_in 1 0 GPIO_ACTIVE_HIGH>;
91 compatible = "sff,sfp";
93 tx-disable-gpios = <&sgpio_out 10 1 GPIO_ACTIVE_LOW>;
94 los-gpios = <&sgpio_in 3 0 GPIO_ACTIVE_HIGH>;
95 mod-def0-gpios = <&sgpio_in 3 1 GPIO_ACTIVE_LOW>;
96 tx-fault-gpios = <&sgpio_in 1 1 GPIO_ACTIVE_HIGH>;
101 status = "disabled"; /* Reserved by secure OS */
105 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
109 pinctrl-0 = <&fc3_b_pins>;
110 pinctrl-names = "default";
116 atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
120 compatible = "microchip,sam9x60-i2c";
122 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
124 pinctrl-0 = <&fc4_b_pins>;
125 pinctrl-names = "default";
128 i2c-digital-filter-width-ns = <35>;
129 i2c-sda-hold-time-ns = <1500>;
135 fc3_b_pins: fc3-b-pins {
137 pins = "GPIO_52", "GPIO_53";
141 fc4_b_pins: fc4-b-pins {
143 pins = "GPIO_57", "GPIO_58";
147 sgpio_a_pins: sgpio-a-pins {
148 /* SCK, D0, D1, LD */
149 pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35";
150 function = "sgpio_a";
167 phy-handle = <&phy0>;
169 phys = <&serdes 0 CU(0)>;
174 phy-handle = <&phy1>;
176 phys = <&serdes 1 CU(1)>;
182 managed = "in-band-status";
184 phys = <&serdes 2 SERDES6G(0)>;
190 managed = "in-band-status";
192 phys = <&serdes 3 SERDES6G(1)>;
201 pinctrl-0 = <&sgpio_a_pins>;
202 pinctrl-names = "default";
203 microchip,sgpio-port-ranges = <0 3>, <8 11>;