Anton Vorontsov | 89ae5b2 | 2008-07-04 20:53:28 +0400 | [diff] [blame] | 1 | Freescale Localbus UPM programmed to work with NAND flash |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : "fsl,upm-nand". |
| 5 | - reg : should specify localbus chip select and size used for the chip. |
| 6 | - fsl,upm-addr-offset : UPM pattern offset for the address latch. |
| 7 | - fsl,upm-cmd-offset : UPM pattern offset for the command latch. |
| 8 | - gpios : may specify optional GPIO connected to the Ready-Not-Busy pin. |
| 9 | |
| 10 | Example: |
| 11 | |
| 12 | upm@1,0 { |
| 13 | compatible = "fsl,upm-nand"; |
| 14 | reg = <1 0 1>; |
| 15 | fsl,upm-addr-offset = <16>; |
| 16 | fsl,upm-cmd-offset = <8>; |
| 17 | gpios = <&qe_pio_e 18 0>; |
| 18 | |
| 19 | flash { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | compatible = "..."; |
| 23 | |
| 24 | partition@0 { |
| 25 | ... |
| 26 | }; |
| 27 | }; |
| 28 | }; |