030-v6.7-0004-ARM-dts-BCM5301X-Relicense-Vivek-s-code-to-the-GPL-2.patch 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. From b8d4f7c1be04d66c37c119c501c87bccc4197694 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Sat, 16 Sep 2023 10:58:55 +0200
  4. Subject: [PATCH] ARM: dts: BCM5301X: Relicense Vivek's code to the GPL 2.0+ /
  5. MIT
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. Move code added by Vivek to the bcm-ns.dtsi which uses dual licensing.
  10. That syncs more Northstar code to be based on the same licensing schema.
  11. This code was added in the commit 37f6130ec39f ("ARM: dts: BCM5301X:
  12. Make USB 3.0 PHY use MDIO PHY driver").
  13. Cc: Vivek Unune <[email protected]>
  14. Signed-off-by: Rafał Miłecki <[email protected]>
  15. Acked-by: Vivek Unune <[email protected]>
  16. Link: https://lore.kernel.org/r/[email protected]
  17. Signed-off-by: Florian Fainelli <[email protected]>
  18. ---
  19. arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 27 ++++++++++++++++++++++++
  20. arch/arm/boot/dts/broadcom/bcm5301x.dtsi | 27 ------------------------
  21. 2 files changed, 27 insertions(+), 27 deletions(-)
  22. --- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi
  23. +++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi
  24. @@ -327,6 +327,29 @@
  25. #address-cells = <1>;
  26. };
  27. + mdio-mux@18003000 {
  28. + compatible = "mdio-mux-mmioreg", "mdio-mux";
  29. + mdio-parent-bus = <&mdio>;
  30. + #address-cells = <1>;
  31. + #size-cells = <0>;
  32. + reg = <0x18003000 0x4>;
  33. + mux-mask = <0x200>;
  34. +
  35. + mdio@0 {
  36. + reg = <0x0>;
  37. + #address-cells = <1>;
  38. + #size-cells = <0>;
  39. +
  40. + usb3_phy: usb3-phy@10 {
  41. + compatible = "brcm,ns-ax-usb3-phy";
  42. + reg = <0x10>;
  43. + usb3-dmp-syscon = <&usb3_dmp>;
  44. + #phy-cells = <0>;
  45. + status = "disabled";
  46. + };
  47. + };
  48. + };
  49. +
  50. rng: rng@18004000 {
  51. compatible = "brcm,bcm5301x-rng";
  52. reg = <0x18004000 0x14>;
  53. @@ -467,6 +490,10 @@
  54. brcm,nand-has-wp;
  55. };
  56. + usb3_dmp: syscon@18105000 {
  57. + reg = <0x18105000 0x1000>;
  58. + };
  59. +
  60. thermal-zones {
  61. cpu_thermal: cpu-thermal {
  62. polling-delay-passive = <0>;
  63. --- a/arch/arm/boot/dts/broadcom/bcm5301x.dtsi
  64. +++ b/arch/arm/boot/dts/broadcom/bcm5301x.dtsi
  65. @@ -62,33 +62,6 @@
  66. };
  67. };
  68. - mdio-mux@18003000 {
  69. - compatible = "mdio-mux-mmioreg", "mdio-mux";
  70. - mdio-parent-bus = <&mdio>;
  71. - #address-cells = <1>;
  72. - #size-cells = <0>;
  73. - reg = <0x18003000 0x4>;
  74. - mux-mask = <0x200>;
  75. -
  76. - mdio@0 {
  77. - reg = <0x0>;
  78. - #address-cells = <1>;
  79. - #size-cells = <0>;
  80. -
  81. - usb3_phy: usb3-phy@10 {
  82. - compatible = "brcm,ns-ax-usb3-phy";
  83. - reg = <0x10>;
  84. - usb3-dmp-syscon = <&usb3_dmp>;
  85. - #phy-cells = <0>;
  86. - status = "disabled";
  87. - };
  88. - };
  89. - };
  90. -
  91. - usb3_dmp: syscon@18105000 {
  92. - reg = <0x18105000 0x1000>;
  93. - };
  94. -
  95. i2c0: i2c@18009000 {
  96. compatible = "brcm,iproc-i2c";
  97. reg = <0x18009000 0x50>;