mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
8299d1f057
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted patches, wireless patches and defconfig patches. bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 4B v1.1 4G bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
68 lines
2.3 KiB
Diff
68 lines
2.3 KiB
Diff
From 97a2cff029c6c8f7f2550935e6110b81c69bc34a Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Thu, 19 Mar 2020 10:04:46 +0000
|
|
Subject: [PATCH] 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>
|
|
---
|
|
arch/arm/boot/dts/bcm2710.dtsi | 6 +-----
|
|
arch/arm64/boot/dts/broadcom/bcm2710-rpi-2-b.dts | 2 --
|
|
arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts | 2 --
|
|
arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts | 2 --
|
|
arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts | 2 --
|
|
arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts | 2 --
|
|
6 files changed, 1 insertion(+), 15 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/bcm2710.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm2710.dtsi
|
|
@@ -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 {
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-2-b.dts
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-2-b.dts
|
|
@@ -1,3 +1 @@
|
|
-#define RPI364
|
|
-
|
|
#include "../../../../arm/boot/dts/bcm2710-rpi-2-b.dts"
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b-plus.dts
|
|
@@ -1,3 +1 @@
|
|
-#define RPI364
|
|
-
|
|
#include "../../../../arm/boot/dts/bcm2710-rpi-3-b-plus.dts"
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-3-b.dts
|
|
@@ -1,3 +1 @@
|
|
-#define RPI364
|
|
-
|
|
#include "../../../../arm/boot/dts/bcm2710-rpi-3-b.dts"
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-cm3.dts
|
|
@@ -1,3 +1 @@
|
|
-#define RPI364
|
|
-
|
|
#include "../../../../arm/boot/dts/bcm2710-rpi-cm3.dts"
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-4-b.dts
|
|
@@ -1,3 +1 @@
|
|
-#define RPI364
|
|
-
|
|
#include "../../../../arm/boot/dts/bcm2711-rpi-4-b.dts"
|