]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: bcm2837: add &sdhci and &sdhost
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 8 Mar 2017 09:19:11 +0000 (10:19 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 15 May 2017 22:48:26 +0000 (15:48 -0700)
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

index c309633a1e87480ae5047f45116197e0adaad17a..972f14db28accd1f25e5d5cd9d7ce2854c9976c8 100644 (file)
@@ -22,3 +22,20 @@ act {
 &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>;
+};