dt-binding: dwmac-sun8i: add H6 compatible string (w/ A64 fallback)
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 3 Nov 2018 12:32:36 +0000 (20:32 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 5 Nov 2018 09:00:23 +0000 (10:00 +0100)
The Allwinner H6 SoC features a Ethernet MAC that is similar to the one
in A64.

Add a compatible string for it with A64 fallback compatible string, in
this case the A64 driver can be used.

The "internal" PHY is not internal from the perspective of the H6 main
die, instead it's on the co-packaged AC200 chip, and connected to the
main die with RMII at the in-package Port A PIO bank. So from the SoC
driver side it needs no special treatment.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Documentation/devicetree/bindings/net/dwmac-sun8i.txt

index 5bb3a18cc38db84cb04be2c6bf081842e762a3ef..54c66d0611cbf2eef6567e2a8ba1f4ce1d4cee5f 100644 (file)
@@ -10,6 +10,7 @@ Required properties:
                "allwinner,sun8i-r40-gmac"
                "allwinner,sun8i-v3s-emac"
                "allwinner,sun50i-a64-emac"
+               "allwinner,sun50i-h6-emac", "allwinner-sun50i-a64-emac"
 - reg: address and length of the register for the device.
 - interrupts: interrupt for the device
 - interrupt-names: must be "macirq"