summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/vf500.dtsi
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-01-16 18:06:15 +0100
committerShawn Guo <shawn.guo@linaro.org>2015-01-20 16:40:35 +0800
commit767139540cbf72886112f427e0691acd5c12f8eb (patch)
tree910892508b97112a251e10b68a2571329acd36e7 /arch/arm/boot/dts/vf500.dtsi
parent677940258dd8ecab88c8c20e421fd82e9c605680 (diff)
downloadlwn-767139540cbf72886112f427e0691acd5c12f8eb.tar.gz
lwn-767139540cbf72886112f427e0691acd5c12f8eb.zip
ARM: vf610: use zero based naming for GPIO nodes
On Vybrid, all peripherals are numbered starting with zero, including the GPIO and PORT module. However, the labels of the corresponding device tree nodes start with one, which is confusing. Fix that by renaming the labels of the gpio nodes in the device tree. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/vf500.dtsi')
-rw-r--r--arch/arm/boot/dts/vf500.dtsi10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index 0d0de864643f..1dbf8d2d1ddf 100644
--- a/arch/arm/boot/dts/vf500.dtsi
+++ b/arch/arm/boot/dts/vf500.dtsi
@@ -94,23 +94,23 @@
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};
-&gpio1 {
+&gpio0 {
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
};
-&gpio2 {
+&gpio1 {
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
};
-&gpio3 {
+&gpio2 {
interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
};
-&gpio4 {
+&gpio3 {
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
};
-&gpio5 {
+&gpio4 {
interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
};