dt-bindings: net: sun8i-emac: Add compatible for D1
authorSamuel Holland <samuel@sholland.org>
Wed, 8 Sep 2021 03:02:40 +0000 (22:02 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Sep 2021 10:27:34 +0000 (11:27 +0100)
The D1 SoC contains EMAC hardware which is compatible with the A64 EMAC.
Add the new compatible string, with the A64 as a fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml

index 7f2578d..9eb4bb5 100644 (file)
@@ -19,7 +19,9 @@ properties:
       - const: allwinner,sun8i-v3s-emac
       - const: allwinner,sun50i-a64-emac
       - items:
-          - const: allwinner,sun50i-h6-emac
+          - enum:
+              - allwinner,sun20i-d1-emac
+              - allwinner,sun50i-h6-emac
           - const: allwinner,sun50i-a64-emac
 
   reg: