]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mmc: bcm281xx SDHCI driver (dt mods)
authorChristian Daudt <csd@broadcom.com>
Fri, 10 May 2013 07:10:07 +0000 (00:10 -0700)
committerChristian Daudt <csd@broadcom.com>
Thu, 20 Jun 2013 21:13:12 +0000 (14:13 -0700)
Add SDHCI bindings for the Broadcom 281xx SoCs.

Changes from V2:
 - Documentation cleanups

Changes from V1:
 - split original patch into 2, one for driver and this one for dt

Signed-off-by: Christian Daudt <csd@broadcom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt [new file with mode: 0644]
arch/arm/boot/dts/bcm11351-brt.dts
arch/arm/boot/dts/bcm11351.dtsi

diff --git a/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt b/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt
new file mode 100644 (file)
index 0000000..094ae01
--- /dev/null
@@ -0,0 +1,16 @@
+Broadcom BCM281xx SDHCI
+
+This file documents differences between the core properties in mmc.txt
+and the properties present in the bcm281xx SDHCI
+
+Required properties:
+- compatible : Should be "bcm,kona-sdhci"
+
+Example:
+
+sdio2: sdio@0x3f1a0000 {
+       compatible = "bcm,kona-sdhci";
+       reg = <0x3f1a0000 0x10000>;
+       interrupts = <0x0 74 0x4>;
+};
+
index 3392f64c34ae2ca94ac6a4a25cfbe697cb9e13df..67ec524098b53516e54961e19d84e6be1e517e30 100644 (file)
                status = "okay";
        };
 
+       sdio0: sdio@0x3f180000 {
+               max-frequency = <48000000>;
+               status = "okay";
+       };
+
+       sdio1: sdio@0x3f190000 {
+               non-removable;
+               max-frequency = <48000000>;
+               status = "okay";
+       };
+
+       sdio3: sdio@0x3f1b0000 {
+               max-frequency = <48000000>;
+               status = "okay";
+       };
+
+
 };
index 824bebe90c639fd520a9439bbe37962d3e0cb3c9..c7944530d2c013d0d40c5edeb4931d86ce913e8f 100644 (file)
                clock-frequency = <32768>;
        };
 
+       sdio0: sdio@0x3f180000 {
+               compatible = "bcm,kona-sdhci";
+               reg = <0x3f180000 0x10000>;
+               interrupts = <0x0 77 0x4>;
+               status = "disabled";
+       };
+
+       sdio1: sdio@0x3f190000 {
+               compatible = "bcm,kona-sdhci";
+               reg = <0x3f190000 0x10000>;
+               interrupts = <0x0 76 0x4>;
+               status = "disabled";
+       };
+
+       sdio2: sdio@0x3f1a0000 {
+               compatible = "bcm,kona-sdhci";
+               reg = <0x3f1a0000 0x10000>;
+               interrupts = <0x0 74 0x4>;
+               status = "disabled";
+       };
+
+       sdio3: sdio@0x3f1b0000 {
+               compatible = "bcm,kona-sdhci";
+               reg = <0x3f1b0000 0x10000>;
+               interrupts = <0x0 73 0x4>;
+               status = "disabled";
+       };
+
 };