diff options
| author | David S. Miller <davem@davemloft.net> | 2018-04-20 11:39:10 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-04-20 11:39:10 -0400 |
| commit | 0a8b275d7d0f9784cdfb5746b0800c04beffafcd (patch) | |
| tree | c1bf2d6560eecefaa657a4f1882add0f9d8c5eeb /include/linux | |
| parent | a83762d97980f13b1ec7f2514b28666c0dac3af6 (diff) | |
| parent | 01d26589dee4b23376642fba333539605c52d324 (diff) | |
Merge branch 'lan78xx-Read-configuration-from-Device-Tree'
Phil Elwell says:
====================
lan78xx: Read configuration from Device Tree
The Microchip LAN78XX family of devices are Ethernet controllers with
a USB interface. Despite being discoverable devices it can be useful to
be able to configure them from Device Tree, particularly in low-cost
applications without an EEPROM or programmed OTP.
This patch set adds support for reading the MAC address and LED modes from
Device Tree.
v4:
- Rename nodes in bindings doc.
v3:
- Move LED setting into PHY driver.
v2:
- Use eth_platform_get_mac_address.
- Support up to 4 LEDs, and move LED mode constants into dt-bindings header.
- Improve bindings document.
- Remove EEE support.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/microchipphy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/microchipphy.h b/include/linux/microchipphy.h index eb492d47f717..8e4015e7f8d3 100644 --- a/include/linux/microchipphy.h +++ b/include/linux/microchipphy.h @@ -70,4 +70,7 @@ #define LAN88XX_MMD3_CHIP_ID (32877) #define LAN88XX_MMD3_CHIP_REV (32878) +/* Registers specific to the LAN7800/LAN7850 embedded phy */ +#define LAN78XX_PHY_LED_MODE_SELECT (0x1D) + #endif /* _MICROCHIPPHY_H */ |
