All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
@ 2019-07-27 21:03 Sunil Mohan Adapa
  2019-08-01  2:42 ` Chen-Yu Tsai
  0 siblings, 1 reply; 19+ messages in thread
From: Sunil Mohan Adapa @ 2019-07-27 21:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: maxime.ripard, Sunil Mohan Adapa, wens

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 = <&reg_dcdc1>;
+	vqmmc-supply = <&reg_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

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-08-12  7:01 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-27 21:03 [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino Sunil Mohan Adapa
2019-08-01  2:42 ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.