summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts
diff options
context:
space:
mode:
authorRadu Bulie <radu.bulie@freescale.com>2013-05-15 15:18:51 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-05-17 19:01:46 (GMT)
commitfd34ddb0b8bfc9b27d89979c30c6111b06d08f1a (patch)
tree250b36ba5c943f8f6b4c50ee4f0b9afd9fe4f0a4 /drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts
parent62256f107fdca4231e627804344b1563a8fe0f48 (diff)
downloadlinux-fsl-qoriq-fd34ddb0b8bfc9b27d89979c30c6111b06d08f1a.tar.xz
dpa_offload: Synchronize DPA offload dts files with latest sdk changes
This patch synchronize the dts files used by DPA offload with the changes from sdk Signed-off-by: Radu Bulie <radu.bulie@freescale.com> Change-Id: Ia173ea0dfd6f4f675d76f8f2405228737354d6a8 Reviewed-on: http://git.am.freescale.net:8181/2519 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts')
-rw-r--r--drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts45
1 files changed, 45 insertions, 0 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts b/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts
index 91c4bcb..c2ab65b 100644
--- a/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts
+++ b/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts
@@ -78,6 +78,14 @@
fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
};
+ bp16: buffer-pool@16 {
+ compatible = "fsl,b4860-bpool", "fsl,bpool";
+ fsl,bpid = <16>;
+ fsl,bpool-ethernet-cfg = <0 2048 0 1728 0 0>;
+ fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>;
+ };
+
+
fsl,dpaa {
ethernet@0 {
compatible = "fsl,b4860-dpa-ethernet-init", "fsl,dpa-ethernet-init";
@@ -97,12 +105,49 @@
fsl,qman-frame-queues-rx = <0x54 1 0x55 1>;
fsl,qman-frame-queues-tx = <0x74 1 0x75 1>;
};
+ ethernet@3 {
+ compatible = "fsl,b4860-dpa-ethernet-init", "fsl,dpa-ethernet-init";
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
+ fsl,qman-frame-queues-rx = <0x56 1 0x57 1>;
+ fsl,qman-frame-queues-tx = <0x76 1 0x77 1>;
+ };
+
+ /* ethernet@4 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@5 {
compatible = "fsl,b4860-dpa-ethernet-init", "fsl,dpa-ethernet-init";
fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
+ fsl,qman-frame-queues-rx = <0x5a 1 0x5b 1>;
+ fsl,qman-frame-queues-tx = <0x7a 1 0x7b 1>;
+ };
+ ethernet@8 {
+ compatible = "fsl,b4860-dpa-ethernet-init", "fsl,dpa-ethernet-init";
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>;
fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>;
};
+ ethernet@9 {
+ compatible = "fsl,b4860-dpa-ethernet-init", "fsl,dpa-ethernet-init";
+ fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
+ fsl,qman-frame-queues-rx = <0x5e 1 0x5f 1>;
+ fsl,qman-frame-queues-tx = <0x7e 1 0x7f 1>;
+ };
+
+ /* ethernet@16 declared as MAC-less interface with no "fsl,fman-mac" property.
+ * USDPAA will seed buffers to this buffer pool and initialize 8 TX Frame
+ * queues. The ethernet driver will initialize 8 RX default Frame queues.
+ * On receiving frame at this interface, the ethernet driver will do
+ * kmap_atomic/kunmap_atomic for that frame. */
+ ethernet@16 {
+ compatible = "fsl,b4860-dpa-ethernet", "fsl,dpa-ethernet";
+ fsl,bman-buffer-pools = <&bp16>;
+ fsl,qman-frame-queues-rx = <4000 8>;
+ fsl,qman-frame-queues-tx = <4008 8>;
+ local-mac-address = [00 11 22 33 44 55];
+ };
+
dpa-fman0-oh@2 {
compatible = "fsl,dpa-oh";
/* Define frame queues for the OH port*/