184d397ed9137c1ed44afa1154a1ed9140fbbb4f
[openwrt/staging/dedeckeh.git] /
1 From c31c8018e7cef83c827c913a10ac06b465813b22 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <wahrenst@gmx.net>
3 Date: Sat, 21 Sep 2019 15:29:33 +0200
4 Subject: [PATCH] ARM: dts: bcm2708-rpi: Define the downstream MMC
5 interfaces at one place
6
7 In order to keep downstream definition of the MMC interfaces separate
8 and independent from upstream changes, add them to bcm2708-rpi.dtsi.
9
10 Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
11 ---
12 arch/arm/boot/dts/bcm2708-rpi.dtsi | 10 ++++++++++
13 1 file changed, 10 insertions(+)
14
15 --- a/arch/arm/boot/dts/bcm2708-rpi.dtsi
16 +++ b/arch/arm/boot/dts/bcm2708-rpi.dtsi
17 @@ -125,13 +125,23 @@
18 firmware = <&firmware>;
19 };
20
21 +&sdhci {
22 + pinctrl-names = "default";
23 + pinctrl-0 = <&emmc_gpio48>;
24 + bus-width = <4>;
25 +};
26 +
27 sdhost_pins: &sdhost_gpio48 {
28 /* Add alias */
29 };
30
31 &sdhost {
32 + pinctrl-names = "default";
33 + pinctrl-0 = <&sdhost_gpio48>;
34 + bus-width = <4>;
35 brcm,overclock-50 = <0>;
36 brcm,pio-limit = <1>;
37 + status = "okay";
38 };
39
40 &cpu_thermal {