Browse Source

Fix topology description of cpus for DynamIQ based FVP

DynamIQ based designs have upto 8 CPUs in each cluster. This
patch fixes the device tree node which describes the topology
of the CPU for DynamIQ FVP Model.

Change-Id: I7146bc79029ce38314026d4853e5b6406863725c
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
pull/1938/head
Madhukar Pappireddy 5 years ago
parent
commit
0ad5b318f7
  1. 2
      fdts/fvp-base-gicv3-psci-common.dtsi
  2. 2
      fdts/fvp-base-gicv3-psci-dynamiq-2t.dts
  3. 40
      fdts/fvp-base-gicv3-psci-dynamiq-common.dtsi
  4. 2
      fdts/fvp-base-gicv3-psci-dynamiq.dts

2
fdts/fvp-base-gicv3-psci-common.dtsi

@ -39,7 +39,7 @@
#address-cells = <2>;
#size-cells = <0>;
cpu-map {
CPU_MAP:cpu-map {
cluster0 {
core0 {
cpu = <&CPU0>;

2
fdts/fvp-base-gicv3-psci-dynamiq-2t.dts

@ -6,7 +6,7 @@
/dts-v1/;
#include "fvp-base-gicv3-psci-common.dtsi"
#include "fvp-base-gicv3-psci-dynamiq-common.dtsi"
&CPU0 {
reg = <0x0 0x0>;

40
fdts/fvp-base-gicv3-psci-dynamiq-common.dtsi

@ -0,0 +1,40 @@
/*
* Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/dts-v1/;
#include "fvp-base-gicv3-psci-common.dtsi"
/* DynamIQ based designs have upto 8 CPUs in each cluster */
&CPU_MAP {
cluster0 {
core0 {
cpu = <&CPU0>;
};
core1 {
cpu = <&CPU1>;
};
core2 {
cpu = <&CPU2>;
};
core3 {
cpu = <&CPU3>;
};
core4 {
cpu = <&CPU4>;
};
core5 {
cpu = <&CPU5>;
};
core6 {
cpu = <&CPU6>;
};
core7 {
cpu = <&CPU7>;
};
};
};

2
fdts/fvp-base-gicv3-psci-dynamiq.dts

@ -6,7 +6,7 @@
/dts-v1/;
#include "fvp-base-gicv3-psci-common.dtsi"
#include "fvp-base-gicv3-psci-dynamiq-common.dtsi"
&CPU0 {
reg = <0x0 0x0>;

Loading…
Cancel
Save