]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: orion5x: add standard pinctrl configs for sata0 and sata1
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:31 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 19:45:13 +0000 (19:45 +0000)
Several platforms will most likely use similar pinctrl configurations
for SATA0 and SATA1, so we declare those common configurations in the
Orion5x DT file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1398202002-28530-28-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x-mv88f5182.dtsi

index 8c71b6b9ec293f7a2d493cc0a7b2c6c657307790..d1ed71c602096284ba3a802df9f5756e613d5259 100644 (file)
                        pinctrl: pinctrl@10000 {
                                compatible = "marvell,88f5182-pinctrl";
                                reg = <0x10000 0x8>, <0x10050 0x4>;
+
+                               pmx_sata0: pmx-sata0 {
+                                       marvell,pins = "mpp12", "mpp14";
+                                       marvell,function = "sata0";
+                               };
+
+                               pmx_sata1: pmx-sata1 {
+                                       marvell,pins = "mpp13", "mpp15";
+                                       marvell,function = "sata1";
+                               };
                        };
 
                        core_clk: core-clocks@10030 {