devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] imx27: dt: only map 4 Kbyte for fec registers
@ 2015-05-12 21:51 Philippe Reynes
  0 siblings, 0 replies; only message in thread
From: Philippe Reynes @ 2015-05-12 21:51 UTC (permalink / raw)
  To: shawn.guo, kernel, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux
  Cc: linux-arm-kernel, devicetree, linux-kernel, Philippe Reynes

According to the imx27 documentation, fec has a 4 Kbyte
memory space map. So, we don't need to map 16 Kbyte for
registers, 4 Kbyte is enough.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
---
 arch/arm/boot/dts/imx27.dtsi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Changelog:
v2: (thanks Shawn Guo and Uwe Kleine-Konig)
- map 4 Kbyte instead of 1 Kbyte

diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 6951b66..bc215e4 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -533,7 +533,7 @@
 
 			fec: ethernet@1002b000 {
 				compatible = "fsl,imx27-fec";
-				reg = <0x1002b000 0x4000>;
+				reg = <0x1002b000 0x1000>;
 				interrupts = <50>;
 				clocks = <&clks IMX27_CLK_FEC_IPG_GATE>,
 					 <&clks IMX27_CLK_FEC_AHB_GATE>;
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-12 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 21:51 [PATCH v2] imx27: dt: only map 4 Kbyte for fec registers Philippe Reynes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).