diff options
author | Helmut Buchsbaum <helmut.buchsbaum@gmail.com> | 2016-02-09 19:47:18 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-11 16:34:25 (GMT) |
commit | 7e406d124c7935ee0238b957ea7e563dc1710f29 (patch) | |
tree | 365a9ec156d01468dca449783cc44ebd5abb4c60 /Documentation/devicetree/bindings/net | |
parent | c0e6cb1fed5a7390ac84396f6f43e70fc2034ac6 (diff) | |
download | linux-7e406d124c7935ee0238b957ea7e563dc1710f29.tar.xz |
dt-bindings: net: ks8995: add bindings documentation for ks8995
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r-- | Documentation/devicetree/bindings/net/micrel-ks8995.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/micrel-ks8995.txt b/Documentation/devicetree/bindings/net/micrel-ks8995.txt new file mode 100644 index 0000000..281bc24 --- /dev/null +++ b/Documentation/devicetree/bindings/net/micrel-ks8995.txt @@ -0,0 +1,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>; + }; +}; |