Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Sudeep Holla | d29e849c | 2017-01-17 10:20:59 +0000 | [diff] [blame] | 2 | #include "juno-clocks.dtsi" |
Sudeep Holla | 349b0f9 | 2018-05-09 17:30:38 +0100 | [diff] [blame] | 3 | #include "juno-motherboard.dtsi" |
Sudeep Holla | d29e849c | 2017-01-17 10:20:59 +0000 | [diff] [blame] | 4 | |
| 5 | / { |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 6 | /* |
| 7 | * Devices shared by all Juno boards |
| 8 | */ |
| 9 | |
Liviu Dudau | 7950235 | 2015-03-10 15:21:23 +0000 | [diff] [blame] | 10 | memtimer: timer@2a810000 { |
| 11 | compatible = "arm,armv7-timer-mem"; |
| 12 | reg = <0x0 0x2a810000 0x0 0x10000>; |
| 13 | clock-frequency = <50000000>; |
| 14 | #address-cells = <2>; |
| 15 | #size-cells = <2>; |
| 16 | ranges; |
| 17 | status = "disabled"; |
| 18 | frame@2a830000 { |
| 19 | frame-number = <1>; |
Sudeep Holla | ef97271 | 2019-01-25 17:49:53 +0000 | [diff] [blame] | 20 | interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; |
Liviu Dudau | 7950235 | 2015-03-10 15:21:23 +0000 | [diff] [blame] | 21 | reg = <0x0 0x2a830000 0x0 0x10000>; |
| 22 | }; |
| 23 | }; |
| 24 | |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 25 | mailbox: mhu@2b1f0000 { |
| 26 | compatible = "arm,mhu", "arm,primecell"; |
| 27 | reg = <0x0 0x2b1f0000 0x0 0x1000>; |
| 28 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, |
| 29 | <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 30 | interrupt-names = "mhu_lpri_rx", |
| 31 | "mhu_hpri_rx"; |
| 32 | #mbox-cells = <1>; |
| 33 | clocks = <&soc_refclk100mhz>; |
| 34 | clock-names = "apb_pclk"; |
| 35 | }; |
| 36 | |
Robin Murphy | 577dd5d | 2019-09-30 16:24:58 +0100 | [diff] [blame] | 37 | smmu_gpu: iommu@2b400000 { |
| 38 | compatible = "arm,mmu-400", "arm,smmu-v1"; |
| 39 | reg = <0x0 0x2b400000 0x0 0x10000>; |
| 40 | interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, |
| 41 | <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; |
| 42 | #iommu-cells = <1>; |
| 43 | #global-interrupts = <1>; |
| 44 | power-domains = <&scpi_devpd 1>; |
| 45 | dma-coherent; |
| 46 | status = "disabled"; |
| 47 | }; |
| 48 | |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 49 | smmu_pcie: iommu@2b500000 { |
| 50 | compatible = "arm,mmu-401", "arm,smmu-v1"; |
| 51 | reg = <0x0 0x2b500000 0x0 0x10000>; |
| 52 | interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
| 53 | <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
| 54 | #iommu-cells = <1>; |
| 55 | #global-interrupts = <1>; |
| 56 | dma-coherent; |
| 57 | status = "disabled"; |
| 58 | }; |
| 59 | |
| 60 | smmu_etr: iommu@2b600000 { |
| 61 | compatible = "arm,mmu-401", "arm,smmu-v1"; |
| 62 | reg = <0x0 0x2b600000 0x0 0x10000>; |
| 63 | interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, |
| 64 | <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; |
| 65 | #iommu-cells = <1>; |
| 66 | #global-interrupts = <1>; |
| 67 | dma-coherent; |
Robin Murphy | fd47c20 | 2017-01-18 12:12:51 +0000 | [diff] [blame] | 68 | power-domains = <&scpi_devpd 0>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 69 | }; |
| 70 | |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 71 | gic: interrupt-controller@2c010000 { |
| 72 | compatible = "arm,gic-400", "arm,cortex-a15-gic"; |
| 73 | reg = <0x0 0x2c010000 0 0x1000>, |
| 74 | <0x0 0x2c02f000 0 0x2000>, |
| 75 | <0x0 0x2c04f000 0 0x2000>, |
| 76 | <0x0 0x2c06f000 0 0x2000>; |
Liviu Dudau | 9e6f374 | 2015-03-26 12:16:31 +0000 | [diff] [blame] | 77 | #address-cells = <2>; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 78 | #interrupt-cells = <3>; |
Liviu Dudau | 9e6f374 | 2015-03-26 12:16:31 +0000 | [diff] [blame] | 79 | #size-cells = <2>; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 80 | interrupt-controller; |
| 81 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; |
Liviu Dudau | 9e6f374 | 2015-03-26 12:16:31 +0000 | [diff] [blame] | 82 | ranges = <0 0 0 0x2c1c0000 0 0x40000>; |
Robin Murphy | 20fd17f | 2018-02-07 14:32:55 +0000 | [diff] [blame] | 83 | |
Liviu Dudau | 9e6f374 | 2015-03-26 12:16:31 +0000 | [diff] [blame] | 84 | v2m_0: v2m@0 { |
| 85 | compatible = "arm,gic-v2m-frame"; |
| 86 | msi-controller; |
Sudeep Holla | 3f50981 | 2018-02-26 12:21:11 +0000 | [diff] [blame] | 87 | reg = <0 0 0 0x10000>; |
Liviu Dudau | 9e6f374 | 2015-03-26 12:16:31 +0000 | [diff] [blame] | 88 | }; |
Robin Murphy | 20fd17f | 2018-02-07 14:32:55 +0000 | [diff] [blame] | 89 | |
| 90 | v2m@10000 { |
| 91 | compatible = "arm,gic-v2m-frame"; |
| 92 | msi-controller; |
Sudeep Holla | 3f50981 | 2018-02-26 12:21:11 +0000 | [diff] [blame] | 93 | reg = <0 0x10000 0 0x10000>; |
Robin Murphy | 20fd17f | 2018-02-07 14:32:55 +0000 | [diff] [blame] | 94 | }; |
| 95 | |
| 96 | v2m@20000 { |
| 97 | compatible = "arm,gic-v2m-frame"; |
| 98 | msi-controller; |
Sudeep Holla | 3f50981 | 2018-02-26 12:21:11 +0000 | [diff] [blame] | 99 | reg = <0 0x20000 0 0x10000>; |
Robin Murphy | 20fd17f | 2018-02-07 14:32:55 +0000 | [diff] [blame] | 100 | }; |
| 101 | |
| 102 | v2m@30000 { |
| 103 | compatible = "arm,gic-v2m-frame"; |
| 104 | msi-controller; |
Sudeep Holla | 3f50981 | 2018-02-26 12:21:11 +0000 | [diff] [blame] | 105 | reg = <0 0x30000 0 0x10000>; |
Robin Murphy | 20fd17f | 2018-02-07 14:32:55 +0000 | [diff] [blame] | 106 | }; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | timer { |
| 110 | compatible = "arm,armv8-timer"; |
| 111 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
| 112 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
| 113 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
| 114 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>; |
| 115 | }; |
| 116 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 117 | /* |
| 118 | * Juno TRMs specify the size for these coresight components as 64K. |
| 119 | * The actual size is just 4K though 64K is reserved. Access to the |
| 120 | * unmapped reserved region results in a DECERR response. |
| 121 | */ |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 122 | etf@20010000 { /* etf0 */ |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 123 | compatible = "arm,coresight-tmc", "arm,primecell"; |
| 124 | reg = <0 0x20010000 0 0x1000>; |
| 125 | |
| 126 | clocks = <&soc_smc50mhz>; |
| 127 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 128 | power-domains = <&scpi_devpd 0>; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 129 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 130 | in-ports { |
| 131 | port { |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 132 | etf0_in_port: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 133 | remote-endpoint = <&main_funnel_out_port>; |
| 134 | }; |
| 135 | }; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 136 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 137 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 138 | out-ports { |
| 139 | port { |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 140 | etf0_out_port: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 141 | }; |
| 142 | }; |
| 143 | }; |
| 144 | }; |
| 145 | |
| 146 | tpiu@20030000 { |
| 147 | compatible = "arm,coresight-tpiu", "arm,primecell"; |
| 148 | reg = <0 0x20030000 0 0x1000>; |
| 149 | |
| 150 | clocks = <&soc_smc50mhz>; |
| 151 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 152 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 153 | in-ports { |
| 154 | port { |
| 155 | tpiu_in_port: endpoint { |
| 156 | remote-endpoint = <&replicator_out_port0>; |
| 157 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 158 | }; |
| 159 | }; |
| 160 | }; |
| 161 | |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 162 | /* main funnel on Juno r0, cssys0 funnel on Juno r1/r2 as per TRM*/ |
| 163 | main_funnel: funnel@20040000 { |
Leo Yan | f37fdc1 | 2019-05-08 10:18:59 +0800 | [diff] [blame] | 164 | compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 165 | reg = <0 0x20040000 0 0x1000>; |
| 166 | |
| 167 | clocks = <&soc_smc50mhz>; |
| 168 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 169 | power-domains = <&scpi_devpd 0>; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 170 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 171 | out-ports { |
| 172 | port { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 173 | main_funnel_out_port: endpoint { |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 174 | remote-endpoint = <&etf0_in_port>; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 175 | }; |
| 176 | }; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 177 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 178 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 179 | main_funnel_in_ports: in-ports { |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | |
| 183 | port@0 { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 184 | reg = <0>; |
| 185 | main_funnel_in_port0: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 186 | remote-endpoint = <&cluster0_funnel_out_port>; |
| 187 | }; |
| 188 | }; |
| 189 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 190 | port@1 { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 191 | reg = <1>; |
| 192 | main_funnel_in_port1: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 193 | remote-endpoint = <&cluster1_funnel_out_port>; |
| 194 | }; |
| 195 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 196 | }; |
| 197 | }; |
| 198 | |
| 199 | etr@20070000 { |
| 200 | compatible = "arm,coresight-tmc", "arm,primecell"; |
| 201 | reg = <0 0x20070000 0 0x1000>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 202 | iommus = <&smmu_etr 0>; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 203 | |
| 204 | clocks = <&soc_smc50mhz>; |
| 205 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 206 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 79daf2a | 2018-09-11 09:47:21 +0100 | [diff] [blame] | 207 | arm,scatter-gather; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 208 | in-ports { |
| 209 | port { |
| 210 | etr_in_port: endpoint { |
| 211 | remote-endpoint = <&replicator_out_port1>; |
| 212 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 213 | }; |
| 214 | }; |
| 215 | }; |
| 216 | |
Mike Leach | cde6f9a | 2017-01-11 20:44:09 +0000 | [diff] [blame] | 217 | stm@20100000 { |
| 218 | compatible = "arm,coresight-stm", "arm,primecell"; |
| 219 | reg = <0 0x20100000 0 0x1000>, |
| 220 | <0 0x28000000 0 0x1000000>; |
| 221 | reg-names = "stm-base", "stm-stimulus-base"; |
| 222 | |
| 223 | clocks = <&soc_smc50mhz>; |
| 224 | clock-names = "apb_pclk"; |
| 225 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 226 | out-ports { |
| 227 | port { |
| 228 | stm_out_port: endpoint { |
| 229 | }; |
Mike Leach | cde6f9a | 2017-01-11 20:44:09 +0000 | [diff] [blame] | 230 | }; |
| 231 | }; |
| 232 | }; |
| 233 | |
Sudeep Holla | 20d00c4 | 2019-01-25 17:50:10 +0000 | [diff] [blame] | 234 | replicator@20120000 { |
| 235 | compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; |
| 236 | reg = <0 0x20120000 0 0x1000>; |
| 237 | |
| 238 | clocks = <&soc_smc50mhz>; |
| 239 | clock-names = "apb_pclk"; |
| 240 | power-domains = <&scpi_devpd 0>; |
| 241 | |
| 242 | out-ports { |
| 243 | #address-cells = <1>; |
| 244 | #size-cells = <0>; |
| 245 | |
| 246 | /* replicator output ports */ |
| 247 | port@0 { |
| 248 | reg = <0>; |
| 249 | replicator_out_port0: endpoint { |
| 250 | remote-endpoint = <&tpiu_in_port>; |
| 251 | }; |
| 252 | }; |
| 253 | |
| 254 | port@1 { |
| 255 | reg = <1>; |
| 256 | replicator_out_port1: endpoint { |
| 257 | remote-endpoint = <&etr_in_port>; |
| 258 | }; |
| 259 | }; |
| 260 | }; |
| 261 | in-ports { |
| 262 | port { |
| 263 | replicator_in_port0: endpoint { |
| 264 | }; |
| 265 | }; |
| 266 | }; |
| 267 | }; |
| 268 | |
Sudeep Holla | 207b6e6 | 2017-08-02 11:26:25 +0100 | [diff] [blame] | 269 | cpu_debug0: cpu-debug@22010000 { |
Suzuki K Poulose | 60f01d7 | 2017-05-19 12:25:57 +0800 | [diff] [blame] | 270 | compatible = "arm,coresight-cpu-debug", "arm,primecell"; |
| 271 | reg = <0x0 0x22010000 0x0 0x1000>; |
| 272 | |
| 273 | clocks = <&soc_smc50mhz>; |
| 274 | clock-names = "apb_pclk"; |
| 275 | power-domains = <&scpi_devpd 0>; |
| 276 | }; |
| 277 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 278 | etm0: etm@22040000 { |
| 279 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 280 | reg = <0 0x22040000 0 0x1000>; |
| 281 | |
| 282 | clocks = <&soc_smc50mhz>; |
| 283 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 284 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 285 | out-ports { |
| 286 | port { |
| 287 | cluster0_etm0_out_port: endpoint { |
| 288 | remote-endpoint = <&cluster0_funnel_in_port0>; |
| 289 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 290 | }; |
| 291 | }; |
| 292 | }; |
| 293 | |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 294 | funnel@220c0000 { /* cluster0 funnel */ |
Leo Yan | f37fdc1 | 2019-05-08 10:18:59 +0800 | [diff] [blame] | 295 | compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 296 | reg = <0 0x220c0000 0 0x1000>; |
| 297 | |
| 298 | clocks = <&soc_smc50mhz>; |
| 299 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 300 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 301 | out-ports { |
| 302 | port { |
| 303 | cluster0_funnel_out_port: endpoint { |
| 304 | remote-endpoint = <&main_funnel_in_port0>; |
| 305 | }; |
| 306 | }; |
| 307 | }; |
| 308 | |
| 309 | in-ports { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 310 | #address-cells = <1>; |
| 311 | #size-cells = <0>; |
| 312 | |
| 313 | port@0 { |
| 314 | reg = <0>; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 315 | cluster0_funnel_in_port0: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 316 | remote-endpoint = <&cluster0_etm0_out_port>; |
| 317 | }; |
| 318 | }; |
| 319 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 320 | port@1 { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 321 | reg = <1>; |
| 322 | cluster0_funnel_in_port1: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 323 | remote-endpoint = <&cluster0_etm1_out_port>; |
| 324 | }; |
| 325 | }; |
| 326 | }; |
| 327 | }; |
| 328 | |
Sudeep Holla | 207b6e6 | 2017-08-02 11:26:25 +0100 | [diff] [blame] | 329 | cpu_debug1: cpu-debug@22110000 { |
Suzuki K Poulose | 60f01d7 | 2017-05-19 12:25:57 +0800 | [diff] [blame] | 330 | compatible = "arm,coresight-cpu-debug", "arm,primecell"; |
| 331 | reg = <0x0 0x22110000 0x0 0x1000>; |
| 332 | |
| 333 | clocks = <&soc_smc50mhz>; |
| 334 | clock-names = "apb_pclk"; |
| 335 | power-domains = <&scpi_devpd 0>; |
| 336 | }; |
| 337 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 338 | etm1: etm@22140000 { |
| 339 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 340 | reg = <0 0x22140000 0 0x1000>; |
| 341 | |
| 342 | clocks = <&soc_smc50mhz>; |
| 343 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 344 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 345 | out-ports { |
| 346 | port { |
| 347 | cluster0_etm1_out_port: endpoint { |
| 348 | remote-endpoint = <&cluster0_funnel_in_port1>; |
| 349 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 350 | }; |
| 351 | }; |
| 352 | }; |
| 353 | |
Sudeep Holla | 207b6e6 | 2017-08-02 11:26:25 +0100 | [diff] [blame] | 354 | cpu_debug2: cpu-debug@23010000 { |
Suzuki K Poulose | 60f01d7 | 2017-05-19 12:25:57 +0800 | [diff] [blame] | 355 | compatible = "arm,coresight-cpu-debug", "arm,primecell"; |
| 356 | reg = <0x0 0x23010000 0x0 0x1000>; |
| 357 | |
| 358 | clocks = <&soc_smc50mhz>; |
| 359 | clock-names = "apb_pclk"; |
| 360 | power-domains = <&scpi_devpd 0>; |
| 361 | }; |
| 362 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 363 | etm2: etm@23040000 { |
| 364 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 365 | reg = <0 0x23040000 0 0x1000>; |
| 366 | |
| 367 | clocks = <&soc_smc50mhz>; |
| 368 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 369 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 370 | out-ports { |
| 371 | port { |
| 372 | cluster1_etm0_out_port: endpoint { |
| 373 | remote-endpoint = <&cluster1_funnel_in_port0>; |
| 374 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 375 | }; |
| 376 | }; |
| 377 | }; |
| 378 | |
Sudeep Holla | 19ac17c | 2017-01-12 11:53:35 +0000 | [diff] [blame] | 379 | funnel@230c0000 { /* cluster1 funnel */ |
Leo Yan | f37fdc1 | 2019-05-08 10:18:59 +0800 | [diff] [blame] | 380 | compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 381 | reg = <0 0x230c0000 0 0x1000>; |
| 382 | |
| 383 | clocks = <&soc_smc50mhz>; |
| 384 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 385 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 386 | out-ports { |
| 387 | port { |
| 388 | cluster1_funnel_out_port: endpoint { |
| 389 | remote-endpoint = <&main_funnel_in_port1>; |
| 390 | }; |
| 391 | }; |
| 392 | }; |
| 393 | |
| 394 | in-ports { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 395 | #address-cells = <1>; |
| 396 | #size-cells = <0>; |
| 397 | |
| 398 | port@0 { |
| 399 | reg = <0>; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 400 | cluster1_funnel_in_port0: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 401 | remote-endpoint = <&cluster1_etm0_out_port>; |
| 402 | }; |
| 403 | }; |
| 404 | |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 405 | port@1 { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 406 | reg = <1>; |
| 407 | cluster1_funnel_in_port1: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 408 | remote-endpoint = <&cluster1_etm1_out_port>; |
| 409 | }; |
| 410 | }; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 411 | port@2 { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 412 | reg = <2>; |
| 413 | cluster1_funnel_in_port2: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 414 | remote-endpoint = <&cluster1_etm2_out_port>; |
| 415 | }; |
| 416 | }; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 417 | port@3 { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 418 | reg = <3>; |
| 419 | cluster1_funnel_in_port3: endpoint { |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 420 | remote-endpoint = <&cluster1_etm3_out_port>; |
| 421 | }; |
| 422 | }; |
| 423 | }; |
| 424 | }; |
| 425 | |
Sudeep Holla | 207b6e6 | 2017-08-02 11:26:25 +0100 | [diff] [blame] | 426 | cpu_debug3: cpu-debug@23110000 { |
Suzuki K Poulose | 60f01d7 | 2017-05-19 12:25:57 +0800 | [diff] [blame] | 427 | compatible = "arm,coresight-cpu-debug", "arm,primecell"; |
| 428 | reg = <0x0 0x23110000 0x0 0x1000>; |
| 429 | |
| 430 | clocks = <&soc_smc50mhz>; |
| 431 | clock-names = "apb_pclk"; |
| 432 | power-domains = <&scpi_devpd 0>; |
| 433 | }; |
| 434 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 435 | etm3: etm@23140000 { |
| 436 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 437 | reg = <0 0x23140000 0 0x1000>; |
| 438 | |
| 439 | clocks = <&soc_smc50mhz>; |
| 440 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 441 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 442 | out-ports { |
| 443 | port { |
| 444 | cluster1_etm1_out_port: endpoint { |
| 445 | remote-endpoint = <&cluster1_funnel_in_port1>; |
| 446 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 447 | }; |
| 448 | }; |
| 449 | }; |
| 450 | |
Sudeep Holla | 207b6e6 | 2017-08-02 11:26:25 +0100 | [diff] [blame] | 451 | cpu_debug4: cpu-debug@23210000 { |
Suzuki K Poulose | 60f01d7 | 2017-05-19 12:25:57 +0800 | [diff] [blame] | 452 | compatible = "arm,coresight-cpu-debug", "arm,primecell"; |
| 453 | reg = <0x0 0x23210000 0x0 0x1000>; |
| 454 | |
| 455 | clocks = <&soc_smc50mhz>; |
| 456 | clock-names = "apb_pclk"; |
| 457 | power-domains = <&scpi_devpd 0>; |
| 458 | }; |
| 459 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 460 | etm4: etm@23240000 { |
| 461 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 462 | reg = <0 0x23240000 0 0x1000>; |
| 463 | |
| 464 | clocks = <&soc_smc50mhz>; |
| 465 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 466 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 467 | out-ports { |
| 468 | port { |
| 469 | cluster1_etm2_out_port: endpoint { |
| 470 | remote-endpoint = <&cluster1_funnel_in_port2>; |
| 471 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 472 | }; |
| 473 | }; |
| 474 | }; |
| 475 | |
Sudeep Holla | 207b6e6 | 2017-08-02 11:26:25 +0100 | [diff] [blame] | 476 | cpu_debug5: cpu-debug@23310000 { |
Suzuki K Poulose | 60f01d7 | 2017-05-19 12:25:57 +0800 | [diff] [blame] | 477 | compatible = "arm,coresight-cpu-debug", "arm,primecell"; |
| 478 | reg = <0x0 0x23310000 0x0 0x1000>; |
| 479 | |
| 480 | clocks = <&soc_smc50mhz>; |
| 481 | clock-names = "apb_pclk"; |
| 482 | power-domains = <&scpi_devpd 0>; |
| 483 | }; |
| 484 | |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 485 | etm5: etm@23340000 { |
| 486 | compatible = "arm,coresight-etm4x", "arm,primecell"; |
| 487 | reg = <0 0x23340000 0 0x1000>; |
| 488 | |
| 489 | clocks = <&soc_smc50mhz>; |
| 490 | clock-names = "apb_pclk"; |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 491 | power-domains = <&scpi_devpd 0>; |
Suzuki K Poulose | 41af6cbfa | 2018-07-27 11:15:37 +0100 | [diff] [blame] | 492 | out-ports { |
| 493 | port { |
| 494 | cluster1_etm3_out_port: endpoint { |
| 495 | remote-endpoint = <&cluster1_funnel_in_port3>; |
| 496 | }; |
Sudeep Holla | 3e287cf | 2016-06-02 10:18:41 +0100 | [diff] [blame] | 497 | }; |
| 498 | }; |
| 499 | }; |
| 500 | |
Robin Murphy | 577dd5d | 2019-09-30 16:24:58 +0100 | [diff] [blame] | 501 | gpu: gpu@2d000000 { |
| 502 | compatible = "arm,juno-mali", "arm,mali-t624"; |
| 503 | reg = <0 0x2d000000 0 0x10000>; |
| 504 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, |
| 505 | <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>, |
| 506 | <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
| 507 | interrupt-names = "gpu", "job", "mmu"; |
| 508 | clocks = <&scpi_dvfs 2>; |
| 509 | power-domains = <&scpi_devpd 1>; |
| 510 | dma-coherent; |
| 511 | /* The SMMU is only really of interest to bare-metal hypervisors */ |
| 512 | /* iommus = <&smmu_gpu 0>; */ |
| 513 | status = "disabled"; |
| 514 | }; |
| 515 | |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 516 | sram: sram@2e000000 { |
| 517 | compatible = "arm,juno-sram-ns", "mmio-sram"; |
| 518 | reg = <0x0 0x2e000000 0x0 0x8000>; |
| 519 | |
| 520 | #address-cells = <1>; |
| 521 | #size-cells = <1>; |
| 522 | ranges = <0 0x0 0x2e000000 0x8000>; |
| 523 | |
| 524 | cpu_scp_lpri: scp-shmem@0 { |
| 525 | compatible = "arm,juno-scp-shmem"; |
| 526 | reg = <0x0 0x200>; |
| 527 | }; |
| 528 | |
| 529 | cpu_scp_hpri: scp-shmem@200 { |
| 530 | compatible = "arm,juno-scp-shmem"; |
| 531 | reg = <0x200 0x200>; |
| 532 | }; |
| 533 | }; |
| 534 | |
Rob Herring | dc10ef2 | 2017-03-21 21:03:11 -0500 | [diff] [blame] | 535 | pcie_ctlr: pcie@40000000 { |
Sudeep Holla | 36582c6 | 2016-01-11 17:16:08 +0000 | [diff] [blame] | 536 | compatible = "arm,juno-r1-pcie", "plda,xpressrich3-axi", "pci-host-ecam-generic"; |
| 537 | device_type = "pci"; |
| 538 | reg = <0 0x40000000 0 0x10000000>; /* ECAM config space */ |
| 539 | bus-range = <0 255>; |
| 540 | linux,pci-domain = <0>; |
| 541 | #address-cells = <3>; |
| 542 | #size-cells = <2>; |
| 543 | dma-coherent; |
Jeremy Linton | 4c9456d | 2016-11-29 14:45:10 -0600 | [diff] [blame] | 544 | ranges = <0x01000000 0x00 0x00000000 0x00 0x5f800000 0x0 0x00800000>, |
Sudeep Holla | 36582c6 | 2016-01-11 17:16:08 +0000 | [diff] [blame] | 545 | <0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>, |
| 546 | <0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>; |
| 547 | #interrupt-cells = <1>; |
| 548 | interrupt-map-mask = <0 0 0 7>; |
Sudeep Holla | ef97271 | 2019-01-25 17:49:53 +0000 | [diff] [blame] | 549 | interrupt-map = <0 0 0 1 &gic 0 0 GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, |
| 550 | <0 0 0 2 &gic 0 0 GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 551 | <0 0 0 3 &gic 0 0 GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 552 | <0 0 0 4 &gic 0 0 GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
Sudeep Holla | 36582c6 | 2016-01-11 17:16:08 +0000 | [diff] [blame] | 553 | msi-parent = <&v2m_0>; |
| 554 | status = "disabled"; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 555 | iommu-map-mask = <0x0>; /* RC has no means to output PCI RID */ |
| 556 | iommu-map = <0x0 &smmu_pcie 0x0 0x1>; |
Sudeep Holla | 36582c6 | 2016-01-11 17:16:08 +0000 | [diff] [blame] | 557 | }; |
| 558 | |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 559 | scpi { |
| 560 | compatible = "arm,scpi"; |
| 561 | mboxes = <&mailbox 1>; |
| 562 | shmem = <&cpu_scp_hpri>; |
| 563 | |
| 564 | clocks { |
| 565 | compatible = "arm,scpi-clocks"; |
| 566 | |
Sudeep Holla | 6d6acd1 | 2016-03-07 11:26:18 +0000 | [diff] [blame] | 567 | scpi_dvfs: scpi-dvfs { |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 568 | compatible = "arm,scpi-dvfs-clocks"; |
| 569 | #clock-cells = <1>; |
| 570 | clock-indices = <0>, <1>, <2>; |
| 571 | clock-output-names = "atlclk", "aplclk","gpuclk"; |
| 572 | }; |
Sudeep Holla | 6d6acd1 | 2016-03-07 11:26:18 +0000 | [diff] [blame] | 573 | scpi_clk: scpi-clk { |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 574 | compatible = "arm,scpi-variable-clocks"; |
| 575 | #clock-cells = <1>; |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 576 | clock-indices = <3>; |
| 577 | clock-output-names = "pxlclk"; |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 578 | }; |
| 579 | }; |
Punit Agrawal | dfacaf0e | 2015-09-15 17:51:01 +0100 | [diff] [blame] | 580 | |
Sudeep Holla | bdeaa21 | 2016-06-02 10:57:06 +0100 | [diff] [blame] | 581 | scpi_devpd: scpi-power-domains { |
| 582 | compatible = "arm,scpi-power-domains"; |
| 583 | num-domains = <2>; |
| 584 | #power-domain-cells = <1>; |
| 585 | }; |
| 586 | |
Punit Agrawal | dfacaf0e | 2015-09-15 17:51:01 +0100 | [diff] [blame] | 587 | scpi_sensors0: sensors { |
| 588 | compatible = "arm,scpi-sensors"; |
| 589 | #thermal-sensor-cells = <1>; |
| 590 | }; |
Sudeep Holla | ff9a626 | 2015-06-03 14:18:21 +0100 | [diff] [blame] | 591 | }; |
| 592 | |
Javi Merino | f7b636a | 2016-06-13 16:15:15 +0100 | [diff] [blame] | 593 | thermal-zones { |
| 594 | pmic { |
| 595 | polling-delay = <1000>; |
| 596 | polling-delay-passive = <100>; |
| 597 | thermal-sensors = <&scpi_sensors0 0>; |
| 598 | }; |
| 599 | |
| 600 | soc { |
| 601 | polling-delay = <1000>; |
| 602 | polling-delay-passive = <100>; |
| 603 | thermal-sensors = <&scpi_sensors0 3>; |
| 604 | }; |
| 605 | |
Sudeep Holla | 506eeea | 2018-05-09 17:30:38 +0100 | [diff] [blame] | 606 | big_cluster_thermal_zone: big-cluster { |
Javi Merino | f7b636a | 2016-06-13 16:15:15 +0100 | [diff] [blame] | 607 | polling-delay = <1000>; |
| 608 | polling-delay-passive = <100>; |
| 609 | thermal-sensors = <&scpi_sensors0 21>; |
| 610 | status = "disabled"; |
| 611 | }; |
| 612 | |
Sudeep Holla | 506eeea | 2018-05-09 17:30:38 +0100 | [diff] [blame] | 613 | little_cluster_thermal_zone: little-cluster { |
Javi Merino | f7b636a | 2016-06-13 16:15:15 +0100 | [diff] [blame] | 614 | polling-delay = <1000>; |
| 615 | polling-delay-passive = <100>; |
| 616 | thermal-sensors = <&scpi_sensors0 22>; |
| 617 | status = "disabled"; |
| 618 | }; |
| 619 | |
| 620 | gpu0_thermal_zone: gpu0 { |
| 621 | polling-delay = <1000>; |
| 622 | polling-delay-passive = <100>; |
| 623 | thermal-sensors = <&scpi_sensors0 23>; |
| 624 | status = "disabled"; |
| 625 | }; |
| 626 | |
| 627 | gpu1_thermal_zone: gpu1 { |
| 628 | polling-delay = <1000>; |
| 629 | polling-delay-passive = <100>; |
| 630 | thermal-sensors = <&scpi_sensors0 24>; |
| 631 | status = "disabled"; |
| 632 | }; |
| 633 | }; |
| 634 | |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 635 | smmu_dma: iommu@7fb00000 { |
| 636 | compatible = "arm,mmu-401", "arm,smmu-v1"; |
| 637 | reg = <0x0 0x7fb00000 0x0 0x10000>; |
| 638 | interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, |
| 639 | <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; |
| 640 | #iommu-cells = <1>; |
| 641 | #global-interrupts = <1>; |
| 642 | dma-coherent; |
| 643 | status = "disabled"; |
| 644 | }; |
| 645 | |
| 646 | smmu_hdlcd1: iommu@7fb10000 { |
| 647 | compatible = "arm,mmu-401", "arm,smmu-v1"; |
| 648 | reg = <0x0 0x7fb10000 0x0 0x10000>; |
| 649 | interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, |
| 650 | <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; |
| 651 | #iommu-cells = <1>; |
| 652 | #global-interrupts = <1>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 653 | }; |
| 654 | |
| 655 | smmu_hdlcd0: iommu@7fb20000 { |
| 656 | compatible = "arm,mmu-401", "arm,smmu-v1"; |
| 657 | reg = <0x0 0x7fb20000 0x0 0x10000>; |
| 658 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, |
| 659 | <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 660 | #iommu-cells = <1>; |
| 661 | #global-interrupts = <1>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 662 | }; |
| 663 | |
| 664 | smmu_usb: iommu@7fb30000 { |
| 665 | compatible = "arm,mmu-401", "arm,smmu-v1"; |
| 666 | reg = <0x0 0x7fb30000 0x0 0x10000>; |
| 667 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
| 668 | <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
| 669 | #iommu-cells = <1>; |
| 670 | #global-interrupts = <1>; |
| 671 | dma-coherent; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 672 | }; |
| 673 | |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 674 | dma@7ff00000 { |
| 675 | compatible = "arm,pl330", "arm,primecell"; |
| 676 | reg = <0x0 0x7ff00000 0 0x1000>; |
| 677 | #dma-cells = <1>; |
| 678 | #dma-channels = <8>; |
| 679 | #dma-requests = <32>; |
| 680 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, |
| 681 | <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, |
| 682 | <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, |
| 683 | <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, |
Robin Murphy | aeb2ee5 | 2016-01-07 12:01:59 +0000 | [diff] [blame] | 684 | <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 685 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, |
| 686 | <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, |
| 687 | <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, |
| 688 | <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 689 | iommus = <&smmu_dma 0>, |
| 690 | <&smmu_dma 1>, |
| 691 | <&smmu_dma 2>, |
| 692 | <&smmu_dma 3>, |
| 693 | <&smmu_dma 4>, |
| 694 | <&smmu_dma 5>, |
| 695 | <&smmu_dma 6>, |
| 696 | <&smmu_dma 7>, |
| 697 | <&smmu_dma 8>; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 698 | clocks = <&soc_faxiclk>; |
| 699 | clock-names = "apb_pclk"; |
| 700 | }; |
| 701 | |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 702 | hdlcd@7ff50000 { |
| 703 | compatible = "arm,hdlcd"; |
| 704 | reg = <0 0x7ff50000 0 0x1000>; |
| 705 | interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 706 | iommus = <&smmu_hdlcd1 0>; |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 707 | clocks = <&scpi_clk 3>; |
| 708 | clock-names = "pxlclk"; |
| 709 | |
| 710 | port { |
Rob Herring | 6449e4c | 2018-05-08 10:09:49 -0500 | [diff] [blame] | 711 | hdlcd1_output: endpoint { |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 712 | remote-endpoint = <&tda998x_1_input>; |
| 713 | }; |
| 714 | }; |
| 715 | }; |
| 716 | |
| 717 | hdlcd@7ff60000 { |
| 718 | compatible = "arm,hdlcd"; |
| 719 | reg = <0 0x7ff60000 0 0x1000>; |
| 720 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 721 | iommus = <&smmu_hdlcd0 0>; |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 722 | clocks = <&scpi_clk 3>; |
| 723 | clock-names = "pxlclk"; |
| 724 | |
| 725 | port { |
Rob Herring | 6449e4c | 2018-05-08 10:09:49 -0500 | [diff] [blame] | 726 | hdlcd0_output: endpoint { |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 727 | remote-endpoint = <&tda998x_0_input>; |
| 728 | }; |
| 729 | }; |
| 730 | }; |
| 731 | |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 732 | soc_uart0: uart@7ff80000 { |
| 733 | compatible = "arm,pl011", "arm,primecell"; |
| 734 | reg = <0x0 0x7ff80000 0x0 0x1000>; |
| 735 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 736 | clocks = <&soc_uartclk>, <&soc_refclk100mhz>; |
| 737 | clock-names = "uartclk", "apb_pclk"; |
| 738 | }; |
| 739 | |
| 740 | i2c@7ffa0000 { |
| 741 | compatible = "snps,designware-i2c"; |
| 742 | reg = <0x0 0x7ffa0000 0x0 0x1000>; |
| 743 | #address-cells = <1>; |
| 744 | #size-cells = <0>; |
| 745 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 746 | clock-frequency = <400000>; |
| 747 | i2c-sda-hold-time-ns = <500>; |
| 748 | clocks = <&soc_smc50mhz>; |
| 749 | |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 750 | hdmi-transmitter@70 { |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 751 | compatible = "nxp,tda998x"; |
| 752 | reg = <0x70>; |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 753 | port { |
Rob Herring | 6449e4c | 2018-05-08 10:09:49 -0500 | [diff] [blame] | 754 | tda998x_0_input: endpoint { |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 755 | remote-endpoint = <&hdlcd0_output>; |
| 756 | }; |
| 757 | }; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 758 | }; |
| 759 | |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 760 | hdmi-transmitter@71 { |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 761 | compatible = "nxp,tda998x"; |
| 762 | reg = <0x71>; |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 763 | port { |
Rob Herring | 6449e4c | 2018-05-08 10:09:49 -0500 | [diff] [blame] | 764 | tda998x_1_input: endpoint { |
Liviu Dudau | 9fd9288 | 2015-04-02 19:50:29 +0100 | [diff] [blame] | 765 | remote-endpoint = <&hdlcd1_output>; |
| 766 | }; |
| 767 | }; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 768 | }; |
| 769 | }; |
| 770 | |
| 771 | ohci@7ffb0000 { |
| 772 | compatible = "generic-ohci"; |
| 773 | reg = <0x0 0x7ffb0000 0x0 0x10000>; |
| 774 | interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 775 | iommus = <&smmu_usb 0>; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 776 | clocks = <&soc_usb48mhz>; |
| 777 | }; |
| 778 | |
| 779 | ehci@7ffc0000 { |
| 780 | compatible = "generic-ehci"; |
| 781 | reg = <0x0 0x7ffc0000 0x0 0x10000>; |
| 782 | interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; |
Robin Murphy | 2ac1506 | 2016-10-17 13:13:34 +0100 | [diff] [blame] | 783 | iommus = <&smmu_usb 0>; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 784 | clocks = <&soc_usb48mhz>; |
| 785 | }; |
| 786 | |
| 787 | memory-controller@7ffd0000 { |
| 788 | compatible = "arm,pl354", "arm,primecell"; |
| 789 | reg = <0 0x7ffd0000 0 0x1000>; |
| 790 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>, |
| 791 | <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
| 792 | clocks = <&soc_smc50mhz>; |
| 793 | clock-names = "apb_pclk"; |
| 794 | }; |
| 795 | |
| 796 | memory@80000000 { |
| 797 | device_type = "memory"; |
| 798 | /* last 16MB of the first memory area is reserved for secure world use by firmware */ |
| 799 | reg = <0x00000000 0x80000000 0x0 0x7f000000>, |
| 800 | <0x00000008 0x80000000 0x1 0x80000000>; |
| 801 | }; |
| 802 | |
Sudeep Holla | 72cc199 | 2017-04-12 18:26:21 +0100 | [diff] [blame] | 803 | smb@8000000 { |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 804 | compatible = "simple-bus"; |
| 805 | #address-cells = <2>; |
| 806 | #size-cells = <1>; |
| 807 | ranges = <0 0 0 0x08000000 0x04000000>, |
| 808 | <1 0 0 0x14000000 0x04000000>, |
| 809 | <2 0 0 0x18000000 0x04000000>, |
| 810 | <3 0 0 0x1c000000 0x04000000>, |
| 811 | <4 0 0 0x0c000000 0x04000000>, |
| 812 | <5 0 0 0x10000000 0x04000000>; |
| 813 | |
| 814 | #interrupt-cells = <1>; |
| 815 | interrupt-map-mask = <0 0 15>; |
Sudeep Holla | ef97271 | 2019-01-25 17:49:53 +0000 | [diff] [blame] | 816 | interrupt-map = <0 0 0 &gic 0 0 GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 817 | <0 0 1 &gic 0 0 GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, |
| 818 | <0 0 2 &gic 0 0 GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, |
| 819 | <0 0 3 &gic 0 0 GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, |
| 820 | <0 0 4 &gic 0 0 GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
| 821 | <0 0 5 &gic 0 0 GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, |
| 822 | <0 0 6 &gic 0 0 GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, |
| 823 | <0 0 7 &gic 0 0 GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, |
| 824 | <0 0 8 &gic 0 0 GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, |
| 825 | <0 0 9 &gic 0 0 GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, |
| 826 | <0 0 10 &gic 0 0 GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, |
| 827 | <0 0 11 &gic 0 0 GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, |
| 828 | <0 0 12 &gic 0 0 GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; |
Liviu Dudau | e802087 | 2015-03-10 15:18:18 +0000 | [diff] [blame] | 829 | }; |
Brian Starkey | f5f7e45 | 2016-04-14 16:39:19 +0100 | [diff] [blame] | 830 | |
| 831 | site2: tlx@60000000 { |
| 832 | compatible = "simple-bus"; |
| 833 | #address-cells = <1>; |
| 834 | #size-cells = <1>; |
| 835 | ranges = <0 0 0x60000000 0x10000000>; |
| 836 | #interrupt-cells = <1>; |
| 837 | interrupt-map-mask = <0 0>; |
Sudeep Holla | ef97271 | 2019-01-25 17:49:53 +0000 | [diff] [blame] | 838 | interrupt-map = <0 0 &gic 0 0 GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; |
Brian Starkey | f5f7e45 | 2016-04-14 16:39:19 +0100 | [diff] [blame] | 839 | }; |
Sudeep Holla | d29e849c | 2017-01-17 10:20:59 +0000 | [diff] [blame] | 840 | }; |