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


Groups > linux.kernel > #1573050 > unrolled thread

[PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree

Started byGerd Hoffmann <kraxel@redhat.com>
First post2017-02-03 13:20 +0100
Last post2017-02-03 18:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree Gerd Hoffmann <kraxel@redhat.com> - 2017-02-03 13:20 +0100
    Re: [PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree Eric Anholt <eric@anholt.net> - 2017-02-03 18:40 +0100

#1573050 — [PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree

FromGerd Hoffmann <kraxel@redhat.com>
Date2017-02-03 13:20 +0100
Subject[PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree
Message-ID<t6L0l-1tH-1@gated-at.bofh.it>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi |  6 ++++++
 arch/arm/boot/dts/bcm283x.dtsi     | 10 ++++++++++
 2 files changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index 0b73f9c..7d89af2 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -69,6 +69,12 @@
 	bus-width = <4>;
 };
 
+&sdhost {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdhost_gpio48>;
+	bus-width = <4>;
+};
+
 &pwm {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index a3106aa..180f359 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -450,6 +450,16 @@
 			status = "disabled";
 		};
 
+		sdhost: mmc@7e202000 {
+			compatible = "brcm,bcm2835-sdhost";
+			reg = <0x7e202000 0x100>;
+			interrupts = <2 24>;
+			clocks = <&clocks BCM2835_CLOCK_VPU>;
+			dmas = <&dma 13>, <&dma 13>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
 		hvs@7e400000 {
 			compatible = "brcm,bcm2835-hvs";
 			reg = <0x7e400000 0x6000>;
-- 
1.8.3.1

[toc] | [next] | [standalone]


#1573292

FromEric Anholt <eric@anholt.net>
Date2017-02-03 18:40 +0100
Message-ID<t6Q02-4Hp-25@gated-at.bofh.it>
In reply to#1573050

[Multipart message — attachments visible in raw view] — view raw

Gerd Hoffmann <kraxel@redhat.com> writes:

> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Patches 3, 7, 8 are:

Acked-by: Eric Anholt <eric@anholt.net>

waiting on Ulf for merging the driver now.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web