]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0010d9ca23d177cd0d99d1c948fff9d883a8b4e
treeb1417d16901773a9840e0ef62ef94e4f41e8859e
parentadf0b55543b5accf743e897a0d43f4a1c4bde1df
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