brcm2708: update to latest patches from RPi foundation
[openwrt/staging/chunkeey.git] / target / linux / brcm2708 / patches-4.19 / 950-0709-ARM-dts-bcm2708-rpi-Define-the-downstream-MMC-interf.patch
diff --git a/target/linux/brcm2708/patches-4.19/950-0709-ARM-dts-bcm2708-rpi-Define-the-downstream-MMC-interf.patch b/target/linux/brcm2708/patches-4.19/950-0709-ARM-dts-bcm2708-rpi-Define-the-downstream-MMC-interf.patch
new file mode 100644 (file)
index 0000000..184d397
--- /dev/null
@@ -0,0 +1,40 @@
+From c31c8018e7cef83c827c913a10ac06b465813b22 Mon Sep 17 00:00:00 2001
+From: Stefan Wahren <wahrenst@gmx.net>
+Date: Sat, 21 Sep 2019 15:29:33 +0200
+Subject: [PATCH] ARM: dts: bcm2708-rpi: Define the downstream MMC
+ interfaces at one place
+
+In order to keep downstream definition of the MMC interfaces separate
+and independent from upstream changes, add them to bcm2708-rpi.dtsi.
+
+Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
+---
+ arch/arm/boot/dts/bcm2708-rpi.dtsi | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm2708-rpi.dtsi
++++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi
+@@ -125,13 +125,23 @@
+       firmware = <&firmware>;
+ };
++&sdhci {
++      pinctrl-names = "default";
++      pinctrl-0 = <&emmc_gpio48>;
++      bus-width = <4>;
++};
++
+ sdhost_pins: &sdhost_gpio48 {
+       /* Add alias */
+ };
+ &sdhost {
++      pinctrl-names = "default";
++      pinctrl-0 = <&sdhost_gpio48>;
++      bus-width = <4>;
+       brcm,overclock-50 = <0>;
+       brcm,pio-limit = <1>;
++      status = "okay";
+ };
+ &cpu_thermal {