blob: 135d30a22e4308d60f64154734e2d476359c64b7 [file] [log] [blame]
Leo Yan35255f02024-04-30 11:27:17 +01001/*
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-Driver61418972024-04-24 10:27:58 +010020#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 Yan35255f02024-04-30 11:27:17 +010040#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 Yan41606fc2024-04-22 18:02:52 +010047
48/ {
Leo Yanb3996482024-07-22 16:53:30 +010049 smmu_700: iommu@3f000000 {
50 status = "okay";
51 };
52
Jackson Cooper-Driver9e8e8932024-04-23 10:04:44 +010053 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 Yan41606fc2024-04-22 18:02:52 +010062 gpu: gpu@2d000000 {
63 interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH 0>;
64 interrupt-names = "IRQAW";
Leo Yanb3996482024-07-22 16:53:30 +010065 iommus = <&smmu_700 0x200>;
Leo Yan41606fc2024-04-22 18:02:52 +010066 };
67};