]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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 e28a0fc4c8fa1cc510832e3c6f7b3367568483f3..d93a7add67e74bc0b174ed8cebd6cd25d370e76a 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>;