]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: OMAP3: reduce GPMC mapped registers address space
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Wed, 27 Feb 2013 01:30:51 +0000 (02:30 +0100)
committerBenoit Cousson <benoit.cousson@linaro.org>
Mon, 8 Apr 2013 22:18:00 +0000 (00:18 +0200)
Currently the OMAP General-Purpose Memory Controller (GPMC) device
node maps 16 MB of address space for its hardware registers.

This is because the OMAP Technical Reference Manual says that the
GPMC module register address space size is 16 MB. But in practice
the maximum address offset used by a GPMC register is 0x02d0.

So, there is no need to map such a big address space for GPMC regs.

This change was suggested by Jon Hunter [1].

[1]: https://patchwork.kernel.org/patch/2057111/

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
arch/arm/boot/dts/omap3.dtsi

index 33bc0c47a8cd5f8dd5b6f1458b38c67f81da52ed..ea59c0a8cce84ca2f3afc83bdd099c0a33a39ea3 100644 (file)
                gpmc: gpmc@6e000000 {
                        compatible = "ti,omap3430-gpmc";
                        ti,hwmods = "gpmc";
-                       reg = <0x6e000000 0x1000000>;
+                       reg = <0x6e000000 0x02d0>;
                        interrupts = <20>;
                        gpmc,num-cs = <8>;
                        gpmc,num-waitpins = <4>;