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