diff options
author | Marian Chereji <marian.chereji@freescale.com> | 2013-06-03 12:01:20 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-06-05 21:02:23 (GMT) |
commit | 50e8dde3f146bf6955459c96be9794f999dc0015 (patch) | |
tree | 3fd2a17163db551cf9661c9217478d73d56735b5 /drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts | |
parent | b5f97aaa223c0c6e70815ddb98e1ebe7710bc68a (diff) | |
download | linux-fsl-qoriq-50e8dde3f146bf6955459c96be9794f999dc0015.tar.xz |
dpa_offload: Add required interfaces for IPsec offloading USDPAA use-case
The ipsec_offload application needs 2 Mac-less interfaces and 2 physical
Ethernet interfaces in usdpaa.
Signed-off-by: Alexandru Badicioiu <b15898@freescale.com>
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: I7da4a92f72faa78cd4fb2d2cbaf2ab56b3aaf88c
Reviewed-on: http://git.am.freescale.net:8181/2864
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.dts | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts b/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts index 18d8456..70717b5 100644 --- a/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts +++ b/drivers/staging/fsl_dpa_offload/dts/b4860qds-usdpaa.dts @@ -111,11 +111,12 @@ 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@4 { + compatible = "fsl,b4860-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,b4860-dpa-ethernet-init", "fsl,dpa-ethernet-init"; fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; @@ -123,18 +124,25 @@ fsl,qman-frame-queues-tx = <0x7a 1 0x7b 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]; - }; + /* 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]; + }; + ethernet@17 { + compatible = "fsl,b4860-dpa-ethernet", "fsl,dpa-ethernet"; + fsl,bman-buffer-pools = <&bp16>; + fsl,qman-frame-queues-rx = <5000 8>; + fsl,qman-frame-queues-tx = <5008 8>; + local-mac-address = [00 11 22 33 44 66]; + }; dpa-fman0-oh@2 { compatible = "fsl,dpa-oh"; |