summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2016-05-13 15:52:10 +0200
committerMartin Borg <martin.borg@enea.com>2016-05-16 14:13:18 +0200
commit256c4a70efc9014ce655f3cf36a2a7cf799f6770 (patch)
tree539b07950238dc520a2e83c6917d1c3b3cb0a4ce
parent31c873e28ea3039c9645182d6eb054593e0a6bd0 (diff)
downloadmeta-enea-networking-256c4a70efc9014ce655f3cf36a2a7cf799f6770.tar.gz
p2041rdb: Allocate eth5 instead of eth0 for Linux slow path
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
-rw-r--r--recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts25
1 files 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 @@
63 }; 63 };
64 64
65 fsl,dpaa { 65 fsl,dpaa {
66 66 ethernet@0 {
67 /* ethernet@0 will be used as a normal Linux ethernet that 67 compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init";
68 * interfaces to the kernel network stack. All others will be 68 fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
69 * dedicated for use by usdpaa */ 69 fsl,qman-frame-queues-rx = <0x50 1 0x51 1>;
70 70 fsl,qman-frame-queues-tx = <0x70 1 0x71 1>;
71 };
71 ethernet@1 { 72 ethernet@1 {
72 compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; 73 compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init";
73 fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; 74 fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
@@ -86,12 +87,14 @@
86 fsl,qman-frame-queues-rx = <0x56 1 0x57 1>; 87 fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
87 fsl,qman-frame-queues-tx = <0x76 1 0x77 1>; 88 fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
88 }; 89 };
89 ethernet@4 { 90 /* - Allocate this eth to Linux stack, all other dedicated to USDPAA
90 compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; 91 *ethernet@4 {
91 fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; 92 * compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init";
92 fsl,qman-frame-queues-rx = <0x58 1 0x59 1>; 93 * fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
93 fsl,qman-frame-queues-tx = <0x78 1 0x79 1>; 94 * fsl,qman-frame-queues-rx = <0x58 1 0x59 1>;
94 }; 95 * fsl,qman-frame-queues-tx = <0x78 1 0x79 1>;
96 *};
97 */
95 ethernet@5 { 98 ethernet@5 {
96 compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; 99 compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init";
97 fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; 100 fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;