ARM: dts: bcm2835: add sdhost controller to devicetree
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 8 Mar 2017 09:19:05 +0000 (10:19 +0100)
committerEric Anholt <eric@anholt.net>
Sat, 18 Mar 2017 00:35:50 +0000 (17:35 -0700)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
arch/arm/boot/dts/bcm2835-rpi.dtsi
arch/arm/boot/dts/bcm283x.dtsi

index 1e4141914a6d76889dbe8608fa81bad13af3e890..a7b5ce133784f12bee9ff2199d9e85c757fd4e17 100644 (file)
        bus-width = <4>;
 };
 
+&sdhost {
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdhost_gpio48>;
+       bus-width = <4>;
+};
+
 &pwm {
        pinctrl-names = "default";
        pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
index d8bdcead4e8d6eff2752c87dddbf9b8ac0967ae3..35cea3fcaf5c479e68e50e5d8e6606cb9735abba 100644 (file)
                        arm,primecell-periphid = <0x00241011>;
                };
 
+               sdhost: mmc@7e202000 {
+                       compatible = "brcm,bcm2835-sdhost";
+                       reg = <0x7e202000 0x100>;
+                       interrupts = <2 24>;
+                       clocks = <&clocks BCM2835_CLOCK_VPU>;
+                       dmas = <&dma 13>;
+                       dma-names = "rx-tx";
+                       status = "disabled";
+               };
+
                i2s: i2s@7e203000 {
                        compatible = "brcm,bcm2835-i2s";
                        reg = <0x7e203000 0x20>,