diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2014-02-26 15:48:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-27 02:00:07 +0400 |
commit | 20d8435a1cffa04992f1db6b199a5f0ccec2ff06 (patch) | |
tree | 1ac5904dc1e1cc1ff64ebc66f7a312772bef0b24 /Documentation/devicetree/bindings/net | |
parent | 94fcf6964c797cc24c84c677e106dbce676a0374 (diff) | |
download | linux-20d8435a1cffa04992f1db6b199a5f0ccec2ff06.tar.xz |
phy: micrel: add of configuration for LED mode
Add support for the led-mode property for the following PHYs
which have a single LED mode configuration value.
KSZ8001 and KSZ8041 which both use register 0x1e bits 15,14 and
KSZ8021, KSZ8031 and KSZ8051 which use register 0x1f bits 5,4
to control the LED configuration.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r-- | Documentation/devicetree/bindings/net/micrel.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/micrel.txt b/Documentation/devicetree/bindings/net/micrel.txt new file mode 100644 index 000000000000..98a3e61f9ee8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/micrel.txt @@ -0,0 +1,18 @@ +Micrel PHY properties. + +These properties cover the base properties Micrel PHYs. + +Optional properties: + + - micrel,led-mode : LED mode value to set for PHYs with configurable LEDs. + + Configure the LED mode with single value. The list of PHYs and + the bits that are currently supported: + + KSZ8001: register 0x1e, bits 15..14 + KSZ8041: register 0x1e, bits 15..14 + KSZ8021: register 0x1f, bits 5..4 + KSZ8031: register 0x1f, bits 5..4 + KSZ8051: register 0x1f, bits 5..4 + + See the respective PHY datasheet for the mode values. |