Commit 17cdddf0 authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Thierry Reding

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: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 0d5ccb38
...@@ -234,6 +234,7 @@ gpio: gpio@6000d000 { ...@@ -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 {
......
...@@ -258,6 +258,7 @@ gpio: gpio@0,6000d000 { ...@@ -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 {
......
...@@ -244,6 +244,7 @@ gpio: gpio@6000d000 { ...@@ -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 {
......
...@@ -349,6 +349,7 @@ gpio: gpio@6000d000 { ...@@ -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 {
......
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