^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Flash device on ARM Versatile board
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) These flash chips are found in the ARM reference designs like Integrator,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Versatile, RealView, Versatile Express etc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) They are regular CFI compatible (Intel or AMD extended) flash chips with
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) some special write protect/VPP bits that can be controlled by the machine's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) system controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - compatible : must be "arm,versatile-flash", "cfi-flash";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - reg : memory address for the flash chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - bank-width : width in bytes of flash interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) For the rest of the properties, see mtd-physmap.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) The device tree may optionally contain sub-nodes describing partitions of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) address space. See partition.txt for more detail.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) flash@34000000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) compatible = "arm,versatile-flash", "cfi-flash";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) reg = <0x34000000 0x4000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) bank-width = <4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };