diff mbox series

[U-Boot,v2,3/3] dts: mvebu: a80x0: Enable SD/eMMC interfaces

Message ID 1527229253-5912-3-git-send-email-xswang@marvell.com
State Awaiting Upstream
Delegated to: Stefan Roese
Headers show
Series [U-Boot,v2,1/3] mvebu: pinctrl: sync compatible string with Linux 4.17-rc4 | expand

Commit Message

xswang@marvell.com May 25, 2018, 6:20 a.m. UTC
From: Konstantin Porotchkin <kostap@marvell.com>

Enable SDHCI interface on AP and CP0 in A80x0 DTS files

Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Evan Wang <xswang@marvell.com>
---

Changes in v2: None

 arch/arm/dts/armada-8040-db.dts    | 14 ++++++++++++++
 arch/arm/dts/armada-8040-mcbin.dts |  8 ++++++++
 2 files changed, 22 insertions(+)

Comments

Stefan Roese May 29, 2018, 8:32 a.m. UTC | #1
On 25.05.2018 08:20, xswang@marvell.com wrote:
> From: Konstantin Porotchkin <kostap@marvell.com>
> 
> Enable SDHCI interface on AP and CP0 in A80x0 DTS files
> 
> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
> Reviewed-by: Stefan Roese <sr@denx.de>
> Signed-off-by: Evan Wang <xswang@marvell.com>

Applied to u-boot-marvell/master

Thanks,
Stefan
diff mbox series

Patch

diff --git a/arch/arm/dts/armada-8040-db.dts b/arch/arm/dts/armada-8040-db.dts
index fa58995..65b30bb 100644
--- a/arch/arm/dts/armada-8040-db.dts
+++ b/arch/arm/dts/armada-8040-db.dts
@@ -81,6 +81,13 @@ 
 		     1 3 0 0 0 0 0 0 0 3 >;
 };
 
+&ap_sdhci0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&ap_emmc_pins>;
+	bus-width = <8>;
+	status = "okay";
+};
+
 &cpm_pinctl {
 	/* MPP Bus:
 	 *	[0-31]	= 0xff: Keep default CP0_shared_pins
@@ -182,6 +189,13 @@ 
 	status = "okay";
 };
 
+&cpm_sdhci0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&cpm_sdhci_pins>;
+	bus-width = <4>;
+	status = "okay";
+};
+
 &cps_pinctl {
 	/* MPP Bus:
 	 *	[0-11]	RGMII0
diff --git a/arch/arm/dts/armada-8040-mcbin.dts b/arch/arm/dts/armada-8040-mcbin.dts
index 991ddc0..46b32f2 100644
--- a/arch/arm/dts/armada-8040-mcbin.dts
+++ b/arch/arm/dts/armada-8040-mcbin.dts
@@ -156,6 +156,14 @@ 
 	status = "okay";
 };
 
+/* uSD slot */
+&cpm_sdhci0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&cpm_sdhci_pins>;
+	bus-width = <4>;
+	status = "okay";
+};
+
 &cpm_comphy {
 	/*
 	 * CP0 Serdes Configuration: