Skip to content
Commit a3225658 authored by Phil Elwell's avatar Phil Elwell
Browse files

lan78xx: Read LED states from Device Tree



Add support for DT property "microchip,led-modes", a vector of two
cells (u32s) in the range 0-15, each of which sets the mode for one
of the two LEDs. The possible values are:

    0=link/activity          1=link1000/activity
    2=link100/activity       3=link10/activity
    4=link100/1000/activity  5=link10/1000/activity
    6=link10/100/activity    14=off    15=on

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent 69c1d8b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment