aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-08 21:58:55 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-14 14:10:51 +0100
commit7d7aa2fd924c27829ec25f825481554dd81bce97 (patch)
tree658b87b89331670266163e522ea5fb52535633cb /target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch
parente7bfda2c243e66a75ff966ba04c28b1590b5d24c (diff)
downloadupstream-7d7aa2fd924c27829ec25f825481554dd81bce97.tar.gz
upstream-7d7aa2fd924c27829ec25f825481554dd81bce97.tar.bz2
upstream-7d7aa2fd924c27829ec25f825481554dd81bce97.zip
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>
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch')
-rw-r--r--target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch179
1 files changed, 179 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch b/target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch
new file mode 100644
index 0000000000..b4c4f5aab4
--- /dev/null
+++ b/target/linux/bcm27xx/patches-4.19/950-0134-overlays-Fix-a-few-dtc-warnings.patch
@@ -0,0 +1,179 @@
+From 13abcbfdc76f1a40c36367fe28b76e29742b2d05 Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Mon, 8 Oct 2018 17:16:28 +0100
+Subject: [PATCH] overlays: Fix a few dtc warnings
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.org>
+---
+ .../overlays/pitft28-resistive-overlay.dts | 2 --
+ .../overlays/pitft35-resistive-overlay.dts | 2 --
+ .../arm/boot/dts/overlays/qca7000-overlay.dts | 13 ++++++----
+ .../overlays/rpi-cirrus-wm5102-overlay.dts | 26 ++++++++++++-------
+ arch/arm/boot/dts/overlays/rpi-tv-overlay.dts | 11 +++++---
+ .../boot/dts/overlays/smi-nand-overlay.dts | 3 ---
+ .../boot/dts/overlays/tinylcd35-overlay.dts | 2 --
+ 7 files changed, 31 insertions(+), 28 deletions(-)
+
+--- a/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts
++++ b/arch/arm/boot/dts/overlays/pitft28-resistive-overlay.dts
+@@ -64,8 +64,6 @@
+ };
+
+ pitft_ts@1 {
+- #address-cells = <1>;
+- #size-cells = <0>;
+ compatible = "st,stmpe610";
+ reg = <1>;
+
+--- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
++++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
+@@ -64,8 +64,6 @@
+ };
+
+ pitft_ts@1 {
+- #address-cells = <1>;
+- #size-cells = <0>;
+ compatible = "st,stmpe610";
+ reg = <1>;
+
+--- a/arch/arm/boot/dts/overlays/qca7000-overlay.dts
++++ b/arch/arm/boot/dts/overlays/qca7000-overlay.dts
+@@ -8,6 +8,13 @@
+ compatible = "brcm,bcm2708";
+
+ fragment@0 {
++ target = <&spidev0>;
++ __overlay__ {
++ status = "disabled";
++ };
++ };
++
++ fragment@1 {
+ target = <&spi0>;
+ __overlay__ {
+ /* needed to avoid dtc warning */
+@@ -16,10 +23,6 @@
+
+ status = "okay";
+
+- spidev@0 {
+- status = "disabled";
+- };
+-
+ eth1: qca7000@0 {
+ compatible = "qca,qca7000";
+ reg = <0>; /* CE0 */
+@@ -33,7 +36,7 @@
+ };
+ };
+
+- fragment@1 {
++ fragment@2 {
+ target = <&gpio>;
+ __overlay__ {
+ eth1_pins: eth1_pins {
+--- a/arch/arm/boot/dts/overlays/rpi-cirrus-wm5102-overlay.dts
++++ b/arch/arm/boot/dts/overlays/rpi-cirrus-wm5102-overlay.dts
+@@ -44,20 +44,26 @@
+ };
+
+ fragment@3 {
++ target = <&spidev0>;
++ __overlay__ {
++ status = "disabled";
++ };
++ };
++
++ fragment@4 {
++ target = <&spidev1>;
++ __overlay__ {
++ status = "disabled";
++ };
++ };
++
++ fragment@5 {
+ target = <&spi0>;
+ __overlay__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+- spidev@0{
+- status = "disabled";
+- };
+-
+- spidev@1{
+- status = "disabled";
+- };
+-
+ wm5102@1{
+ compatible = "wlf,wm5102";
+ reg = <1>;
+@@ -117,7 +123,7 @@
+ };
+ };
+
+- fragment@4 {
++ fragment@6 {
+ target = <&i2c1>;
+ __overlay__ {
+ status = "okay";
+@@ -135,7 +141,7 @@
+ };
+ };
+
+- fragment@5 {
++ fragment@7 {
+ target = <&sound>;
+ __overlay__ {
+ compatible = "wlf,rpi-cirrus";
+--- a/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts
++++ b/arch/arm/boot/dts/overlays/rpi-tv-overlay.dts
+@@ -7,6 +7,13 @@
+ compatible = "brcm,bcm2708", "brcm,bcm2709";
+
+ fragment@0 {
++ target = <&spidev0>;
++ __overlay__ {
++ status = "disabled";
++ };
++ };
++
++ fragment@1 {
+ target = <&spi0>;
+ __overlay__ {
+ /* needed to avoid dtc warning */
+@@ -15,10 +22,6 @@
+
+ status = "okay";
+
+- spidev@0 {
+- status = "disabled";
+- };
+-
+ cxd2880@0 {
+ compatible = "sony,cxd2880";
+ reg = <0>; /* CE0 */
+--- a/arch/arm/boot/dts/overlays/smi-nand-overlay.dts
++++ b/arch/arm/boot/dts/overlays/smi-nand-overlay.dts
+@@ -20,9 +20,6 @@
+ fragment@1 {
+ target = <&soc>;
+ __overlay__ {
+- #address-cells = <1>;
+- #size-cells = <1>;
+-
+ nand: flash@0 {
+ compatible = "brcm,bcm2835-smi-nand";
+ smi_handle = <&smi>;
+--- a/arch/arm/boot/dts/overlays/tinylcd35-overlay.dts
++++ b/arch/arm/boot/dts/overlays/tinylcd35-overlay.dts
+@@ -171,8 +171,6 @@
+ __overlay__ {
+ keypad: keypad {
+ compatible = "gpio-keys";
+- #address-cells = <1>;
+- #size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&keypad_pins>;
+ status = "disabled";