diff options
Diffstat (limited to 'target/linux/bcm27xx/patches-4.19/950-0724-overlays-fix-compatible-for-RPi4.patch')
-rw-r--r-- | target/linux/bcm27xx/patches-4.19/950-0724-overlays-fix-compatible-for-RPi4.patch | 204 |
1 files changed, 204 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-4.19/950-0724-overlays-fix-compatible-for-RPi4.patch b/target/linux/bcm27xx/patches-4.19/950-0724-overlays-fix-compatible-for-RPi4.patch new file mode 100644 index 0000000000..f11066f622 --- /dev/null +++ b/target/linux/bcm27xx/patches-4.19/950-0724-overlays-fix-compatible-for-RPi4.patch @@ -0,0 +1,204 @@ +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>; |