Skip to content

Commit

Permalink
ARM: mvebu: armada-xp: Add node alias to pinctrl and add base address
Browse files Browse the repository at this point in the history
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: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-By: Benoit Masson <yahoo@perenite.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
Sebastian Hesselbarth authored and Jason Cooper committed Nov 2, 2014
1 parent b324fa6 commit 264a05e
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-axpwifiap.dts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
};

internal-regs {
pinctrl {
pinctrl: pin-ctrl@18000 {
pinctrl-0 = <&pmx_phy_int>;
pinctrl-names = "default";

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
};

internal-regs {
pinctrl {
pinctrl: pin-ctrl@18000 {
poweroff_pin: poweroff-pin {
marvell,pins = "mpp24";
marvell,function = "gpio";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-mv78230.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
};

internal-regs {
pinctrl {
pinctrl: pin-ctrl@18000 {
compatible = "marvell,mv78230-pinctrl";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-mv78260.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
};

internal-regs {
pinctrl {
pinctrl: pin-ctrl@18000 {
compatible = "marvell,mv78260-pinctrl";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-mv78460.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
};

internal-regs {
pinctrl {
pinctrl: pin-ctrl@18000 {
compatible = "marvell,mv78460-pinctrl";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
};

internal-regs {
pinctrl {
pinctrl: pin-ctrl@18000 {
poweroff: poweroff {
marvell,pins = "mpp42";
marvell,function = "gpio";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
serial@12100 {
status = "okay";
};
pinctrl {
pinctrl: pin-ctrl@18000 {
led_pins: led-pins-0 {
marvell,pins = "mpp49", "mpp51", "mpp53";
marvell,function = "gpio";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
status = "disabled";
};

pinctrl {
pinctrl: pin-ctrl@18000 {
reg = <0x18000 0x38>;

sdio_pins: sdio-pins {
Expand Down

0 comments on commit 264a05e

Please sign in to comment.