@@ -171,26 +171,6 @@ properties:
* snps,low_credit, max read outstanding req. limit
* snps,priority, TX queue priority (Range 0x0 to 0xF)
- snps,reset-gpio:
- maxItems: 1
- description:
- PHY Reset GPIO
-
- snps,reset-active-low:
- $ref: /schemas/types.yaml#definitions/flag
- description:
- Indicates that the PHY Reset is active low
-
- snps,reset-delays-us:
- allOf:
- - $ref: /schemas/types.yaml#definitions/uint32-array
- - minItems: 3
- maxItems: 3
- description:
- Triplet of delays. The 1st cell is reset pre-delay in micro
- seconds. The 2nd cell is reset pulse in micro seconds. The 3rd
- cell is reset post-delay in micro seconds.
-
snps,aal:
$ref: /schemas/types.yaml#definitions/flag
description:
@@ -253,6 +233,36 @@ properties:
required:
- compatible
+ ## Deprecated properties
+ #
+ # Deprecated in favor of ethernet phy's reset-gpios property
+ # snps,reset-gpio:
+ # maxItems: 1
+ # description:
+ # PHY Reset GPIO
+
+ # Deprecated in favor of ethernet phy's reset-gpios property
+ # snps,reset-active-low:
+ # $ref: /schemas/types.yaml#definitions/flag
+ # description:
+ # Indicates that the PHY Reset is active low
+
+ # Deprecated in favor of ethernet phy's reset-assert-us and
+ # reset-deassert-us properties
+ # snps,reset-delays-us:
+ # allOf:
+ # - $ref: /schemas/types.yaml#definitions/uint32-array
+ # - minItems: 3
+ # maxItems: 3
+ # description:
+ # Triplet of delays. The 1st cell is reset pre-delay in micro
+ # seconds. The 2nd cell is reset pulse in micro seconds. The 3rd
+ # cell is reset post-delay in micro seconds.
+
+# dependencies:
+# snps,reset-active-low: ["snps,reset-gpio"]
+# snps,reset-delay-us: ["snps,reset-gpio"]
+
required:
- compatible
- reg
@@ -260,10 +270,6 @@ required:
- interrupt-names
- phy-mode
-dependencies:
- snps,reset-active-low: ["snps,reset-gpio"]
- snps,reset-delay-us: ["snps,reset-gpio"]
-
allOf:
- $ref: "ethernet-controller.yaml#"
- if:
Even though the DWMAC driver uses some driver specific properties, the PHY core has a bunch of generic properties and can deal with them nicely. Let's deprecate our specific properties. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> --- Changes from v1: - New patch --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 54 ++++++------ 1 file changed, 30 insertions(+), 24 deletions(-)