Commit 36af8f3e authored by Stephen Warren's avatar Stephen Warren Committed by Shawn Guo

ARM: mxc: fix gpio-ranges for VF610

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 86853c83 "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: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 77b38fc3
...@@ -162,7 +162,7 @@ qspi0: quadspi@40044000 { ...@@ -162,7 +162,7 @@ qspi0: quadspi@40044000 {
iomuxc: iomuxc@40048000 { iomuxc: iomuxc@40048000 {
compatible = "fsl,vf610-iomuxc"; compatible = "fsl,vf610-iomuxc";
reg = <0x40048000 0x1000>; reg = <0x40048000 0x1000>;
#gpio-range-cells = <2>; #gpio-range-cells = <3>;
/* functions and groups pins */ /* functions and groups pins */
...@@ -343,7 +343,7 @@ gpio1: gpio@40049000 { ...@@ -343,7 +343,7 @@ gpio1: gpio@40049000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 0 32>; gpio-ranges = <&iomuxc 0 0 32>;
}; };
gpio2: gpio@4004a000 { gpio2: gpio@4004a000 {
...@@ -354,7 +354,7 @@ gpio2: gpio@4004a000 { ...@@ -354,7 +354,7 @@ gpio2: gpio@4004a000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 32 32>; gpio-ranges = <&iomuxc 0 32 32>;
}; };
gpio3: gpio@4004b000 { gpio3: gpio@4004b000 {
...@@ -365,7 +365,7 @@ gpio3: gpio@4004b000 { ...@@ -365,7 +365,7 @@ gpio3: gpio@4004b000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 64 32>; gpio-ranges = <&iomuxc 0 64 32>;
}; };
gpio4: gpio@4004c000 { gpio4: gpio@4004c000 {
...@@ -376,7 +376,7 @@ gpio4: gpio@4004c000 { ...@@ -376,7 +376,7 @@ gpio4: gpio@4004c000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 96 32>; gpio-ranges = <&iomuxc 0 96 32>;
}; };
gpio5: gpio@4004d000 { gpio5: gpio@4004d000 {
...@@ -387,7 +387,7 @@ gpio5: gpio@4004d000 { ...@@ -387,7 +387,7 @@ gpio5: gpio@4004d000 {
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
gpio-ranges = <&iomuxc 128 7>; gpio-ranges = <&iomuxc 0 128 7>;
}; };
anatop@40050000 { anatop@40050000 {
......
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