Skip to content

Commit

Permalink
dt-bindings: net: ks8995: add bindings documentation for ks8995
Browse files Browse the repository at this point in the history
Signed-off-by: Helmut Buchsbaum <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
hbuchsbaum authored and davem330 committed Feb 11, 2016
1 parent c0e6cb1 commit 7e406d1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/net/micrel-ks8995.txt
Original file line number Diff line number Diff line change
@@ -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>;
};
};

0 comments on commit 7e406d1

Please sign in to comment.