mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 2/3] ARM64: dts: amlogic: eMMC support for all Tronsmart Vega S95 devices
Date: Sun,  4 Sep 2016 20:29:02 +0200	[thread overview]
Message-ID: <20160904182903.1841-3-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20160904182903.1841-1-martin.blumenstingl@googlemail.com>

This adds eMMC support for all Tronsmart Vega S95 devices using
sd_emmc_c. This is implemented similar to the p20x boards (meaning it
uses fixed regulators).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi      | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index e9ead47..4573bac 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -62,6 +62,21 @@
 
 		regulator-always-on;
 	};
+
+	vcc_1v8: regulator at 1 {
+		compatible = "regulator-fixed";
+
+		regulator-name = "VCC1V8";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+
+		regulator-always-on;
+	};
+
+	emmc_pwrseq: emmc-pwrseq {
+		compatible = "mmc-pwrseq-emmc";
+		reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
+	};
 };
 
 &uart_AO {
@@ -92,3 +107,23 @@
 	vmmc-supply = <&vcc_3v3>;
 	voltage-ranges = <3300 3300>;
 };
+
+&sd_emmc_c {
+	status = "okay";
+	pinctrl-0 = <&emmc_pins>;
+	pinctrl-names = "default";
+
+	bus-width = <8>;
+	cap-sd-highspeed;
+	cap-mmc-highspeed;
+	max-frequency = <200000000>;
+	non-removable;
+	disable-wp;
+	mmc-ddr-1_8v;
+	mmc-hs200-1_8v;
+
+	mmc-pwrseq = <&emmc_pwrseq>;
+	voltage-ranges = <1800 3300>;
+	vmmc-supply = <&vcc_3v3>;
+	vmmcq-sumpply = <&vcc_1v8>;
+};
-- 
2.9.3

  parent reply	other threads:[~2016-09-04 18:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-25 16:34 [RFC] improve support for the " Martin Blumenstingl
2016-06-25 16:34 ` [PATCH 1/3] ARM64: dts: amlogic: enable ethernet on all " Martin Blumenstingl
2016-07-08  1:09   ` Andreas Färber
2016-06-25 16:34 ` [PATCH 2/3] ARM64: dts: amlogic: enable uart_A " Martin Blumenstingl
2016-06-25 16:34 ` [PATCH 3/3] ARM64: dts: amlogic: enable sd_emmc_b " Martin Blumenstingl
2016-07-08  0:49   ` Andreas Färber
2016-07-08 22:25     ` Andreas Färber
2016-06-27 15:46 ` [RFC] improve support for the " Kevin Hilman
2016-08-15 13:38 ` [PATCH 0/3] eMMC, SD-card and ethernet support for Vega S95 boards Martin Blumenstingl
2016-08-15 13:38   ` [PATCH 1/3] ARM64: dts: amlogic: SD card support for all Tronsmart Vega S95 devices Martin Blumenstingl
2016-08-15 13:38   ` [PATCH 2/3] ARM64: dts: amlogic: eMMC " Martin Blumenstingl
2016-08-15 13:38   ` [PATCH 3/3] ARM64: dts: amlogic: enable ethernet on " Martin Blumenstingl
2016-09-04 18:29   ` [PATCH v2 0/3] eMMC, SD-card and ethernet support for Vega S95 boards Martin Blumenstingl
2016-09-04 18:29     ` [PATCH v2 1/3] ARM64: dts: amlogic: SD card support for all Tronsmart Vega S95 devices Martin Blumenstingl
2016-09-04 18:29     ` Martin Blumenstingl [this message]
2016-09-04 18:29     ` [PATCH v2 3/3] ARM64: dts: amlogic: enable ethernet on " Martin Blumenstingl
2016-09-07 20:06     ` [PATCH v2 0/3] eMMC, SD-card and ethernet support for Vega S95 boards Kevin Hilman
2016-09-07 20:50       ` Kevin Hilman

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=20160904182903.1841-3-martin.blumenstingl@googlemail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=linus-amlogic@lists.infradead.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

all inboxes | Powered by JetHome®