1b3a9737cSLeo Yan/* 2b3a9737cSLeo Yan * Copyright (c) 2020-2024, Arm Limited. All rights reserved. 3b3a9737cSLeo Yan * 4b3a9737cSLeo Yan * SPDX-License-Identifier: BSD-3-Clause 5b3a9737cSLeo Yan */ 6b3a9737cSLeo Yan 7b3a9737cSLeo Yan/dts-v1/; 8b3a9737cSLeo Yan 9b3a9737cSLeo Yan#include <dt-bindings/interrupt-controller/arm-gic.h> 10b3a9737cSLeo Yan#include <dt-bindings/interrupt-controller/irq.h> 11b3a9737cSLeo Yan#include <platform_def.h> 12b3a9737cSLeo Yan 13defcfb2bSLeo Yan#define LIT_CAPACITY 239 14defcfb2bSLeo Yan#define MID_CAPACITY 686 15defcfb2bSLeo Yan#define BIG_CAPACITY 1024 16defcfb2bSLeo Yan 17defcfb2bSLeo Yan#define INT_MBOX_RX 300 18defcfb2bSLeo Yan#define MHU_TX_ADDR 46040000 /* hex */ 19defcfb2bSLeo Yan#define MHU_RX_ADDR 46140000 /* hex */ 20defcfb2bSLeo Yan#define MPAM_ADDR 0x0 0x5f010000 /* 0x5f01_0000 */ 21defcfb2bSLeo Yan#define UARTCLK_FREQ 3750000 22defcfb2bSLeo Yan 23defcfb2bSLeo Yan#if TARGET_FLAVOUR_FVP 24defcfb2bSLeo Yan#define DPU_ADDR 4000000000 25defcfb2bSLeo Yan#define DPU_IRQ 579 26defcfb2bSLeo Yan#elif TARGET_FLAVOUR_FPGA 27defcfb2bSLeo Yan#define DPU_ADDR 2cc00000 28defcfb2bSLeo Yan#define DPU_IRQ 69 29defcfb2bSLeo Yan#endif 30defcfb2bSLeo Yan 31b3a9737cSLeo Yan#include "tc-common.dtsi" 32b3a9737cSLeo Yan#if TARGET_FLAVOUR_FVP 33b3a9737cSLeo Yan#include "tc-fvp.dtsi" 34*4e772e6bSLeo Yan#else 35*4e772e6bSLeo Yan#include "tc-fpga.dtsi" 36b3a9737cSLeo Yan#endif /* TARGET_FLAVOUR_FVP */ 37b3a9737cSLeo Yan#include "tc-base.dtsi" 38f9565b2aSLeo Yan 39f9565b2aSLeo Yan/ { 40f9565b2aSLeo Yan cpus { 41f9565b2aSLeo Yan CPU2:cpu@200 { 42f9565b2aSLeo Yan clocks = <&scmi_dvfs 1>; 43f9565b2aSLeo Yan capacity-dmips-mhz = <MID_CAPACITY>; 44f9565b2aSLeo Yan }; 45f9565b2aSLeo Yan 46f9565b2aSLeo Yan CPU3:cpu@300 { 47f9565b2aSLeo Yan clocks = <&scmi_dvfs 1>; 48f9565b2aSLeo Yan capacity-dmips-mhz = <MID_CAPACITY>; 49f9565b2aSLeo Yan }; 50f9565b2aSLeo Yan 51f9565b2aSLeo Yan CPU6:cpu@600 { 52f9565b2aSLeo Yan clocks = <&scmi_dvfs 2>; 53f9565b2aSLeo Yan capacity-dmips-mhz = <BIG_CAPACITY>; 54f9565b2aSLeo Yan }; 55f9565b2aSLeo Yan 56f9565b2aSLeo Yan CPU7:cpu@700 { 57f9565b2aSLeo Yan clocks = <&scmi_dvfs 2>; 58f9565b2aSLeo Yan capacity-dmips-mhz = <BIG_CAPACITY>; 59f9565b2aSLeo Yan }; 60f9565b2aSLeo Yan }; 61f9565b2aSLeo Yan 62f9565b2aSLeo Yan cpu-pmu { 63f9565b2aSLeo Yan interrupt-affinity = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>, 64f9565b2aSLeo Yan <&CPU4>, <&CPU5>, <&CPU6>, <&CPU7>; 65f9565b2aSLeo Yan }; 66f9565b2aSLeo Yan}; 67