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


Groups > linux.kernel > #1594980

[PATCH v4 3/7] mmc: bcm2835: add sdhost controller to devicetree

From Gerd Hoffmann <kraxel@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v4 3/7] mmc: bcm2835: add sdhost controller to devicetree
Date 2017-03-08 10:30 +0100
Message-ID <tiG4Y-4sw-49@gated-at.bofh.it> (permalink)
References <tiG4W-4sw-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Eric Anholt <eric@anholt.net>
---
 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 1e00a28..8b95832 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 9798bc9..19099a5 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -350,6 +350,16 @@
 			arm,primecell-periphid = <0x00241011>;
 		};
 
+		sdhost: mmc@7e202000 {
+			compatible = "brcm,bcm2835-sdhost";
+			reg = <0x7e202000 0x100>;
+			interrupts = <2 24>;
+			clocks = <&clocks BCM2835_CLOCK_VPU>;
+			dmas = <&dma 13>;
+			dma-names = "rx-tx";
+			status = "disabled";
+		};
+
 		i2s: i2s@7e203000 {
 			compatible = "brcm,bcm2835-i2s";
 			reg = <0x7e203000 0x20>,
-- 
1.8.3.1

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


Thread

[PATCH v4 0/7] mmc: bcm2835: Add new driver for the sdhost controller Gerd Hoffmann <kraxel@redhat.com> - 2017-03-08 10:30 +0100
  [PATCH v4 5/7] arm64: set CONFIG_MMC_BCM2835=y in defconfig Gerd Hoffmann <kraxel@redhat.com> - 2017-03-08 10:30 +0100
  [PATCH v4 3/7] mmc: bcm2835: add sdhost controller to devicetree Gerd Hoffmann <kraxel@redhat.com> - 2017-03-08 10:30 +0100
    Re: [PATCH v4 3/7] mmc: bcm2835: add sdhost controller to devicetree Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-08 13:20 +0100
  Re: [PATCH v4 0/7] mmc: bcm2835: Add new driver for the sdhost  controller Gerd Hoffmann <kraxel@redhat.com> - 2017-03-08 10:40 +0100

csiph-web