aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch b/target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch
new file mode 100644
index 0000000000..cfeb37e51c
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch
@@ -0,0 +1,26 @@
+From 60dc1c57f4e5904c7ac96408ac9e836034814a8c Mon Sep 17 00:00:00 2001
+From: Phil Elwell <phil@raspberrypi.org>
+Date: Mon, 19 Feb 2018 17:04:42 +0000
+Subject: [PATCH 221/454] BCM270X_DT: Add brcm,bcm2835-sdhci as a fallback
+
+Although downstream uses a different MMC/SDHCI driver there is
+no reason why can't support the upstream as a fallback.
+
+See: https://github.com/raspberrypi/firmware/issues/943
+
+Signed-off-by: Phil Elwell <phil@raspberrypi.org>
+---
+ arch/arm/boot/dts/bcm270x.dtsi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/bcm270x.dtsi
++++ b/arch/arm/boot/dts/bcm270x.dtsi
+@@ -61,7 +61,7 @@
+ /delete-node/ sdhci@7e300000;
+
+ mmc: mmc@7e300000 {
+- compatible = "brcm,bcm2835-mmc";
++ compatible = "brcm,bcm2835-mmc", "brcm,bcm2835-sdhci";
+ reg = <0x7e300000 0x100>;
+ interrupts = <2 30>;
+ clocks = <&clocks BCM2835_CLOCK_EMMC>;