openwrtv3/target/linux/brcm2708/patches-4.4/0524-BCM270X_DT-Update-CM3-to-use-sdhost-interface.patch
Álvaro Fernández Rojas dab5a44067 brcm2708: update linux 4.4 patches to latest version
n
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2017-02-06 22:24:42 +01:00

36 lines
828 B
Diff

From c3ffa0b16968bf686fb46e3848ef8f31866e7c33 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Mon, 10 Oct 2016 15:06:20 +0100
Subject: [PATCH] BCM270X_DT: Update CM3 to use sdhost interface
---
arch/arm/boot/dts/bcm2710-rpi-cm3.dts | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--- a/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
+++ b/arch/arm/boot/dts/bcm2710-rpi-cm3.dts
@@ -8,10 +8,9 @@
};
&gpio {
-
- mmc_pins: mmc_pins {
+ sdhost_pins: sdhost_pins {
brcm,pins = <48 49 50 51 52 53>;
- brcm,function = <7>; /* alt3 */
+ brcm,function = <4>; /* alt0 */
brcm,pull = <0 2 2 2 2 2>;
};
@@ -46,9 +45,9 @@
};
};
-&mmc {
+&sdhost {
pinctrl-names = "default";
- pinctrl-0 = <&mmc_pins>;
+ pinctrl-0 = <&sdhost_pins>;
non-removable;
bus-width = <4>;
status = "okay";