ARM: dts: bcm271x: Use a53 pmu, drop RPI364

The upstream bcm2837.dtsi uses cortex-a53-pmu, so we can do the same
but with a fallback to the cortex-a7-pmu which is supported by the
32-bit kernel.

Now that we're using the natural fallback mechanism of compatible
strings, the RPI364 macro no longer serves any purpose - remove it.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
This commit is contained in:
Phil Elwell
2020-03-19 10:04:46 +00:00
committed by popcornmix
parent 3d84b80a17
commit 45d3c4fc72
6 changed files with 1 additions and 15 deletions

View File

@@ -5,11 +5,7 @@
compatible = "brcm,bcm2837", "brcm,bcm2836";
arm-pmu {
#ifdef RPI364
compatible = "arm,armv8-pmuv3", "arm,cortex-a7-pmu";
#else
compatible = "arm,cortex-a7-pmu";
#endif
compatible = "arm,cortex-a53-pmu", "arm,cortex-a7-pmu";
};
soc {

View File

@@ -1,3 +1 @@
#define RPI364
#include "../../../../arm/boot/dts/bcm2710-rpi-2-b.dts"

View File

@@ -1,3 +1 @@
#define RPI364
#include "../../../../arm/boot/dts/bcm2710-rpi-3-b-plus.dts"

View File

@@ -1,3 +1 @@
#define RPI364
#include "../../../../arm/boot/dts/bcm2710-rpi-3-b.dts"

View File

@@ -1,3 +1 @@
#define RPI364
#include "../../../../arm/boot/dts/bcm2710-rpi-cm3.dts"

View File

@@ -1,3 +1 @@
#define RPI364
#include "../../../../arm/boot/dts/bcm2711-rpi-4-b.dts"