summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/mtd/cortina,gemini-flash.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/mtd/cortina,gemini-flash.txt')
-rw-r--r--dts/Bindings/mtd/cortina,gemini-flash.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/dts/Bindings/mtd/cortina,gemini-flash.txt b/dts/Bindings/mtd/cortina,gemini-flash.txt
new file mode 100644
index 0000000000..3fa1b34d69
--- /dev/null
+++ b/dts/Bindings/mtd/cortina,gemini-flash.txt
@@ -0,0 +1,24 @@
+Flash device on Cortina Systems Gemini SoC
+
+This flash is regular CFI compatible (Intel or AMD extended) flash chips with
+some special bits that can be controlled by the machine's system controller.
+
+Required properties:
+- compatible : must be "cortina,gemini-flash", "cfi-flash";
+- reg : memory address for the flash chip
+- syscon : must be a phandle to the system controller
+- bank-width : width in bytes of flash interface, should be <2>
+
+For the rest of the properties, see mtd-physmap.txt.
+
+The device tree may optionally contain sub-nodes describing partitions of the
+address space. See partition.txt for more detail.
+
+Example:
+
+flash@30000000 {
+ compatible = "cortina,gemini-flash", "cfi-flash";
+ reg = <0x30000000 0x01000000>;
+ syscon = <&syscon>;
+ bank-width = <2>;
+};