709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. From 5ac078c8fe18f3e8318547b8ed0ed782730c5039 Mon Sep 17 00:00:00 2001
  2. From: Christian Marangi <[email protected]>
  3. Date: Sat, 10 Feb 2024 22:28:27 +0100
  4. Subject: [PATCH] ARM: dts: qcom: ipq4019: add QCA8075 PHY Package nodes
  5. Add QCA8075 PHY Package nodes. The PHY nodes that were previously
  6. defined never worked and actually never had a driver to correctly setup
  7. these PHY. Now that we have a correct driver, correctly add the PHY
  8. Package node and set the default value of 300mw for tx driver strength
  9. following specification of ipq4019 SoC.
  10. Signed-off-by: Christian Marangi <[email protected]>
  11. ---
  12. arch/arm/boot/dts//qcom-ipq4019.dtsi | 35 +++++++++++++++---------
  13. 1 file changed, 22 insertions(+), 13 deletions(-)
  14. --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
  15. +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
  16. @@ -725,24 +725,33 @@
  17. reg = <0x90000 0x64>;
  18. status = "disabled";
  19. - ethphy0: ethernet-phy@0 {
  20. + ethernet-phy-package@0 {
  21. + #address-cells = <1>;
  22. + #size-cells = <0>;
  23. + compatible = "qcom,qca8075-package";
  24. reg = <0>;
  25. - };
  26. -
  27. - ethphy1: ethernet-phy@1 {
  28. - reg = <1>;
  29. - };
  30. - ethphy2: ethernet-phy@2 {
  31. - reg = <2>;
  32. - };
  33. -
  34. - ethphy3: ethernet-phy@3 {
  35. - reg = <3>;
  36. - };
  37. + qcom,tx-drive-strength-milliwatt = <300>;
  38. - ethphy4: ethernet-phy@4 {
  39. - reg = <4>;
  40. + ethphy0: ethernet-phy@0 {
  41. + reg = <0>;
  42. + };
  43. +
  44. + ethphy1: ethernet-phy@1 {
  45. + reg = <1>;
  46. + };
  47. +
  48. + ethphy2: ethernet-phy@2 {
  49. + reg = <2>;
  50. + };
  51. +
  52. + ethphy3: ethernet-phy@3 {
  53. + reg = <3>;
  54. + };
  55. +
  56. + ethphy4: ethernet-phy@4 {
  57. + reg = <4>;
  58. + };
  59. };
  60. };