[PATCH v3 2/3] mtd: nand: add asm9260-nand devicetree documentation
Oleksij Rempel
linux at rempel-privat.de
Wed Dec 31 04:58:52 PST 2014
Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
.../devicetree/bindings/mtd/asm9260-nand.txt | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mtd/asm9260-nand.txt
diff --git a/Documentation/devicetree/bindings/mtd/asm9260-nand.txt b/Documentation/devicetree/bindings/mtd/asm9260-nand.txt
new file mode 100644
index 0000000..07bfdac
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/asm9260-nand.txt
@@ -0,0 +1,25 @@
+* Alphascales's asm9260_nand
+
+Required properties:
+- compatible: "alphascale,asm9260-nand"
+- reg: address range of the nfc block
+- interrupts: irq to be used
+- clocks: clock ids.
+- clock-names: only "sys" and "ahb" should be used.
+- nand-ecc-strength: see nand.txt
+- nand-ecc-mode: see nand.txt
+- nand-on-flash-bbt: see nand.txt
+- nand-max-chips: maximal number of attached chips. asm9260 support max 2.
+
+Example:
+
+ nand at d8000000 {
+ compatible = "alphascale,asm9260-nand";
+ reg = <0x80600000 0x100>;
+ interrupts = <29>;
+ nand-ecc-strength = <4>;
+ nand-ecc-mode = "hw";
+ nand-max-chips = <1>;
+ clocks = <&acc CLKID_SYS_NAND>, <&acc CLKID_AHB_NAND>;
+ clock-names = "sys", "ahb";
+ };
--
1.9.1
More information about the linux-mtd
mailing list