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>
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.
41 microchip,synclko-125:
42 $ref: /schemas/types.yaml#/definitions/flag
44 Set if the output SYNCLKO frequency should be set to 125MHz instead of 25MHz.
46 microchip,synclko-disable:
47 $ref: /schemas/types.yaml#/definitions/flag
49 Set if the output SYNCLKO clock should be disabled. Do not mix with
50 microchip,synclko-125.
56 unevaluatedProperties: false
60 #include <dt-bindings/gpio/gpio.h>
62 // Ethernet switch connected via SPI to the host, CPU port wired to eth0:
74 pinctrl-0 = <&pinctrl_spi_ksz>;
75 cs-gpios = <&pioC 25 0>;
79 compatible = "microchip,ksz9477";
81 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
83 spi-max-frequency = <44000000>;
122 compatible = "microchip,ksz8565";
125 spi-max-frequency = <44000000>;
128 #address-cells = <1>;