xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/intel,ixp4xx-flash.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotFlash device on Intel IXP4xx SoC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis flash is regular CFI compatible (Intel or AMD extended) flash chips with
4*c66ec88fSEmmanuel Vadotspecific big-endian or mixed-endian memory access pattern.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible : must be "intel,ixp4xx-flash", "cfi-flash";
8*c66ec88fSEmmanuel Vadot- reg : memory address for the flash chip
9*c66ec88fSEmmanuel Vadot- bank-width : width in bytes of flash interface, should be <2>
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotFor the rest of the properties, see mtd-physmap.txt.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotThe device tree may optionally contain sub-nodes describing partitions of the
14*c66ec88fSEmmanuel Vadotaddress space. See partition.txt for more detail.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadotflash@50000000 {
19*c66ec88fSEmmanuel Vadot	compatible = "intel,ixp4xx-flash", "cfi-flash";
20*c66ec88fSEmmanuel Vadot	reg = <0x50000000 0x01000000>;
21*c66ec88fSEmmanuel Vadot	bank-width = <2>;
22*c66ec88fSEmmanuel Vadot};
23