summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-11-19 12:57:29 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-11-19 12:57:29 +0100
commit98e5abb44af2123c545fd15ddfcb8d12ef6327dd (patch)
tree3fcc445807a4f021c61995a7906fc0b42475f0d3 /Documentation
parentc6ac27ed1a1e24b65ae6ad819b74c2b44de96ff3 (diff)
parentd96e1e87b7c0984a761bad83c57acfd3d6283203 (diff)
Merge branch 'vf610-nfc-3.18' into toradex_vf_3.18-next
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>;
+ };