summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBill Pringlemeir <bpringlemeir@nbsps.com>2014-01-08 18:07:19 -0500
committerStefan Agner <stefan.agner@toradex.com>2014-11-19 12:35:22 +0100
commit1395c7ef3132eabcb05a72ea941b12a0a351d35b (patch)
tree5017fbf024e55a30f267db715db0995ce4c3c43e /Documentation
parentf7241aa9ecd56767e319a3cc19299cef64b20d0c (diff)
mtd:fsl_nfc: Add device tree documentation.
Signed-off-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mtd/fsl-nfc.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/fsl-nfc.txt b/Documentation/devicetree/bindings/mtd/fsl-nfc.txt
new file mode 100644
index 000000000000..1d339b194108
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/fsl-nfc.txt
@@ -0,0 +1,25 @@
+* Freescale's NFC (nand flash controller)
+
+Required properties:
+- compatible : "fsl,XXX-nfc"
+- reg : Address range of the mtd chip
+- interrupts: Should contain the STMMAC interrupts
+- nand-bus-width: see nand.txt
+- nand-ecc-mode: see nand.txt
+- nand-on-flash-bbt: see nand.txt
+- clock-frequency : Optional clock rate to NFC in Hz
+- #address-cells, #size-cells : Must be present if the device has sub-nodes
+ representing partitions.
+
+Example:
+
+ nfc: nand@400e0000 {
+ compatible = "fsl,vf610-nfc";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = <0x400e0000 0x4000>;
+ interrupts = <0 83 0x04>;
+ clocks = <&clks VF610_CLK_NFC>;
+ clock-names = "nfc";
+ clock-frequency = <33000000>;
+ };