ARM: tegra: Add gpio-ranges property
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 14 Jul 2015 08:29:56 +0000 (10:29 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 21 Aug 2015 16:44:28 +0000 (18:44 +0200)
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>
arch/arm/boot/dts/tegra114.dtsi
arch/arm/boot/dts/tegra124.dtsi
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 4bdf8f941c61e34b2b3452d18c698f6b87287ba8..9d4f86e9c50ada156a5ae785399799b23d67efba 100644 (file)
                gpio-controller;
                #interrupt-cells = <2>;
                interrupt-controller;
+               gpio-ranges = <&pinmux 0 0 246>;
        };
 
        apbmisc@70000800 {
index a3df6737649b6039fa9acacf6c4ce2db740b2025..1e204a6de12c3a4156821a289a2f7064bd346574 100644 (file)
                gpio-controller;
                #interrupt-cells = <2>;
                interrupt-controller;
+               gpio-ranges = <&pinmux 0 0 251>;
        };
 
        apbdma: dma@0,60020000 {
index f6f1461a7cdefa454b5881a531100838da23c8f0..e058709e6d98c0db886bf4549366722605380985 100644 (file)
                gpio-controller;
                #interrupt-cells = <2>;
                interrupt-controller;
+               gpio-ranges = <&pinmux 0 0 224>;
        };
 
        apbmisc@70000800 {
index 559763e00caa8fd204602abbca1c062fe3f4cff3..fe04fb5e155f4c7dd39509b8877d95eb7a6f8021 100644 (file)
                gpio-controller;
                #interrupt-cells = <2>;
                interrupt-controller;
+               gpio-ranges = <&pinmux 0 0 248>;
        };
 
        apbmisc@70000800 {