summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-07-09 00:16:29 +0300
committerJakub Kicinski <kuba@kernel.org>2024-07-11 05:04:42 +0300
commitab896aa62e309b3ceaa35b82dc99b64da7ce6bfa (patch)
tree64e395b911149e863d233f986fc6a35e563524a5 /Documentation/devicetree/bindings/net
parentce2f84ebcd857556f5ae9fc2d4ac720df1eb49d1 (diff)
downloadlinux-ab896aa62e309b3ceaa35b82dc99b64da7ce6bfa.tar.xz
dt-bindings: net: realtek,rtl82xx: Document RTL8211F LED support
The RTL8211F PHY does support LED configuration, document support for LEDs in the binding document. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20240708211649.165793-1-marex@denx.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml17
1 files changed, 14 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml b/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml
index 18ee72f5c74a..d248a08a2136 100644
--- a/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml
+++ b/Documentation/devicetree/bindings/net/realtek,rtl82xx.yaml
@@ -14,9 +14,6 @@ maintainers:
description:
Bindings for Realtek RTL82xx PHYs
-allOf:
- - $ref: ethernet-phy.yaml#
-
properties:
compatible:
enum:
@@ -41,6 +38,8 @@ properties:
- ethernet-phy-id001c.cad0
- ethernet-phy-id001c.cb00
+ leds: true
+
realtek,clkout-disable:
type: boolean
description:
@@ -54,6 +53,18 @@ properties:
unevaluatedProperties: false
+allOf:
+ - $ref: ethernet-phy.yaml#
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: ethernet-phy-id001c.c916
+ then:
+ properties:
+ leds: false
+
examples:
- |
mdio {