xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/micrel-ks8995.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMicrel KS8995 SPI controlled Ethernet Switch families
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties (according to spi-bus.txt):
4*4882a593Smuzhiyun- compatible: either "micrel,ks8995", "micrel,ksz8864" or "micrel,ksz8795"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunOptional properties:
7*4882a593Smuzhiyun- reset-gpios : phandle of gpio that will be used to reset chip during probe
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunExample:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunspi-master {
12*4882a593Smuzhiyun	...
13*4882a593Smuzhiyun	switch@0 {
14*4882a593Smuzhiyun		compatible = "micrel,ksz8795";
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun		reg = <0>;
17*4882a593Smuzhiyun		spi-max-frequency = <50000000>;
18*4882a593Smuzhiyun		reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
19*4882a593Smuzhiyun	};
20*4882a593Smuzhiyun};
21