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

From: Murali Karicheri
Date: Mon May 11 2015 - 14:08:01 EST


k2e 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@xxxxxx>
---
arch/arm/boot/dts/k2e-netcp.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/k2e-netcp.dtsi b/arch/arm/boot/dts/k2e-netcp.dtsi
index 4ab94c3..b13b3c9 100644
--- a/arch/arm/boot/dts/k2e-netcp.dtsi
+++ b/arch/arm/boot/dts/k2e-netcp.dtsi
@@ -113,7 +113,7 @@ netcp: netcp@24000000 {
#size-cells = <1>;

/* NetCP address range */
- ranges = <0 0x24000000 0xffffff>;
+ ranges = <0 0x24000000 0x1000000>;

clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
dma-coherent;
@@ -130,7 +130,7 @@ netcp: netcp@24000000 {
gbe@200000 { /* ETHSS */
label = "netcp-gbe";
compatible = "ti,netcp-gbe-9";
- reg = <0x200000 0x900>, <0x220000 0x1ffff>;
+ reg = <0x200000 0x900>, <0x220000 0x20000>;
/* enable-ale; */
tx-queue = <896>;
tx-channel = "nettx";
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/