mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
1e7ba630d4
This patch contains a hack to get the DMA resources of the device when probed from a devicetree node. This can be removed once a generic DMA controller framework lands. A mtd_part_parser_data is passed mtd_device_parse_register which contains a reference to the device node, so MTD partitions can be added as children. Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
32 lines
725 B
Plaintext
32 lines
725 B
Plaintext
PXA3xx NAND DT bindings
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be "marvell,pxa3xx-nand"
|
|
- reg: The register base for the controller
|
|
- interrupts: The interrupt to map
|
|
- #address-cells: Set to <1> if the node includes partitions
|
|
|
|
Optional properties:
|
|
|
|
- marvell,nand-enable-arbiter: Set to enable the bus arbiter
|
|
- marvell,nand-keep-config: Set to keep the NAND controller config as set
|
|
by the bootloader
|
|
- num-cs: Number of chipselect lines to usw
|
|
|
|
Example:
|
|
|
|
nand0: nand@43100000 {
|
|
compatible = "marvell,pxa3xx-nand";
|
|
reg = <0x43100000 90>;
|
|
interrupts = <45>;
|
|
#address-cells = <1>;
|
|
|
|
marvell,nand-enable-arbiter;
|
|
marvell,nand-keep-config;
|
|
num-cs = <1>;
|
|
|
|
/* partitions (optional) */
|
|
};
|
|
|