2
0

941-arm64-dts-mt7986-move-cpuboot-in-a-dedicated-node.patch 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. From 247e566e3459481f1fa98733534bfed767e18b42 Mon Sep 17 00:00:00 2001
  2. Message-Id: <247e566e3459481f1fa98733534bfed767e18b42.1678620342.git.lorenzo@kernel.org>
  3. From: Lorenzo Bianconi <[email protected]>
  4. Date: Sat, 11 Mar 2023 16:32:41 +0100
  5. Subject: [PATCH net-next] arm64: dts: mt7986: move cpuboot in a dedicated node
  6. Signed-off-by: Lorenzo Bianconi <[email protected]>
  7. ---
  8. arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 21 +++++++++++----------
  9. 1 file changed, 11 insertions(+), 10 deletions(-)
  10. --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
  11. +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
  12. @@ -121,12 +121,6 @@
  13. reg = <0 0x151f8000 0 0x2000>;
  14. no-map;
  15. };
  16. -
  17. - wo_boot: wo-boot@15194000 {
  18. - reg = <0 0x15194000 0 0x1000>;
  19. - no-map;
  20. - };
  21. -
  22. };
  23. timer {
  24. @@ -543,10 +537,11 @@
  25. interrupt-parent = <&gic>;
  26. interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
  27. memory-region = <&wo_emi0>, <&wo_ilm0>, <&wo_dlm0>,
  28. - <&wo_data>, <&wo_boot>;
  29. + <&wo_data>;
  30. memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
  31. - "wo-data", "wo-boot";
  32. + "wo-data";
  33. mediatek,wo-ccif = <&wo_ccif0>;
  34. + mediatek,wo-cpuboot = <&wo_cpuboot>;
  35. };
  36. wed1: wed@15011000 {
  37. @@ -556,10 +551,11 @@
  38. interrupt-parent = <&gic>;
  39. interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
  40. memory-region = <&wo_emi1>, <&wo_ilm1>, <&wo_dlm1>,
  41. - <&wo_data>, <&wo_boot>;
  42. + <&wo_data>;
  43. memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
  44. - "wo-data", "wo-boot";
  45. + "wo-data";
  46. mediatek,wo-ccif = <&wo_ccif1>;
  47. + mediatek,wo-cpuboot = <&wo_cpuboot>;
  48. };
  49. wo_ccif0: syscon@151a5000 {
  50. @@ -576,6 +572,11 @@
  51. interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
  52. };
  53. + wo_cpuboot: syscon@15194000 {
  54. + compatible = "mediatek,mt7986-wo-cpuboot", "syscon";
  55. + reg = <0 0x15194000 0 0x1000>;
  56. + };
  57. +
  58. eth: ethernet@15100000 {
  59. compatible = "mediatek,mt7986-eth";
  60. reg = <0 0x15100000 0 0x80000>;