]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt-bindings: mtd: atmel-nand: Document the nfc-io bindings
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 30 May 2017 09:20:51 +0000 (11:20 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 31 May 2017 09:55:33 +0000 (11:55 +0200)
SAMA5 SoCs embed an advanced NAND controller logic to automate READ/WRITE
page accesses. This advanced logic is exposed through a separate I/O mem
range and is thus represented in a different node with its own compatible.

Document the bindings of this nfc-io block.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/mtd/atmel-nand.txt

index f6bee57e453aa6dcb9114a188538e1c69860b4b2..9bb66e476672b3fa66b707f8f960d4a53ff2eb1d 100644 (file)
@@ -59,8 +59,22 @@ Required properties:
 - reg: should contain 2 register ranges. The first one is pointing to the PMECC
        block, and the second one to the PMECC_ERRLOC block.
 
+* SAMA5 NFC I/O bindings:
+
+SAMA5 SoCs embed an advanced NAND controller logic to automate READ/WRITE page
+operations. This interface to this logic is placed in a separate I/O range and
+should thus have its own DT node.
+
+- compatible: should be "atmel,sama5d3-nfc-io", "syscon".
+- reg: should contain the I/O range used to interact with the NFC logic.
+
 Example:
 
+       nfc_io: nfc-io@70000000 {
+               compatible = "atmel,sama5d3-nfc-io", "syscon";
+               reg = <0x70000000 0x8000000>;
+       };
+
        pmecc: ecc-engine@ffffc070 {
                compatible = "atmel,at91sam9g45-pmecc";
                 reg = <0xffffc070 0x490>,