[PATCH net-next v4 1/7] dt-bindings: net: ftgmac100: support for AST2700

From: Jacky Chou
Date: Thu Dec 05 2024 - 02:26:27 EST


The AST2700 is the 7th generation SoC from Aspeed.
Add compatible support and resets property for AST2700 in
yaml.

Signed-off-by: Jacky Chou <jacky_chou@xxxxxxxxxxxxxx>
Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
---
.../bindings/net/faraday,ftgmac100.yaml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
index 9bcbacb6640d..3bba8eee83d6 100644
--- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
+++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
@@ -21,6 +21,7 @@ properties:
- aspeed,ast2400-mac
- aspeed,ast2500-mac
- aspeed,ast2600-mac
+ - aspeed,ast2700-mac
- const: faraday,ftgmac100

reg:
@@ -33,7 +34,7 @@ properties:
minItems: 1
items:
- description: MAC IP clock
- - description: RMII RCLK gate for AST2500/2600
+ - description: RMII RCLK gate for AST2500/2600/2700

clock-names:
minItems: 1
@@ -73,6 +74,20 @@ required:

unevaluatedProperties: false

+if:
+ properties:
+ compatible:
+ contains:
+ const: aspeed,ast2700-mac
+then:
+ properties:
+ resets:
+ maxItems: 1
+ items:
+ - description: MAC IP reset for AST2700
+ required:
+ - resets
+
examples:
- |
ethernet@1e660000 {
--
2.25.1