diff mbox

[linux-sunxi] ARM: dts: sun8i-h3: Add mmc2 node to the X2

Message ID 20170220162218.22068-1-codekipper@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Code Kipper Feb. 20, 2017, 4:22 p.m. UTC
From: Marcus Cooper <codekipper@gmail.com>

The Beelink X2 has an on-board eMMC so add a node enabling
the mmc2 controller.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
---
 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Maxime Ripard Feb. 21, 2017, 7:49 p.m. UTC | #1
On Mon, Feb 20, 2017 at 05:22:18PM +0100, codekipper@gmail.com wrote:
> From: Marcus Cooper <codekipper@gmail.com>
> 
> The Beelink X2 has an on-board eMMC so add a node enabling
> the mmc2 controller.
> 
> Signed-off-by: Marcus Cooper <codekipper@gmail.com>

Applied.

Thanks!
Maxime
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index 25b225b7dfd6..04b04fb99a51 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -138,6 +138,16 @@ 
 	};
 };
 
+&mmc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc2_8bit_pins>;
+	vmmc-supply = <&reg_vcc3v3>;
+	bus-width = <8>;
+	non-removable;
+	cap-mmc-hw-reset;
+	status = "okay";
+};
+
 &ohci1 {
 	status = "okay";
 };