ARM: orion5x: enable pinctrl driver at SoC level

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>
This commit is contained in:
Thomas Petazzoni 2014-04-22 23:26:28 +02:00 committed by Jason Cooper
parent ab5ab9dbe6
commit 4e7bb110d7
2 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,11 @@
compatible = "marvell,orion5x-88f5182-mbus", "simple-bus"; compatible = "marvell,orion5x-88f5182-mbus", "simple-bus";
internal-regs { internal-regs {
pinctrl: pinctrl@10000 {
compatible = "marvell,88f5182-pinctrl";
reg = <0x10000 0x8>, <0x10050 0x4>;
};
core_clk: core-clocks@10030 { core_clk: core-clocks@10030 {
compatible = "marvell,mv88f5182-core-clock"; compatible = "marvell,mv88f5182-core-clock";
reg = <0x10010 0x4>; reg = <0x10010 0x4>;

View File

@ -8,6 +8,8 @@ config ARCH_ORION5X_DT
select ORION_CLK select ORION_CLK
select ORION_IRQCHIP select ORION_IRQCHIP
select ORION_TIMER select ORION_TIMER
select PINCTRL
select PINCTRL_ORION
help help
Say 'Y' here if you want your kernel to support the Say 'Y' here if you want your kernel to support the
Marvell Orion5x using flattened device tree. Marvell Orion5x using flattened device tree.