026-arm64-dts-allwinner-add-snps-dwmac-mdio-compatible-t.patch 955 B

12345678910111213141516171819202122232425262728
  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. stmmac bindings docs said that its mdio node must have
  7. compatible = "snps,dwmac-mdio";
  8. Since dwmac-sun8i does not have any good reasons to not doing it, all
  9. their MDIO node must have it.
  10. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
  11. Acked-by: Florian Fainelli <f.fainelli@gmail.com>
  12. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  13. ---
  14. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
  15. 1 file changed, 1 insertion(+)
  16. --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
  17. +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
  18. @@ -465,6 +465,7 @@
  19. #size-cells = <0>;
  20. mdio: mdio {
  21. + compatible = "snps,dwmac-mdio";
  22. #address-cells = <1>;
  23. #size-cells = <0>;
  24. };