diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2012-12-24 23:58:56 -0500 |
---|---|---|
committer | Stephen Warren <swarren@wwwdotorg.org> | 2013-01-14 23:47:08 -0500 |
commit | 5186bf287aa4393b78c36f548d9b06001046b65e (patch) | |
tree | c197bfd3a11c9671465a9c0cec9d0ca6de11c390 | |
parent | 6520700fdb2cc07ed86e893a2e88c491e04d6b75 (diff) |
ARM: bcm2835: add SDHCI node to DT
Add the SDHCI device node to the SoC DT file. Add a dummy fixed-clock
to satisfy the SDHCI driver's clock lookup; eventually this should be
replaced by a real clock implementation. Add board specific properties
to the Raspberry Pi board file.
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
-rw-r--r-- | arch/arm/boot/dts/bcm2835-rpi-b.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/bcm2835.dtsi | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts index 6ff26f99cacd..0544ef860623 100644 --- a/arch/arm/boot/dts/bcm2835-rpi-b.dts +++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts | |||
@@ -24,3 +24,8 @@ | |||
24 | brcm,function = <7>; /* alt3 */ | 24 | brcm,function = <7>; /* alt3 */ |
25 | }; | 25 | }; |
26 | }; | 26 | }; |
27 | |||
28 | &sdhci { | ||
29 | status = "okay"; | ||
30 | bus-width = <4>; | ||
31 | }; | ||
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index 8917550fd1bb..1d7e4f5c0b1e 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi | |||
@@ -63,5 +63,19 @@ | |||
63 | interrupt-controller; | 63 | interrupt-controller; |
64 | #interrupt-cells = <2>; | 64 | #interrupt-cells = <2>; |
65 | }; | 65 | }; |
66 | |||
67 | sdhci: sdhci { | ||
68 | compatible = "brcm,bcm2835-sdhci"; | ||
69 | reg = <0x7e300000 0x100>; | ||
70 | interrupts = <2 30>; | ||
71 | clocks = <&clk_mmc>; | ||
72 | status = "disabled"; | ||
73 | }; | ||
74 | }; | ||
75 | |||
76 | clk_mmc: clock { | ||
77 | compatible = "fixed-clock"; | ||
78 | #clock-cells = <0>; | ||
79 | clock-frequency = <100000000>; | ||
66 | }; | 80 | }; |
67 | }; | 81 | }; |