lkml.org 
[lkml]   [2019]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] dt-bindings: net: dsa: marvell: add property "marvell,led-control"
Date
With this property it is possible to change the default behaviour of
the switch LEDs.

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
Documentation/devicetree/bindings/net/dsa/marvell.txt | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/marvell.txt b/Documentation/devicetree/bindings/net/dsa/marvell.txt
index 30c11fea491b..5e094e37c76d 100644
--- a/Documentation/devicetree/bindings/net/dsa/marvell.txt
+++ b/Documentation/devicetree/bindings/net/dsa/marvell.txt
@@ -46,6 +46,16 @@ Optional properties:
- mdio? : Container of PHYs and devices on the external MDIO
bus. The node must contains a compatible string of
"marvell,mv88e6xxx-mdio-external"
+- marvell,led-control : The register value for the LED control register (
+ Control for LED 0 & 1). This property can be defined
+ per port. Example:
+ ports {
+ port@0 {
+ [...]
+ marvell,led-control = <0x11>
+ };
+ [...]
+ }

Example:

--
2.22.0
\
 
 \ /
  Last update: 2019-07-30 12:16    [W:0.106 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site