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


Groups > linux.kernel > #1585144

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

From Gerd Hoffmann <kraxel@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v3 7/7] ARM: dts: bcm2837: add &sdhci and &sdhost
Date 2017-02-21 10:10 +0100
Message-ID <tdeCm-t4-45@gated-at.bofh.it> (permalink)
References <tdeCl-t4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

[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

csiph-web