diff options
author | Christian Daudt <csd@broadcom.com> | 2013-05-10 03:10:07 -0400 |
---|---|---|
committer | Christian Daudt <csd@broadcom.com> | 2013-06-20 17:13:12 -0400 |
commit | 2dbfe74868dd0ed127b6758118468fe275e62508 (patch) | |
tree | a8ffe499dd25ddb55b2fd90d60d208679e3dac59 | |
parent | 5401cc4322f24bd743f18f832a2f3d906f5b42ce (diff) |
ARM: mmc: bcm281xx SDHCI driver (dt mods)
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>
-rw-r--r-- | Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt | 16 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm11351-brt.dts | 17 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm11351.dtsi | 28 |
3 files changed, 61 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt b/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt new file mode 100644 index 000000000000..094ae010f2fb --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | Broadcom BCM281xx SDHCI | ||
2 | |||
3 | This file documents differences between the core properties in mmc.txt | ||
4 | and the properties present in the bcm281xx SDHCI | ||
5 | |||
6 | Required properties: | ||
7 | - compatible : Should be "bcm,kona-sdhci" | ||
8 | |||
9 | Example: | ||
10 | |||
11 | sdio2: sdio@0x3f1a0000 { | ||
12 | compatible = "bcm,kona-sdhci"; | ||
13 | reg = <0x3f1a0000 0x10000>; | ||
14 | interrupts = <0x0 74 0x4>; | ||
15 | }; | ||
16 | |||
diff --git a/arch/arm/boot/dts/bcm11351-brt.dts b/arch/arm/boot/dts/bcm11351-brt.dts index 3392f64c34ae..67ec524098b5 100644 --- a/arch/arm/boot/dts/bcm11351-brt.dts +++ b/arch/arm/boot/dts/bcm11351-brt.dts | |||
@@ -27,4 +27,21 @@ | |||
27 | status = "okay"; | 27 | status = "okay"; |
28 | }; | 28 | }; |
29 | 29 | ||
30 | sdio0: sdio@0x3f180000 { | ||
31 | max-frequency = <48000000>; | ||
32 | status = "okay"; | ||
33 | }; | ||
34 | |||
35 | sdio1: sdio@0x3f190000 { | ||
36 | non-removable; | ||
37 | max-frequency = <48000000>; | ||
38 | status = "okay"; | ||
39 | }; | ||
40 | |||
41 | sdio3: sdio@0x3f1b0000 { | ||
42 | max-frequency = <48000000>; | ||
43 | status = "okay"; | ||
44 | }; | ||
45 | |||
46 | |||
30 | }; | 47 | }; |
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 824bebe90c63..c7944530d2c0 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi | |||
@@ -63,4 +63,32 @@ | |||
63 | clock-frequency = <32768>; | 63 | clock-frequency = <32768>; |
64 | }; | 64 | }; |
65 | 65 | ||
66 | sdio0: sdio@0x3f180000 { | ||
67 | compatible = "bcm,kona-sdhci"; | ||
68 | reg = <0x3f180000 0x10000>; | ||
69 | interrupts = <0x0 77 0x4>; | ||
70 | status = "disabled"; | ||
71 | }; | ||
72 | |||
73 | sdio1: sdio@0x3f190000 { | ||
74 | compatible = "bcm,kona-sdhci"; | ||
75 | reg = <0x3f190000 0x10000>; | ||
76 | interrupts = <0x0 76 0x4>; | ||
77 | status = "disabled"; | ||
78 | }; | ||
79 | |||
80 | sdio2: sdio@0x3f1a0000 { | ||
81 | compatible = "bcm,kona-sdhci"; | ||
82 | reg = <0x3f1a0000 0x10000>; | ||
83 | interrupts = <0x0 74 0x4>; | ||
84 | status = "disabled"; | ||
85 | }; | ||
86 | |||
87 | sdio3: sdio@0x3f1b0000 { | ||
88 | compatible = "bcm,kona-sdhci"; | ||
89 | reg = <0x3f1b0000 0x10000>; | ||
90 | interrupts = <0x0 73 0x4>; | ||
91 | status = "disabled"; | ||
92 | }; | ||
93 | |||
66 | }; | 94 | }; |