Skip to content

Commit 8b3cc92

Browse files
Linus Walleijmiquelraynal
authored andcommitted
mtd: add DT bindings for the Intel IXP4xx Flash
This adds device tree bindings for the Intel IXP4xx flash controller, a simple physmap which however need a specific big-endian or mixed-endian access pattern to the memory. Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 5c1719a commit 8b3cc92

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Flash device on Intel IXP4xx SoC
2+
3+
This flash is regular CFI compatible (Intel or AMD extended) flash chips with
4+
specific big-endian or mixed-endian memory access pattern.
5+
6+
Required properties:
7+
- compatible : must be "intel,ixp4xx-flash", "cfi-flash";
8+
- reg : memory address for the flash chip
9+
- bank-width : width in bytes of flash interface, should be <2>
10+
11+
For the rest of the properties, see mtd-physmap.txt.
12+
13+
The device tree may optionally contain sub-nodes describing partitions of the
14+
address space. See partition.txt for more detail.
15+
16+
Example:
17+
18+
flash@50000000 {
19+
compatible = "intel,ixp4xx-flash", "cfi-flash";
20+
reg = <0x50000000 0x01000000>;
21+
bank-width = <2>;
22+
};

0 commit comments

Comments
 (0)