aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-01-08 22:20:16 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-01-08 22:20:16 +0000
commit91e3a3252f68589aaa7d5131cbe77c2c552c1df4 (patch)
treea5cbc0f5235b30a249d4532479600f183be2eec6 /target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch
parentb5988e0640bd2ad96cc2c0b79197873f7ab9085c (diff)
downloadmaster-187ad058-91e3a3252f68589aaa7d5131cbe77c2c552c1df4.tar.gz
master-187ad058-91e3a3252f68589aaa7d5131cbe77c2c552c1df4.tar.bz2
master-187ad058-91e3a3252f68589aaa7d5131cbe77c2c552c1df4.zip
mvebu: add inital support for Marvell Armada XP/370 SoCs
This brings in the initial support for the Marvell Armada XP/370 SoCs. Successfully tested on RD-A370-A1 and DB-MV784MP-GP boards the following interfaces: - Ethernet - SDIO - GPIOs - SATA Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35058 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch')
-rw-r--r--target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch b/target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch
new file mode 100644
index 0000000000..6b245a0179
--- /dev/null
+++ b/target/linux/mvebu/patches-3.8/011-arm_mvebu_add_pin_mux_options_a370.patch
@@ -0,0 +1,38 @@
+The SDIO interface is available either on pins MPP9/11/12/13/14/15 or
+MPP47/48/49/50/51/52 on the Armada 370. Even though all combinations
+are potentially possible, those two muxing options are the most
+probable ones, so we provide those at the SoC level .dtsi file.
+
+In practice, in turns out the Armada 370 DB board uses the former,
+while the Armada 370 Mirabox uses the latter.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ arch/arm/boot/dts/armada-370.dtsi | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
+index 636cf7d..88f9bab 100644
+--- a/arch/arm/boot/dts/armada-370.dtsi
++++ b/arch/arm/boot/dts/armada-370.dtsi
+@@ -47,6 +47,18 @@
+ pinctrl {
+ compatible = "marvell,mv88f6710-pinctrl";
+ reg = <0xd0018000 0x38>;
++
++ sdio_pins1: sdio-pins1 {
++ marvell,pins = "mpp9", "mpp11", "mpp12",
++ "mpp13", "mpp14", "mpp15";
++ marvell,function = "sd0";
++ };
++
++ sdio_pins2: sdio-pins2 {
++ marvell,pins = "mpp47", "mpp48", "mpp49",
++ "mpp50", "mpp51", "mpp52";
++ marvell,function = "sd0";
++ };
+ };
+
+ gpio0: gpio@d0018100 {
+--
+1.7.9.5