openwrtv3/target/linux/brcm2708/patches-4.4/0498-BCM270X_DT-Use-bcm2835-sdhost-on-Compute-Module.patch
Álvaro Fernández Rojas 2b1c6b21b5 brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y

Also adds support for Raspberry Pi Compute Module 3 (untested).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-09-10 14:54:26 +02:00

30 lines
791 B
Diff

From 6288d4a7b700cbb8c1c72210c9b2017cf8bc7dd2 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Fri, 2 Sep 2016 14:35:37 +0100
Subject: [PATCH] BCM270X_DT: Use bcm2835-sdhost on Compute Module
With the preceding commit:
bcm2835-sdhost: Don't exit cmd wait loop on error
it is safe to use the bcm2835-sdhost driver on the Compute Module.
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
---
arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
+++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
@@ -23,9 +23,9 @@
};
-&mmc {
+&sdhost {
pinctrl-names = "default";
- pinctrl-0 = <&mmc_pins>;
+ pinctrl-0 = <&sdhost_pins>;
non-removable;
bus-width = <4>;
status = "okay";