]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: syscon: Add Atmel SMC binding doc
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 14 Jan 2015 16:21:56 +0000 (17:21 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 15 Jan 2015 13:35:13 +0000 (14:35 +0100)
The SMC registers are used to configure Atmel EBI (External Bus Interface)
to interface with standard memory devices (NAND, NOR, SRAM or specialized
devices like FPGAs).

Declare this memory region as a syscon, so that different drivers can
configure the SMC interface (mostly timing configuration) according to
their need.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Documentation/devicetree/bindings/mfd/atmel-smc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/mfd/atmel-smc.txt b/Documentation/devicetree/bindings/mfd/atmel-smc.txt
new file mode 100644 (file)
index 0000000..26eeed3
--- /dev/null
@@ -0,0 +1,19 @@
+* Device tree bindings for Atmel SMC (Static Memory Controller)
+
+The SMC registers are used to configure Atmel EBI (External Bus Interface)
+to interface with standard memory devices (NAND, NOR, SRAM or specialized
+devices like FPGAs).
+
+Required properties:
+- compatible:          Should be one of the following
+                       "atmel,at91sam9260-smc", "syscon"
+                       "atmel,sama5d3-smc", "syscon"
+- reg:                 Contains offset/length value of the SMC memory
+                       region.
+
+Example:
+
+smc: smc@ffffc000 {
+       compatible = "atmel,sama5d3-smc", "syscon";
+       reg = <0xffffc000 0x1000>;
+};