aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd/mxc-nand.txt
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2012-04-23 11:23:41 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-05-13 23:03:08 -0500
commit6436356ba156b909c34a72e2905d9a9a874ca8e1 (patch)
tree7c19d41ca3c8695b7d950abe13c432bbeee7803c /Documentation/devicetree/bindings/mtd/mxc-nand.txt
parentf48d0f9aa93c8f1d38f21d2531d572cf96205d58 (diff)
mtd: mxc_nand: implement device tree probing
This is tested on i.MX27. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/mxc-nand.txt')
-rw-r--r--Documentation/devicetree/bindings/mtd/mxc-nand.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mxc-nand.txt b/Documentation/devicetree/bindings/mtd/mxc-nand.txt
new file mode 100644
index 00000000000..b5833d11c7b
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/mxc-nand.txt
@@ -0,0 +1,19 @@
+* Freescale's mxc_nand
+
+Required properties:
+- compatible: "fsl,imxXX-nand"
+- reg: address range of the nfc block
+- interrupts: irq to be used
+- nand-bus-width: see nand.txt
+- nand-ecc-mode: see nand.txt
+- nand-on-flash-bbt: see nand.txt
+
+Example:
+
+ nand@d8000000 {
+ compatible = "fsl,imx27-nand";
+ reg = <0xd8000000 0x1000>;
+ interrupts = <29>;
+ nand-bus-width = <8>;
+ nand-ecc-mode = "hw";
+ };