diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2016-04-01 12:19:22 +0200 |
|---|---|---|
| committer | Martin Borg <martin.borg@enea.com> | 2016-04-14 12:36:17 +0200 |
| commit | 59ce7bb6549d47f06271d5eeeb459c4c0f5ca288 (patch) | |
| tree | 78a0ca37a922fe214ee2c22458cccd0e9c0ecff1 | |
| parent | 0bea75ebdeebca1b7cbed16dbc80fa475f4e1a1f (diff) | |
| download | meta-enea-bsp-ppc-59ce7bb6549d47f06271d5eeeb459c4c0f5ca288.tar.gz | |
linux-qoriq: Remove dts patches for USDPAA
These are moved to the meta-enea-networking layer.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Signed-off-by: Martin Borg <martin.borg@enea.com>
| -rw-r--r-- | recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts | 109 | ||||
| -rw-r--r-- | recipes-kernel/linux/files/dts/p3041ds-usdpaa-enea.dts | 123 | ||||
| -rw-r--r-- | recipes-kernel/linux/files/dts/t4240rdb-usdpaa-enea.dts | 207 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-qoriq-common.inc | 19 |
4 files changed, 0 insertions, 458 deletions
diff --git a/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts b/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts deleted file mode 100644 index e0d2ff4..0000000 --- a/recipes-kernel/linux/files/dts/p2041rdb-usdpaa-enea.dts +++ /dev/null | |||
| @@ -1,109 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * P2041RDB Device Tree Source | ||
| 3 | * | ||
| 4 | * Copyright 2011-2012 Freescale Semiconductor Inc. | ||
| 5 | * | ||
| 6 | * Redistribution and use in source and binary forms, with or without | ||
| 7 | * modification, are permitted provided that the following conditions are met: | ||
| 8 | * * Redistributions of source code must retain the above copyright | ||
| 9 | * notice, this list of conditions and the following disclaimer. | ||
| 10 | * * Redistributions in binary form must reproduce the above copyright | ||
| 11 | * notice, this list of conditions and the following disclaimer in the | ||
| 12 | * documentation and/or other materials provided with the distribution. | ||
| 13 | * * Neither the name of Freescale Semiconductor nor the | ||
| 14 | * names of its contributors may be used to endorse or promote products | ||
| 15 | * derived from this software without specific prior written permission. | ||
| 16 | * | ||
| 17 | * | ||
| 18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
| 19 | * GNU General Public License ("GPL") as published by the Free Software | ||
| 20 | * Foundation, either version 2 of that License or (at your option) any | ||
| 21 | * later version. | ||
| 22 | * | ||
| 23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
| 24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
| 27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
| 28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
| 30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 33 | */ | ||
| 34 | |||
| 35 | /include/ "p2041rdb.dts" | ||
| 36 | |||
| 37 | / { | ||
| 38 | /* NB: "bpool-ethernet-seeds" is not set to avoid buffer seeding, | ||
| 39 | * because apps seed these pools with buffers allocated at | ||
| 40 | * run-time. | ||
| 41 | * HOWEVER, the kernel driver requires the buffer-size so | ||
| 42 | * "fsl,bpool-ethernet-cfg" is set. It also mis-interprets | ||
| 43 | * things if the base-address is zero (hence the 0xdeadbeef | ||
| 44 | * values). | ||
| 45 | */ | ||
| 46 | bp7: buffer-pool@7 { | ||
| 47 | compatible = "fsl,p2041-bpool", "fsl,bpool"; | ||
| 48 | fsl,bpid = <7>; | ||
| 49 | fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>; | ||
| 50 | fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>; | ||
| 51 | }; | ||
| 52 | bp8: buffer-pool@8 { | ||
| 53 | compatible = "fsl,p2041-bpool", "fsl,bpool"; | ||
| 54 | fsl,bpid = <8>; | ||
| 55 | fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>; | ||
| 56 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 57 | }; | ||
| 58 | bp9: buffer-pool@9 { | ||
| 59 | compatible = "fsl,p2041-bpool", "fsl,bpool"; | ||
| 60 | fsl,bpid = <9>; | ||
| 61 | fsl,bpool-ethernet-cfg = <0 0 0 1728 0 0xfeedabba>; | ||
| 62 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 63 | }; | ||
| 64 | |||
| 65 | fsl,dpaa { | ||
| 66 | |||
| 67 | /* ethernet@0 will be used as a normal Linux ethernet that | ||
| 68 | * interfaces to the kernel network stack. All others will be | ||
| 69 | * dedicated for use by usdpaa */ | ||
| 70 | |||
| 71 | ethernet@1 { | ||
| 72 | compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 73 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 74 | fsl,qman-frame-queues-rx = <0x52 1 0x53 1>; | ||
| 75 | fsl,qman-frame-queues-tx = <0x72 1 0x73 1>; | ||
| 76 | }; | ||
| 77 | ethernet@2 { | ||
| 78 | compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 79 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 80 | fsl,qman-frame-queues-rx = <0x54 1 0x55 1>; | ||
| 81 | fsl,qman-frame-queues-tx = <0x74 1 0x75 1>; | ||
| 82 | }; | ||
| 83 | ethernet@3 { | ||
| 84 | compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 85 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 86 | fsl,qman-frame-queues-rx = <0x56 1 0x57 1>; | ||
| 87 | fsl,qman-frame-queues-tx = <0x76 1 0x77 1>; | ||
| 88 | }; | ||
| 89 | ethernet@4 { | ||
| 90 | compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 91 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 92 | fsl,qman-frame-queues-rx = <0x58 1 0x59 1>; | ||
| 93 | fsl,qman-frame-queues-tx = <0x78 1 0x79 1>; | ||
| 94 | }; | ||
| 95 | ethernet@5 { | ||
| 96 | compatible = "fsl,p2041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 97 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 98 | fsl,qman-frame-queues-rx = <0x5a 1 0x5b 1>; | ||
| 99 | fsl,qman-frame-queues-tx = <0x7a 1 0x7b 1>; | ||
| 100 | }; | ||
| 101 | dpa-fman0-oh@1 { | ||
| 102 | compatible = "fsl,dpa-oh"; | ||
| 103 | /* Define frame queues for the OH port*/ | ||
| 104 | /* <OH Rx error, OH Rx default> */ | ||
| 105 | fsl,qman-frame-queues-oh = <0x68 1 0x69 1>; | ||
| 106 | fsl,fman-oh-port = <&fman0_oh1>; | ||
| 107 | }; | ||
| 108 | }; | ||
| 109 | }; | ||
diff --git a/recipes-kernel/linux/files/dts/p3041ds-usdpaa-enea.dts b/recipes-kernel/linux/files/dts/p3041ds-usdpaa-enea.dts deleted file mode 100644 index 2930da6..0000000 --- a/recipes-kernel/linux/files/dts/p3041ds-usdpaa-enea.dts +++ /dev/null | |||
| @@ -1,123 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * P3041DS Device Tree Source | ||
| 3 | * | ||
| 4 | * Copyright 2010-2012 Freescale Semiconductor Inc. | ||
| 5 | * | ||
| 6 | * Redistribution and use in source and binary forms, with or without | ||
| 7 | * modification, are permitted provided that the following conditions are met: | ||
| 8 | * * Redistributions of source code must retain the above copyright | ||
| 9 | * notice, this list of conditions and the following disclaimer. | ||
| 10 | * * Redistributions in binary form must reproduce the above copyright | ||
| 11 | * notice, this list of conditions and the following disclaimer in the | ||
| 12 | * documentation and/or other materials provided with the distribution. | ||
| 13 | * * Neither the name of Freescale Semiconductor nor the | ||
| 14 | * names of its contributors may be used to endorse or promote products | ||
| 15 | * derived from this software without specific prior written permission. | ||
| 16 | * | ||
| 17 | * | ||
| 18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
| 19 | * GNU General Public License ("GPL") as published by the Free Software | ||
| 20 | * Foundation, either version 2 of that License or (at your option) any | ||
| 21 | * later version. | ||
| 22 | * | ||
| 23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
| 24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
| 27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
| 28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
| 30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 33 | */ | ||
| 34 | |||
| 35 | /include/ "p3041ds.dts" | ||
| 36 | |||
| 37 | / { | ||
| 38 | /* NB: "bpool-ethernet-seeds" is not set to avoid buffer seeding, | ||
| 39 | * because apps seed these pools with buffers allocated at | ||
| 40 | * run-time. | ||
| 41 | * HOWEVER, the kernel driver requires the buffer-size so | ||
| 42 | * "fsl,bpool-ethernet-cfg" is set. It also mis-interprets | ||
| 43 | * things if the base-address is zero (hence the 0xdeadbeef | ||
| 44 | * values). | ||
| 45 | */ | ||
| 46 | bp7: buffer-pool@7 { | ||
| 47 | compatible = "fsl,p3041-bpool", "fsl,bpool"; | ||
| 48 | fsl,bpid = <7>; | ||
| 49 | fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>; | ||
| 50 | fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>; | ||
| 51 | }; | ||
| 52 | bp8: buffer-pool@8 { | ||
| 53 | compatible = "fsl,p3041-bpool", "fsl,bpool"; | ||
| 54 | fsl,bpid = <8>; | ||
| 55 | fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>; | ||
| 56 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 57 | }; | ||
| 58 | bp9: buffer-pool@9 { | ||
| 59 | compatible = "fsl,p3041-bpool", "fsl,bpool"; | ||
| 60 | fsl,bpid = <9>; | ||
| 61 | fsl,bpool-ethernet-cfg = <0 0 0 1728 0 0xfeedabba>; | ||
| 62 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 63 | }; | ||
| 64 | bp10: buffer-pool@10 { | ||
| 65 | compatible = "fsl,p3041-bpool", "fsl,bpool"; | ||
| 66 | fsl,bpid = <10>; | ||
| 67 | fsl,bpool-thresholds = <0x10 0x30 0x0 0x0>; | ||
| 68 | }; | ||
| 69 | bp11: buffer-pool@11 { | ||
| 70 | compatible = "fsl,p3041-bpool", "fsl,bpool"; | ||
| 71 | fsl,bpid = <11>; | ||
| 72 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 73 | }; | ||
| 74 | bp12: buffer-pool@12 { | ||
| 75 | compatible = "fsl,p3041-bpool", "fsl,bpool"; | ||
| 76 | fsl,bpid = <12>; | ||
| 77 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 78 | }; | ||
| 79 | |||
| 80 | fsl,dpaa { | ||
| 81 | ethernet@0 { | ||
| 82 | compatible = "fsl,p3041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 83 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 84 | fsl,qman-frame-queues-rx = <0x50 1 0x51 1>; | ||
| 85 | fsl,qman-frame-queues-tx = <0x70 1 0x71 1>; | ||
| 86 | }; | ||
| 87 | |||
| 88 | ethernet@1 { | ||
| 89 | compatible = "fsl,p3041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 90 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 91 | fsl,qman-frame-queues-rx = <0x52 1 0x53 1>; | ||
| 92 | fsl,qman-frame-queues-tx = <0x72 1 0x73 1>; | ||
| 93 | }; | ||
| 94 | ethernet@2 { | ||
| 95 | compatible = "fsl,p3041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 96 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 97 | fsl,qman-frame-queues-rx = <0x54 1 0x55 1>; | ||
| 98 | fsl,qman-frame-queues-tx = <0x74 1 0x75 1>; | ||
| 99 | }; | ||
| 100 | ethernet@3 { | ||
| 101 | compatible = "fsl,p3041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 102 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 103 | fsl,qman-frame-queues-rx = <0x56 1 0x57 1>; | ||
| 104 | fsl,qman-frame-queues-tx = <0x76 1 0x77 1>; | ||
| 105 | }; | ||
| 106 | /* ethernet@4 will be used as a normal Linux ethernet that | ||
| 107 | * interfaces to the kernel network stack. All others will be | ||
| 108 | * dedicated for use by usdpaa */ | ||
| 109 | ethernet@5 { | ||
| 110 | compatible = "fsl,p3041-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 111 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 112 | fsl,qman-frame-queues-rx = <0x5a 1 0x5b 1>; | ||
| 113 | fsl,qman-frame-queues-tx = <0x7a 1 0x7b 1>; | ||
| 114 | }; | ||
| 115 | dpa-fman0-oh@1 { | ||
| 116 | compatible = "fsl,dpa-oh"; | ||
| 117 | /* Define frame queues for the OH port*/ | ||
| 118 | /* <OH Rx error, OH Rx default> */ | ||
| 119 | fsl,qman-frame-queues-oh = <0x68 1 0x69 1>; | ||
| 120 | fsl,fman-oh-port = <&fman0_oh1>; | ||
| 121 | }; | ||
| 122 | }; | ||
| 123 | }; | ||
diff --git a/recipes-kernel/linux/files/dts/t4240rdb-usdpaa-enea.dts b/recipes-kernel/linux/files/dts/t4240rdb-usdpaa-enea.dts deleted file mode 100644 index d267a50..0000000 --- a/recipes-kernel/linux/files/dts/t4240rdb-usdpaa-enea.dts +++ /dev/null | |||
| @@ -1,207 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * T4240RDB USDPAA Device Tree Source | ||
| 3 | * | ||
| 4 | * Copyright 2014 Freescale Semiconductor Inc. | ||
| 5 | * | ||
| 6 | * Redistribution and use in source and binary forms, with or without | ||
| 7 | * modification, are permitted provided that the following conditions are met: | ||
| 8 | * * Redistributions of source code must retain the above copyright | ||
| 9 | * notice, this list of conditions and the following disclaimer. | ||
| 10 | * * Redistributions in binary form must reproduce the above copyright | ||
| 11 | * notice, this list of conditions and the following disclaimer in the | ||
| 12 | * documentation and/or other materials provided with the distribution. | ||
| 13 | * * Neither the name of Freescale Semiconductor nor the | ||
| 14 | * names of its contributors may be used to endorse or promote products | ||
| 15 | * derived from this software without specific prior written permission. | ||
| 16 | * | ||
| 17 | * | ||
| 18 | * ALTERNATIVELY, this software may be distributed under the terms of the | ||
| 19 | * GNU General Public License ("GPL") as published by the Free Software | ||
| 20 | * Foundation, either version 2 of that License or (at your option) any | ||
| 21 | * later version. | ||
| 22 | * | ||
| 23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | ||
| 24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
| 25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | ||
| 27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
| 28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
| 30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
| 31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 33 | */ | ||
| 34 | |||
| 35 | /include/ "t4240rdb.dts" | ||
| 36 | |||
| 37 | / { | ||
| 38 | /* NB: "bpool-ethernet-seeds" is not set to avoid buffer seeding, | ||
| 39 | * because apps seed these pools with buffers allocated at | ||
| 40 | * run-time. | ||
| 41 | * HOWEVER, the kernel driver requires the buffer-size so | ||
| 42 | * "fsl,bpool-ethernet-cfg" is set. It also mis-interprets | ||
| 43 | * things if the base-address is zero (hence the 0xdeadbeef | ||
| 44 | * values). | ||
| 45 | */ | ||
| 46 | bp7: buffer-pool@7 { | ||
| 47 | compatible = "fsl,t4240-bpool", "fsl,bpool"; | ||
| 48 | fsl,bpid = <7>; | ||
| 49 | fsl,bpool-ethernet-cfg = <0 0 0 192 0 0xdeadbeef>; | ||
| 50 | fsl,bpool-thresholds = <0x400 0xc00 0x0 0x0>; | ||
| 51 | }; | ||
| 52 | bp8: buffer-pool@8 { | ||
| 53 | compatible = "fsl,t4240-bpool", "fsl,bpool"; | ||
| 54 | fsl,bpid = <8>; | ||
| 55 | fsl,bpool-ethernet-cfg = <0 0 0 576 0 0xabbaf00d>; | ||
| 56 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 57 | }; | ||
| 58 | bp9: buffer-pool@9 { | ||
| 59 | compatible = "fsl,t4240-bpool", "fsl,bpool"; | ||
| 60 | fsl,bpid = <9>; | ||
| 61 | fsl,bpool-ethernet-cfg = <0 0 0 1728 0 0xfeedabba>; | ||
| 62 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 63 | }; | ||
| 64 | |||
| 65 | bp10: buffer-pool@10 { | ||
| 66 | compatible = "fsl,t4240-bpool", "fsl,bpool"; | ||
| 67 | fsl,bpid = <10>; | ||
| 68 | fsl,bpool-thresholds = <0x10 0x30 0x0 0x0>; | ||
| 69 | }; | ||
| 70 | bp11: buffer-pool@11 { | ||
| 71 | compatible = "fsl,t4240-bpool", "fsl,bpool"; | ||
| 72 | fsl,bpid = <11>; | ||
| 73 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 74 | }; | ||
| 75 | bp12: buffer-pool@12 { | ||
| 76 | compatible = "fsl,t4240-bpool", "fsl,bpool"; | ||
| 77 | fsl,bpid = <12>; | ||
| 78 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 79 | }; | ||
| 80 | bp13: buffer-pool@13 { | ||
| 81 | compatible = "fsl,t4240-bpool", "fsl,bpool", "fsl,bpool-ethernet-seeds"; | ||
| 82 | fsl,bpid = <13>; | ||
| 83 | fsl,bpool-ethernet-cfg = <0 2048 0 1728 0 0>; | ||
| 84 | fsl,bpool-thresholds = <0x100 0x300 0x0 0x0>; | ||
| 85 | }; | ||
| 86 | |||
| 87 | chosen { | ||
| 88 | dpaa-extended-args { | ||
| 89 | fman0-extd-args { | ||
| 90 | cell-index = <0x0>; | ||
| 91 | compatible = "fsl,fman-extended-args"; | ||
| 92 | dma-aid-mode = "port"; | ||
| 93 | fman0_oh3-extd-args { | ||
| 94 | cell-index = <0x2>; | ||
| 95 | compatible = "fsl,fman-port-op-extended-args"; | ||
| 96 | vsp-window = <0x8 0x0>; | ||
| 97 | }; | ||
| 98 | fman0_oh4-extd-args { | ||
| 99 | cell-index = <0x3>; | ||
| 100 | compatible = "fsl,fman-port-op-extended-args"; | ||
| 101 | vsp-window = <0x8 0x0>; | ||
| 102 | }; | ||
| 103 | }; | ||
| 104 | }; | ||
| 105 | }; | ||
| 106 | |||
| 107 | fsl,dpaa { | ||
| 108 | |||
| 109 | /* ethernet@0 will be used as a normal Linux ethernet that | ||
| 110 | * interfaces to the kernel network stack. All others will be | ||
| 111 | * dedicated for use by usdpaa */ | ||
| 112 | |||
| 113 | ethernet@1 { | ||
| 114 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 115 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 116 | fsl,qman-frame-queues-rx = <0x52 1 0x53 1>; | ||
| 117 | fsl,qman-frame-queues-tx = <0x72 1 0x73 1>; | ||
| 118 | }; | ||
| 119 | ethernet@2 { | ||
| 120 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 121 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 122 | fsl,qman-frame-queues-rx = <0x54 1 0x55 1>; | ||
| 123 | fsl,qman-frame-queues-tx = <0x74 1 0x75 1>; | ||
| 124 | }; | ||
| 125 | ethernet@3 { | ||
| 126 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 127 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 128 | fsl,qman-frame-queues-rx = <0x56 1 0x57 1>; | ||
| 129 | fsl,qman-frame-queues-tx = <0x76 1 0x77 1>; | ||
| 130 | }; | ||
| 131 | ethernet@6 { | ||
| 132 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 133 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 134 | fsl,qman-frame-queues-rx = <0x5c 1 0x5d 1>; | ||
| 135 | fsl,qman-frame-queues-tx = <0x7c 1 0x7d 1>; | ||
| 136 | }; | ||
| 137 | ethernet@7 { | ||
| 138 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 139 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 140 | fsl,qman-frame-queues-rx = <0x5e 1 0x5f 1>; | ||
| 141 | fsl,qman-frame-queues-tx = <0x7e 1 0x7f 1>; | ||
| 142 | }; | ||
| 143 | ethernet@8 { | ||
| 144 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 145 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 146 | fsl,qman-frame-queues-rx = <0x60 1 0x61 1>; | ||
| 147 | fsl,qman-frame-queues-tx = <0x80 1 0x81 1>; | ||
| 148 | }; | ||
| 149 | ethernet@9 { | ||
| 150 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 151 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 152 | fsl,qman-frame-queues-rx = <0x62 1 0x63 1>; | ||
| 153 | fsl,qman-frame-queues-tx = <0x82 1 0x83 1>; | ||
| 154 | }; | ||
| 155 | ethernet@10 { | ||
| 156 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 157 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 158 | fsl,qman-frame-queues-rx = <0x64 1 0x65 1>; | ||
| 159 | fsl,qman-frame-queues-tx = <0x84 1 0x85 1>; | ||
| 160 | }; | ||
| 161 | ethernet@11 { | ||
| 162 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 163 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 164 | fsl,qman-frame-queues-rx = <0x66 1 0x67 1>; | ||
| 165 | fsl,qman-frame-queues-tx = <0x86 1 0x87 1>; | ||
| 166 | }; | ||
| 167 | ethernet@14 { | ||
| 168 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 169 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 170 | fsl,qman-frame-queues-rx = <0x6c 1 0x6d 1>; | ||
| 171 | fsl,qman-frame-queues-tx = <0x8c 1 0x8d 1>; | ||
| 172 | }; | ||
| 173 | ethernet@15 { | ||
| 174 | compatible = "fsl,t4240-dpa-ethernet-init", "fsl,dpa-ethernet-init"; | ||
| 175 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 176 | fsl,qman-frame-queues-rx = <0x6e 1 0x6f 1>; | ||
| 177 | fsl,qman-frame-queues-tx = <0x8e 1 0x8f 1>; | ||
| 178 | }; | ||
| 179 | ethernet@16 { | ||
| 180 | compatible = "fsl,t4240-dpa-ethernet-generic", "fsl,dpa-ethernet-generic"; | ||
| 181 | fsl,qman-frame-queues-tx = <0x92 1>; | ||
| 182 | fsl,oh-ports = <&oh3 &oh4>; | ||
| 183 | local-mac-address = [00 11 22 33 44 66]; | ||
| 184 | }; | ||
| 185 | |||
| 186 | dpa-fman0-oh@2 { | ||
| 187 | compatible = "fsl,dpa-oh"; | ||
| 188 | /* Define frame queues for the OH port*/ | ||
| 189 | /* <OH Rx error, OH Rx default> */ | ||
| 190 | fsl,qman-frame-queues-oh = <0x90 1 0x91 1>; | ||
| 191 | fsl,fman-oh-port = <&fman0_oh2>; | ||
| 192 | }; | ||
| 193 | oh3: dpa-fman0-oh@3 { | ||
| 194 | compatible = "fsl,dpa-oh"; | ||
| 195 | fsl,bman-buffer-pools = <&bp13>; | ||
| 196 | fsl,qman-frame-queues-oh = <0x96 1 0x97 1>; | ||
| 197 | fsl,fman-oh-port = <&fman0_oh3>; | ||
| 198 | }; | ||
| 199 | oh4: dpa-fman0-oh@4 { | ||
| 200 | compatible = "fsl,dpa-oh"; | ||
| 201 | fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>; | ||
| 202 | fsl,qman-frame-queues-oh = <0x94 1 0x95 1>; | ||
| 203 | fsl,fman-oh-port = <&fman0_oh4>; | ||
| 204 | }; | ||
| 205 | |||
| 206 | }; | ||
| 207 | }; | ||
diff --git a/recipes-kernel/linux/linux-qoriq-common.inc b/recipes-kernel/linux/linux-qoriq-common.inc index afac7ac..8270093 100644 --- a/recipes-kernel/linux/linux-qoriq-common.inc +++ b/recipes-kernel/linux/linux-qoriq-common.inc | |||
| @@ -7,10 +7,6 @@ SRC_URI += "file://b4860-hard_irq_disable-bug.patch \ | |||
| 7 | file://powerpc-fsl-booke64-Set-vmemmap_psize-to-4K.patch \ | 7 | file://powerpc-fsl-booke64-Set-vmemmap_psize-to-4K.patch \ |
| 8 | " | 8 | " |
| 9 | 9 | ||
| 10 | SRC_URI_append_t4240rdb-64b = " file://dts/t4240rdb-usdpaa-enea.dts" | ||
| 11 | SRC_URI_append_p2041rdb = " file://dts/p2041rdb-usdpaa-enea.dts" | ||
| 12 | SRC_URI_append_p3041ds = " file://dts/p3041ds-usdpaa-enea.dts" | ||
| 13 | |||
| 14 | ENEA_KERNEL_FRAGMENTS += "\ | 10 | ENEA_KERNEL_FRAGMENTS += "\ |
| 15 | cfg/localversion.cfg \ | 11 | cfg/localversion.cfg \ |
| 16 | cfg/with_modules.cfg \ | 12 | cfg/with_modules.cfg \ |
| @@ -44,20 +40,5 @@ ENEA_KERNEL_FRAGMENTS_append_p2020rdb=" \ | |||
| 44 | DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \ | 40 | DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \ |
| 45 | " | 41 | " |
| 46 | 42 | ||
| 47 | KERNEL_DEVICETREE_append_t4240rdb-64b = " t4240rdb-usdpaa-enea.dtb" | ||
| 48 | KERNEL_DEVICETREE_append_p2041rdb = " p2041rdb-usdpaa-enea.dtb" | ||
| 49 | KERNEL_DEVICETREE_append_p3041ds = " p3041ds-usdpaa-enea.dtb" | ||
| 50 | |||
| 51 | require recipes-kernel/linux/pramfs-3.12.inc | 43 | require recipes-kernel/linux/pramfs-3.12.inc |
| 52 | 44 | ||
| 53 | do_configure_prepend_t4240rdb-64b() { | ||
| 54 | cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ | ||
| 55 | } | ||
| 56 | |||
| 57 | do_configure_prepend_p2041rdb() { | ||
| 58 | cp ${WORKDIR}/dts/p2041rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ | ||
| 59 | } | ||
| 60 | |||
| 61 | do_configure_prepend_p3041ds() { | ||
| 62 | cp ${WORKDIR}/dts/p3041ds-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ | ||
| 63 | } | ||
