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