2011-07-26 17:19:06 +08:00
|
|
|
Flash device on ARM Versatile board
|
|
|
|
|
2016-01-26 19:00:13 +08:00
|
|
|
These flash chips are found in the ARM reference designs like Integrator,
|
|
|
|
Versatile, RealView, Versatile Express etc.
|
|
|
|
|
|
|
|
They are regular CFI compatible (Intel or AMD extended) flash chips with
|
|
|
|
some special write protect/VPP bits that can be controlled by the machine's
|
|
|
|
system controller.
|
|
|
|
|
2011-07-26 17:19:06 +08:00
|
|
|
Required properties:
|
2016-01-26 19:00:13 +08:00
|
|
|
- compatible : must be "arm,versatile-flash", "cfi-flash";
|
|
|
|
- reg : memory address for the flash chip
|
2011-07-26 17:19:06 +08:00
|
|
|
- bank-width : width in bytes of flash interface.
|
|
|
|
|
2016-01-26 19:00:13 +08:00
|
|
|
For the rest of the properties, see mtd-physmap.txt.
|
|
|
|
|
2012-03-28 05:54:15 +08:00
|
|
|
The device tree may optionally contain sub-nodes describing partitions of the
|
|
|
|
address space. See partition.txt for more detail.
|
2016-01-26 19:00:13 +08:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
flash@34000000 {
|
|
|
|
compatible = "arm,versatile-flash", "cfi-flash";
|
|
|
|
reg = <0x34000000 0x4000000>;
|
|
|
|
bank-width = <4>;
|
|
|
|
};
|