Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694754

[PATCH v3 09/10] ARM: dts: sun8i: a83t: cubietruck-plus: Enable micro-SD card and eMMC

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH v3 09/10] ARM: dts: sun8i: a83t: cubietruck-plus: Enable micro-SD card and eMMC
Date 2017-07-24 16:10 +0200
Message-ID <u6MdB-5Wc-29@gated-at.bofh.it> (permalink)
References <u6M3T-5Cy-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Now that we support the MMC controllers on the A83T SoC, we can enable
them on some boards.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 27 ++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
index cff33454fc24..163ddf8868b5 100644
--- a/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
@@ -83,6 +83,13 @@
 		};
 	};
 
+	reg_vcc3v3: vcc3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
 	sound {
 		compatible = "simple-audio-card";
 		simple-audio-card,name = "On-board SPDIF";
@@ -102,6 +109,26 @@
 	};
 };
 
+&mmc0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc0_pins>;
+	vmmc-supply = <&reg_vcc3v3>;
+	bus-width = <4>;
+	cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
+	cd-inverted;
+	status = "okay";
+};
+
+&mmc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc2_8bit_emmc_pins>;
+	vmmc-supply = <&reg_vcc3v3>;
+	bus-width = <8>;
+	non-removable;
+	cap-mmc-hw-reset;
+	status = "okay";
+};
+
 &spdif {
 	status = "okay";
 };
-- 
2.13.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 00/10] ARM: sun8i: a83t: Add support for MMC controllers Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:00 +0200
  [PATCH v3 08/10] ARM: dts: sun8i: a83t: Add pingroup for 8-bit eMMC on mmc2 Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
    Re: [PATCH v3 08/10] ARM: dts: sun8i: a83t: Add pingroup for 8-bit  eMMC on mmc2 Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-25 09:40 +0200
  [PATCH v3 07/10] ARM: dts: sun8i: a83t: Add MMC controller device nodes Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
    Re: [PATCH v3 07/10] ARM: dts: sun8i: a83t: Add MMC controller  device nodes Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-25 09:40 +0200
  [PATCH v3 06/10] mmc: sunxi: Add support for A83T eMMC (MMC2) Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
  [PATCH v3 10/10] ARM: dts: sun8i: a83t: h8homlet: Enable micro-SD card and onboard eMMC Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
    Re: [PATCH v3 10/10] ARM: dts: sun8i: a83t: h8homlet: Enable  micro-SD card and onboard eMMC Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-25 09:40 +0200
  [PATCH v3 01/10] clk: sunxi-ng: Add interface to query or configure MMC timing modes. Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
    Re: [PATCH v3 01/10] clk: sunxi-ng: Add interface to query or  configure MMC timing modes. Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-25 09:40 +0200
  [PATCH v3 05/10] mmc: sunxi: Support MMC DDR52 transfer mode with new timing mode Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
  [PATCH v3 09/10] ARM: dts: sun8i: a83t: cubietruck-plus: Enable micro-SD card and eMMC Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
    Re: [PATCH v3 09/10] ARM: dts: sun8i: a83t: cubietruck-plus: Enable  micro-SD card and eMMC Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-25 09:40 +0200
  [PATCH v3 04/10] mmc: sunxi: Support controllers that can use both old and new timings Chen-Yu Tsai <wens@csie.org> - 2017-07-24 16:10 +0200
  Re: [PATCH v3 00/10] ARM: sun8i: a83t: Add support for MMC controllers Chen-Yu Tsai <wens@csie.org> - 2017-07-26 16:20 +0200
    Re: [PATCH v3 00/10] ARM: sun8i: a83t: Add support for MMC  controllers Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-07-26 21:50 +0200

csiph-web