143ef4f1eSHarry Liebel/* 2dfa6c540SAlexei Fedorov * Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved. 343ef4f1eSHarry Liebel * 48d2c4977SAchin Gupta * SPDX-License-Identifier: BSD-3-Clause 543ef4f1eSHarry Liebel */ 643ef4f1eSHarry Liebel 7003faaa5SAlexei Fedorov/* Configuration: 1 cluster with up to 4 CPUs */ 8003faaa5SAlexei Fedorov 943ef4f1eSHarry Liebel/dts-v1/; 1043ef4f1eSHarry Liebel 11003faaa5SAlexei Fedorov#define AFF 12003faaa5SAlexei Fedorov#define CLUSTER_COUNT 1 13003faaa5SAlexei Fedorov 14dfa6c540SAlexei Fedorov#include <dt-bindings/interrupt-controller/arm-gic.h> 150861fcddSAlexei Fedorov#include "fvp-defs.dtsi" 16003faaa5SAlexei Fedorov 1743ef4f1eSHarry Liebel/memreserve/ 0x80000000 0x00010000; 1843ef4f1eSHarry Liebel 1943ef4f1eSHarry Liebel/ { 2043ef4f1eSHarry Liebel}; 2143ef4f1eSHarry Liebel 2243ef4f1eSHarry Liebel/ { 23f2199d95SHarry Liebel model = "FVP Foundation"; 2443ef4f1eSHarry Liebel compatible = "arm,fvp-base", "arm,vexpress"; 2543ef4f1eSHarry Liebel interrupt-parent = <&gic>; 2643ef4f1eSHarry Liebel #address-cells = <2>; 2743ef4f1eSHarry Liebel #size-cells = <2>; 2843ef4f1eSHarry Liebel 29*2faccabaSVincent Stehlé chosen { 30*2faccabaSVincent Stehlé stdout-path = "serial0:115200n8"; 31*2faccabaSVincent Stehlé }; 3243ef4f1eSHarry Liebel 3343ef4f1eSHarry Liebel aliases { 3443ef4f1eSHarry Liebel serial0 = &v2m_serial0; 3543ef4f1eSHarry Liebel serial1 = &v2m_serial1; 3643ef4f1eSHarry Liebel serial2 = &v2m_serial2; 3743ef4f1eSHarry Liebel serial3 = &v2m_serial3; 3843ef4f1eSHarry Liebel }; 3943ef4f1eSHarry Liebel 4043ef4f1eSHarry Liebel psci { 41e8ca7d1eSSoby Mathew compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; 4243ef4f1eSHarry Liebel method = "smc"; 4343ef4f1eSHarry Liebel cpu_suspend = <0xc4000001>; 4443ef4f1eSHarry Liebel cpu_off = <0x84000002>; 4543ef4f1eSHarry Liebel cpu_on = <0xc4000003>; 46d5f13093SJuan Castillo sys_poweroff = <0x84000008>; 47d5f13093SJuan Castillo sys_reset = <0x84000009>; 484682461dSMadhukar Pappireddy max-pwr-lvl = <2>; 4943ef4f1eSHarry Liebel }; 5043ef4f1eSHarry Liebel 5143ef4f1eSHarry Liebel cpus { 5243ef4f1eSHarry Liebel #address-cells = <2>; 5343ef4f1eSHarry Liebel #size-cells = <0>; 5443ef4f1eSHarry Liebel 55003faaa5SAlexei Fedorov CPU_MAP 56bab7bfd2SAchin Gupta 57bab7bfd2SAchin Gupta idle-states { 58bab7bfd2SAchin Gupta entry-method = "arm,psci"; 59bab7bfd2SAchin Gupta 60bab7bfd2SAchin Gupta CPU_SLEEP_0: cpu-sleep-0 { 61bab7bfd2SAchin Gupta compatible = "arm,idle-state"; 626136f372SJuan Castillo local-timer-stop; 636136f372SJuan Castillo arm,psci-suspend-param = <0x0010000>; 64bab7bfd2SAchin Gupta entry-latency-us = <40>; 65bab7bfd2SAchin Gupta exit-latency-us = <100>; 66bab7bfd2SAchin Gupta min-residency-us = <150>; 67bab7bfd2SAchin Gupta }; 68bab7bfd2SAchin Gupta 69bab7bfd2SAchin Gupta CLUSTER_SLEEP_0: cluster-sleep-0 { 70bab7bfd2SAchin Gupta compatible = "arm,idle-state"; 716136f372SJuan Castillo local-timer-stop; 726136f372SJuan Castillo arm,psci-suspend-param = <0x1010000>; 73bab7bfd2SAchin Gupta entry-latency-us = <500>; 74bab7bfd2SAchin Gupta exit-latency-us = <1000>; 75bab7bfd2SAchin Gupta min-residency-us = <2500>; 76bab7bfd2SAchin Gupta }; 77bab7bfd2SAchin Gupta }; 78bab7bfd2SAchin Gupta 79003faaa5SAlexei Fedorov CPUS 80b1063d95SAntonio Nino Diaz 81b1063d95SAntonio Nino Diaz L2_0: l2-cache0 { 82b1063d95SAntonio Nino Diaz compatible = "cache"; 8343ef4f1eSHarry Liebel }; 8443ef4f1eSHarry Liebel }; 8543ef4f1eSHarry Liebel 8643ef4f1eSHarry Liebel memory@80000000 { 8743ef4f1eSHarry Liebel device_type = "memory"; 88364daf93SJuan Castillo reg = <0x00000000 0x80000000 0 0x7F000000>, 8943ef4f1eSHarry Liebel <0x00000008 0x80000000 0 0x80000000>; 9043ef4f1eSHarry Liebel }; 9143ef4f1eSHarry Liebel 9243ef4f1eSHarry Liebel gic: interrupt-controller@2f000000 { 9343ef4f1eSHarry Liebel compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; 9443ef4f1eSHarry Liebel #interrupt-cells = <3>; 9543ef4f1eSHarry Liebel #address-cells = <0>; 9643ef4f1eSHarry Liebel interrupt-controller; 9743ef4f1eSHarry Liebel reg = <0x0 0x2f000000 0 0x10000>, 9843ef4f1eSHarry Liebel <0x0 0x2c000000 0 0x2000>, 9943ef4f1eSHarry Liebel <0x0 0x2c010000 0 0x2000>, 10043ef4f1eSHarry Liebel <0x0 0x2c02F000 0 0x2000>; 10143ef4f1eSHarry Liebel interrupts = <1 9 0xf04>; 10243ef4f1eSHarry Liebel }; 10343ef4f1eSHarry Liebel 10443ef4f1eSHarry Liebel timer { 10543ef4f1eSHarry Liebel compatible = "arm,armv8-timer"; 106dfa6c540SAlexei Fedorov interrupts = <GIC_PPI 13 107dfa6c540SAlexei Fedorov (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 108dfa6c540SAlexei Fedorov <GIC_PPI 14 109dfa6c540SAlexei Fedorov (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 110dfa6c540SAlexei Fedorov <GIC_PPI 11 111dfa6c540SAlexei Fedorov (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>, 112dfa6c540SAlexei Fedorov <GIC_PPI 10 113dfa6c540SAlexei Fedorov (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>; 11443ef4f1eSHarry Liebel clock-frequency = <100000000>; 11543ef4f1eSHarry Liebel }; 11643ef4f1eSHarry Liebel 11743ef4f1eSHarry Liebel timer@2a810000 { 11843ef4f1eSHarry Liebel compatible = "arm,armv7-timer-mem"; 11943ef4f1eSHarry Liebel reg = <0x0 0x2a810000 0x0 0x10000>; 12043ef4f1eSHarry Liebel clock-frequency = <100000000>; 12143ef4f1eSHarry Liebel #address-cells = <2>; 12243ef4f1eSHarry Liebel #size-cells = <2>; 12343ef4f1eSHarry Liebel ranges; 124f2199d95SHarry Liebel frame@2a830000 { 125f2199d95SHarry Liebel frame-number = <1>; 126f2199d95SHarry Liebel interrupts = <0 26 4>; 127f2199d95SHarry Liebel reg = <0x0 0x2a830000 0x0 0x10000>; 12843ef4f1eSHarry Liebel }; 12943ef4f1eSHarry Liebel }; 13043ef4f1eSHarry Liebel 13143ef4f1eSHarry Liebel pmu { 13243ef4f1eSHarry Liebel compatible = "arm,armv8-pmuv3"; 13343ef4f1eSHarry Liebel interrupts = <0 60 4>, 13443ef4f1eSHarry Liebel <0 61 4>, 13543ef4f1eSHarry Liebel <0 62 4>, 13643ef4f1eSHarry Liebel <0 63 4>; 13743ef4f1eSHarry Liebel }; 13843ef4f1eSHarry Liebel 13943ef4f1eSHarry Liebel smb { 14043ef4f1eSHarry Liebel compatible = "simple-bus"; 14143ef4f1eSHarry Liebel 14243ef4f1eSHarry Liebel #address-cells = <2>; 14343ef4f1eSHarry Liebel #size-cells = <1>; 14443ef4f1eSHarry Liebel ranges = <0 0 0 0x08000000 0x04000000>, 14543ef4f1eSHarry Liebel <1 0 0 0x14000000 0x04000000>, 14643ef4f1eSHarry Liebel <2 0 0 0x18000000 0x04000000>, 14743ef4f1eSHarry Liebel <3 0 0 0x1c000000 0x04000000>, 14843ef4f1eSHarry Liebel <4 0 0 0x0c000000 0x04000000>, 14943ef4f1eSHarry Liebel <5 0 0 0x10000000 0x04000000>; 15043ef4f1eSHarry Liebel 1512d51b55eSBalint Dobszay #include "fvp-foundation-motherboard.dtsi" 15243ef4f1eSHarry Liebel }; 15343ef4f1eSHarry Liebel}; 154