Messages in this thread Patch in this message | | | From | Alexandru Gagniuc <> | Subject | [PATCH v2 7/7] dt-bindings: Add documentation for adaptrum,anarion-quadspi | Date | Fri, 4 Aug 2017 13:14:53 -0700 |
| |
Add devicetree binding documentation for the Anarion QSPI controller.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> --- .../devicetree/bindings/mtd/anarion-quadspi.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/anarion-quadspi.txt
diff --git a/Documentation/devicetree/bindings/mtd/anarion-quadspi.txt b/Documentation/devicetree/bindings/mtd/anarion-quadspi.txt new file mode 100644 index 0000000..b4971e1 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/anarion-quadspi.txt @@ -0,0 +1,22 @@ +* Adaptrum Anarion Quad SPI controller + +Required properties: +- compatible : Should be "adaptrum,anarion-qspi". +- reg : Contains two entries, each of which is a tuple consisting of a + physical address and length. The first entry is the address and + length of the controller register set. The second entry is the + address and length of the memory-mapped flash. This second region is + the region where the controller responds to XIP requests, and may be + larger than the size of the attached flash. + +Example: + + qspi: qspi@f200f000 { + compatible = "adaptrum,anarion-qspi"; + reg = <0xf200f000 0x1000>, + <0x20000000 0x08000000>; + + flash0: w25q128fvn@0 { + ... + } + }; -- 2.9.3
| |