提交 41644e75 编写于 作者: J Javier Martinez Canillas 提交者: Benoit Cousson

ARM: dts: OMAP3: reduce GPMC mapped registers address space

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: NJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: NJon Hunter <jon-hunter@ti.com>
Signed-off-by: NBenoit Cousson <benoit.cousson@linaro.org>
上级 6e8489df
...@@ -431,7 +431,7 @@ ...@@ -431,7 +431,7 @@
gpmc: gpmc@6e000000 { gpmc: gpmc@6e000000 {
compatible = "ti,omap3430-gpmc"; compatible = "ti,omap3430-gpmc";
ti,hwmods = "gpmc"; ti,hwmods = "gpmc";
reg = <0x6e000000 0x1000000>; reg = <0x6e000000 0x02d0>;
interrupts = <20>; interrupts = <20>;
gpmc,num-cs = <8>; gpmc,num-cs = <8>;
gpmc,num-waitpins = <4>; gpmc,num-waitpins = <4>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册