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


Groups > linux.kernel > #1549461

[PATCH 4/5] arm64: dts: Pine64: add MMC support

From Andre Przywara <andre.przywara@arm.com>
Newsgroups linux.kernel
Subject [PATCH 4/5] arm64: dts: Pine64: add MMC support
Date 2017-01-03 00:50 +0100
Message-ID <sVkwx-5RO-7@gated-at.bofh.it> (permalink)
References <sVjTQ-5zO-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index 4709590..c18ab03 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -55,6 +55,13 @@
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
+
+	reg_vcc3v3: vcc3v3 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
 };
 
 &uart0 {
@@ -72,3 +79,14 @@
 &i2c1_pins {
 	bias-pull-up;
 };
+
+&mmc0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc0_pins>, <&mmc0_default_cd_pin>;
+	vmmc-supply = <&reg_vcc3v3>;
+	cd-gpios = <&pio 5 6 0>;
+	cd-inverted;
+	disable-wp;
+	bus-width = <4>;
+	status = "okay";
+};
-- 
2.8.2

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


Thread

[PATCH 0/5] arm64: sunxi: A64: enable MMC support Andre Przywara <andre.przywara@arm.com> - 2017-01-03 00:10 +0100
  [PATCH 2/5] drivers: mmc: sunxi: limit A64 MMC2 to 8K DMA buffer Andre Przywara <andre.przywara@arm.com> - 2017-01-03 00:30 +0100
  [PATCH 3/5] arm64: dts: sun50i: add MMC nodes Andre Przywara <andre.przywara@arm.com> - 2017-01-03 00:40 +0100
    Re: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes Chen-Yu Tsai <wens@csie.org> - 2017-01-03 04:00 +0100
      Re: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes André Przywara <andre.przywara@arm.com> - 2017-01-03 12:00 +0100
        Re: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes Chen-Yu Tsai <wens@csie.org> - 2017-01-03 14:40 +0100
  [PATCH 4/5] arm64: dts: Pine64: add MMC support Andre Przywara <andre.przywara@arm.com> - 2017-01-03 00:50 +0100
  [PATCH 5/5] arm64: dts: add BananaPi-M64 support Andre Przywara <andre.przywara@arm.com> - 2017-01-03 01:10 +0100

csiph-web