Guest User

Untitled

a guest
Apr 28th, 2026
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. diff --git a/arch/arm64/boot/dts/apple/t6020.dtsi b/arch/arm64/boot/dts/apple/t6020.dtsi
  2. index 375e59f48ab0..a0ea6e73f5ea 100644
  3. --- a/arch/arm64/boot/dts/apple/t6020.dtsi
  4. +++ b/arch/arm64/boot/dts/apple/t6020.dtsi
  5. @@ -28,7 +28,15 @@ / {
  6. /delete-node/ &pmp_report_afnc5_ioa;
  7.  
  8. &pmp {
  9. - apple,pio-ranges;
  10. + /* apple,pio-ranges; */
  11. + /* apple,pio-ranges = <0x2 0x80000000 0x0 0x1000000>, */
  12. + /* <0x3 0x0 0x0 0x1000000>, */
  13. + /* <0x3 0x80000000 0x0 0x1000000>, */
  14. + /* <0x4 0x0 0x0 0x1000000>, */
  15. + /* <0x3 0x40000000 0x0 0x1000000>, */
  16. + /* <0x2 0x10e70000 0x0 0x90000>, */
  17. + /* <0x2 0x11e70000 0x0 0x90000>, */
  18. + /* <0x2 0x12e70000 0x0 0x90000>; */
  19. };
  20.  
  21. &gpu {
  22. diff --git a/arch/arm64/boot/dts/apple/t6021.dtsi b/arch/arm64/boot/dts/apple/t6021.dtsi
  23. index 44c3b09ad46c..671904295002 100644
  24. --- a/arch/arm64/boot/dts/apple/t6021.dtsi
  25. +++ b/arch/arm64/boot/dts/apple/t6021.dtsi
  26. @@ -74,16 +74,16 @@ p-core-pmu-affinity {
  27. };
  28.  
  29. &pmp {
  30. - apple,pio-ranges = <0x2 0x80000000 0x0 0x1000000>,
  31. - <0x3 0x0 0x0 0x1000000>,
  32. - <0x3 0x80000000 0x0 0x1000000>,
  33. - <0x4 0x0 0x0 0x1000000>,
  34. - <0x3 0x40000000 0x0 0x1000000>,
  35. - <0x2 0x10e70000 0x0 0x90000>,
  36. - <0x2 0x11e70000 0x0 0x90000>,
  37. - <0x2 0x12e70000 0x0 0x90000>,
  38. - <0x4 0x80000000 0x0 0x1000000>,
  39. - <0x5 0x0 0x0 0x1000000>;
  40. + /* apple,pio-ranges = <0x2 0x80000000 0x0 0x1000000>, */
  41. + /* <0x3 0x0 0x0 0x1000000>, */
  42. + /* <0x3 0x80000000 0x0 0x1000000>, */
  43. + /* <0x4 0x0 0x0 0x1000000>, */
  44. + /* <0x3 0x40000000 0x0 0x1000000>, */
  45. + /* <0x2 0x10e70000 0x0 0x90000>, */
  46. + /* <0x2 0x11e70000 0x0 0x90000>, */
  47. + /* <0x2 0x12e70000 0x0 0x90000>, */
  48. + /* <0x4 0x80000000 0x0 0x1000000>, */
  49. + /* <0x5 0x0 0x0 0x1000000>; */
  50. };
  51.  
  52. &gpu {
  53. diff --git a/arch/arm64/boot/dts/apple/t602x-die0.dtsi b/arch/arm64/boot/dts/apple/t602x-die0.dtsi
  54. index 9cfb411a98f2..7553bc9f23b4 100644
  55. --- a/arch/arm64/boot/dts/apple/t602x-die0.dtsi
  56. +++ b/arch/arm64/boot/dts/apple/t602x-die0.dtsi
  57. @@ -48,14 +48,14 @@ pmp_report: pmp_report@28e3c0000 {
  58. #address-cells = <1>;
  59. #size-cells = <0>;
  60.  
  61. - pmp_report_gfx: report@a {
  62. - compatible = "apple,t6020-pmp-v2-report-entry",
  63. - "apple,t6000-pmp-v2-report-entry";
  64. - reg = <0xa>;
  65. - label = "pmp-gfx";
  66. - #power-domain-cells = <0>;
  67. - power-domains = <&ps_gfx>;
  68. - };
  69. + /* pmp_report_gfx: report@a { */
  70. + /* compatible = "apple,t6020-pmp-v2-report-entry", */
  71. + /* "apple,t6000-pmp-v2-report-entry"; */
  72. + /* reg = <0xa>; */
  73. + /* label = "pmp-gfx"; */
  74. + /* #power-domain-cells = <0>; */
  75. + /* power-domains = <&ps_gfx>; */
  76. + /* }; */
  77.  
  78. pmp_report_ane_sys: report@b {
  79. compatible = "apple,t6020-pmp-v2-report-entry",
  80. @@ -233,7 +233,7 @@ pmgr_dcp: power-management@28e3d0000 {
  81. pmp: pmp@28e700000 {
  82. compatible = "apple,t6020-pmp-v2", "apple,t6000-pmp-v2";
  83. reg = <0x2 0x8e700000 0x0 0x100000>,
  84. - <0x2 0x8ec00000 0x0 0x4000>;
  85. + <0x2 0x8ec00000 0x0 0x6c000>;
  86. reg-names = "pmp", "asc";
  87. mboxes = <&pmp_mbox>;
  88. mbox-names = "mbox";
  89. @@ -990,11 +990,11 @@ gpu: gpu@406400000 {
  90. <AIC_IRQ 0 1149 IRQ_TYPE_LEVEL_HIGH>,
  91. <AIC_IRQ 0 1142 IRQ_TYPE_LEVEL_HIGH>;
  92. mboxes = <&agx_mbox>;
  93. - #ifdef APPLE_USE_PMP
  94. - power-domains = <&pmp_report_gfx>;
  95. - #else
  96. + /* #ifdef APPLE_USE_PMP */
  97. + /* power-domains = <&pmp_report_gfx>; */
  98. + /* #else */
  99. power-domains = <&ps_gfx>;
  100. - #endif
  101. + /* #endif */
  102. memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>,
  103. <&gpu_hw_cal_a>, <&gpu_hw_cal_b>, <&gpu_globals>;
  104. memory-region-names = "ttbs", "pagetables", "handoff",
  105. diff --git a/arch/arm64/boot/dts/apple/t602x-pmgr.dtsi b/arch/arm64/boot/dts/apple/t602x-pmgr.dtsi
  106. index b9233f252e6c..a4507060db70 100644
  107. --- a/arch/arm64/boot/dts/apple/t602x-pmgr.dtsi
  108. +++ b/arch/arm64/boot/dts/apple/t602x-pmgr.dtsi
  109. @@ -454,6 +454,7 @@ DIE_NODE(ps_pmp): power-controller@2c8 {
  110. #power-domain-cells = <0>;
  111. #reset-cells = <0>;
  112. label = DIE_LABEL(pmp);
  113. + apple,always-on;
  114. };
  115.  
  116. DIE_NODE(ps_pms_sram): power-controller@2d0 {
  117. @@ -462,6 +463,7 @@ DIE_NODE(ps_pms_sram): power-controller@2d0 {
  118. #power-domain-cells = <0>;
  119. #reset-cells = <0>;
  120. label = DIE_LABEL(pms_sram);
  121. + apple,always-on;
  122. };
  123.  
  124. DIE_NODE(ps_dispext0_cpu0): power-controller@2d8 {
  125.  
Advertisement
Add Comment
Please, Sign In to add comment