Skip to content

Commit

Permalink
ARM: mxc: fix gpio-ranges for VF610
Browse files Browse the repository at this point in the history
The gpio-ranges properties in vf610.dtsi were written according to an
older version of the GPIO bindings. Unfortunately, these were changed
incompatibly in commit 86853c8 "gpio: add gpio offset in gpio range
cells property". This patch adds the missing required extra cell in each
gpio-ranges property.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
  • Loading branch information
Stephen Warren authored and Shawn Guo committed Jun 17, 2013
1 parent 77b38fc commit 36af8f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/vf610.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
iomuxc: iomuxc@40048000 {
compatible = "fsl,vf610-iomuxc";
reg = <0x40048000 0x1000>;
#gpio-range-cells = <2>;
#gpio-range-cells = <3>;

/* functions and groups pins */

Expand Down Expand Up @@ -343,7 +343,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 32>;
gpio-ranges = <&iomuxc 0 0 32>;
};

gpio2: gpio@4004a000 {
Expand All @@ -354,7 +354,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&iomuxc 32 32>;
gpio-ranges = <&iomuxc 0 32 32>;
};

gpio3: gpio@4004b000 {
Expand All @@ -365,7 +365,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&iomuxc 64 32>;
gpio-ranges = <&iomuxc 0 64 32>;
};

gpio4: gpio@4004c000 {
Expand All @@ -376,7 +376,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&iomuxc 96 32>;
gpio-ranges = <&iomuxc 0 96 32>;
};

gpio5: gpio@4004d000 {
Expand All @@ -387,7 +387,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&iomuxc 128 7>;
gpio-ranges = <&iomuxc 0 128 7>;
};

anatop@40050000 {
Expand Down

0 comments on commit 36af8f3

Please sign in to comment.