aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch
blob: cfeb37e51c908c7fafe22f48cb70cc890668c16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>;