ARM: tegra: Add gpio-ranges property

Specify how the GPIOs map to the pins in Tegra SoCs, so the dependency is
explicit.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Tomeu Vizoso 2015-07-14 10:29:56 +02:00 committed by Thierry Reding
parent 0d5ccb38d1
commit 17cdddf0fb
4 changed files with 4 additions and 0 deletions

View File

@ -234,6 +234,7 @@ gpio: gpio@6000d000 {
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
gpio-ranges = <&pinmux 0 0 246>;
}; };
apbmisc@70000800 { apbmisc@70000800 {

View File

@ -258,6 +258,7 @@ gpio: gpio@0,6000d000 {
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
gpio-ranges = <&pinmux 0 0 251>;
}; };
apbdma: dma@0,60020000 { apbdma: dma@0,60020000 {

View File

@ -244,6 +244,7 @@ gpio: gpio@6000d000 {
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
gpio-ranges = <&pinmux 0 0 224>;
}; };
apbmisc@70000800 { apbmisc@70000800 {

View File

@ -349,6 +349,7 @@ gpio: gpio@6000d000 {
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupt-controller; interrupt-controller;
gpio-ranges = <&pinmux 0 0 248>;
}; };
apbmisc@70000800 { apbmisc@70000800 {