ARM: orion5x: enable pinctrl driver at SoC level
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:28 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 19:45:09 +0000 (19:45 +0000)
This commit declares the pinctrl device in the Orion5x 5182 Device
Tree files, and ensures that the Orion pinctrl driver is compiled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1398202002-28530-25-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
arch/arm/mach-orion5x/Kconfig

index a56f9c88efd0e4723dcc87a209140e2a81b49092..8c71b6b9ec293f7a2d493cc0a7b2c6c657307790 100644 (file)
                compatible = "marvell,orion5x-88f5182-mbus", "simple-bus";
 
                internal-regs {
+                       pinctrl: pinctrl@10000 {
+                               compatible = "marvell,88f5182-pinctrl";
+                               reg = <0x10000 0x8>, <0x10050 0x4>;
+                       };
+
                        core_clk: core-clocks@10030 {
                                compatible = "marvell,mv88f5182-core-clock";
                                reg = <0x10010 0x4>;
index bd65872f5e045826c04898aeb14fe3f248e4b0cd..3c69a3c0ab46d958dffda9b806c247c7c9d00887 100644 (file)
@@ -8,6 +8,8 @@ config ARCH_ORION5X_DT
        select ORION_CLK
        select ORION_IRQCHIP
        select ORION_TIMER
+       select PINCTRL
+       select PINCTRL_ORION
        help
          Say 'Y' here if you want your kernel to support the
          Marvell Orion5x using flattened device tree.