arm64: dts: allwinner: h6: Pine H64: Add SPI flash node
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Jan 2020 23:11:47 +0000 (23:11 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 Feb 2020 07:57:41 +0000 (08:57 +0100)
commite757bdd01780d0ea3e6774247b735caf2d1a9e92
tree63043130ffae0befacff0f24ec002221860de15d
parent30bd02bd634f4a483e965fb41a076e47ea9681ef
arm64: dts: allwinner: h6: Pine H64: Add SPI flash node

The Pine H64 board comes with SPI flash soldered on the board, connected
to the SPI0 pins (so it can also boot from there).

Add the required SPI flash DT node to describe this.

Unfortunately the SPI CS0 pin collides with the eMMC CMD pin, so we can't
use both eMMC and SPI flash at the same time (the first to claim the pin
would win, the other's probe routine would then fail).

To avoid losing the more useful eMMC device by chance, mark the SPI
device as "disabled" for now. A user or some U-Boot code could fix this
up if needed, for instance if no eMMC has been detected (it's socketed).

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts