Handle all new Vivado IPs with different address specification

Have generic way how to handle new Vivado IPs which are
not backward compatible with EDK versions.

This fixes problem with axi_quad and axi_tft IPs.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Support axi_quad IP from Vivado

There is necessary to get clock from different parameter.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Fix axi-spi node generation

Fix bug introduced by
"Support axi_quad IP from Vivado"
(sha1:2f951614e23880650e2831996350c4bfe45997d9)
because axi_spi could be in setup that S_AXI4_ACLK is defined
but frequency is empty. Check if any frequency is setup, if not
go to the default old case and use S_AXI_ACLK instead.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
pl330: Don't need to generate primecell-periphid

pl330 is properly detected by mainline driver.
No need to rewrite perphid value.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Append information about arasan sdhci version

Just follow proposed binding for the mainline kernel.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Change logic around forced ips

Generate as much as IPs as possible which are provided
by design tools but if IP is in forced list and it is
not provided by design tools generate it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Generate usb-reset when gpio pin is select

Check that value we get from C_USB_RESET is valid
integer.
On Vivado cc108 hw design incrrect output was generated.
"usb-reset = <&ps7_gpio_0 <Select> 0>;"

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Extend default_parameters proc to ignore some parameters

This will be used for ignoring some reset parameters
which are generated differently.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Introduce ps7_reset_handle

Have one function which can all all MIO cases for usb, ethernet, i2c.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Generate i2c and enet reset MIO connection in proper way

Generate proper enet and i2c reset values.
enet-reset = <&ps7_gpio_0 47 0>;
i2c-reset = <&ps7_gpio_0 46 0>;

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Fix clk name for new arasan ehci driver

Sync with mainline version.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Do not generate new Vivado IPs

There are no drivers for these IPs that's why do not
introduce binding for them.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Generate OCM node compatible with Linux driver

Instead of generating OCM address range which is fixed
to 0 or 0xFFFc0000, generate ocm MMIO config IP.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
axivdma: Make boolean DT properties real bools

This patch makes the DT properties, include-sg
and include-dre as boolean.
This is the change following the commit on linux,
"dma: xilinx: vdma: Make boolean DT properties real bools"
 (sha1: c819c9f7bf7648a33e0a039e1569cf751f865127)

Signed-off-by: Srikanth Thokala <sthokal@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>