From: Helmut Buchsbaum Date: Tue, 9 Feb 2016 19:47:18 +0000 (+0100) Subject: dt-bindings: net: ks8995: add bindings documentation for ks8995 X-Git-Tag: v4.14-rc1~3609^2~277^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e406d124c7935ee0238b957ea7e563dc1710f29;p=platform%2Fkernel%2Flinux-rpi.git dt-bindings: net: ks8995: add bindings documentation for ks8995 Signed-off-by: Helmut Buchsbaum Signed-off-by: David S. Miller --- diff --git a/Documentation/devicetree/bindings/net/micrel-ks8995.txt b/Documentation/devicetree/bindings/net/micrel-ks8995.txt new file mode 100644 index 000000000000..281bc2498d12 --- /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>; + }; +};