summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-07-15 16:38:56 +0800
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 15:02:15 +0300
commitb94e757c4b3aafa52f8b82efed8660427a8d2880 (patch)
tree0664de3fe29e8d10741bc603aed6342d9ab13be4 /Documentation/devicetree
parentf3c8cfc237927cc095e8bcb1e3794cfa76390bab (diff)
downloadtalos-obmc-linux-b94e757c4b3aafa52f8b82efed8660427a8d2880.tar.gz
talos-obmc-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/devicetree')
-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>;
+};
OpenPOWER on IntegriCloud