From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 1/3] ARM64: dts: amlogic: SD card support for all Tronsmart Vega S95 devices
Date: Sun, 4 Sep 2016 20:29:01 +0200 [thread overview]
Message-ID: <20160904182903.1841-2-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20160904182903.1841-1-martin.blumenstingl@googlemail.com>
sd_emmc_b is routed to the SD-card. Unlike p20x there is no GPIO
regulator, meaning it only supports 3.3V (which seems to be hard-wired).
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Andreas F?rber <afaerber@suse.de>
---
.../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 26 ++++++++++++++++++++++
1 file changed, 26 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 560770e..e9ead47 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -52,6 +52,16 @@
chosen {
stdout-path = "serial0:115200n8";
};
+
+ vcc_3v3: regulator at 0 {
+ compatible = "regulator-fixed";
+
+ regulator-name = "VCC3V3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+
+ regulator-always-on;
+ };
};
&uart_AO {
@@ -66,3 +76,19 @@
pinctrl-0 = <&remote_input_ao_pins>;
pinctrl-names = "default";
};
+
+&sd_emmc_b {
+ status = "okay";
+ pinctrl-0 = <&sdcard_pins>;
+ pinctrl-names = "default";
+
+ bus-width = <4>;
+ cap-sd-highspeed;
+ max-frequency = <100000000>;
+
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
+ cd-inverted;
+
+ vmmc-supply = <&vcc_3v3>;
+ voltage-ranges = <3300 3300>;
+};
--
2.9.3
next prev 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 ` Martin Blumenstingl [this message]
2016-09-04 18:29 ` [PATCH v2 2/3] ARM64: dts: amlogic: eMMC support for all Tronsmart Vega S95 devices Martin Blumenstingl
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-2-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®