ARM: SPEAr13xx: Add pcie and miphy DT nodes
authorPratyush Anand <pratyush.anand@st.com>
Mon, 14 Apr 2014 09:57:36 +0000 (15:27 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 14 Jul 2014 05:34:43 +0000 (11:04 +0530)
commit549f3ae1beb187e53f4cec7ee0cbe79b01d27111
treec0741434bbeefe7fb1a59e4e5f3f35327ea7734e
parent23b7ad23cb95db188403677c51c997338fb9effd
ARM: SPEAr13xx: Add pcie and miphy DT nodes

This patch adds necessary DT nodes for pcie controllers and miphys for SPEAr13xx
SoCs.

SPEAr1310 has 3 PCIe ports and SPEAr1340 has 1, which are multiplexed with
ahci/sata pins. By default evaluation board of both controller works in ahci
mode. Because of this, these nodes are marked "disabled" by default.

In order to use pcie controller on evaluation boards do necessary modifications
on board and enable (By replacing "disabled" with "okay") pcie and miphy from
respective 'evb' dtsi file.

Phy specific initialization was previously done from spear1340.c, which isn't
required anymore as we have separate drivers for it. Remove it.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Mohit Kumar <mohit.kumar@st.com>
[viresh: fixed logs/cclist/checkpatch warnings, clubbed multiple patches into one]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
arch/arm/boot/dts/spear1310-evb.dts
arch/arm/boot/dts/spear1310.dtsi
arch/arm/boot/dts/spear1340-evb.dts
arch/arm/boot/dts/spear1340.dtsi
arch/arm/boot/dts/spear13xx.dtsi
arch/arm/mach-spear/Kconfig
arch/arm/mach-spear/spear1340.c