1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip KSZ Series Ethernet switches
10 - Marek Vasut <marex@denx.de>
11 - Woojung Huh <Woojung.Huh@microchip.com>
14 - $ref: dsa.yaml#/$defs/ethernet-ports
15 - $ref: /schemas/spi/spi-peripheral-props.yaml#
18 # See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional
19 # required and optional properties.
38 Should be a gpio specifier for a reset line.
43 microchip,synclko-125:
44 $ref: /schemas/types.yaml#/definitions/flag
46 Set if the output SYNCLKO frequency should be set to 125MHz instead of 25MHz.
48 microchip,synclko-disable:
49 $ref: /schemas/types.yaml#/definitions/flag
51 Set if the output SYNCLKO clock should be disabled. Do not mix with
52 microchip,synclko-125.
54 microchip,io-drive-strength-microamp:
60 microchip,hi-drive-strength-microamp:
62 High Speed Drive Strength. Controls drive strength of GMII / RGMII /
63 MII / RMII (except TX_CLK/REFCLKI, COL and CRS) and CLKO_25_125 lines.
64 enum: [2000, 4000, 8000, 12000, 16000, 20000, 24000, 28000]
67 microchip,lo-drive-strength-microamp:
69 Low Speed Drive Strength. Controls drive strength of TX_CLK / REFCLKI,
70 COL, CRS, LEDs, PME_N, NTRP_N, SDO and SDI/SDA/MDIO lines.
71 enum: [2000, 4000, 8000, 12000, 16000, 20000, 24000, 28000]
81 unevaluatedProperties: false
85 #include <dt-bindings/gpio/gpio.h>
87 // Ethernet switch connected via SPI to the host, CPU port wired to eth0:
99 pinctrl-0 = <&pinctrl_spi_ksz>;
100 cs-gpios = <&pioC 25 0>;
104 compatible = "microchip,ksz9477";
106 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
108 spi-max-frequency = <44000000>;
111 #address-cells = <1>;
147 compatible = "microchip,ksz8565";
150 spi-max-frequency = <44000000>;
153 #address-cells = <1>;