Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/mpc85xx: Create dts components for the FSL QorIQ DPAA BMan

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Geoff Thorpe <Geoff.Thorpe@freescale.com>
Signed-off-by: Hai-Ying Wang <Haiying.Wang@freescale.com>
[Emil Medve: Sync with the upstream binding]
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>

authored by

Kumar Gala and committed by
Scott Wood
39b55b53 7af98c7c

+131
+90
arch/powerpc/boot/dts/fsl/qoriq-bman1-portals.dtsi
··· 1 + /* 2 + * QorIQ BMan Portal device tree stub for 10 portals 3 + * 4 + * Copyright 2011 - 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 + &bportals { 36 + #address-cells = <1>; 37 + #size-cells = <1>; 38 + compatible = "simple-bus"; 39 + 40 + bman-portal@0 { 41 + compatible = "fsl,bman-portal"; 42 + reg = <0x0 0x4000>, <0x100000 0x1000>; 43 + interrupts = <105 2 0 0>; 44 + }; 45 + bman-portal@4000 { 46 + compatible = "fsl,bman-portal"; 47 + reg = <0x4000 0x4000>, <0x101000 0x1000>; 48 + interrupts = <107 2 0 0>; 49 + }; 50 + bman-portal@8000 { 51 + compatible = "fsl,bman-portal"; 52 + reg = <0x8000 0x4000>, <0x102000 0x1000>; 53 + interrupts = <109 2 0 0>; 54 + }; 55 + bman-portal@c000 { 56 + compatible = "fsl,bman-portal"; 57 + reg = <0xc000 0x4000>, <0x103000 0x1000>; 58 + interrupts = <111 2 0 0>; 59 + }; 60 + bman-portal@10000 { 61 + compatible = "fsl,bman-portal"; 62 + reg = <0x10000 0x4000>, <0x104000 0x1000>; 63 + interrupts = <113 2 0 0>; 64 + }; 65 + bman-portal@14000 { 66 + compatible = "fsl,bman-portal"; 67 + reg = <0x14000 0x4000>, <0x105000 0x1000>; 68 + interrupts = <115 2 0 0>; 69 + }; 70 + bman-portal@18000 { 71 + compatible = "fsl,bman-portal"; 72 + reg = <0x18000 0x4000>, <0x106000 0x1000>; 73 + interrupts = <117 2 0 0>; 74 + }; 75 + bman-portal@1c000 { 76 + compatible = "fsl,bman-portal"; 77 + reg = <0x1c000 0x4000>, <0x107000 0x1000>; 78 + interrupts = <119 2 0 0>; 79 + }; 80 + bman-portal@20000 { 81 + compatible = "fsl,bman-portal"; 82 + reg = <0x20000 0x4000>, <0x108000 0x1000>; 83 + interrupts = <121 2 0 0>; 84 + }; 85 + bman-portal@24000 { 86 + compatible = "fsl,bman-portal"; 87 + reg = <0x24000 0x4000>, <0x109000 0x1000>; 88 + interrupts = <123 2 0 0>; 89 + }; 90 + };
+41
arch/powerpc/boot/dts/fsl/qoriq-bman1.dtsi
··· 1 + /* 2 + * QorIQ BMan device tree stub [ controller @ offset 0x31a000 ] 3 + * 4 + * Copyright 2011 - 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 + bman: bman@31a000 { 36 + compatible = "fsl,bman"; 37 + reg = <0x31a000 0x1000>; 38 + interrupts = <16 2 1 2>; 39 + fsl,bman-portals = <&bportals>; 40 + memory-region = <&bman_fbpr>; 41 + };