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>
17 # See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional
18 # required and optional properties.
37 Should be a gpio specifier for a reset line.
40 microchip,synclko-125:
41 $ref: /schemas/types.yaml#/definitions/flag
43 Set if the output SYNCLKO frequency should be set to 125MHz instead of 25MHz.
45 microchip,synclko-disable:
46 $ref: /schemas/types.yaml#/definitions/flag
48 Set if the output SYNCLKO clock should be disabled. Do not mix with
49 microchip,synclko-125.
55 unevaluatedProperties: false
59 #include <dt-bindings/gpio/gpio.h>
61 // Ethernet switch connected via SPI to the host, CPU port wired to eth0:
73 pinctrl-0 = <&pinctrl_spi_ksz>;
74 cs-gpios = <&pioC 25 0>;
78 compatible = "microchip,ksz9477";
80 reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
82 spi-max-frequency = <44000000>;
120 compatible = "microchip,ksz8565";
123 spi-max-frequency = <44000000>;
126 #address-cells = <1>;