Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Linus Walleij and committed by
Miquel Raynal
8b3cc926 5c1719a2

+22
+22
Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt
··· 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 + };