|
34 | 34 | apple,dcs-min-ps = <7>; |
35 | 35 | }; |
36 | 36 |
|
| 37 | + pmp_dart: iommu@28e300000 { |
| 38 | + compatible = "apple,t6000-dart"; |
| 39 | + reg = <0x2 0x8e300000 0x0 0x4000>; |
| 40 | + #iommu-cells = <1>; |
| 41 | + interrupt-parent = <&aic>; |
| 42 | + interrupts = <AIC_IRQ 0 1010 IRQ_TYPE_LEVEL_HIGH>; |
| 43 | + power-domains = <&ps_pmp>; |
| 44 | + }; |
| 45 | + |
| 46 | + pmp_report: pmp_report@28e3c0000 { |
| 47 | + compatible = "apple,t6000-pmp-v2-report"; |
| 48 | + reg = <0x2 0x8e3c0000 0x0 0x20000>; |
| 49 | + power-domains = <&ps_pms_sram>; |
| 50 | + #address-cells = <1>; |
| 51 | + #size-cells = <0>; |
| 52 | + |
| 53 | + pmp_report_ane_sys: report@a { |
| 54 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 55 | + reg = <0xa>; |
| 56 | + label = "pmp-ane-sys"; |
| 57 | + #power-domain-cells = <0>; |
| 58 | + power-domains = <&ps_ane_sys>; |
| 59 | + status = "disabled"; |
| 60 | + }; |
| 61 | + |
| 62 | + pmp_report_isp_sys: report@b { |
| 63 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 64 | + reg = <0xb>; |
| 65 | + label = "pmp-isp-sys"; |
| 66 | + #power-domain-cells = <0>; |
| 67 | + power-domains = <&ps_isp_sys>; |
| 68 | + status = "disabled"; |
| 69 | + }; |
| 70 | + |
| 71 | + pmp_report_disp0: report@c { |
| 72 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 73 | + reg = <0xc>; |
| 74 | + label = "pmp-disp0"; |
| 75 | + #power-domain-cells = <0>; |
| 76 | + power-domains = <&ps_disp0_cpu0>; |
| 77 | + apple,always-on; |
| 78 | + }; |
| 79 | + |
| 80 | + pmp_report_dispext0: report@d { |
| 81 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 82 | + reg = <0xd>; |
| 83 | + label = "pmp-dispext0"; |
| 84 | + #power-domain-cells = <0>; |
| 85 | + power-domains = <&ps_dispext0_cpu0>; |
| 86 | + apple,always-on; |
| 87 | + }; |
| 88 | + |
| 89 | + pmp_report_dispext1: report@e { |
| 90 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 91 | + reg = <0xe>; |
| 92 | + label = "pmp-dispext1"; |
| 93 | + #power-domain-cells = <0>; |
| 94 | + power-domains = <&ps_dispext1_cpu0>; |
| 95 | + }; |
| 96 | + |
| 97 | + pmp_report_venc_sys: report@10 { |
| 98 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 99 | + reg = <0x10>; |
| 100 | + label = "pmp-venc-sys"; |
| 101 | + #power-domain-cells = <0>; |
| 102 | + power-domains = <&ps_venc_sys>; |
| 103 | + status = "disabled"; |
| 104 | + }; |
| 105 | + |
| 106 | + pmp_report_avd_sys: report@11 { |
| 107 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 108 | + reg = <0x11>; |
| 109 | + label = "pmp-avd-sys"; |
| 110 | + #power-domain-cells = <0>; |
| 111 | + power-domains = <&ps_avd_sys>; |
| 112 | + status = "disabled"; |
| 113 | + }; |
| 114 | + |
| 115 | + pmp_report_msr0: report@12 { |
| 116 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 117 | + reg = <0x12>; |
| 118 | + label = "pmp-msr0"; |
| 119 | + #power-domain-cells = <0>; |
| 120 | + power-domains = <&ps_msr0>; |
| 121 | + status = "disabled"; |
| 122 | + }; |
| 123 | + |
| 124 | + pmp_report_jpg: report@13 { |
| 125 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 126 | + reg = <0x13>; |
| 127 | + label = "pmp-jpg"; |
| 128 | + #power-domain-cells = <0>; |
| 129 | + power-domains = <&ps_jpg>; |
| 130 | + status = "disabled"; |
| 131 | + }; |
| 132 | + |
| 133 | + pmp_report_scodec: report@14 { |
| 134 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 135 | + reg = <0x14>; |
| 136 | + label = "pmp-scodec"; |
| 137 | + #power-domain-cells = <0>; |
| 138 | + power-domains = <&ps_scodec>; |
| 139 | + status = "disabled"; |
| 140 | + }; |
| 141 | + |
| 142 | + pmp_report_afnc4_ioa: report@1d { |
| 143 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 144 | + reg = <0x1d>; |
| 145 | + label = "pmp-afnc4-ioa"; |
| 146 | + #power-domain-cells = <0>; |
| 147 | + apple,always-on; |
| 148 | + }; |
| 149 | + |
| 150 | + pmp_report_afnc5_ioa: report@1e { |
| 151 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 152 | + reg = <0x1e>; |
| 153 | + label = "pmp-afnc5-ioa"; |
| 154 | + #power-domain-cells = <0>; |
| 155 | + apple,always-on; |
| 156 | + }; |
| 157 | + |
| 158 | + pmp_report_dispext2: report@20 { |
| 159 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 160 | + reg = <0x20>; |
| 161 | + label = "pmp-dispext2"; |
| 162 | + #power-domain-cells = <0>; |
| 163 | + power-domains = <&ps_dispext2_cpu0>; |
| 164 | + status = "disabled"; |
| 165 | + }; |
| 166 | + |
| 167 | + pmp_report_dispext3: report@21 { |
| 168 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 169 | + reg = <0x21>; |
| 170 | + label = "pmp-dispext3"; |
| 171 | + #power-domain-cells = <0>; |
| 172 | + power-domains = <&ps_dispext3_cpu0>; |
| 173 | + status = "disabled"; |
| 174 | + }; |
| 175 | + |
| 176 | + pmp_report_venc1: report@22 { |
| 177 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 178 | + reg = <0x22>; |
| 179 | + label = "pmp-venc1"; |
| 180 | + #power-domain-cells = <0>; |
| 181 | + power-domains = <&ps_venc1_sys>; |
| 182 | + status = "disabled"; |
| 183 | + }; |
| 184 | + |
| 185 | + pmp_report_msr1: report@23 { |
| 186 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 187 | + reg = <0x23>; |
| 188 | + label = "pmp-msr1"; |
| 189 | + #power-domain-cells = <0>; |
| 190 | + power-domains = <&ps_msr1>; |
| 191 | + status = "disabled"; |
| 192 | + }; |
| 193 | + |
| 194 | + pmp_report_prores: report@24 { |
| 195 | + compatible = "apple,t6000-pmp-v2-report-entry"; |
| 196 | + reg = <0x24>; |
| 197 | + label = "pmp-prores"; |
| 198 | + #power-domain-cells = <0>; |
| 199 | + power-domains = <&ps_prores>; |
| 200 | + status = "disabled"; |
| 201 | + }; |
| 202 | + }; |
| 203 | + |
37 | 204 | pmgr_dcp: power-management@28e3d0000 { |
38 | 205 | reg = <0x2 0x8e3d0000 0x0 0x4000>; |
39 | 206 | reg-names = "dcp-fw-pmgr"; |
40 | 207 | #apple,bw-scratch-cells = <3>; |
41 | 208 | }; |
42 | 209 |
|
| 210 | + pmp: pmp@28e700000 { |
| 211 | + compatible = "apple,t6000-pmp-v2"; |
| 212 | + reg = <0x2 0x8e700000 0x0 0x100000>, |
| 213 | + <0x2 0x8ec00000 0x0 0x4000>; |
| 214 | + reg-names = "pmp", "asc"; |
| 215 | + mboxes = <&pmp_mbox>; |
| 216 | + mbox-names = "mbox"; |
| 217 | + iommus = <&pmp_dart 0>; |
| 218 | + power-domains = <&ps_pmp>; |
| 219 | + status = "disabled"; |
| 220 | + |
| 221 | + tunables { |
| 222 | + }; |
| 223 | + }; |
| 224 | + |
| 225 | + pmp_mbox: mbox@28ec08000 { |
| 226 | + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; |
| 227 | + reg = <0x2 0x8ec08000 0x0 0x4000>; |
| 228 | + interrupt-parent = <&aic>; |
| 229 | + interrupts = <AIC_IRQ 0 1006 IRQ_TYPE_LEVEL_HIGH>, |
| 230 | + <AIC_IRQ 0 1007 IRQ_TYPE_LEVEL_HIGH>, |
| 231 | + <AIC_IRQ 0 1008 IRQ_TYPE_LEVEL_HIGH>, |
| 232 | + <AIC_IRQ 0 1009 IRQ_TYPE_LEVEL_HIGH>; |
| 233 | + interrupt-names = "send-empty", "send-not-empty", |
| 234 | + "recv-empty", "recv-not-empty"; |
| 235 | + #mbox-cells = <0>; |
| 236 | + power-domains = <&ps_pmp>, <&ps_pms_sram>; |
| 237 | + }; |
| 238 | + |
43 | 239 | smc: smc@290400000 { |
44 | 240 | compatible = "apple,t6000-smc", "apple,smc"; |
45 | 241 | reg = <0x2 0x90400000 0x0 0x4000>, |
|
333 | 529 | <0x3 0x8b344000 0x0 0x4000>, |
334 | 530 | <0x3 0x8b800000 0x0 0x800000>; |
335 | 531 | apple,bw-scratch = <&pmgr_dcp 0 4 0x988>; |
| 532 | + #ifdef APPLE_USE_PMP |
| 533 | + power-domains = <&pmp_report_disp0>; |
| 534 | + #else |
336 | 535 | power-domains = <&ps_disp0_cpu0>; |
| 536 | + #endif |
337 | 537 | resets = <&ps_disp0_cpu0>; |
338 | 538 | clocks = <&clk_disp0>; |
339 | 539 | phandle = <&dcp>; |
|
644 | 844 | <0x3 0x861043f0 0x0 0x100>; |
645 | 845 | interrupt-parent = <&aic>; |
646 | 846 | interrupts = <AIC_IRQ 0 538 IRQ_TYPE_LEVEL_HIGH>; |
| 847 | + #ifdef APPLE_USE_PMP |
| 848 | + power-domains = <&pmp_report_isp_sys>, <&ps_isp_set0>, |
| 849 | + #else |
647 | 850 | power-domains = <&ps_isp_sys>, <&ps_isp_set0>, |
| 851 | + #endif |
648 | 852 | <&ps_isp_set1>, <&ps_isp_fe>, <&ps_isp_set3>, |
649 | 853 | <&ps_isp_set4>, <&ps_isp_set5>, <&ps_isp_set6>, |
650 | 854 | <&ps_isp_set7>, <&ps_isp_set8>; |
|
0 commit comments