brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0524-BCM270X_DT-Update-CM3-to-use-sdhost-interface.patch
1 From 9e4059062b23b8f220d3f5d2c317d7a96697d355 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 10 Oct 2016 15:06:20 +0100
4 Subject: [PATCH] BCM270X_DT: Update CM3 to use sdhost interface
5
6 ---
7 arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 9 ++++-----
8 1 file changed, 4 insertions(+), 5 deletions(-)
9
10 --- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
11 +++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
12 @@ -8,10 +8,9 @@
13 };
14
15 &gpio {
16 -
17 - mmc_pins: mmc_pins {
18 + sdhost_pins: sdhost_pins {
19 brcm,pins = <48 49 50 51 52 53>;
20 - brcm,function = <7>; /* alt3 */
21 + brcm,function = <4>; /* alt0 */
22 brcm,pull = <0 2 2 2 2 2>;
23 };
24
25 @@ -46,9 +45,9 @@
26 };
27 };
28
29 -&mmc {
30 +&sdhost {
31 pinctrl-names = "default";
32 - pinctrl-0 = <&mmc_pins>;
33 + pinctrl-0 = <&sdhost_pins>;
34 non-removable;
35 bus-width = <4>;
36 status = "okay";