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/imx6q.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/imx6q.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 3d3c64b014e6..fd57079f71a9 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -19,6 +19,13 @@ serial2 = &uart3; serial3 = &uart4; serial4 = &uart5; + gpio0 = &gpio1; + gpio1 = &gpio2; + gpio2 = &gpio3; + gpio3 = &gpio4; + gpio4 = &gpio5; + gpio5 = &gpio6; + gpio6 = &gpio7; }; cpus { |