aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2018-11-15 11:15:51 +0800
committerMaxime Ripard <[email protected]>2018-11-20 08:57:05 +0100
commit29ce4e436f27562b366b9dc20ebf5a92f109f729 (patch)
tree1c0efc1b5f13d9820ae682f96514411e4229bf63
parent6b683d7640995dc7f68d711160378b0a0f10b5c6 (diff)
arm64: dts: allwinner: h6: fix EMAC compatible string sequence
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 <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index e28a0fc4c8fa..d93a7add67e7 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
@@ -326,8 +326,8 @@
};
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>;