There are few fixes required in the dt bindings for netcp driver to
make the reg and range sizes to match with data sheet. Also fix the
typical size error (last bit 1 instead of 0). Please apply this for
to next branch for v4.2.
Thanks
Murali Karicheri (3):
ARM: dts: k2hk: fix the netcp range size
ARM: dts: k2e: fix the netcp range size
ARM: dts: k2l: fix the netcp range size
arch/arm/boot/dts/k2e-netcp.dtsi | 4 ++--
arch/arm/boot/dts/k2hk-netcp.dtsi | 2 +-
arch/arm/boot/dts/k2l-netcp.dtsi | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
--
1.9.1
k2hk netcp range size is 1M (0x100000) and not 0xfffff. This patch fixes
this.
Signed-off-by: Murali Karicheri <[email protected]>
---
arch/arm/boot/dts/k2hk-netcp.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/k2hk-netcp.dtsi b/arch/arm/boot/dts/k2hk-netcp.dtsi
index 308abe5..77a32c3 100644
--- a/arch/arm/boot/dts/k2hk-netcp.dtsi
+++ b/arch/arm/boot/dts/k2hk-netcp.dtsi
@@ -129,7 +129,7 @@ netcp: netcp@2000000 {
#size-cells = <1>;
/* NetCP address range */
- ranges = <0 0x2000000 0xfffff>;
+ ranges = <0 0x2000000 0x100000>;
clocks = <&papllclk>, <&clkcpgmac>, <&chipclk12>;
dma-coherent;
--
1.9.1
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 <[email protected]>
---
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
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 <[email protected]>
---
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@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@26000000 {
gbe@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
On 5/11/2015 11:05 AM, Murali Karicheri wrote:
> There are few fixes required in the dt bindings for netcp driver to
> make the reg and range sizes to match with data sheet. Also fix the
> typical size error (last bit 1 instead of 0). Please apply this for
> to next branch for v4.2.
>
Applied... It should show up in linux-next soon.
Regards,
Santosh
On 05/11/2015 03:20 PM, santosh shilimkar wrote:
> On 5/11/2015 11:05 AM, Murali Karicheri wrote:
>> There are few fixes required in the dt bindings for netcp driver to
>> make the reg and range sizes to match with data sheet. Also fix the
>> typical size error (last bit 1 instead of 0). Please apply this for
>> to next branch for v4.2.
>>
> Applied... It should show up in linux-next soon.
Thanks.
Murali
>
> Regards,
> Santosh
>
>
--
Murali Karicheri
Linux Kernel, Keystone