diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-09-21 22:38:00 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-01 13:01:03 +0200 |
commit | cf039cf7ffba5cdb15a25ad51b5e62e083bac5a8 (patch) | |
tree | d43a1bf3c8f276383a209609195b19069facaea5 /target/linux/sunxi/patches-4.9/0065-arm64-allwinner-a64-pine64-add-missing-ethernet0-ali.patch | |
parent | ed43a4d4ac195bf3c149805094b628a0d45f8880 (diff) | |
download | upstream-cf039cf7ffba5cdb15a25ad51b5e62e083bac5a8.tar.gz upstream-cf039cf7ffba5cdb15a25ad51b5e62e083bac5a8.tar.bz2 upstream-cf039cf7ffba5cdb15a25ad51b5e62e083bac5a8.zip |
sunxi: A64: add device tree changes for A64 Ethernet
This adds the device tree changes needed to make the GMAC stmmac driver
working for the Allwinner A64 SoCs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/sunxi/patches-4.9/0065-arm64-allwinner-a64-pine64-add-missing-ethernet0-ali.patch')
-rw-r--r-- | target/linux/sunxi/patches-4.9/0065-arm64-allwinner-a64-pine64-add-missing-ethernet0-ali.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-4.9/0065-arm64-allwinner-a64-pine64-add-missing-ethernet0-ali.patch b/target/linux/sunxi/patches-4.9/0065-arm64-allwinner-a64-pine64-add-missing-ethernet0-ali.patch new file mode 100644 index 0000000000..f892219fa3 --- /dev/null +++ b/target/linux/sunxi/patches-4.9/0065-arm64-allwinner-a64-pine64-add-missing-ethernet0-ali.patch @@ -0,0 +1,29 @@ +From dff751c68904cf587d918cfb6b2f5b0112f73bc9 Mon Sep 17 00:00:00 2001 +From: Icenowy Zheng <icenowy@aosc.io> +Date: Sat, 22 Jul 2017 10:28:51 +0800 +Subject: arm64: allwinner: a64: pine64: add missing ethernet0 alias + +The EMAC Ethernet controller was enabled, but an accompanying alias +was not added. This results in unstable numbering if other Ethernet +devices, such as a USB dongle, are present. Also, the bootloader uses +the alias to assign a generated stable MAC address to the device node. + +Signed-off-by: Icenowy Zheng <icenowy@aosc.io> +Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> +Fixes: 970239437493 ("arm64: allwinner: pine64: Enable dwmac-sun8i") +[wens@csie.org: Rewrite commit log as fixing a previous patch with Fixes] +Signed-off-by: Chen-Yu Tsai <wens@csie.org> +--- + arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 1 + + 1 file changed, 1 insertion(+) + +--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +@@ -51,6 +51,7 @@ + compatible = "pine64,pine64", "allwinner,sun50i-a64"; + + aliases { ++ ethernet0 = &emac; + serial0 = &uart0; + }; + |