sunxi: backport stmmac network patches
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.14 / 026-arm64-dts-allwinner-add-snps-dwmac-mdio-compatible-t.patch
1 From 16416084e06e1ebff51a9e7721a8cc4ccc186f28 Mon Sep 17 00:00:00 2001
2 From: Corentin Labbe <clabbe.montjoie@gmail.com>
3 Date: Tue, 31 Oct 2017 09:19:15 +0100
4 Subject: [PATCH] arm64: dts: allwinner: add snps,dwmac-mdio compatible to
5 emac/mdio
6
7 stmmac bindings docs said that its mdio node must have
8 compatible = "snps,dwmac-mdio";
9 Since dwmac-sun8i does not have any good reasons to not doing it, all
10 their MDIO node must have it.
11
12 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
13 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
14 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
15 ---
16 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
17 1 file changed, 1 insertion(+)
18
19 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
20 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
21 @@ -464,6 +464,7 @@
22 #size-cells = <0>;
23
24 mdio: mdio {
25 + compatible = "snps,dwmac-mdio";
26 #address-cells = <1>;
27 #size-cells = <0>;
28 };