]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: dts: marvell: add NAND support on the 7040-DB board
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 25 Sep 2017 14:53:52 +0000 (16:53 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 27 Sep 2017 13:34:01 +0000 (15:34 +0200)
commit73ae5fe8a52ff8543011e476e406f83e80a53145
treeabca6112fb79fe3caf38c5402ad254ed3b6095a1
parent441fadadaebacfd5079648354b511a9f21ce9fd7
arm64: dts: marvell: add NAND support on the 7040-DB board

The NAND controller used in A7K/A8K is present on the CP110 master part.
It is compatible with the pxa3xx_nand driver but requires the use of the
marvell,armada-8k-nand compatible string due to the need to first enable
the NAND controller.

Add properties to the NAND node to fit the bindings constraints of the
pxa3xx_nand driver and enable the NAND controller.

Add the 'marvell,system-controller' property to the cp110 master NAND
node with a reference to the syscon node. This is new compared to other
boards using the pxa3xx_nand driver and it is needed to be bootloader
independent and enable the NAND controller from the NAND controller
driver itself by writing in these syscon registers.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
[miquel.raynal@free-electrons.com: add NAND ready/busy MPP subnode,
change compatible string to fit the needs of the A7k/A8k SoCs and add
the system controller property]
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts
arch/arm64/boot/dts/marvell/armada-70x0.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi