2
0

030-v5.16-0017-ARM-dts-NSP-Fix-MX65-MDIO-mux-warnings.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. From f5fc9044e5d45a4d97b5240c8723f4677f647c9f Mon Sep 17 00:00:00 2001
  2. From: Matthew Hagan <[email protected]>
  3. Date: Sun, 29 Aug 2021 22:37:51 +0000
  4. Subject: [PATCH] ARM: dts: NSP: Fix MX65 MDIO mux warnings
  5. The naming of this node is based upon that of the initial EA9500 dts[1].
  6. However this does not conform with the mdio-mux format, yielding the
  7. following message when running dtbs_check:
  8. mdio-mii-mux: $nodename:0: 'mdio-mii-mux' does not match '^mdio-mux[\\-@]?'
  9. Secondly, this node should be moved to within the axi node and given the
  10. appropriate unit address. This also requires exposing the axi node via a
  11. label in bcm-nsp.dtsi. This fixes the following warning:
  12. Warning (unit_address_vs_reg): /mdio-mii-mux: node has a reg or ranges property, but no unit name
  13. [1]https://patchwork.ozlabs.org/project/linux-imx/patch/[email protected]/#1941353
  14. Signed-off-by: Matthew Hagan <[email protected]>
  15. Signed-off-by: Florian Fainelli <[email protected]>
  16. ---
  17. arch/arm/boot/dts/bcm-nsp.dtsi | 2 +-
  18. arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi | 6 ++++--
  19. 2 files changed, 5 insertions(+), 3 deletions(-)
  20. --- a/arch/arm/boot/dts/bcm-nsp.dtsi
  21. +++ b/arch/arm/boot/dts/bcm-nsp.dtsi
  22. @@ -166,7 +166,7 @@
  23. };
  24. };
  25. - axi@18000000 {
  26. + axi: axi@18000000 {
  27. compatible = "simple-bus";
  28. ranges = <0x00000000 0x18000000 0x0011c40c>;
  29. #address-cells = <1>;
  30. --- a/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
  31. +++ b/arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi
  32. @@ -70,10 +70,12 @@
  33. gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>;
  34. };
  35. };
  36. +};
  37. - mdio-mii-mux {
  38. +&axi {
  39. + mdio-mux@3f1c0 {
  40. compatible = "mdio-mux-mmioreg", "mdio-mux";
  41. - reg = <0x1803f1c0 0x4>;
  42. + reg = <0x3f1c0 0x4>;
  43. mux-mask = <0x2000>;
  44. mdio-parent-bus = <&mdio_ext>;
  45. #address-cells = <1>;