^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Micrel KS8995 SPI controlled Ethernet Switch families
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties (according to spi-bus.txt):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: either "micrel,ks8995", "micrel,ksz8864" or "micrel,ksz8795"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reset-gpios : phandle of gpio that will be used to reset chip during probe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) spi-master {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) switch@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) compatible = "micrel,ksz8795";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) spi-max-frequency = <50000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) };