blob: 0782093daee6e1e48530fe87875e27e5f88b0856 [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
Yu Shihaia64b82a2024-07-08 09:50:02 +010020#define RSE_MHU_TX_ADDR 49020000 /* hex */
21#define RSE_MHU_RX_ADDR 49030000 /* hex */
22
Jackson Cooper-Driver61418972024-04-24 10:27:58 +010023#define ETHERNET_ADDR 64000000
24#define ETHERNET_INT 799
25
26#define SYS_REGS_ADDR 60080000
27
Jagdish Gediya85d84032024-06-28 16:55:09 +000028#if TARGET_FLAVOUR_FVP
Jackson Cooper-Driver61418972024-04-24 10:27:58 +010029#define MMC_ADDR 600b0000
30#define MMC_INT_0 778
31#define MMC_INT_1 779
Jagdish Gediya85d84032024-06-28 16:55:09 +000032#else /* TARGET_FLAVOUR_FPGA */
33#define MMC_ADDR 1c050000
34#define MMC_INT_0 107
35#define MMC_INT_1 108
36#endif /* TARGET_FLAVOUR_FVP */
Jackson Cooper-Driver61418972024-04-24 10:27:58 +010037
38#define RTC_ADDR 600a0000
39#define RTC_INT 777
40
41#define KMI_0_ADDR 60100000
42#define KMI_0_INT 784
43#define KMI_1_ADDR 60110000
44#define KMI_1_INT 785
45
46#define VIRTIO_BLOCK_ADDR 60020000
47#define VIRTIO_BLOCK_INT 769
48
Leo Yan35255f02024-04-30 11:27:17 +010049#include "tc-common.dtsi"
50#if TARGET_FLAVOUR_FVP
51#include "tc-fvp.dtsi"
52#else
53#include "tc-fpga.dtsi"
54#endif /* TARGET_FLAVOUR_FVP */
55#include "tc3-4-base.dtsi"
Leo Yan41606fc2024-04-22 18:02:52 +010056
57/ {
Leo Yanb3996482024-07-22 16:53:30 +010058 smmu_700: iommu@3f000000 {
59 status = "okay";
60 };
61
Jackson Cooper-Driver9e8e8932024-04-23 10:04:44 +010062 smmu_700_dpu: iommu@4002a00000 {
63 status = "okay";
64 };
65
66 dp0: display@DPU_ADDR {
67 iommus = <&smmu_700_dpu 0x000>, <&smmu_700_dpu 0x100>,
68 <&smmu_700_dpu 0x200>, <&smmu_700_dpu 0x600>;
69 };
70
Leo Yan41606fc2024-04-22 18:02:52 +010071 gpu: gpu@2d000000 {
72 interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH 0>;
73 interrupt-names = "IRQAW";
Leo Yanb3996482024-07-22 16:53:30 +010074 iommus = <&smmu_700 0x200>;
Leo Yan41606fc2024-04-22 18:02:52 +010075 };
Jagdish Gediya950fdea2024-06-19 03:37:48 +000076
77 dsu-pmu {
78 interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH 0>;
79 };
Jagdish Gediya69029092024-06-19 08:52:48 +000080
81 cs-pmu@4 {
82 compatible = "arm,coresight-pmu";
83 reg = <0x0 MCN_PMU_ADDR(4) 0x0 0xffc>;
84 };
85
86 cs-pmu@5 {
87 compatible = "arm,coresight-pmu";
88 reg = <0x0 MCN_PMU_ADDR(5) 0x0 0xffc>;
89 };
90
91 cs-pmu@6 {
92 compatible = "arm,coresight-pmu";
93 reg = <0x0 MCN_PMU_ADDR(6) 0x0 0xffc>;
94 };
95
96 cs-pmu@7 {
97 compatible = "arm,coresight-pmu";
98 reg = <0x0 MCN_PMU_ADDR(7) 0x0 0xffc>;
99 };
Leo Yan41606fc2024-04-22 18:02:52 +0100100};