047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch 1020 B

12345678910111213141516171819202122232425262728293031323334
  1. From c4b88e77c28fad5151a1a4eac516b947e2d51be5 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 19 Apr 2017 23:54:25 +0200
  4. Subject: [PATCH] ARM: dts: BCM5301X: Specify MDIO bus in the DT
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Northstar devices have MDIO bus that may contain various PHYs attached.
  9. A common example is USB 3.0 PHY (that doesn't have an MDIO driver yet).
  10. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  11. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  12. ---
  13. arch/arm/boot/dts/bcm5301x.dtsi | 8 ++++++++
  14. 1 file changed, 8 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  16. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  17. @@ -334,6 +334,14 @@
  18. };
  19. };
  20. + mdio: mdio@18003000 {
  21. + compatible = "brcm,iproc-mdio";
  22. + reg = <0x18003000 0x8>;
  23. + #size-cells = <1>;
  24. + #address-cells = <0>;
  25. + status = "disabled";
  26. + };
  27. +
  28. i2c0: i2c@18009000 {
  29. compatible = "brcm,iproc-i2c";
  30. reg = <0x18009000 0x50>;