summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-07-15 10:38:56 +0200
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 14:02:15 +0200
commitb94e757c4b3aafa52f8b82efed8660427a8d2880 (patch)
tree0664de3fe29e8d10741bc603aed6342d9ab13be4 /Documentation
parentmtd: pxa3xx_nand: enable multiple chip select support (diff)
downloadlinux-b94e757c4b3aafa52f8b82efed8660427a8d2880.tar.xz
linux-b94e757c4b3aafa52f8b82efed8660427a8d2880.zip
mtd: dataflash: add device tree probe support
It adds device tree probe support for mtd_dataflash driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/mtd/atmel-dataflash.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt b/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt
new file mode 100644
index 000000000000..ef66ddd01da0
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt
@@ -0,0 +1,14 @@
+* Atmel Data Flash
+
+Required properties:
+- compatible : "atmel,<model>", "atmel,<series>", "atmel,dataflash".
+
+Example:
+
+flash@1 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
+ spi-max-frequency = <25000000>;
+ reg = <1>;
+};