From 256c4a70efc9014ce655f3cf36a2a7cf799f6770 Mon Sep 17 00:00:00 2001 From: Adrian Calianu Date: Fri, 13 May 2016 15:52:10 +0200 Subject: p2041rdb: Allocate eth5 instead of eth0 for Linux slow path Signed-off-by: Adrian Calianu Signed-off-by: Martin Borg --- .../linux/files/dts/p2041rdb-usdpaa-enea.dts | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts b/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts index e0d2ff4..154ad8d 100644 --- a/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts +++ b/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts @@ -63,11 +63,12 @@ }; fsl,dpaa { - - /* ethernet@0 will be used as a normal Linux ethernet that - * interfaces to the kernel network stack. All others will be - * dedicated for use by usdpaa */ - + ethernet@0 { + compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; + fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; + fsl,qman-frame-queues-rx = <0x50 1 0x51 1>; + fsl,qman-frame-queues-tx = <0x70 1 0x71 1>; + }; ethernet@1 { compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; @@ -86,12 +87,14 @@ fsl,qman-frame-queues-rx = <0x56 1 0x57 1>; fsl,qman-frame-queues-tx = <0x76 1 0x77 1>; }; - ethernet@4 { - compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; - fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; - fsl,qman-frame-queues-rx = <0x58 1 0x59 1>; - fsl,qman-frame-queues-tx = <0x78 1 0x79 1>; - }; + /* - Allocate this eth to Linux stack, all other dedicated to USDPAA + *ethernet@4 { + * compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; + * fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; + * fsl,qman-frame-queues-rx = <0x58 1 0x59 1>; + * fsl,qman-frame-queues-tx = <0x78 1 0x79 1>; + *}; + */ ethernet@5 { compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; -- cgit v1.2.3-54-g00ecf