Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 1 | /* |
annsai01 | 7c607f2 | 2023-02-20 13:34:57 +0000 | [diff] [blame] | 2 | * Copyright (c) 2020-2024, Arm Limited. All rights reserved. |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Leo Yan | 9add671 | 2024-04-24 10:03:50 +0100 | [diff] [blame] | 7 | /* If SCMI power domain control is enabled */ |
| 8 | #if TC_SCMI_PD_CTRL_EN |
| 9 | #define GPU_SCMI_PD_IDX (PLAT_MAX_CPUS_PER_CLUSTER + 1) |
| 10 | #define DPU_SCMI_PD_IDX (PLAT_MAX_CPUS_PER_CLUSTER + 2) |
| 11 | #endif /* TC_SCMI_PD_CTRL_EN */ |
| 12 | |
| 13 | /* Use SCMI controlled clocks */ |
| 14 | #if TC_DPU_USE_SCMI_CLK |
| 15 | #define DPU_CLK_ATTR1 \ |
| 16 | clocks = <&scmi_clk 0>; \ |
| 17 | clock-names = "aclk" |
| 18 | |
| 19 | #define DPU_CLK_ATTR2 \ |
| 20 | clocks = <&scmi_clk 1>; \ |
| 21 | clock-names = "pxclk" |
| 22 | |
| 23 | #define DPU_CLK_ATTR3 \ |
| 24 | clocks = <&scmi_clk 2>; \ |
| 25 | clock-names = "pxclk" \ |
| 26 | /* Use fixed clocks */ |
| 27 | #else /* !TC_DPU_USE_SCMI_CLK */ |
| 28 | #define DPU_CLK_ATTR1 \ |
| 29 | clocks = <&dpu_aclk>; \ |
| 30 | clock-names = "aclk" |
| 31 | |
| 32 | #define DPU_CLK_ATTR2 \ |
| 33 | clocks = <&dpu_pixel_clk>, <&dpu_aclk>; \ |
| 34 | clock-names = "pxclk", "aclk" |
| 35 | |
| 36 | #define DPU_CLK_ATTR3 DPU_CLK_ATTR2 |
| 37 | #endif /* !TC_DPU_USE_SCMI_CLK */ |
Kshitij Sisodia | b32a8f4 | 2023-08-16 09:46:05 +0100 | [diff] [blame] | 38 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 39 | / { |
Usama Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 40 | compatible = "arm,tc"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 41 | interrupt-parent = <&gic>; |
| 42 | #address-cells = <2>; |
| 43 | #size-cells = <2>; |
| 44 | |
| 45 | aliases { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 46 | serial0 = &os_uart; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 47 | }; |
| 48 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 49 | cpus { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; |
| 52 | |
| 53 | cpu-map { |
| 54 | cluster0 { |
| 55 | core0 { |
| 56 | cpu = <&CPU0>; |
| 57 | }; |
| 58 | core1 { |
| 59 | cpu = <&CPU1>; |
| 60 | }; |
| 61 | core2 { |
| 62 | cpu = <&CPU2>; |
| 63 | }; |
| 64 | core3 { |
| 65 | cpu = <&CPU3>; |
| 66 | }; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 67 | core4 { |
| 68 | cpu = <&CPU4>; |
| 69 | }; |
| 70 | core5 { |
| 71 | cpu = <&CPU5>; |
| 72 | }; |
| 73 | core6 { |
| 74 | cpu = <&CPU6>; |
| 75 | }; |
| 76 | core7 { |
| 77 | cpu = <&CPU7>; |
| 78 | }; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 79 | }; |
| 80 | }; |
| 81 | |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 82 | /* |
| 83 | * The timings below are just to demonstrate working cpuidle. |
| 84 | * These values may be inaccurate. |
| 85 | */ |
| 86 | idle-states { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 87 | entry-method = "psci"; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 88 | |
| 89 | CPU_SLEEP_0: cpu-sleep-0 { |
| 90 | compatible = "arm,idle-state"; |
| 91 | arm,psci-suspend-param = <0x0010000>; |
| 92 | local-timer-stop; |
| 93 | entry-latency-us = <300>; |
| 94 | exit-latency-us = <1200>; |
| 95 | min-residency-us = <2000>; |
| 96 | }; |
| 97 | CLUSTER_SLEEP_0: cluster-sleep-0 { |
| 98 | compatible = "arm,idle-state"; |
| 99 | arm,psci-suspend-param = <0x1010000>; |
| 100 | local-timer-stop; |
| 101 | entry-latency-us = <400>; |
| 102 | exit-latency-us = <1200>; |
| 103 | min-residency-us = <2500>; |
| 104 | }; |
| 105 | }; |
| 106 | |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 107 | amus { |
| 108 | amu: amu-0 { |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
| 111 | |
| 112 | mpmm_gear0: counter@0 { |
| 113 | reg = <0>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 114 | enable-at-el3; |
| 115 | }; |
| 116 | |
| 117 | mpmm_gear1: counter@1 { |
| 118 | reg = <1>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 119 | enable-at-el3; |
| 120 | }; |
| 121 | |
| 122 | mpmm_gear2: counter@2 { |
| 123 | reg = <2>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 124 | enable-at-el3; |
| 125 | }; |
| 126 | }; |
| 127 | }; |
| 128 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 129 | CPU0:cpu@0 { |
| 130 | device_type = "cpu"; |
| 131 | compatible = "arm,armv8"; |
| 132 | reg = <0x0>; |
| 133 | enable-method = "psci"; |
| 134 | clocks = <&scmi_dvfs 0>; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 135 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 136 | capacity-dmips-mhz = <LIT_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 137 | amu = <&amu>; |
| 138 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 139 | }; |
| 140 | |
| 141 | CPU1:cpu@100 { |
| 142 | device_type = "cpu"; |
| 143 | compatible = "arm,armv8"; |
| 144 | reg = <0x100>; |
| 145 | enable-method = "psci"; |
| 146 | clocks = <&scmi_dvfs 0>; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 147 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 148 | capacity-dmips-mhz = <LIT_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 149 | amu = <&amu>; |
| 150 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 151 | }; |
| 152 | |
| 153 | CPU2:cpu@200 { |
| 154 | device_type = "cpu"; |
| 155 | compatible = "arm,armv8"; |
| 156 | reg = <0x200>; |
| 157 | enable-method = "psci"; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 158 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 159 | amu = <&amu>; |
| 160 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | CPU3:cpu@300 { |
| 164 | device_type = "cpu"; |
| 165 | compatible = "arm,armv8"; |
| 166 | reg = <0x300>; |
| 167 | enable-method = "psci"; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 168 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 169 | amu = <&amu>; |
| 170 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 171 | }; |
| 172 | |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 173 | CPU4:cpu@400 { |
| 174 | device_type = "cpu"; |
| 175 | compatible = "arm,armv8"; |
| 176 | reg = <0x400>; |
| 177 | enable-method = "psci"; |
Usama Arif | 75edb75 | 2021-02-03 15:40:46 +0000 | [diff] [blame] | 178 | clocks = <&scmi_dvfs 1>; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 179 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 180 | capacity-dmips-mhz = <MID_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 181 | amu = <&amu>; |
| 182 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 183 | }; |
| 184 | |
| 185 | CPU5:cpu@500 { |
| 186 | device_type = "cpu"; |
| 187 | compatible = "arm,armv8"; |
| 188 | reg = <0x500>; |
| 189 | enable-method = "psci"; |
Usama Arif | 75edb75 | 2021-02-03 15:40:46 +0000 | [diff] [blame] | 190 | clocks = <&scmi_dvfs 1>; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 191 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 192 | capacity-dmips-mhz = <MID_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 193 | amu = <&amu>; |
| 194 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 195 | }; |
| 196 | |
| 197 | CPU6:cpu@600 { |
| 198 | device_type = "cpu"; |
| 199 | compatible = "arm,armv8"; |
| 200 | reg = <0x600>; |
| 201 | enable-method = "psci"; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 202 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 203 | amu = <&amu>; |
| 204 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 205 | }; |
| 206 | |
| 207 | CPU7:cpu@700 { |
| 208 | device_type = "cpu"; |
| 209 | compatible = "arm,armv8"; |
| 210 | reg = <0x700>; |
| 211 | enable-method = "psci"; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 212 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 213 | amu = <&amu>; |
| 214 | supports-mpmm; |
| 215 | }; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 216 | }; |
| 217 | |
Arunachalam Ganapathy | 948bb44 | 2020-12-14 12:31:32 +0000 | [diff] [blame] | 218 | reserved-memory { |
| 219 | #address-cells = <2>; |
| 220 | #size-cells = <2>; |
| 221 | ranges; |
| 222 | |
Anders Dellien | a6c9b72 | 2021-12-08 21:57:21 +0000 | [diff] [blame] | 223 | linux,cma { |
| 224 | compatible = "shared-dma-pool"; |
| 225 | reusable; |
| 226 | size = <0x0 0x8000000>; |
| 227 | linux,cma-default; |
| 228 | }; |
| 229 | |
Boyan Karatotev | 88309be | 2023-12-04 16:12:08 +0000 | [diff] [blame] | 230 | optee { |
Davidson K | 4662a88 | 2022-12-14 17:38:14 +0530 | [diff] [blame] | 231 | compatible = "restricted-dma-pool"; |
Boyan Karatotev | 88309be | 2023-12-04 16:12:08 +0000 | [diff] [blame] | 232 | reg = <0x0 TC_NS_OPTEE_BASE 0x0 TC_NS_OPTEE_SIZE>; |
Arunachalam Ganapathy | 948bb44 | 2020-12-14 12:31:32 +0000 | [diff] [blame] | 233 | }; |
Tudor Cretu | 77b301a | 2021-09-24 12:09:53 +0000 | [diff] [blame] | 234 | |
Arunachalam Ganapathy | 948bb44 | 2020-12-14 12:31:32 +0000 | [diff] [blame] | 235 | }; |
| 236 | |
Boyan Karatotev | a439dfd | 2023-12-04 16:09:14 +0000 | [diff] [blame] | 237 | memory { |
| 238 | device_type = "memory"; |
| 239 | reg = <0x0 TC_NS_DRAM1_BASE 0x0 TC_NS_DRAM1_SIZE>, |
| 240 | <HI(PLAT_ARM_DRAM2_BASE) LO(PLAT_ARM_DRAM2_BASE) |
| 241 | HI(TC_NS_DRAM2_SIZE) LO(TC_NS_DRAM2_SIZE)>; |
| 242 | }; |
| 243 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 244 | psci { |
Usama Arif | 7a64bfa | 2021-05-27 20:09:17 +0100 | [diff] [blame] | 245 | compatible = "arm,psci-1.0", "arm,psci-0.2"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 246 | method = "smc"; |
| 247 | }; |
| 248 | |
Jagdish Gediya | 9247a60 | 2024-04-24 15:20:21 +0100 | [diff] [blame] | 249 | cpu-pmu-little { |
| 250 | compatible = LIT_CPU_PMU_COMPATIBLE; |
| 251 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition_little>; |
| 252 | status = "okay"; |
| 253 | }; |
| 254 | |
| 255 | cpu-pmu-mid { |
| 256 | compatible = MID_CPU_PMU_COMPATIBLE; |
| 257 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition_mid>; |
| 258 | status = "okay"; |
| 259 | }; |
| 260 | |
| 261 | cpu-pmu-big { |
| 262 | compatible = BIG_CPU_PMU_COMPATIBLE; |
| 263 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH &ppi_partition_big>; |
| 264 | status = "okay"; |
Boyan Karatotev | 4fef47c | 2023-11-15 11:29:59 +0000 | [diff] [blame] | 265 | }; |
| 266 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 267 | sram: sram@6000000 { |
| 268 | compatible = "mmio-sram"; |
Boyan Karatotev | a439dfd | 2023-12-04 16:09:14 +0000 | [diff] [blame] | 269 | reg = <0x0 PLAT_ARM_NSRAM_BASE 0x0 PLAT_ARM_NSRAM_SIZE>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 270 | |
| 271 | #address-cells = <1>; |
| 272 | #size-cells = <1>; |
Boyan Karatotev | a439dfd | 2023-12-04 16:09:14 +0000 | [diff] [blame] | 273 | ranges = <0 0x0 PLAT_ARM_NSRAM_BASE PLAT_ARM_NSRAM_SIZE>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 274 | |
Boyan Karatotev | 102554c | 2024-04-19 12:27:46 +0100 | [diff] [blame] | 275 | cpu_scp_scmi_a2p: scp-shmem@0 { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 276 | compatible = "arm,scmi-shmem"; |
| 277 | reg = <0x0 0x80>; |
| 278 | }; |
| 279 | }; |
| 280 | |
Leo Yan | bd7dc05 | 2024-04-15 09:05:34 +0100 | [diff] [blame] | 281 | mbox_db_rx: mhu@MHU_RX_ADDR { |
Boyan Karatotev | cd2b4cc | 2024-04-24 10:09:18 +0100 | [diff] [blame] | 282 | compatible = MHU_RX_COMPAT; |
| 283 | reg = <0x0 ADDRESSIFY(MHU_RX_ADDR) 0x0 MHU_OFFSET>; |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 284 | clocks = <&soc_refclk>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 285 | clock-names = "apb_pclk"; |
Boyan Karatotev | cd2b4cc | 2024-04-24 10:09:18 +0100 | [diff] [blame] | 286 | #mbox-cells = <MHU_MBOX_CELLS>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 287 | interrupts = <GIC_SPI MHU_RX_INT_NUM IRQ_TYPE_LEVEL_HIGH 0>; |
Boyan Karatotev | cd2b4cc | 2024-04-24 10:09:18 +0100 | [diff] [blame] | 288 | interrupt-names = MHU_RX_INT_NAME; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 289 | }; |
| 290 | |
Leo Yan | bd7dc05 | 2024-04-15 09:05:34 +0100 | [diff] [blame] | 291 | mbox_db_tx: mhu@MHU_TX_ADDR { |
Boyan Karatotev | cd2b4cc | 2024-04-24 10:09:18 +0100 | [diff] [blame] | 292 | compatible = MHU_TX_COMPAT; |
| 293 | reg = <0x0 ADDRESSIFY(MHU_TX_ADDR) 0x0 MHU_OFFSET>; |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 294 | clocks = <&soc_refclk>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 295 | clock-names = "apb_pclk"; |
Boyan Karatotev | cd2b4cc | 2024-04-24 10:09:18 +0100 | [diff] [blame] | 296 | #mbox-cells = <MHU_MBOX_CELLS>; |
| 297 | interrupt-names = MHU_TX_INT_NAME; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 298 | }; |
| 299 | |
Boyan Karatotev | fdeb95f | 2024-04-19 13:59:11 +0100 | [diff] [blame] | 300 | firmware { |
| 301 | scmi { |
| 302 | compatible = "arm,scmi"; |
| 303 | mbox-names = "tx", "rx"; |
Boyan Karatotev | fdeb95f | 2024-04-19 13:59:11 +0100 | [diff] [blame] | 304 | #address-cells = <1>; |
| 305 | #size-cells = <0>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 306 | |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 307 | #if TC_SCMI_PD_CTRL_EN |
Boyan Karatotev | fdeb95f | 2024-04-19 13:59:11 +0100 | [diff] [blame] | 308 | scmi_devpd: protocol@11 { |
| 309 | reg = <0x11>; |
| 310 | #power-domain-cells = <1>; |
| 311 | }; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 312 | #endif /* TC_SCMI_PD_CTRL_EN */ |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 313 | |
Boyan Karatotev | fdeb95f | 2024-04-19 13:59:11 +0100 | [diff] [blame] | 314 | scmi_dvfs: protocol@13 { |
| 315 | reg = <0x13>; |
| 316 | #clock-cells = <1>; |
| 317 | }; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 318 | |
Boyan Karatotev | fdeb95f | 2024-04-19 13:59:11 +0100 | [diff] [blame] | 319 | scmi_clk: protocol@14 { |
| 320 | reg = <0x14>; |
| 321 | #clock-cells = <1>; |
| 322 | }; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 323 | }; |
| 324 | }; |
| 325 | |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 326 | gic: interrupt-controller@GIC_CTRL_ADDR { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 327 | compatible = "arm,gic-v3"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 328 | #address-cells = <2>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 329 | #interrupt-cells = <4>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 330 | #size-cells = <2>; |
| 331 | ranges; |
| 332 | interrupt-controller; |
| 333 | reg = <0x0 0x30000000 0 0x10000>, /* GICD */ |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 334 | <0x0 0x30080000 0 GIC_GICR_OFFSET>; /* GICR */ |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 335 | interrupts = <GIC_PPI 0x9 IRQ_TYPE_LEVEL_LOW 0>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 336 | }; |
| 337 | |
| 338 | timer { |
| 339 | compatible = "arm,armv8-timer"; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 340 | interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW 0>, |
| 341 | <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW 0>, |
| 342 | <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW 0>, |
| 343 | <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 344 | }; |
| 345 | |
Jagdish Gediya | c71080f | 2024-04-23 13:46:41 +0100 | [diff] [blame] | 346 | spe-pmu-mid { |
| 347 | compatible = "arm,statistical-profiling-extension-v1"; |
| 348 | interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_HIGH &ppi_partition_mid>; |
| 349 | status = "disabled"; |
| 350 | }; |
| 351 | |
| 352 | spe-pmu-big { |
| 353 | compatible = "arm,statistical-profiling-extension-v1"; |
| 354 | interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_HIGH &ppi_partition_big>; |
| 355 | status = "disabled"; |
| 356 | }; |
| 357 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 358 | soc_refclk: refclk { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 359 | compatible = "fixed-clock"; |
| 360 | #clock-cells = <0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 361 | clock-frequency = <1000000000>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 362 | clock-output-names = "apb_pclk"; |
| 363 | }; |
| 364 | |
| 365 | soc_refclk60mhz: refclk60mhz { |
| 366 | compatible = "fixed-clock"; |
| 367 | #clock-cells = <0>; |
| 368 | clock-frequency = <60000000>; |
| 369 | clock-output-names = "iofpga_clk"; |
| 370 | }; |
| 371 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 372 | soc_uartclk: uartclk { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 373 | compatible = "fixed-clock"; |
| 374 | #clock-cells = <0>; |
Jagdish Gediya | 60e09fb | 2024-06-28 11:00:18 +0000 | [diff] [blame] | 375 | clock-frequency = <TC_UARTCLK>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 376 | clock-output-names = "uartclk"; |
| 377 | }; |
| 378 | |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 379 | /* soc_uart0 on FPGA, ap_ns_uart on FVP */ |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 380 | os_uart: serial@2a400000 { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 381 | compatible = "arm,pl011", "arm,primecell"; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 382 | reg = <0x0 0x2A400000 0x0 UART_OFFSET>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 383 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH 0>; |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 384 | clocks = <&soc_uartclk>, <&soc_refclk>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 385 | clock-names = "uartclk", "apb_pclk"; |
| 386 | status = "okay"; |
| 387 | }; |
Leo Yan | 9add671 | 2024-04-24 10:03:50 +0100 | [diff] [blame] | 388 | |
| 389 | #if !TC_DPU_USE_SCMI_CLK |
| 390 | dpu_aclk: dpu_aclk { |
| 391 | compatible = "fixed-clock"; |
| 392 | #clock-cells = <0>; |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 393 | clock-frequency = <LCD_TIMING_CLK>; |
Leo Yan | 9add671 | 2024-04-24 10:03:50 +0100 | [diff] [blame] | 394 | clock-output-names = "fpga:dpu_aclk"; |
| 395 | }; |
| 396 | |
| 397 | dpu_pixel_clk: dpu-pixel-clk { |
| 398 | compatible = "fixed-clock"; |
| 399 | #clock-cells = <0>; |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 400 | clock-frequency = <LCD_TIMING_CLK>; |
Leo Yan | 9add671 | 2024-04-24 10:03:50 +0100 | [diff] [blame] | 401 | clock-output-names = "pxclk"; |
| 402 | }; |
| 403 | #endif /* !TC_DPU_USE_SCMI_CLK */ |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 404 | |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 405 | #if TC_DPU_USE_SIMPLE_PANEL |
| 406 | vpanel { |
| 407 | compatible = "panel-dpi"; |
| 408 | post-init-providers = <&pl0>; |
| 409 | port { |
| 410 | lcd_in: endpoint { |
| 411 | remote-endpoint = <&dp_pl0_out0>; |
| 412 | }; |
| 413 | }; |
| 414 | |
| 415 | panel-timing { |
| 416 | LCD_TIMING; |
| 417 | }; |
| 418 | }; |
| 419 | |
| 420 | #else |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 421 | vencoder { |
| 422 | compatible = "drm,virtual-encoder"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 423 | port { |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 424 | lcd_in: endpoint { |
Avinash Mehta | df71a60 | 2020-07-22 16:40:07 +0100 | [diff] [blame] | 425 | remote-endpoint = <&dp_pl0_out0>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 426 | }; |
| 427 | }; |
| 428 | |
| 429 | display-timings { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 430 | timing-panel { |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 431 | LCD_TIMING; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 432 | }; |
| 433 | }; |
| 434 | |
| 435 | }; |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 436 | #endif |
Jackson Cooper-Driver | 6141897 | 2024-04-24 10:27:58 +0100 | [diff] [blame] | 437 | ethernet: ethernet@ETHERNET_ADDR { |
| 438 | reg = <0x0 ADDRESSIFY(ETHERNET_ADDR) 0x0 0x10000>; |
| 439 | interrupts = <GIC_SPI ETHERNET_INT IRQ_TYPE_LEVEL_HIGH 0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 440 | |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 441 | reg-io-width = <2>; |
| 442 | smsc,irq-push-pull; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 443 | }; |
| 444 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 445 | bp_clock24mhz: clock24mhz { |
| 446 | compatible = "fixed-clock"; |
| 447 | #clock-cells = <0>; |
| 448 | clock-frequency = <24000000>; |
| 449 | clock-output-names = "bp:clock24mhz"; |
| 450 | }; |
| 451 | |
Jackson Cooper-Driver | 6141897 | 2024-04-24 10:27:58 +0100 | [diff] [blame] | 452 | sysreg: sysreg@SYS_REGS_ADDR { |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 453 | compatible = "arm,vexpress-sysreg"; |
Jackson Cooper-Driver | 6141897 | 2024-04-24 10:27:58 +0100 | [diff] [blame] | 454 | reg = <0x0 ADDRESSIFY(SYS_REGS_ADDR) 0x0 0x1000>; |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 455 | gpio-controller; |
| 456 | #gpio-cells = <2>; |
| 457 | }; |
| 458 | |
| 459 | fixed_3v3: v2m-3v3 { |
| 460 | compatible = "regulator-fixed"; |
| 461 | regulator-name = "3V3"; |
| 462 | regulator-min-microvolt = <3300000>; |
| 463 | regulator-max-microvolt = <3300000>; |
| 464 | regulator-always-on; |
| 465 | }; |
| 466 | |
Jackson Cooper-Driver | 6141897 | 2024-04-24 10:27:58 +0100 | [diff] [blame] | 467 | mmci: mmci@MMC_ADDR { |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 468 | compatible = "arm,pl180", "arm,primecell"; |
Jackson Cooper-Driver | 6141897 | 2024-04-24 10:27:58 +0100 | [diff] [blame] | 469 | reg = <0x0 ADDRESSIFY(MMC_ADDR) 0x0 0x1000>; |
| 470 | interrupts = <GIC_SPI MMC_INT_0 IRQ_TYPE_LEVEL_HIGH 0>, |
| 471 | <GIC_SPI MMC_INT_1 IRQ_TYPE_LEVEL_HIGH 0>; |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 472 | wp-gpios = <&sysreg 1 0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 473 | bus-width = <4>; |
| 474 | max-frequency = <25000000>; |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 475 | vmmc-supply = <&fixed_3v3>; |
| 476 | clocks = <&bp_clock24mhz>, <&bp_clock24mhz>; |
| 477 | clock-names = "mclk", "apb_pclk"; |
| 478 | }; |
| 479 | |
Rupinderjit Singh | b2a75b8 | 2023-02-03 09:29:57 +0000 | [diff] [blame] | 480 | gpu_clk: gpu_clk { |
| 481 | compatible = "fixed-clock"; |
| 482 | #clock-cells = <0>; |
| 483 | clock-frequency = <1000000000>; |
| 484 | }; |
| 485 | |
| 486 | gpu_core_clk: gpu_core_clk { |
| 487 | compatible = "fixed-clock"; |
| 488 | #clock-cells = <0>; |
| 489 | clock-frequency = <1000000000>; |
| 490 | }; |
| 491 | |
Anders Dellien | 7a84980 | 2022-01-01 21:51:21 +0000 | [diff] [blame] | 492 | gpu: gpu@2d000000 { |
| 493 | compatible = "arm,mali-midgard"; |
| 494 | reg = <0x0 0x2d000000 0x0 0x200000>; |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 495 | clocks = <&gpu_core_clk>; |
| 496 | clock-names = "shadercores"; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 497 | #if TC_SCMI_PD_CTRL_EN |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 498 | power-domains = <&scmi_devpd GPU_SCMI_PD_IDX>; |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 499 | scmi-perf-domain = <3>; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 500 | #endif /* TC_SCMI_PD_CTRL_EN */ |
| 501 | |
Angel Rodriguez Garcia | 62c1203 | 2023-12-21 10:11:13 +0000 | [diff] [blame] | 502 | pbha { |
| 503 | int-id-override = <0 0x22>, <2 0x23>, <4 0x23>, <7 0x22>, |
| 504 | <8 0x22>, <9 0x22>, <10 0x22>, <11 0x22>, |
| 505 | <12 0x22>, <13 0x22>, <16 0x22>, <17 0x32>, |
| 506 | <18 0x32>, <19 0x22>, <20 0x22>, <21 0x32>, |
| 507 | <22 0x32>, <24 0x22>, <28 0x32>; |
| 508 | propagate-bits = <0x0f>; |
| 509 | }; |
Anders Dellien | 7a84980 | 2022-01-01 21:51:21 +0000 | [diff] [blame] | 510 | }; |
| 511 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 512 | power_model_simple { |
Rupinderjit Singh | b2a75b8 | 2023-02-03 09:29:57 +0000 | [diff] [blame] | 513 | /* |
| 514 | * Numbers used are irrelevant to Titan, |
| 515 | * it helps suppressing the kernel warnings. |
| 516 | */ |
| 517 | compatible = "arm,mali-simple-power-model"; |
| 518 | static-coefficient = <2427750>; |
| 519 | dynamic-coefficient = <4687>; |
| 520 | ts = <20000 2000 (-20) 2>; |
| 521 | thermal-zone = ""; |
| 522 | }; |
| 523 | |
Ben Horgan | 303c3ce | 2024-06-04 13:22:53 +0100 | [diff] [blame] | 524 | smmu_600: smmu@2ce00000 { |
| 525 | compatible = "arm,smmu-v3"; |
| 526 | reg = <0 0x2ce00000 0 0x20000>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 527 | interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING 0>, |
| 528 | <GIC_SPI 74 IRQ_TYPE_EDGE_RISING 0>, |
| 529 | <GIC_SPI 76 IRQ_TYPE_EDGE_RISING 0>, |
| 530 | <GIC_SPI 77 IRQ_TYPE_EDGE_RISING 0>; |
Ben Horgan | 303c3ce | 2024-06-04 13:22:53 +0100 | [diff] [blame] | 531 | interrupt-names = "eventq", "priq", "cmdq-sync", "gerror"; |
| 532 | #iommu-cells = <1>; |
| 533 | status = "disabled"; |
| 534 | }; |
| 535 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 536 | smmu_700: iommu@3f000000 { |
Anders Dellien | a191413 | 2022-01-01 21:56:25 +0000 | [diff] [blame] | 537 | #iommu-cells = <1>; |
| 538 | compatible = "arm,smmu-v3"; |
Davidson K | ce63312 | 2022-11-21 17:49:51 +0530 | [diff] [blame] | 539 | reg = <0x0 0x3f000000 0x0 0x5000000>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 540 | interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING 0>, |
| 541 | <GIC_SPI 229 IRQ_TYPE_EDGE_RISING 0>, |
| 542 | <GIC_SPI 230 IRQ_TYPE_EDGE_RISING 0>; |
Kshitij Sisodia | b32a8f4 | 2023-08-16 09:46:05 +0100 | [diff] [blame] | 543 | interrupt-names = "eventq", "cmdq-sync", "gerror"; |
Davidson K | ce63312 | 2022-11-21 17:49:51 +0530 | [diff] [blame] | 544 | dma-coherent; |
Leo Yan | 983fd45 | 2024-06-04 12:51:12 +0100 | [diff] [blame] | 545 | status = "disabled"; |
Anders Dellien | a191413 | 2022-01-01 21:56:25 +0000 | [diff] [blame] | 546 | }; |
| 547 | |
Jackson Cooper-Driver | ce5b903 | 2024-06-04 13:15:00 +0100 | [diff] [blame] | 548 | smmu_700_dpu: iommu@4002a00000 { |
| 549 | #iommu-cells = <1>; |
| 550 | compatible = "arm,smmu-v3"; |
| 551 | reg = <HI(0x4002a00000) LO(0x4002a00000) 0x0 0x5000000>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 552 | interrupts = <GIC_SPI 481 IRQ_TYPE_EDGE_RISING 0>, |
| 553 | <GIC_SPI 482 IRQ_TYPE_EDGE_RISING 0>, |
| 554 | <GIC_SPI 483 IRQ_TYPE_EDGE_RISING 0>; |
Jackson Cooper-Driver | ce5b903 | 2024-06-04 13:15:00 +0100 | [diff] [blame] | 555 | interrupt-names = "eventq", "cmdq-sync", "gerror"; |
| 556 | dma-coherent; |
| 557 | status = "disabled"; |
| 558 | }; |
| 559 | |
Leo Yan | bd7dc05 | 2024-04-15 09:05:34 +0100 | [diff] [blame] | 560 | dp0: display@DPU_ADDR { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 561 | #address-cells = <1>; |
| 562 | #size-cells = <0>; |
| 563 | compatible = "arm,mali-d71"; |
Leo Yan | bd7dc05 | 2024-04-15 09:05:34 +0100 | [diff] [blame] | 564 | reg = <HI(ADDRESSIFY(DPU_ADDR)) LO(ADDRESSIFY(DPU_ADDR)) 0 0x20000>; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 565 | interrupts = <GIC_SPI DPU_IRQ IRQ_TYPE_LEVEL_HIGH 0>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 566 | interrupt-names = "DPU"; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 567 | DPU_CLK_ATTR1; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame] | 568 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 569 | pl0: pipeline@0 { |
| 570 | reg = <0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 571 | DPU_CLK_ATTR2; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 572 | pl_id = <0>; |
| 573 | ports { |
| 574 | #address-cells = <1>; |
| 575 | #size-cells = <0>; |
| 576 | port@0 { |
| 577 | reg = <0>; |
| 578 | dp_pl0_out0: endpoint { |
Jagdish Gediya | 9bf91b2 | 2024-04-19 13:16:36 +0000 | [diff] [blame] | 579 | remote-endpoint = <&lcd_in>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 580 | }; |
| 581 | }; |
| 582 | }; |
| 583 | }; |
| 584 | |
| 585 | pl1: pipeline@1 { |
| 586 | reg = <1>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 587 | DPU_CLK_ATTR3; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 588 | pl_id = <1>; |
| 589 | ports { |
| 590 | #address-cells = <1>; |
| 591 | #size-cells = <0>; |
| 592 | port@0 { |
| 593 | reg = <0>; |
| 594 | }; |
| 595 | }; |
| 596 | }; |
| 597 | }; |
Arunachalam Ganapathy | c44e43d | 2020-11-17 15:05:01 +0000 | [diff] [blame] | 598 | |
Davidson K | 1ad2c41 | 2023-01-13 14:02:13 +0530 | [diff] [blame] | 599 | /* |
| 600 | * L3 cache in the DSU is the Memory System Component (MSC) |
| 601 | * The MPAM registers are accessed through utility bus in the DSU |
| 602 | */ |
Jackson Cooper-Driver | 2e96232 | 2024-08-28 11:46:35 +0100 | [diff] [blame] | 603 | dsu-msc0 { |
Davidson K | 1ad2c41 | 2023-01-13 14:02:13 +0530 | [diff] [blame] | 604 | compatible = "arm,mpam-msc"; |
Jackson Cooper-Driver | 2e96232 | 2024-08-28 11:46:35 +0100 | [diff] [blame] | 605 | reg = <DSU_MPAM_ADDR 0x0 0x2000>; |
Davidson K | 1ad2c41 | 2023-01-13 14:02:13 +0530 | [diff] [blame] | 606 | }; |
| 607 | |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 608 | ete0 { |
| 609 | compatible = "arm,embedded-trace-extension"; |
| 610 | cpu = <&CPU0>; |
| 611 | }; |
| 612 | |
| 613 | ete1 { |
| 614 | compatible = "arm,embedded-trace-extension"; |
| 615 | cpu = <&CPU1>; |
| 616 | }; |
| 617 | |
| 618 | ete2 { |
| 619 | compatible = "arm,embedded-trace-extension"; |
| 620 | cpu = <&CPU2>; |
| 621 | }; |
| 622 | |
| 623 | ete3 { |
| 624 | compatible = "arm,embedded-trace-extension"; |
| 625 | cpu = <&CPU3>; |
| 626 | }; |
| 627 | |
| 628 | ete4 { |
| 629 | compatible = "arm,embedded-trace-extension"; |
| 630 | cpu = <&CPU4>; |
| 631 | }; |
| 632 | |
| 633 | ete5 { |
| 634 | compatible = "arm,embedded-trace-extension"; |
| 635 | cpu = <&CPU5>; |
| 636 | }; |
| 637 | |
| 638 | ete6 { |
| 639 | compatible = "arm,embedded-trace-extension"; |
| 640 | cpu = <&CPU6>; |
| 641 | }; |
| 642 | |
| 643 | ete7 { |
| 644 | compatible = "arm,embedded-trace-extension"; |
| 645 | cpu = <&CPU7>; |
| 646 | }; |
| 647 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 648 | trbe { |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 649 | compatible = "arm,trace-buffer-extension"; |
Jagdish Gediya | bd6755d | 2024-04-23 12:06:47 +0100 | [diff] [blame] | 650 | interrupts = <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW 0>; |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 651 | }; |
Arunachalam Ganapathy | 63128dc | 2022-04-11 14:43:15 +0100 | [diff] [blame] | 652 | |
| 653 | trusty { |
| 654 | #size-cells = <0x02>; |
| 655 | #address-cells = <0x02>; |
| 656 | ranges = <0x00>; |
| 657 | compatible = "android,trusty-v1"; |
| 658 | |
| 659 | virtio { |
| 660 | compatible = "android,trusty-virtio-v1"; |
| 661 | }; |
| 662 | |
| 663 | test { |
| 664 | compatible = "android,trusty-test-v1"; |
| 665 | }; |
| 666 | |
| 667 | log { |
| 668 | compatible = "android,trusty-log-v1"; |
| 669 | }; |
| 670 | |
| 671 | irq { |
| 672 | ipi-range = <0x08 0x0f 0x08>; |
| 673 | interrupt-ranges = <0x00 0x0f 0x00 0x10 0x1f 0x01 0x20 0x3f 0x02>; |
| 674 | interrupt-templates = <0x01 0x00 0x8001 0x01 0x01 0x04 0x8001 0x01 0x00 0x04>; |
| 675 | compatible = "android,trusty-irq-v1"; |
| 676 | }; |
| 677 | }; |
Boyan Karatotev | d2ca287 | 2023-11-28 16:08:52 +0000 | [diff] [blame] | 678 | |
| 679 | /* used in U-boot, Linux doesn't care */ |
| 680 | arm_ffa { |
| 681 | compatible = "arm,ffa"; |
| 682 | method = "smc"; |
| 683 | }; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 684 | }; |