Skip to content

Commit

Permalink
ARM: mmc: bcm281xx SDHCI driver (dt mods)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Daudt committed Jun 20, 2013
1 parent 5401cc4 commit 2dbfe74
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

17 changes: 17 additions & 0 deletions arch/arm/boot/dts/bcm11351-brt.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,21 @@
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";
};


};
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/bcm11351.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,32 @@
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";
};

};

0 comments on commit 2dbfe74

Please sign in to comment.