The dp83867 has three LED_X pins that can be used to drive LEDs. They are by default driven active high, but on some boards the reverse is needed. Add bindings to allow a board to specify that they should be active low. Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> --- .../devicetree/bindings/net/ti,dp83867.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ti,dp83867.yaml b/Documentation/devicetree/bindings/net/ti,dp83867.yaml index b8c0e4b5b494..8483544e28c3 100644 --- a/Documentation/devicetree/bindings/net/ti,dp83867.yaml +++ b/Documentation/devicetree/bindings/net/ti,dp83867.yaml @@ -118,6 +118,21 @@ properties: Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable values. + ti,led0-active-low: + type: boolean + description: | + This denotes that the LED_0 pin should be driven as active low. + + ti,led1-active-low: + type: boolean + description: | + This denotes that the LED_1 pin should be driven as active low. + + ti,led2-active-low: + type: boolean + description: | + This denotes that the LED_2 pin should be driven as active low. + required: - reg -- 2.37.2