Skip to contentSkip to conversation

imx27: dt: only map 4 Kbyte for fec registers

PATCH In review Philippe Reynes 3 participants 3 messages May 12, 2015 – May 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 imx27: dt: only map 4 Kbyte for fec registers

According to the imx27 documentation, fec has a 4 Kbyte memory space map. Moreover, the actual 16 Kbyte mapping overlaps the SCC (Security Controller) memory register space. So, we reduce the memory register space to 4 Kbyte.

---
 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
v3:
- point that actual fec mapping overlap scc mapping (I forget it in v2)

arch/arm/boot/dts/imx27.dtsi +1 -1
index 6951b66..bc215e4 100644
@@ -533,7 +533,7 @@
 
 			fec: ethernet at 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>;
Signature · 1 line
1.7.4.4
Acked-by on v3 1/1
#1 lore raw
Quoted 6 lines · Philippe Reynes

According to the imx27 documentation, fec has a 4 Kbyte memory space map. Moreover, the actual 16 Kbyte mapping overlaps the SCC (Security Controller) memory register space. So, we reduce the memory register space to 4 Kbyte.

Thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
#2 lore raw
In reply to Philippe Reynes
Quoted 6 lines · Philippe Reynes

According to the imx27 documentation, fec has a 4 Kbyte memory space map. Moreover, the actual 16 Kbyte mapping overlaps the SCC (Security Controller) memory register space. So, we reduce the memory register space to 4 Kbyte.

Updated the patch prefix as "ARM: dts: imx27: ", and applied. Thanks.

Shawn