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


Groups > linux.kernel > #1568262

[PATCH 3/4] mmc: bcm2835: add internal SD controller to devicetree

From Gerd Hoffmann <kraxel@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 3/4] mmc: bcm2835: add internal SD controller to devicetree
Date 2017-01-27 12:50 +0100
Message-ID <t4dcw-3zE-73@gated-at.bofh.it> (permalink)
References <t4dct-3zE-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 6 ++++++
 arch/arm/boot/dts/bcm283x.dtsi     | 8 ++++++++
 2 files changed, 14 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..2024f9b 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -450,6 +450,14 @@
 			status = "disabled";
 		};
 
+		sdhost: sdhost@7e202000 {
+			compatible = "brcm,bcm2835-sdhost";
+			reg = <0x7e202000 0x100>;
+			interrupts = <2 24>;
+			clocks = <&clocks BCM2835_CLOCK_VPU>;
+			status = "disabled";
+		};
+
 		hvs@7e400000 {
 			compatible = "brcm,bcm2835-hvs";
 			reg = <0x7e400000 0x6000>;
-- 
1.8.3.1

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


Thread

[PATCH 0/4] mmc: bcm2835: Add new driver for the internal SD controller. Gerd Hoffmann <kraxel@redhat.com> - 2017-01-27 12:50 +0100
  [PATCH 4/4] ARM: dts: bcm283x: switch from &sdhci to &sdhost Gerd Hoffmann <kraxel@redhat.com> - 2017-01-27 12:50 +0100
  [PATCH 3/4] mmc: bcm2835: add internal SD controller to devicetree Gerd Hoffmann <kraxel@redhat.com> - 2017-01-27 12:50 +0100
  Re: [PATCH 2/4] mmc: bcm2835: Add new driver for the internal SD controller. Ulf Hansson <ulf.hansson@linaro.org> - 2017-01-27 16:40 +0100
    Re: [PATCH 2/4] mmc: bcm2835: Add new driver for the internal SD  controller. Stefan Wahren <stefan.wahren@i2se.com> - 2017-01-27 17:20 +0100
      Re: [PATCH 2/4] mmc: bcm2835: Add new driver for the internal SD controller. Ulf Hansson <ulf.hansson@linaro.org> - 2017-01-30 09:30 +0100

csiph-web