mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 22:53:55 +08:00
20d8435a1c
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>
19 lines
582 B
Plaintext
19 lines
582 B
Plaintext
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.
|