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" 34b3a9737cSLeo Yan#endif /* TARGET_FLAVOUR_FVP */ 35b3a9737cSLeo Yan#include "tc-base.dtsi" 36*f9565b2aSLeo Yan 37*f9565b2aSLeo Yan/ { 38*f9565b2aSLeo Yan cpus { 39*f9565b2aSLeo Yan CPU2:cpu@200 { 40*f9565b2aSLeo Yan clocks = <&scmi_dvfs 1>; 41*f9565b2aSLeo Yan capacity-dmips-mhz = <MID_CAPACITY>; 42*f9565b2aSLeo Yan }; 43*f9565b2aSLeo Yan 44*f9565b2aSLeo Yan CPU3:cpu@300 { 45*f9565b2aSLeo Yan clocks = <&scmi_dvfs 1>; 46*f9565b2aSLeo Yan capacity-dmips-mhz = <MID_CAPACITY>; 47*f9565b2aSLeo Yan }; 48*f9565b2aSLeo Yan 49*f9565b2aSLeo Yan CPU6:cpu@600 { 50*f9565b2aSLeo Yan clocks = <&scmi_dvfs 2>; 51*f9565b2aSLeo Yan capacity-dmips-mhz = <BIG_CAPACITY>; 52*f9565b2aSLeo Yan }; 53*f9565b2aSLeo Yan 54*f9565b2aSLeo Yan CPU7:cpu@700 { 55*f9565b2aSLeo Yan clocks = <&scmi_dvfs 2>; 56*f9565b2aSLeo Yan capacity-dmips-mhz = <BIG_CAPACITY>; 57*f9565b2aSLeo Yan }; 58*f9565b2aSLeo Yan }; 59*f9565b2aSLeo Yan 60*f9565b2aSLeo Yan cpu-pmu { 61*f9565b2aSLeo Yan interrupt-affinity = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>, 62*f9565b2aSLeo Yan <&CPU4>, <&CPU5>, <&CPU6>, <&CPU7>; 63*f9565b2aSLeo Yan }; 64*f9565b2aSLeo Yan}; 65