diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-08-05 08:01:28 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-07 08:55:51 +0200 |
commit | 5230f8fe9ad870ac24f23bca496347b87185c7c5 (patch) | |
tree | 56d2abb1b97734001915a1503cd5639058e8159c /arch/arm/boot/dts/imx27.dtsi | |
parent | gpio/mxc: specify gpio base for device tree probe (diff) | |
download | linux-5230f8fe9ad870ac24f23bca496347b87185c7c5.tar.xz linux-5230f8fe9ad870ac24f23bca496347b87185c7c5.zip |
ARM: dts: imx: add alias for gpio
Add alias for gpio nodes, so that gpio driver can identify the port
number and then specify a sensible gpio base rather than using the
one dynamically allocated by gpio core.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx27.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx27.dtsi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi index 00bae3aad5ab..5303ab680a34 100644 --- a/arch/arm/boot/dts/imx27.dtsi +++ b/arch/arm/boot/dts/imx27.dtsi @@ -19,6 +19,12 @@ serial3 = &uart4; serial4 = &uart5; serial5 = &uart6; + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + gpio5 = &gpio6; }; avic: avic-interrupt-controller@e0000000 { |