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