[v4.0: PATCH 3/3] ARM: dts: k2l: fix the netcp range size

Murali Karicheri m-karicheri2 at ti.com
Mon May 11 11:05:30 PDT 2015


k2l netcp range size is 16M (0x1000000) and not 0xffffff. This patch fixes
this. Similarly fix the size of switch module register space to 0x20000.

Signed-off-by: Murali Karicheri <m-karicheri2 at ti.com>
---
 arch/arm/boot/dts/k2l-netcp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/k2l-netcp.dtsi b/arch/arm/boot/dts/k2l-netcp.dtsi
index a97aeee..6b95284 100644
--- a/arch/arm/boot/dts/k2l-netcp.dtsi
+++ b/arch/arm/boot/dts/k2l-netcp.dtsi
@@ -112,7 +112,7 @@ netcp: netcp at 26000000 {
 	#size-cells = <1>;
 
 	/* NetCP address range */
-	ranges = <0 0x26000000 0xffffff>;
+	ranges = <0 0x26000000 0x1000000>;
 
 	clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
 	dma-coherent;
@@ -129,7 +129,7 @@ netcp: netcp at 26000000 {
 		gbe at 200000 { /* ETHSS */
 			label = "netcp-gbe";
 			compatible = "ti,netcp-gbe-5";
-			reg = <0x200000 0x900>, <0x220000 0x1ffff>;
+			reg = <0x200000 0x900>, <0x220000 0x20000>;
 			/* enable-ale; */
 			tx-queue = <896>;
 			tx-channel = "nettx";
-- 
1.9.1




More information about the linux-arm-kernel mailing list