Leo Yan | 35255f0 | 2024-04-30 11:27:17 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020-2024, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
| 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 10 | #include <dt-bindings/interrupt-controller/irq.h> |
| 11 | #include <platform_def.h> |
| 12 | |
| 13 | #define MHU_TX_ADDR 46240000 /* hex */ |
| 14 | #define MHU_RX_ADDR 46250000 /* hex */ |
| 15 | |
| 16 | #define LIT_CPU_PMU_COMPATIBLE "arm,armv8-pmuv3" |
| 17 | #define MID_CPU_PMU_COMPATIBLE "arm,armv8-pmuv3" |
| 18 | #define BIG_CPU_PMU_COMPATIBLE "arm,armv8-pmuv3" |
| 19 | |
Jackson Cooper-Driver | 6141897 | 2024-04-24 10:27:58 +0100 | [diff] [blame] | 20 | #define ETHERNET_ADDR 64000000 |
| 21 | #define ETHERNET_INT 799 |
| 22 | |
| 23 | #define SYS_REGS_ADDR 60080000 |
| 24 | |
| 25 | #define MMC_ADDR 600b0000 |
| 26 | #define MMC_INT_0 778 |
| 27 | #define MMC_INT_1 779 |
| 28 | |
| 29 | #define RTC_ADDR 600a0000 |
| 30 | #define RTC_INT 777 |
| 31 | |
| 32 | #define KMI_0_ADDR 60100000 |
| 33 | #define KMI_0_INT 784 |
| 34 | #define KMI_1_ADDR 60110000 |
| 35 | #define KMI_1_INT 785 |
| 36 | |
| 37 | #define VIRTIO_BLOCK_ADDR 60020000 |
| 38 | #define VIRTIO_BLOCK_INT 769 |
| 39 | |
Leo Yan | 35255f0 | 2024-04-30 11:27:17 +0100 | [diff] [blame] | 40 | #include "tc-common.dtsi" |
| 41 | #if TARGET_FLAVOUR_FVP |
| 42 | #include "tc-fvp.dtsi" |
| 43 | #else |
| 44 | #include "tc-fpga.dtsi" |
| 45 | #endif /* TARGET_FLAVOUR_FVP */ |
| 46 | #include "tc3-4-base.dtsi" |
Leo Yan | 41606fc | 2024-04-22 18:02:52 +0100 | [diff] [blame] | 47 | |
| 48 | / { |
Leo Yan | b399648 | 2024-07-22 16:53:30 +0100 | [diff] [blame] | 49 | smmu_700: iommu@3f000000 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
Jackson Cooper-Driver | 9e8e893 | 2024-04-23 10:04:44 +0100 | [diff] [blame] | 53 | smmu_700_dpu: iommu@4002a00000 { |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | dp0: display@DPU_ADDR { |
| 58 | iommus = <&smmu_700_dpu 0x000>, <&smmu_700_dpu 0x100>, |
| 59 | <&smmu_700_dpu 0x200>, <&smmu_700_dpu 0x600>; |
| 60 | }; |
| 61 | |
Leo Yan | 41606fc | 2024-04-22 18:02:52 +0100 | [diff] [blame] | 62 | gpu: gpu@2d000000 { |
| 63 | interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH 0>; |
| 64 | interrupt-names = "IRQAW"; |
Leo Yan | b399648 | 2024-07-22 16:53:30 +0100 | [diff] [blame] | 65 | iommus = <&smmu_700 0x200>; |
Leo Yan | 41606fc | 2024-04-22 18:02:52 +0100 | [diff] [blame] | 66 | }; |
| 67 | }; |