Add arch/arm/mach-sun7i directory

This is a direct import of the sunxi-3.3-cb2 branch, minus:
-the rf stuff, as we have mmc_pm for that (same thing in a different form).
-the gpio stuff, as the a20 source dump uses the kernels official gpio
 mechanism for this now, but all our code wants the old gpio_request ext
 stuff, so we will use that from plat-sunxi (the pio controller seems
 unchanged)
-sys_config.c, as that was changed in ways incompatible with our existing code
 too.
-the cpu-freq-pmu and dram dirs, as they are unused

This is a temporary hack which will be hooked up with further commits, so as
to get sun7i support up and going using existing unified drivers for things
like the lcd/hdmi controller. Eventually this should be mostly unified too
and use arch/arm/plat-sunxi as much as possible.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sun7i: Hookup, make build and make run with serial console

After this commit is is possible to select sun7i in make config, build without
selecting any other sunxi specific devices, and then run on a serial console.

Next stop mmc support :)

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sun7i: Switch to using soc-detect.c

And also cleanup various headers to fix build breakage caused by the switch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sun7i: Invert meaning of clk_reset reset parameter

The sun7i code from allwinner has changed the clk_reset function parameter
from an int to an enum, and that has the values (0 or 1) exactly reversed
of the previous parameters meaning.

Switch it back to how it was with sun4i / sun5i to avoid the need to add

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-mmc: Add support for A20

Make sunxi-mmcm build (and work!) with sun7i as arch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
sunxi-ehci/ohci: Add support for A20

And we've working USB (for the 2 regular controllers) !

Signed-off-by: Hans de Goede <hdegoede@redhat.com>