ARM: dts: at91: sama5d2_xplained: Add QSPI0 + SPI NOR memory nodes
authorCyrille Pitchen <cyrille.pitchen@microchip.com>
Fri, 3 Apr 2020 06:12:26 +0000 (06:12 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 13 Apr 2020 11:00:09 +0000 (13:00 +0200)
commit51cca920ce84356d53068ac83a53ba8c45879a0e
tree6f00d5a2e2376d1c6fd15657e56267187497fd8f
parent0fd3a8f58f78b498784b72c1971c225c4e69ddac
ARM: dts: at91: sama5d2_xplained: Add QSPI0 + SPI NOR memory nodes

This patch enables the QSPI0 controller, configures its pin muxing and
declares a jedec,spi-nor memory.

sama5d2 Xplained RevB and RevC use the Macronix MX25L25673G flash
memory which advertises a maximum frequency of 80MHz for Quad IO
Fast Read. Set the spi-max-frequency to 80MHz knowing that actually
the QSPI drver will set the SPI bus clock to 166MHz / 3 = 55.3MHz.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@microchip.com>
Tested-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200403061222.1277147-3-tudor.ambarus@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts