openwrt/target/linux/bcm27xx/patches-4.19/950-0724-overlays-fix-compatible-for-RPi4.patch
Adrian Schmutzler 7d7aa2fd92 brcm2708: rename target to bcm27xx
This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.

Despite, since subtargets range from bcm2708 to bcm2711, it seems
appropriate to use bcm27xx instead of bcm2708 (again, as already done
for BOARDNAME).

This also renames the packages brcm2708-userland and brcm2708-gpu-fw.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-14 14:10:51 +01:00

205 lines
5.0 KiB
Diff

From 8ad712b22e410a5d13bc6678fbee4a5b0ec9b518 Mon Sep 17 00:00:00 2001
From: Matthias Brugger <mbrugger@suse.com>
Date: Wed, 2 Oct 2019 18:41:32 +0200
Subject: [PATCH] overlays: fix compatible for RPi4
RPi4 compatible is now bcm2711, but some overlays refer to the SoC as
bcm2838. Fix this overlays as they otherwise won't apply.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---
arch/arm/boot/dts/overlays/i2c3-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/i2c4-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/i2c5-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/i2c6-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi3-1cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi3-2cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi4-1cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi4-2cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi5-1cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi5-2cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi6-1cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/spi6-2cs-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/uart2-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/uart3-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/uart4-overlay.dts | 2 +-
arch/arm/boot/dts/overlays/uart5-overlay.dts | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
--- a/arch/arm/boot/dts/overlays/i2c3-overlay.dts
+++ b/arch/arm/boot/dts/overlays/i2c3-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&i2c3>;
--- a/arch/arm/boot/dts/overlays/i2c4-overlay.dts
+++ b/arch/arm/boot/dts/overlays/i2c4-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&i2c4>;
--- a/arch/arm/boot/dts/overlays/i2c5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/i2c5-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&i2c5>;
--- a/arch/arm/boot/dts/overlays/i2c6-overlay.dts
+++ b/arch/arm/boot/dts/overlays/i2c6-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&i2c6>;
--- a/arch/arm/boot/dts/overlays/spi3-1cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi3-1cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi3_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi3-2cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi3-2cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi3_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi4-1cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi4-1cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi4_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi4-2cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi4-2cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi4_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi5-1cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi5-1cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi5_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi5-2cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi5-2cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi5_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi6-1cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi6-1cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi6_cs_pins>;
--- a/arch/arm/boot/dts/overlays/spi6-2cs-overlay.dts
+++ b/arch/arm/boot/dts/overlays/spi6-2cs-overlay.dts
@@ -3,7 +3,7 @@
/ {
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&spi6_cs_pins>;
--- a/arch/arm/boot/dts/overlays/uart2-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart2-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&uart2>;
--- a/arch/arm/boot/dts/overlays/uart3-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart3-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&uart3>;
--- a/arch/arm/boot/dts/overlays/uart4-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart4-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&uart4>;
--- a/arch/arm/boot/dts/overlays/uart5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart5-overlay.dts
@@ -2,7 +2,7 @@
/plugin/;
/{
- compatible = "brcm,bcm2838";
+ compatible = "brcm,bcm2711";
fragment@0 {
target = <&uart5>;