mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 03:42:52 +00:00
30f9f2fb7b
Add a device tree version of the Denali NAND driver. Based on an original patch from Jamie Iles to add a MMIO version of this driver. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
24 lines
701 B
Plaintext
24 lines
701 B
Plaintext
* Denali NAND controller
|
|
|
|
Required properties:
|
|
- compatible : should be "denali,denali-nand-dt"
|
|
- reg : should contain registers location and length for data and reg.
|
|
- reg-names: Should contain the reg names "nand_data" and "denali_reg"
|
|
- interrupts : The interrupt number.
|
|
- dm-mask : DMA bit mask
|
|
|
|
The device tree may optionally contain sub-nodes describing partitions of the
|
|
address space. See partition.txt for more detail.
|
|
|
|
Examples:
|
|
|
|
nand: nand@ff900000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "denali,denali-nand-dt";
|
|
reg = <0xff900000 0x100000>, <0xffb80000 0x10000>;
|
|
reg-names = "nand_data", "denali_reg";
|
|
interrupts = <0 144 4>;
|
|
dma-mask = <0xffffffff>;
|
|
};
|