linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: linux-rpi-kernel@lists.infradead.org
Cc: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com,
	f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com,
	bcm-kernel-feedback-list@broadcom.com, swarren@wwwdotorg.org,
	lee@kernel.org, eric@anholt.net, linux@armlinux.org.uk,
	catalin.marinas@arm.com, will.deacon@arm.com,
	linux-mmc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: [PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree
Date: Fri,  3 Feb 2017 13:11:48 +0100	[thread overview]
Message-ID: <1486123913-31705-4-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1486123913-31705-1-git-send-email-kraxel@redhat.com>

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

  parent reply	other threads:[~2017-02-03 12:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-03 12:11 [PATCH v2 0/8] mmc: bcm2835: Add new driver for the sdhost controller Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 1/8] dt-bindings: Add binding for brcm,bcm2835-sdhost Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 2/8] mmc: bcm2835: Add new driver for the sdhost controller Gerd Hoffmann
2017-02-06 20:34   ` Stefan Wahren
2017-02-07  8:02     ` Gerd Hoffmann
2017-02-07  8:24       ` Stefan Wahren
2017-02-08 18:08       ` Stefan Wahren
2017-02-03 12:11 ` Gerd Hoffmann [this message]
2017-02-03 17:31   ` [PATCH v2 3/8] mmc: bcm2835: add sdhost controller to devicetree Eric Anholt
2017-02-03 12:11 ` [PATCH v2 4/8] arm: set CONFIG_MMC_BCM2835=y in bcm2835_defconfig Gerd Hoffmann
2017-02-03 17:26   ` Eric Anholt
2017-02-03 12:11 ` [PATCH v2 5/8] arm: set CONFIG_MMC_BCM2835=y in multi_v7_defconfig Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 6/8] arm64: set CONFIG_MMC_BCM2835=y in defconfig Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 7/8] ARM: dts: bcm283x: switch from &sdhci to &sdhost Gerd Hoffmann
2017-02-03 12:11 ` [PATCH v2 8/8] ARM: dts: bcm2837: add &sdhci and &sdhost Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486123913-31705-4-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=f.fainelli@gmail.com \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=rjui@broadcom.com \
    --cc=robh+dt@kernel.org \
    --cc=sbranden@broadcom.com \
    --cc=swarren@wwwdotorg.org \
    --cc=ulf.hansson@linaro.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).