Skip to content

Commit

Permalink
mtd: add DT bindings for the Intel IXP4xx Flash
Browse files Browse the repository at this point in the history
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: [email protected]
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
  • Loading branch information
linusw authored and miquelraynal committed Oct 29, 2019
1 parent 5c1719a commit 8b3cc92
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/mtd/intel,ixp4xx-flash.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Flash device on Intel IXP4xx SoC

This flash is regular CFI compatible (Intel or AMD extended) flash chips with
specific big-endian or mixed-endian memory access pattern.

Required properties:
- compatible : must be "intel,ixp4xx-flash", "cfi-flash";
- reg : memory address for the flash chip
- 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@50000000 {
compatible = "intel,ixp4xx-flash", "cfi-flash";
reg = <0x50000000 0x01000000>;
bank-width = <2>;
};

0 comments on commit 8b3cc92

Please sign in to comment.