ARM: dts: rockchip: Add support for SD/MMC on MarsBoard-RK3066
diff mbox

Message ID 1440432281-491-1-git-send-email-romain.perier@gmail.com
State New
Headers show

Commit Message

Romain Perier Aug. 24, 2015, 4:04 p.m. UTC
This enables SDMMC0 on the board and gives a basic support for SD cards.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
 arch/arm/boot/dts/rk3066a-marsboard.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Heiko Stübner Aug. 24, 2015, 5:21 p.m. UTC | #1
Am Montag, 24. August 2015, 18:04:41 schrieb Romain Perier:
> This enables SDMMC0 on the board and gives a basic support for SD cards.
> 
> Signed-off-by: Romain Perier <romain.perier@gmail.com>

applied to my dts branch, after moving it above the "&pinctrl" node


Heiko
Heiko Stübner Aug. 27, 2015, 5:59 p.m. UTC | #2
Am Montag, 24. August 2015, 19:21:53 schrieb Heiko Stuebner:
> Am Montag, 24. August 2015, 18:04:41 schrieb Romain Perier:
> > This enables SDMMC0 on the board and gives a basic support for SD cards.
> > 
> > Signed-off-by: Romain Perier <romain.perier@gmail.com>
> 
> applied to my dts branch, after moving it above the "&pinctrl" node

just as notice, this moved down to linux-4.4 material
Romain Perier Aug. 29, 2015, 2:48 p.m. UTC | #3
Hi,

Sure no problem.
Romain

2015-08-27 19:59 GMT+02:00 Heiko Stuebner <heiko@sntech.de>:
> Am Montag, 24. August 2015, 19:21:53 schrieb Heiko Stuebner:
>> Am Montag, 24. August 2015, 18:04:41 schrieb Romain Perier:
>> > This enables SDMMC0 on the board and gives a basic support for SD cards.
>> >
>> > Signed-off-by: Romain Perier <romain.perier@gmail.com>
>>
>> applied to my dts branch, after moving it above the "&pinctrl" node
>
> just as notice, this moved down to linux-4.4 material

Patch
diff mbox

diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts
index bae965c..7189d90 100644
--- a/arch/arm/boot/dts/rk3066a-marsboard.dts
+++ b/arch/arm/boot/dts/rk3066a-marsboard.dts
@@ -186,6 +186,14 @@ 
 	};
 };
 
+&mmc0 {
+	status = "okay";
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
+	vmmc-supply = <&vcc_sd0>;
+};
+
 &uart0 {
 	status = "okay";
 };