[net-next v3 1/4] dt-bindings: net: ftgmac100: Add resets property
Jacky Chou
jacky_chou at aspeedtech.com
Mon Jul 7 23:55:41 PDT 2025
Add optional resets property for Aspeed SoCs to reset the MAC and
RGMII/RMII.
Signed-off-by: Jacky Chou <jacky_chou at aspeedtech.com>
---
.../bindings/net/faraday,ftgmac100.yaml | 23 ++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
index 55d6a8379025..a2e7d439074a 100644
--- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
+++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
@@ -6,9 +6,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Faraday Technology FTGMAC100 gigabit ethernet controller
-allOf:
- - $ref: ethernet-controller.yaml#
-
maintainers:
- Po-Yu Chuang <ratbert at faraday-tech.com>
@@ -35,6 +32,11 @@ properties:
- description: MAC IP clock
- description: RMII RCLK gate for AST2500/2600
+ resets:
+ maxItems: 1
+ description:
+ Optional reset control for the MAC controller
+
clock-names:
minItems: 1
items:
@@ -74,6 +76,21 @@ required:
- reg
- interrupts
+allOf:
+ - $ref: ethernet-controller.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - aspeed,ast2600-mac
+ then:
+ properties:
+ resets: true
+ else:
+ properties:
+ resets: false
+
unevaluatedProperties: false
examples:
--
2.34.1
More information about the linux-arm-kernel
mailing list