@@ -174,6 +174,37 @@ properties:
PHY's that have configurable TX internal delays. If this property is
present then the PHY applies the TX delay.
+patternProperties:
+ "^led@[0-9a-f]+$":
+ type: object
+ description:
+ This node represents a LED device connected to the PHY chip.
+ $ref: /schemas/leds/common.yaml#
+
+ properties:
+ reg:
+ maxItems: 1
+
+ enable-active-high:
+ description:
+ Polarity of LED is active high. If missing, assumed default is active low.
+ type: boolean
+
+ led-open-drain:
+ description:
+ LED pin is open drain type. If missing, assumed false.
+ type: boolean
+
+ linux,default-hw-mode:
+ description:
+ This parameter, if present, specifies the default HW triggering mode of the LED
+ when LED trigger is set to `phydev-hw-mode`.
+ Available values are specific per PHY chip and per LED.
+ $ref: /schemas/types.yaml#definitions/string
+
+ required:
+ - reg
+
required:
- reg
Document binding for LEDs connected to and controlled by ethernet PHY chips. Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: Rob Herring <robh+dt@kernel.org> --- .../devicetree/bindings/net/ethernet-phy.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+)