OSDN Git Service

ARM: dts: at91: sama7g5: Add NAND support
authorTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 11 Jan 2022 13:05:56 +0000 (15:05 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 4 Mar 2022 14:03:53 +0000 (15:03 +0100)
commit92499dec3aa9c251e605b42e1024e805bbaa50ad
treeb1417d16901773a9840e0ef62ef94e4f41e8859e
parent003e17e75a3cf40d6ab6bd913e7ff2cdea4612e7
ARM: dts: at91: sama7g5: Add NAND support

Add NAND support. The sama7g5's SMC IP is the same as sama5d2's with
a slightly change: it provides a synchronous clock output (SMC clock)
that is dedicated to FPGA usage. Since this doesn't interfere with the SMC
NAND configuration, thus code will not be added in the current nand driver
to address the FPGA usage, use the sama5d2's compatible and choose not to
introduce dedicated compatibles for sama7g5.
Tested with Micron MT29F4G08ABAEAWP NAND flash.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
[nicolas.ferre@microchip.com: add the definition of PMC_MCK1 in
include/dt-bindings/clock/at91.h from another patch]
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220111130556.905978-1-tudor.ambarus@microchip.com
arch/arm/boot/dts/sama7g5.dtsi
include/dt-bindings/clock/at91.h