[PATCH 1/4] dt: bindings: add bcm2835-memory-controller documentation

From: kernel
Date: Thu May 12 2016 - 08:39:07 EST


From: Martin Sperl <kernel@xxxxxxxxxxxxxxxx>

Add memory controller dt-binding documentation for the
bcm2835 soc.

Signed-off-by: Martin Sperl <kernel@xxxxxxxxxxxxxxxx>
---
.../bindings/memory-controllers/brcm,bcm2835-sdram.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt

diff --git a/Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt b/Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt
new file mode 100644
index 0000000..d1cb151
--- /dev/null
+++ b/Documentation/devicetree/bindings/memory-controllers/brcm,bcm2835-sdram.txt
@@ -0,0 +1,16 @@
+Binding for SDRAM driver for BCM2835 SoCs.
+
+Required parameters:
+-------------------
+
+compatible : should be: "brcm,bcm2835-sdram"
+reg : Address ranges of the ic1/ic2 registers.
+clocks : Phandle of the clock used by the sdram.
+
+Example:
+
+memory-conroller@7e002000 {
+ compatible = "brcm,bcm2835-sdram";
+ reg = <0x7e002000 0x58>, <0x7e002800 0x58>;
+ clocks = <&clocks BCM2835_CLOCK_SDRAM>;
+};
--
2.1.4