summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPan Jiafei <Jiafei.Pan@freescale.com>2015-03-25 02:36:25 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-03-27 10:16:04 (GMT)
commit6b0c162fad2ba1b59258dd9cb002f18f58450f46 (patch)
tree5aa44aed3a0afe16690773d6c221562330fe28be /arch
parentb80cacd8afa480bb963bdb39f2c053f5bc6c289d (diff)
downloadlinux-fsl-qoriq-6b0c162fad2ba1b59258dd9cb002f18f58450f46.tar.xz
capwap: reuse op2 to avoid errors of no resource
Use OP1 as outbound OP and OP2 as inbound OP, Then use the following arguments for capwap usecase: "-g 2 -o 1" T1024 only has 156K FIFO memory for FMan, so avoid no resource available for FMan port, we reuse OP2 which is already enabled in t1024rdb.dts by default. Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com> Change-Id: Ia810568fd10d0a5a17f1d0b1c92a844d6941896d Reviewed-on: http://git.am.freescale.net:8181/33372 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/boot/dts/t1024rdb-usdpaa-capwap.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/boot/dts/t1024rdb-usdpaa-capwap.dts b/arch/powerpc/boot/dts/t1024rdb-usdpaa-capwap.dts
index 33d2a27..595ece5 100644
--- a/arch/powerpc/boot/dts/t1024rdb-usdpaa-capwap.dts
+++ b/arch/powerpc/boot/dts/t1024rdb-usdpaa-capwap.dts
@@ -73,22 +73,22 @@
};
*/
/* The following OP is used as outbound OP*/
- dpa-fman0-oh@3 {
+ dpa-fman0-oh@2 {
compatible = "fsl,dpa-oh";
fsl,bman-buffer-pools = <&bp7>;
/* Define frame queues for the OH port*/
/* <OH Rx error, OH Rx default> */
fsl,qman-frame-queues-oh = <0x52 1 0x53 1>;
- fsl,fman-oh-port = <&fman0_oh3>;
+ fsl,fman-oh-port = <&fman0_oh2>;
};
/* The following OP is used as inbound OP*/
- dpa-fman0-oh@4 {
+ dpa-fman0-oh@3 {
compatible = "fsl,dpa-oh";
fsl,bman-buffer-pools = <&bp7>;
/* Define frame queues for the OH port*/
/* <OH Rx error, OH Rx default> */
fsl,qman-frame-queues-oh = <0x54 1 0x55 1>;
- fsl,fman-oh-port = <&fman0_oh4>;
+ fsl,fman-oh-port = <&fman0_oh3>;
};
};
@@ -99,7 +99,7 @@
cell-index = <0>;
/* Set 128bytes manip extra space for outbound(frgamentation) OP */
args0 {
- cell-index = <2>;
+ cell-index = <1>;
compatible = "fsl,fman-port-op-extended-args";
/* manip_extra_space, data_align */
buffer-layout = <0x80 0x40>;