ARC: [axs10x] Add support for AXS10x software development platform

The AXS10x platforms consist of a mainboard with peripherals,
on which several daughter cards can be placed. The daughter cards
typically contain a CPU and memory.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
ARC: [axs101] Add device tree for AXS101

The AXS101 consists of an AXS10x mainboard, with an ACX001 CPU card.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
ARC: [axs101] Add defconfig for AXS101

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
ARC: [axs10x] Add support for ADV7511
ARC: [axs10x] Add support for argpgu and hdmi transmitter

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [axs10x] update AXS memory map

Changes include apertures to the AXI tunnel to HAPS extension.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
ARC: [axs101] enable built-in NAND controller

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
ARC: [axs101] Tweak DDR port aperture mappings for performance

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [axs101] gpio ictl only uses 1 IRQ of core intc

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [arcfpga] Add DTS for ML509 FPGA Board

This adds a device tree for Xilinx ML-509 board.
This board is considered obsolete, so we do not intend to support it,
however keeping this DTS could come in handy if one would need to do
comparison with SDP.

To use this DTS, configure kernel with fpga_defconfig and edit the path
to  DTS file.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [arcfpga] Early ARC UART to be only activated by cmdline

Earlier CONFIG_SERIAL_ARC_CONSOLE would unconditionally enable the
legacy ARC UART based early console even if platform lacked that UART
(e.g. nSIM OSCI platform).

So a multi-platform image containing the 2 UART drivers won't work.

Fix that by probing the driver only if "earlyprintk=ttyARC0" is present
in cmdline.

Reported-by: Chuck Jordan <cjordan@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
irqchip: Add DesignWare APB GPIO interrupt controller

This adds an irqchip driver and corresponding devicetree binding for
DesignWare IP GPIO blocks that are used as interrupt controller.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
ARC: [nsimosci] Add workaround for inaccuracy host timers with nSIM

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
ARC: [axs101] use generic OHCI/EHCI available upstream now

This enables USB 1.0 functionality without intermediate USB 2.0 hubs.

It substitutes https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commit/516afd30b52e353ece693e2057f910c953cc5dbd

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
axs_nand - add driver for NAND controller used on Synopsys AXS dev boards

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
cc: Brian Norris <computersforpeace@gmail.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Francois Bedard <fbedard@synopsys.com>
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
stmmac: add DMA initialization delay to device tree

On some platforms existing 100 msecond delay is not enough for DMA block to
recover after reset.
For example MAC DMA waits for all PHY input clocks are present and depending
on the board reset bit deassertion may take different amount of time.

Having this parameter easily configurable allows each board to have its own
value, while all exisiting boards will continue to use current default value of
100 msec.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>