Commit 264a05e1 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper

ARM: mvebu: armada-xp: Add node alias to pinctrl and add base address

In other MVEBU SoCs, the pin controller node is called pin-ctrl with
its base address added. Also, we have a node alias to access the pinctrl
node easily. Fix this for Armada XP pinctrl nodes to be consistent with
other SoCs.
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-By: default avatarBenoit Masson <yahoo@perenite.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent b324fa60
...@@ -60,7 +60,7 @@ pcie@3,0 { ...@@ -60,7 +60,7 @@ pcie@3,0 {
}; };
internal-regs { internal-regs {
pinctrl { pinctrl: pin-ctrl@18000 {
pinctrl-0 = <&pmx_phy_int>; pinctrl-0 = <&pmx_phy_int>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -51,7 +51,7 @@ pcie@5,0 { ...@@ -51,7 +51,7 @@ pcie@5,0 {
}; };
internal-regs { internal-regs {
pinctrl { pinctrl: pin-ctrl@18000 {
poweroff_pin: poweroff-pin { poweroff_pin: poweroff-pin {
marvell,pins = "mpp24"; marvell,pins = "mpp24";
marvell,function = "gpio"; marvell,function = "gpio";
......
...@@ -167,7 +167,7 @@ pcie@5,0 { ...@@ -167,7 +167,7 @@ pcie@5,0 {
}; };
internal-regs { internal-regs {
pinctrl { pinctrl: pin-ctrl@18000 {
compatible = "marvell,mv78230-pinctrl"; compatible = "marvell,mv78230-pinctrl";
}; };
......
...@@ -251,7 +251,7 @@ pcie@9,0 { ...@@ -251,7 +251,7 @@ pcie@9,0 {
}; };
internal-regs { internal-regs {
pinctrl { pinctrl: pin-ctrl@18000 {
compatible = "marvell,mv78260-pinctrl"; compatible = "marvell,mv78260-pinctrl";
}; };
......
...@@ -289,7 +289,7 @@ pcie@10,0 { ...@@ -289,7 +289,7 @@ pcie@10,0 {
}; };
internal-regs { internal-regs {
pinctrl { pinctrl: pin-ctrl@18000 {
compatible = "marvell,mv78460-pinctrl"; compatible = "marvell,mv78460-pinctrl";
}; };
......
...@@ -55,7 +55,7 @@ pcie@5,0 { ...@@ -55,7 +55,7 @@ pcie@5,0 {
}; };
internal-regs { internal-regs {
pinctrl { pinctrl: pin-ctrl@18000 {
poweroff: poweroff { poweroff: poweroff {
marvell,pins = "mpp42"; marvell,pins = "mpp42";
marvell,function = "gpio"; marvell,function = "gpio";
......
...@@ -77,7 +77,7 @@ serial@12000 { ...@@ -77,7 +77,7 @@ serial@12000 {
serial@12100 { serial@12100 {
status = "okay"; status = "okay";
}; };
pinctrl { pinctrl: pin-ctrl@18000 {
led_pins: led-pins-0 { led_pins: led-pins-0 {
marvell,pins = "mpp49", "mpp51", "mpp53"; marvell,pins = "mpp49", "mpp51", "mpp53";
marvell,function = "gpio"; marvell,function = "gpio";
......
...@@ -72,7 +72,7 @@ serial@12300 { ...@@ -72,7 +72,7 @@ serial@12300 {
status = "disabled"; status = "disabled";
}; };
pinctrl { pinctrl: pin-ctrl@18000 {
reg = <0x18000 0x38>; reg = <0x18000 0x38>;
sdio_pins: sdio-pins { sdio_pins: sdio-pins {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment