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


Groups > linux.kernel > #1585144 > unrolled thread

[PATCH v3 7/7] ARM: dts: bcm2837: add &sdhci and &sdhost

Started byGerd Hoffmann <kraxel@redhat.com>
First post2017-02-21 10:10 +0100
Last post2017-02-21 10:30 +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 v3 7/7] ARM: dts: bcm2837: add &sdhci and &sdhost Gerd Hoffmann <kraxel@redhat.com> - 2017-02-21 10:10 +0100
    Re: [PATCH v3 7/7] ARM: dts: bcm2837: add &sdhci and &sdhost Baruch Siach <baruch@tkos.co.il> - 2017-02-21 10:30 +0100

#1585144 — [PATCH v3 7/7] ARM: dts: bcm2837: add &sdhci and &sdhost

FromGerd Hoffmann <kraxel@redhat.com>
Date2017-02-21 10:10 +0100
Subject[PATCH v3 7/7] ARM: dts: bcm2837: add &sdhci and &sdhost
Message-ID<tdeCm-t4-45@gated-at.bofh.it>
For the raspberry pi 3 we'll need both sdhci (handles sdio wifi) and
sdhost (handles sdcard).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Eric Anholt <eric@anholt.net>
---
 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
index c309633..972f14d 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -22,3 +22,20 @@
 &uart1 {
 	status = "okay";
 };
+
+/* SDHCI is used to control the SDIO for wireless */
+&sdhci {
+	pinctrl-names = "default";
+	pinctrl-0 = <&emmc_gpio34>;
+	status = "okay";
+	bus-width = <4>;
+	non-removable;
+};
+
+/* SDHOST is used to drive the SD card */
+&sdhost {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdhost_gpio48>;
+	status = "okay";
+	bus-width = <4>;
+};
-- 
1.8.3.1

[toc] | [next] | [standalone]


#1585157

FromBaruch Siach <baruch@tkos.co.il>
Date2017-02-21 10:30 +0100
Message-ID<tdeVI-B8-11@gated-at.bofh.it>
In reply to#1585144
Hi Gerd,

On Tue, Feb 21, 2017 at 10:07:06AM +0100, Gerd Hoffmann wrote:
> For the raspberry pi 3 we'll need both sdhci (handles sdio wifi) and
> sdhost (handles sdcard).
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> Acked-by: Eric Anholt <eric@anholt.net>
> ---
>  arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)

Subject prefix should be 'arm64:'.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web