提交 9139acd1 编写于 作者: S Sebastian Hesselbarth 提交者: Jason Cooper

ARM: Dove: Convert to DT GPIO and pinctrl

Following the ongoing conversion of Orion SoCs to DT, make use of
gpio and pinctrl drivers through DT. The main dtsi for Dove is prepared
to allow board specific descriptors to make use of pinctrl muxing.
Signed-off-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: NJason Cooper <jason@lakedaemon.net>
上级 63ace077
...@@ -536,6 +536,8 @@ config ARCH_DOVE ...@@ -536,6 +536,8 @@ config ARCH_DOVE
select CPU_V7 select CPU_V7
select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS
select MIGHT_HAVE_PCI select MIGHT_HAVE_PCI
select PINCTRL
select PINCTRL_DOVE
select PLAT_ORION_LEGACY select PLAT_ORION_LEGACY
select USB_ARCH_HAS_EHCI select USB_ARCH_HAS_EHCI
help help
......
...@@ -4,6 +4,12 @@ ...@@ -4,6 +4,12 @@
compatible = "marvell,dove"; compatible = "marvell,dove";
model = "Marvell Armada 88AP510 SoC"; model = "Marvell Armada 88AP510 SoC";
aliases {
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;
};
soc@f1000000 { soc@f1000000 {
compatible = "simple-bus"; compatible = "simple-bus";
#address-cells = <1>; #address-cells = <1>;
...@@ -72,7 +78,8 @@ ...@@ -72,7 +78,8 @@
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
reg = <0xd0400 0x20>; reg = <0xd0400 0x20>;
ngpio = <32>; ngpios = <32>;
interrupt-controller;
interrupts = <12>, <13>, <14>, <60>; interrupts = <12>, <13>, <14>, <60>;
}; };
...@@ -81,7 +88,8 @@ ...@@ -81,7 +88,8 @@
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
reg = <0xd0420 0x20>; reg = <0xd0420 0x20>;
ngpio = <32>; ngpios = <32>;
interrupt-controller;
interrupts = <61>; interrupts = <61>;
}; };
...@@ -90,7 +98,12 @@ ...@@ -90,7 +98,12 @@
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
reg = <0xe8400 0x0c>; reg = <0xe8400 0x0c>;
ngpio = <8>; ngpios = <8>;
};
pinctrl: pinctrl@d0200 {
compatible = "marvell,dove-pinctrl";
reg = <0xd0200 0x10>;
}; };
spi0: spi@10600 { spi0: spi@10600 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册