From: Sunil Mohan Adapa <sunil@medhas.org>
To: linux-arm-kernel@lists.infradead.org
Cc: maxime.ripard@bootlin.com, Sunil Mohan Adapa <sunil@medhas.org>,
wens@csie.org
Subject: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Date: Sat, 27 Jul 2019 14:03:07 -0700 [thread overview]
Message-ID: <20190727210307.17607-1-sunil@medhas.org> (raw)
A64-OLinuXino board has three variants that have eMMC support. Add support for
eMMC on boards that have it.
This patch has been tested on A64-OLinuXino-1Ge16GW with Linux 5.0 from Debain.
Basic benchmarks using Flexible IO Tester show reasonable performance from the
eMMC.
eMMC - Random Write: 23.1MiB/s
eMMC - Sequential Write: 74.5MiB/s
SD Card - Random Write: 1690KiB/s
SD Card - Sequential Write: 11.0MiB/s
v2: Fix descriptions for VCC and VCCQ.
[sunil@medhas.org Fix descriptions for VCC and VCCQ]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Tested-by: Sunil Mohan Adapa <sunil@medhas.org>
From: Martin Ayotte <martinayotte@gmail.com>
Link: https://github.com/armbian/build/commit/174953de1eb09e6aa1ef7075066b573dba625398
---
.../arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
index 01a9a52edae4..28bb67ebe173 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
@@ -155,6 +155,17 @@
};
};
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_pins>;
+ vmmc-supply = <®_dcdc1>;
+ vqmmc-supply = <®_dcdc1>;
+ bus-width = <8>;
+ non-removable;
+ cap-mmc-hw-reset;
+ status = "okay";
+};
+
&ohci0 {
status = "okay";
};
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2019-07-27 21:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-27 21:03 Sunil Mohan Adapa [this message]
2019-08-01 2:42 ` [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino Chen-Yu Tsai
2019-08-01 14:05 ` Martin Ayotte
[not found] ` <CAKQ8BtjLmhDgA8woY5NqaifODLUh_w_K4QYOUuqc4Six5Amerg@mail.gmail.com>
2019-08-01 18:47 ` Sunil Mohan Adapa
2019-08-02 12:45 ` Martin Ayotte
2019-08-05 3:33 ` Chen-Yu Tsai
2019-08-05 5:24 ` Sunil Mohan Adapa
2019-08-05 12:58 ` Martin Ayotte
2019-08-06 6:25 ` Chen-Yu Tsai
2019-08-06 12:49 ` Martin Ayotte
2019-08-07 6:18 ` Chen-Yu Tsai
2019-08-07 12:01 ` Maxime Ripard
2019-08-07 12:09 ` Chen-Yu Tsai
2019-08-07 12:41 ` Martin Ayotte
2019-08-07 14:45 ` Maxime Ripard
2019-08-08 5:12 ` Chen-Yu Tsai
2019-08-08 6:25 ` Sunil Mohan Adapa
2019-08-08 6:57 ` Chen-Yu Tsai
2019-08-12 7:00 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190727210307.17607-1-sunil@medhas.org \
--to=sunil@medhas.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=maxime.ripard@bootlin.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox