ARM: sunxi: support more Allwinner SoCs
authorAndre Przywara <andre.przywara@arm.com>
Sat, 7 Oct 2017 00:06:40 +0000 (01:06 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 11 Oct 2017 00:30:32 +0000 (17:30 -0700)
commitf17d2cd2ffeda70aba8788910e9d088415562c8b
tree96ee3c3df481fc0eeca72267be650897ebb17763
parente2dfe4a037b0c6ccfd2375e4b60668109a0118e5
ARM: sunxi: support more Allwinner SoCs

So far we only supported the Allwinner A20 SoC. Add support for most
of the other virtualization capable Allwinner SoCs by:
- supporting the watchdog in newer (sun8i) SoCs
- getting the watchdog address from DT
- adding compatible strings for other 32-bit SoCs
- adding compatible strings for 64-bit SoCs

As all 64-bit SoCs support system reset via PSCI, we don't use the
platform specific reset routine there. Should the 32-bit SoCs start to
properly support the PSCI 0.2 SYSTEM_RESET call, we will use it for them
automatically, as we try PSCI first, then fall back to platform reset.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/platforms/Makefile
xen/arch/arm/platforms/sunxi.c