arm64: dts: allwinner: h6: fix EMAC compatible string sequence
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 15 Nov 2018 03:15:51 +0000 (11:15 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 20 Nov 2018 07:57:05 +0000 (08:57 +0100)
The SoC-specific compatible should come before the fallback compatible
string when multiple compatible strings are present, but the sequence is
wrong currently on H6 EMAC node (A64 fallback before H6 compatible).

Fix the sequence.

Fixes: c8ced5516d23 ("arm64: allwinner: h6: add EMAC device nodes")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

index e28a0fc..d93a7ad 100644 (file)
                };
 
                emac: ethernet@5020000 {
-                       compatible = "allwinner,sun50i-a64-emac",
-                                    "allwinner,sun50i-h6-emac";
+                       compatible = "allwinner,sun50i-h6-emac",
+                                    "allwinner,sun50i-a64-emac";
                        syscon = <&syscon>;
                        reg = <0x05020000 0x10000>;
                        interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;