701-dts-ipq4019-add-mdio-node.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. From 09ed737593f71bcca08a537a6c15264a1a6add08 Mon Sep 17 00:00:00 2001
  2. From: Christian Lamparter <[email protected]>
  3. Date: Sun, 20 Nov 2016 01:10:33 +0100
  4. Subject: [PATCH] dts: ipq4019: add mdio node for ethernet
  5. This patch adds the mdio device-tree node.
  6. This is where the switch is connected to, so it's needed
  7. for the ethernet interfaces.
  8. Note: The driver isn't anywhere close to be upstream,
  9. so the info might change.
  10. ---
  11. arch/arm/boot/dts/qcom-ipq4019.dtsi | 28 ++++++++++++++++++++++++++++
  12. 1 file changed, 28 insertions(+)
  13. --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
  14. +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
  15. @@ -539,6 +539,34 @@
  16. status = "disabled";
  17. };
  18. + mdio@90000 {
  19. + #address-cells = <1>;
  20. + #size-cells = <0>;
  21. + compatible = "qcom,ipq4019-mdio";
  22. + reg = <0x90000 0x64>;
  23. + status = "disabled";
  24. +
  25. + ethernet-phy@0 {
  26. + reg = <0>;
  27. + };
  28. +
  29. + ethernet-phy@1 {
  30. + reg = <1>;
  31. + };
  32. +
  33. + ethernet-phy@2 {
  34. + reg = <2>;
  35. + };
  36. +
  37. + ethernet-phy@3 {
  38. + reg = <3>;
  39. + };
  40. +
  41. + ethernet-phy@4 {
  42. + reg = <4>;
  43. + };
  44. + };
  45. +
  46. usb3_ss_phy: ssphy@9a000 {
  47. compatible = "qca,uni-ssphy";
  48. reg = <0x9a000 0x800>;