arm64: dts: allwinner: add snps,dwmac-mdio compatible to emac/mdio
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Tue, 31 Oct 2017 08:19:15 +0000 (09:19 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 Dec 2017 14:12:23 +0000 (14:12 +0000)
stmmac bindings docs said that its mdio node must have
compatible = "snps,dwmac-mdio";
Since dwmac-sun8i does not have any good reasons to not doing it, all
their MDIO node must have it.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Gbp-Pq: Topic features/arm/dwmac-sun8i
Gbp-Pq: Name 0004-arm64-dts-allwinner-add-snps-dwmac-mdio-compatible-t.patch

arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 50f17bab0c0751cfd4d15312e53787347a88793b..8fd75c95937a8ad7657eb6736288da680d9da4c5 100644 (file)
                        #size-cells = <0>;
 
                        mdio: mdio {
+                               compatible = "snps,dwmac-mdio";
                                #address-cells = <1>;
                                #size-cells = <0>;
                        };