ARM: mvebu: a38x: Add more pinctrl functions
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 8 Jan 2015 17:38:10 +0000 (18:38 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Fri, 9 Jan 2015 15:16:05 +0000 (09:16 -0600)
With the Armada 385 GP board more pinctrl functions depending of the
SoC are needed. Add them to the DTSI to avoid duplication.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
arch/arm/boot/dts/armada-38x.dtsi

index 98885c58be2932a5f47ebc42e3474327e602f3d6..63fe15174feef4e5ab2980e83ac43ab9a70f8828 100644 (file)
                                        marvell,function = "ge0";
                                };
 
+                               ge1_rgmii_pins: ge-rgmii-pins-1 {
+                                       marvell,pins = "mpp21", "mpp27", "mpp28",
+                                                      "mpp29", "mpp30", "mpp31",
+                                                      "mpp32", "mpp37", "mpp38",
+                                                      "mpp39", "mpp40", "mpp41";
+                                       marvell,function = "ge1";
+                               };
+
                                i2c0_pins: i2c-pins-0 {
                                        marvell,pins = "mpp2", "mpp3";
                                        marvell,function = "i2c0";
                                        marvell,function = "ref";
                                };
 
+                               ref_clk1_pins: ref-clk-pins-1 {
+                                       marvell,pins = "mpp46";
+                                       marvell,function = "ref";
+                               };
+
+                               spi0_pins: spi-pins-0 {
+                                       marvell,pins = "mpp22", "mpp23", "mpp24",
+                                                      "mpp25";
+                                       marvell,function = "spi0";
+                               };
+
                                spi1_pins: spi-pins-1 {
                                        marvell,pins = "mpp56", "mpp57", "mpp58",
                                                       "mpp59";
                                        marvell,pins = "mpp19", "mpp20";
                                        marvell,function = "ua1";
                                };
+
+                               sdhci_pins: sdhci-pins {
+                                       marvell,pins = "mpp48", "mpp49", "mpp50",
+                                                      "mpp52", "mpp53", "mpp54",
+                                                      "mpp55", "mpp57", "mpp58",
+                                                      "mpp59";
+                                       marvell,function = "sd0";
+                               };
+
+                               sata0_pins: sata-pins-0 {
+                                       marvell,pins = "mpp20";
+                                       marvell,function = "sata0";
+                               };
+
+                               sata1_pins: sata-pins-1 {
+                                       marvell,pins = "mpp19";
+                                       marvell,function = "sata1";
+                               };
+
+                               sata2_pins: sata-pins-2 {
+                                       marvell,pins = "mpp47";
+                                       marvell,function = "sata2";
+                               };
+
+                               sata3_pins: sata-pins-3 {
+                                       marvell,pins = "mpp44";
+                                       marvell,function = "sata3";
+                               };
                        };
 
                        gpio0: gpio@18100 {