From 6b0c162fad2ba1b59258dd9cb002f18f58450f46 Mon Sep 17 00:00:00 2001 From: Pan Jiafei Date: Wed, 25 Mar 2015 10:36:25 +0800 Subject: 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 Change-Id: Ia810568fd10d0a5a17f1d0b1c92a844d6941896d Reviewed-on: http://git.am.freescale.net:8181/33372 Tested-by: Review Code-CDREVIEW Reviewed-by: Vakul Garg Reviewed-by: Honghua Yin 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*/ /* */ 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*/ /* */ 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>; -- cgit v0.10.2