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

Merge remote-tracking branch 'scott/next' into next

<<
Highlights include a few new boards, a device tree binding for CCF
(including backwards-compatible device tree updates to distinguish
incompatible versions), and some fixes.
>>

+2065 -290
+9 -1
Documentation/devicetree/bindings/clock/corenet-clock.txt Documentation/devicetree/bindings/clock/qoriq-clock.txt
··· 7 7 cores and peripheral IP blocks. 8 8 Please refer to the Reference Manual for details. 9 9 10 + All references to "1.0" and "2.0" refer to the QorIQ chassis version to 11 + which the chip complies. 12 + 13 + Chassis Version Example Chips 14 + --------------- ------------- 15 + 1.0 p4080, p5020, p5040 16 + 2.0 t4240, b4860, t1040 17 + 10 18 1. Clock Block Binding 11 19 12 20 Required properties: ··· 93 85 #clock-cells = <0>; 94 86 compatible = "fsl,qoriq-sysclk-1.0"; 95 87 clock-output-names = "sysclk"; 96 - } 88 + }; 97 89 98 90 pll0: pll0@800 { 99 91 #clock-cells = <1>;
+25
Documentation/devicetree/bindings/mfd/bfticu.txt
··· 1 + KEYMILE bfticu Chassis Management FPGA 2 + 3 + The bfticu is a multifunction device that manages the whole chassis. 4 + Its main functionality is to collect IRQs from the whole chassis and signals 5 + them to a single controller. 6 + 7 + Required properties: 8 + - compatible: "keymile,bfticu" 9 + - interrupt-controller: the bfticu FPGA is an interrupt controller 10 + - interrupts: the main IRQ line to signal the collected IRQs 11 + - #interrupt-cells : is 2 and their usage is compliant to the 2 cells variant 12 + of Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 13 + - interrupt-parent: the parent IRQ ctrl the main IRQ is connected to 14 + - reg: access on the parent local bus (chip select, offset in chip select, size) 15 + 16 + Example: 17 + 18 + chassis-mgmt@3,0 { 19 + compatible = "keymile,bfticu"; 20 + interrupt-controller; 21 + #interrupt-cells = <2>; 22 + reg = <3 0 0x100>; 23 + interrupt-parent = <&mpic>; 24 + interrupts = <6 1 0 0>; 25 + };
+17
Documentation/devicetree/bindings/mfd/qriox.txt
··· 1 + KEYMILE qrio Board Control CPLD 2 + 3 + The qrio is a multifunction device that controls the KEYMILE boards based on 4 + the kmp204x design. 5 + It is consists of a reset controller, watchdog timer, LEDs, and 2 IRQ capable 6 + GPIO blocks. 7 + 8 + Required properties: 9 + - compatible: "keymile,qriox" 10 + - reg: access on the parent local bus (chip select, offset in chip select, size) 11 + 12 + Example: 13 + 14 + board-control@1,0 { 15 + compatible = "keymile,qriox"; 16 + reg = <1 0 0x80>; 17 + };
+17
Documentation/devicetree/bindings/powerpc/fsl/board.txt
··· 67 67 gpio-controller; 68 68 }; 69 69 }; 70 + 71 + * Freescale on-board FPGA connected on I2C bus 72 + 73 + Some Freescale boards like BSC9132QDS have on board FPGA connected on 74 + the i2c bus. 75 + 76 + Required properties: 77 + - compatible: Should be a board-specific string followed by a string 78 + indicating the type of FPGA. Example: 79 + "fsl,<board>-fpga", "fsl,fpga-qixis-i2c" 80 + - reg: Should contain the address of the FPGA 81 + 82 + Example: 83 + fpga: fpga@66 { 84 + compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; 85 + reg = <0x66>; 86 + };
+46
Documentation/devicetree/bindings/powerpc/fsl/ccf.txt
··· 1 + Freescale CoreNet Coherency Fabric(CCF) Device Tree Binding 2 + 3 + DESCRIPTION 4 + 5 + The CoreNet coherency fabric is a fabric-oriented, connectivity infrastructure 6 + that enables the implementation of coherent, multicore systems. 7 + 8 + Required properties: 9 + 10 + - compatible: <string list> 11 + fsl,corenet1-cf - CoreNet coherency fabric version 1. 12 + Example chips: T4240, B4860 13 + 14 + fsl,corenet2-cf - CoreNet coherency fabric version 2. 15 + Example chips: P5040, P5020, P4080, P3041, P2041 16 + 17 + fsl,corenet-cf - Used to represent the common registers 18 + between CCF version 1 and CCF version 2. This compatible 19 + is retained for compatibility reasons, as it was already 20 + used for both CCF version 1 chips and CCF version 2 21 + chips. It should be specified after either 22 + "fsl,corenet1-cf" or "fsl,corenet2-cf". 23 + 24 + - reg: <prop-encoded-array> 25 + A standard property. Represents the CCF registers. 26 + 27 + - interrupts: <prop-encoded-array> 28 + Interrupt mapping for CCF error interrupt. 29 + 30 + - fsl,ccf-num-csdids: <u32> 31 + Specifies the number of Coherency Subdomain ID Port Mapping 32 + Registers that are supported by the CCF. 33 + 34 + - fsl,ccf-num-snoopids: <u32> 35 + Specifies the number of Snoop ID Port Mapping Registers that 36 + are supported by CCF. 37 + 38 + Example: 39 + 40 + corenet-cf@18000 { 41 + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; 42 + reg = <0x18000 0x1000>; 43 + interrupts = <16 2 1 31>; 44 + fsl,ccf-num-csdids = <32>; 45 + fsl,ccf-num-snoopids = <32>; 46 + };
+11
Documentation/devicetree/bindings/powerpc/fsl/cpus.txt
··· 20 20 a property named fsl,eref-[CAT], where [CAT] is the abbreviated category 21 21 name with all uppercase letters converted to lowercase, indicates that 22 22 the category is supported by the implementation. 23 + 24 + - fsl,portid-mapping 25 + Usage: optional 26 + Value type: <u32> 27 + Definition: The Coherency Subdomain ID Port Mapping Registers and 28 + Snoop ID Port Mapping registers, which are part of the CoreNet 29 + Coherency fabric (CCF), provide a CoreNet Coherency Subdomain 30 + ID/CoreNet Snoop ID to cpu mapping functions. Certain bits from 31 + these registers should be set if the coresponding CPU should be 32 + snooped. This property defines a bitmask which selects the bit 33 + that should be set if this cpu should be snooped.
+10
Documentation/devicetree/bindings/powerpc/fsl/pamu.txt
··· 34 34 for legacy drivers. 35 35 - interrupt-parent : <phandle> 36 36 Phandle to interrupt controller 37 + - fsl,portid-mapping : <u32> 38 + The Coherency Subdomain ID Port Mapping Registers and 39 + Snoop ID Port Mapping registers, which are part of the 40 + CoreNet Coherency fabric (CCF), provide a CoreNet 41 + Coherency Subdomain ID/CoreNet Snoop ID to pamu mapping 42 + functions. Certain bits from these registers should be 43 + set if PAMUs should be snooped. This property defines 44 + a bitmask which selects the bits that should be set if 45 + PAMUs should be snooped. 37 46 38 47 Child nodes: 39 48 ··· 97 88 compatible = "fsl,pamu-v1.0", "fsl,pamu"; 98 89 reg = <0x20000 0x5000>; 99 90 ranges = <0 0x20000 0x5000>; 91 + fsl,portid-mapping = <0xf80000>; 100 92 #address-cells = <1>; 101 93 #size-cells = <1>; 102 94 interrupts = <
+1
Documentation/devicetree/bindings/vendor-prefixes.txt
··· 135 135 xes Extreme Engineering Solutions (X-ES) 136 136 xlnx Xilinx 137 137 zyxel ZyXEL Communications Corp. 138 + zarlink Zarlink Semiconductor
+6 -1
arch/powerpc/boot/dts/b4860emu.dts
··· 61 61 device_type = "cpu"; 62 62 reg = <0 1>; 63 63 next-level-cache = <&L2>; 64 + fsl,portid-mapping = <0x80000000>; 64 65 }; 65 66 cpu1: PowerPC,e6500@2 { 66 67 device_type = "cpu"; 67 68 reg = <2 3>; 68 69 next-level-cache = <&L2>; 70 + fsl,portid-mapping = <0x80000000>; 69 71 }; 70 72 cpu2: PowerPC,e6500@4 { 71 73 device_type = "cpu"; 72 74 reg = <4 5>; 73 75 next-level-cache = <&L2>; 76 + fsl,portid-mapping = <0x80000000>; 74 77 }; 75 78 cpu3: PowerPC,e6500@6 { 76 79 device_type = "cpu"; 77 80 reg = <6 7>; 78 81 next-level-cache = <&L2>; 82 + fsl,portid-mapping = <0x80000000>; 79 83 }; 80 84 }; 81 85 }; ··· 161 157 }; 162 158 163 159 corenet-cf@18000 { 164 - compatible = "fsl,b4-corenet-cf"; 160 + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; 165 161 reg = <0x18000 0x1000>; 166 162 interrupts = <16 2 1 0>; 167 163 fsl,ccf-num-csdids = <32>; ··· 171 167 iommu@20000 { 172 168 compatible = "fsl,pamu-v1.0", "fsl,pamu"; 173 169 reg = <0x20000 0x4000>; 170 + fsl,portid-mapping = <0x8000>; 174 171 #address-cells = <1>; 175 172 #size-cells = <1>; 176 173 interrupts = <
+35
arch/powerpc/boot/dts/bsc9132qds.dts
··· 1 + /* 2 + * BSC9132 QDS Device Tree Source 3 + * 4 + * Copyright 2014 Freescale Semiconductor Inc. 5 + * 6 + * This program is free software; you can redistribute it and/or modify it 7 + * under the terms of the GNU General Public License as published by the 8 + * Free Software Foundation; either version 2 of the License, or (at your 9 + * option) any later version. 10 + */ 11 + 12 + /include/ "fsl/bsc9132si-pre.dtsi" 13 + 14 + / { 15 + model = "fsl,bsc9132qds"; 16 + compatible = "fsl,bsc9132qds"; 17 + 18 + memory { 19 + device_type = "memory"; 20 + }; 21 + 22 + ifc: ifc@ff71e000 { 23 + /* NOR, NAND Flash on board */ 24 + ranges = <0x0 0x0 0x0 0x88000000 0x08000000 25 + 0x1 0x0 0x0 0xff800000 0x00010000>; 26 + reg = <0x0 0xff71e000 0x0 0x2000>; 27 + }; 28 + 29 + soc: soc@ff700000 { 30 + ranges = <0x0 0x0 0xff700000 0x100000>; 31 + }; 32 + }; 33 + 34 + /include/ "bsc9132qds.dtsi" 35 + /include/ "fsl/bsc9132si-post.dtsi"
+101
arch/powerpc/boot/dts/bsc9132qds.dtsi
··· 1 + /* 2 + * BSC9132 QDS Device Tree Source stub (no addresses or top-level ranges) 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 + &ifc { 36 + nor@0,0 { 37 + #address-cells = <1>; 38 + #size-cells = <1>; 39 + compatible = "cfi-flash"; 40 + reg = <0x0 0x0 0x8000000>; 41 + bank-width = <2>; 42 + device-width = <1>; 43 + }; 44 + 45 + nand@1,0 { 46 + #address-cells = <1>; 47 + #size-cells = <1>; 48 + compatible = "fsl,ifc-nand"; 49 + reg = <0x1 0x0 0x4000>; 50 + }; 51 + }; 52 + 53 + &soc { 54 + spi@7000 { 55 + flash@0 { 56 + #address-cells = <1>; 57 + #size-cells = <1>; 58 + compatible = "spansion,s25sl12801"; 59 + reg = <0>; 60 + spi-max-frequency = <30000000>; 61 + }; 62 + }; 63 + 64 + i2c@3000 { 65 + fpga: fpga@66 { 66 + compatible = "fsl,bsc9132qds-fpga", "fsl,fpga-qixis-i2c"; 67 + reg = <0x66>; 68 + }; 69 + }; 70 + 71 + usb@22000 { 72 + phy_type = "ulpi"; 73 + }; 74 + 75 + mdio@24000 { 76 + phy0: ethernet-phy@0 { 77 + reg = <0x0>; 78 + }; 79 + 80 + phy1: ethernet-phy@1 { 81 + reg = <0x1>; 82 + }; 83 + 84 + tbi0: tbi-phy@11 { 85 + reg = <0x1f>; 86 + device_type = "tbi-phy"; 87 + }; 88 + }; 89 + 90 + enet0: ethernet@b0000 { 91 + phy-handle = <&phy0>; 92 + tbi-handle = <&tbi0>; 93 + phy-connection-type = "sgmii"; 94 + }; 95 + 96 + enet1: ethernet@b1000 { 97 + phy-handle = <&phy1>; 98 + tbi-handle = <&tbi0>; 99 + phy-connection-type = "sgmii"; 100 + }; 101 + };
-4
arch/powerpc/boot/dts/fsl/b4420si-post.dtsi
··· 76 76 compatible = "fsl,b4420-l3-cache-controller", "cache"; 77 77 }; 78 78 79 - corenet-cf@18000 { 80 - compatible = "fsl,b4420-corenet-cf"; 81 - }; 82 - 83 79 guts: global-utilities@e0000 { 84 80 compatible = "fsl,b4420-device-config", "fsl,qoriq-device-config-2.0"; 85 81 };
+2
arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi
··· 66 66 reg = <0 1>; 67 67 clocks = <&mux0>; 68 68 next-level-cache = <&L2>; 69 + fsl,portid-mapping = <0x80000000>; 69 70 }; 70 71 cpu1: PowerPC,e6500@2 { 71 72 device_type = "cpu"; 72 73 reg = <2 3>; 73 74 clocks = <&mux0>; 74 75 next-level-cache = <&L2>; 76 + fsl,portid-mapping = <0x80000000>; 75 77 }; 76 78 }; 77 79 };
-4
arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
··· 120 120 compatible = "fsl,b4860-l3-cache-controller", "cache"; 121 121 }; 122 122 123 - corenet-cf@18000 { 124 - compatible = "fsl,b4860-corenet-cf"; 125 - }; 126 - 127 123 guts: global-utilities@e0000 { 128 124 compatible = "fsl,b4860-device-config", "fsl,qoriq-device-config-2.0"; 129 125 };
+4
arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi
··· 66 66 reg = <0 1>; 67 67 clocks = <&mux0>; 68 68 next-level-cache = <&L2>; 69 + fsl,portid-mapping = <0x80000000>; 69 70 }; 70 71 cpu1: PowerPC,e6500@2 { 71 72 device_type = "cpu"; 72 73 reg = <2 3>; 73 74 clocks = <&mux0>; 74 75 next-level-cache = <&L2>; 76 + fsl,portid-mapping = <0x80000000>; 75 77 }; 76 78 cpu2: PowerPC,e6500@4 { 77 79 device_type = "cpu"; 78 80 reg = <4 5>; 79 81 clocks = <&mux0>; 80 82 next-level-cache = <&L2>; 83 + fsl,portid-mapping = <0x80000000>; 81 84 }; 82 85 cpu3: PowerPC,e6500@6 { 83 86 device_type = "cpu"; 84 87 reg = <6 7>; 85 88 clocks = <&mux0>; 86 89 next-level-cache = <&L2>; 90 + fsl,portid-mapping = <0x80000000>; 87 91 }; 88 92 }; 89 93 };
+2 -1
arch/powerpc/boot/dts/fsl/b4si-post.dtsi
··· 158 158 }; 159 159 160 160 corenet-cf@18000 { 161 - compatible = "fsl,b4-corenet-cf"; 161 + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; 162 162 reg = <0x18000 0x1000>; 163 163 interrupts = <16 2 1 0>; 164 164 fsl,ccf-num-csdids = <32>; ··· 168 168 iommu@20000 { 169 169 compatible = "fsl,pamu-v1.0", "fsl,pamu"; 170 170 reg = <0x20000 0x4000>; 171 + fsl,portid-mapping = <0x8000>; 171 172 #address-cells = <1>; 172 173 #size-cells = <1>; 173 174 interrupts = <
+185
arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi
··· 1 + /* 2 + * BSC9132 Silicon/SoC Device Tree Source (post include) 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 + &ifc { 36 + #address-cells = <2>; 37 + #size-cells = <1>; 38 + compatible = "fsl,ifc", "simple-bus"; 39 + /* FIXME: Test whether interrupts are split */ 40 + interrupts = <16 2 0 0 20 2 0 0>; 41 + }; 42 + 43 + &soc { 44 + #address-cells = <1>; 45 + #size-cells = <1>; 46 + device_type = "soc"; 47 + compatible = "fsl,bsc9132-immr", "simple-bus"; 48 + bus-frequency = <0>; // Filled out by uboot. 49 + 50 + ecm-law@0 { 51 + compatible = "fsl,ecm-law"; 52 + reg = <0x0 0x1000>; 53 + fsl,num-laws = <12>; 54 + }; 55 + 56 + ecm@1000 { 57 + compatible = "fsl,bsc9132-ecm", "fsl,ecm"; 58 + reg = <0x1000 0x1000>; 59 + interrupts = <16 2 0 0>; 60 + }; 61 + 62 + memory-controller@2000 { 63 + compatible = "fsl,bsc9132-memory-controller"; 64 + reg = <0x2000 0x1000>; 65 + interrupts = <16 2 1 8>; 66 + }; 67 + 68 + /include/ "pq3-i2c-0.dtsi" 69 + i2c@3000 { 70 + interrupts = <17 2 0 0>; 71 + }; 72 + 73 + /include/ "pq3-i2c-1.dtsi" 74 + i2c@3100 { 75 + interrupts = <17 2 0 0>; 76 + }; 77 + 78 + /include/ "pq3-duart-0.dtsi" 79 + serial0: serial@4500 { 80 + interrupts = <18 2 0 0>; 81 + }; 82 + 83 + serial1: serial@4600 { 84 + interrupts = <18 2 0 0 >; 85 + }; 86 + /include/ "pq3-espi-0.dtsi" 87 + spi0: spi@7000 { 88 + fsl,espi-num-chipselects = <1>; 89 + interrupts = <22 0x2 0 0>; 90 + }; 91 + 92 + /include/ "pq3-gpio-0.dtsi" 93 + gpio-controller@f000 { 94 + interrupts = <19 0x2 0 0>; 95 + }; 96 + 97 + L2: l2-cache-controller@20000 { 98 + compatible = "fsl,bsc9132-l2-cache-controller"; 99 + reg = <0x20000 0x1000>; 100 + cache-line-size = <32>; // 32 bytes 101 + cache-size = <0x40000>; // L2,256K 102 + interrupts = <16 2 1 0>; 103 + }; 104 + 105 + /include/ "pq3-dma-0.dtsi" 106 + 107 + dma@21300 { 108 + 109 + dma-channel@0 { 110 + interrupts = <62 2 0 0>; 111 + }; 112 + 113 + dma-channel@80 { 114 + interrupts = <63 2 0 0>; 115 + }; 116 + 117 + dma-channel@100 { 118 + interrupts = <64 2 0 0>; 119 + }; 120 + 121 + dma-channel@180 { 122 + interrupts = <65 2 0 0>; 123 + }; 124 + }; 125 + 126 + /include/ "pq3-usb2-dr-0.dtsi" 127 + usb@22000 { 128 + compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2"; 129 + interrupts = <40 0x2 0 0>; 130 + }; 131 + 132 + /include/ "pq3-esdhc-0.dtsi" 133 + sdhc@2e000 { 134 + fsl,sdhci-auto-cmd12; 135 + interrupts = <41 0x2 0 0>; 136 + }; 137 + 138 + /include/ "pq3-sec4.4-0.dtsi" 139 + crypto@30000 { 140 + interrupts = <57 2 0 0>; 141 + 142 + sec_jr0: jr@1000 { 143 + interrupts = <58 2 0 0>; 144 + }; 145 + 146 + sec_jr1: jr@2000 { 147 + interrupts = <59 2 0 0>; 148 + }; 149 + 150 + sec_jr2: jr@3000 { 151 + interrupts = <60 2 0 0>; 152 + }; 153 + 154 + sec_jr3: jr@4000 { 155 + interrupts = <61 2 0 0>; 156 + }; 157 + }; 158 + 159 + /include/ "pq3-mpic.dtsi" 160 + /include/ "pq3-mpic-timer-B.dtsi" 161 + 162 + /include/ "pq3-etsec2-0.dtsi" 163 + enet0: ethernet@b0000 { 164 + queue-group@b0000 { 165 + fsl,rx-bit-map = <0xff>; 166 + fsl,tx-bit-map = <0xff>; 167 + interrupts = <26 2 0 0 27 2 0 0 28 2 0 0>; 168 + }; 169 + }; 170 + 171 + /include/ "pq3-etsec2-1.dtsi" 172 + enet1: ethernet@b1000 { 173 + queue-group@b1000 { 174 + fsl,rx-bit-map = <0xff>; 175 + fsl,tx-bit-map = <0xff>; 176 + interrupts = <33 2 0 0 34 2 0 0 35 2 0 0>; 177 + }; 178 + }; 179 + 180 + global-utilities@e0000 { 181 + compatible = "fsl,bsc9132-guts"; 182 + reg = <0xe0000 0x1000>; 183 + fsl,has-rstcr; 184 + }; 185 + };
+66
arch/powerpc/boot/dts/fsl/bsc9132si-pre.dtsi
··· 1 + /* 2 + * BSC9132 Silicon/SoC Device Tree Source (pre include) 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 + /dts-v1/; 36 + 37 + /include/ "e500v2_power_isa.dtsi" 38 + 39 + / { 40 + #address-cells = <2>; 41 + #size-cells = <2>; 42 + interrupt-parent = <&mpic>; 43 + 44 + aliases { 45 + serial0 = &serial0; 46 + ethernet0 = &enet0; 47 + ethernet1 = &enet1; 48 + }; 49 + 50 + cpus { 51 + #address-cells = <1>; 52 + #size-cells = <0>; 53 + 54 + cpu0: PowerPC,e500v2@0 { 55 + device_type = "cpu"; 56 + reg = <0x0>; 57 + next-level-cache = <&L2>; 58 + }; 59 + 60 + cpu1: PowerPC,e500v2@1 { 61 + device_type = "cpu"; 62 + reg = <0x1>; 63 + next-level-cache = <&L2>; 64 + }; 65 + }; 66 + };
+2 -1
arch/powerpc/boot/dts/fsl/p2041si-post.dtsi
··· 246 246 }; 247 247 248 248 corenet-cf@18000 { 249 - compatible = "fsl,corenet-cf"; 249 + compatible = "fsl,corenet1-cf", "fsl,corenet-cf"; 250 250 reg = <0x18000 0x1000>; 251 251 interrupts = <16 2 1 31>; 252 252 fsl,ccf-num-csdids = <32>; ··· 262 262 interrupts = < 263 263 24 2 0 0 264 264 16 2 1 30>; 265 + fsl,portid-mapping = <0x0f000000>; 265 266 266 267 pamu0: pamu@0 { 267 268 reg = <0 0x1000>;
+4
arch/powerpc/boot/dts/fsl/p2041si-pre.dtsi
··· 83 83 reg = <0>; 84 84 clocks = <&mux0>; 85 85 next-level-cache = <&L2_0>; 86 + fsl,portid-mapping = <0x80000000>; 86 87 L2_0: l2-cache { 87 88 next-level-cache = <&cpc>; 88 89 }; ··· 93 92 reg = <1>; 94 93 clocks = <&mux1>; 95 94 next-level-cache = <&L2_1>; 95 + fsl,portid-mapping = <0x40000000>; 96 96 L2_1: l2-cache { 97 97 next-level-cache = <&cpc>; 98 98 }; ··· 103 101 reg = <2>; 104 102 clocks = <&mux2>; 105 103 next-level-cache = <&L2_2>; 104 + fsl,portid-mapping = <0x20000000>; 106 105 L2_2: l2-cache { 107 106 next-level-cache = <&cpc>; 108 107 }; ··· 113 110 reg = <3>; 114 111 clocks = <&mux3>; 115 112 next-level-cache = <&L2_3>; 113 + fsl,portid-mapping = <0x10000000>; 116 114 L2_3: l2-cache { 117 115 next-level-cache = <&cpc>; 118 116 };
+2 -1
arch/powerpc/boot/dts/fsl/p3041si-post.dtsi
··· 273 273 }; 274 274 275 275 corenet-cf@18000 { 276 - compatible = "fsl,corenet-cf"; 276 + compatible = "fsl,corenet1-cf", "fsl,corenet-cf"; 277 277 reg = <0x18000 0x1000>; 278 278 interrupts = <16 2 1 31>; 279 279 fsl,ccf-num-csdids = <32>; ··· 289 289 interrupts = < 290 290 24 2 0 0 291 291 16 2 1 30>; 292 + fsl,portid-mapping = <0x0f000000>; 292 293 293 294 pamu0: pamu@0 { 294 295 reg = <0 0x1000>;
+4
arch/powerpc/boot/dts/fsl/p3041si-pre.dtsi
··· 84 84 reg = <0>; 85 85 clocks = <&mux0>; 86 86 next-level-cache = <&L2_0>; 87 + fsl,portid-mapping = <0x80000000>; 87 88 L2_0: l2-cache { 88 89 next-level-cache = <&cpc>; 89 90 }; ··· 94 93 reg = <1>; 95 94 clocks = <&mux1>; 96 95 next-level-cache = <&L2_1>; 96 + fsl,portid-mapping = <0x40000000>; 97 97 L2_1: l2-cache { 98 98 next-level-cache = <&cpc>; 99 99 }; ··· 104 102 reg = <2>; 105 103 clocks = <&mux2>; 106 104 next-level-cache = <&L2_2>; 105 + fsl,portid-mapping = <0x20000000>; 107 106 L2_2: l2-cache { 108 107 next-level-cache = <&cpc>; 109 108 }; ··· 114 111 reg = <3>; 115 112 clocks = <&mux3>; 116 113 next-level-cache = <&L2_3>; 114 + fsl,portid-mapping = <0x10000000>; 117 115 L2_3: l2-cache { 118 116 next-level-cache = <&cpc>; 119 117 };
+2 -1
arch/powerpc/boot/dts/fsl/p4080si-post.dtsi
··· 281 281 }; 282 282 283 283 corenet-cf@18000 { 284 - compatible = "fsl,corenet-cf"; 284 + compatible = "fsl,corenet1-cf", "fsl,corenet-cf"; 285 285 reg = <0x18000 0x1000>; 286 286 interrupts = <16 2 1 31>; 287 287 fsl,ccf-num-csdids = <32>; ··· 297 297 interrupts = < 298 298 24 2 0 0 299 299 16 2 1 30>; 300 + fsl,portid-mapping = <0x00f80000>; 300 301 301 302 pamu0: pamu@0 { 302 303 reg = <0 0x1000>;
+8
arch/powerpc/boot/dts/fsl/p4080si-pre.dtsi
··· 83 83 reg = <0>; 84 84 clocks = <&mux0>; 85 85 next-level-cache = <&L2_0>; 86 + fsl,portid-mapping = <0x80000000>; 86 87 L2_0: l2-cache { 87 88 next-level-cache = <&cpc>; 88 89 }; ··· 93 92 reg = <1>; 94 93 clocks = <&mux1>; 95 94 next-level-cache = <&L2_1>; 95 + fsl,portid-mapping = <0x40000000>; 96 96 L2_1: l2-cache { 97 97 next-level-cache = <&cpc>; 98 98 }; ··· 103 101 reg = <2>; 104 102 clocks = <&mux2>; 105 103 next-level-cache = <&L2_2>; 104 + fsl,portid-mapping = <0x20000000>; 106 105 L2_2: l2-cache { 107 106 next-level-cache = <&cpc>; 108 107 }; ··· 113 110 reg = <3>; 114 111 clocks = <&mux3>; 115 112 next-level-cache = <&L2_3>; 113 + fsl,portid-mapping = <0x10000000>; 116 114 L2_3: l2-cache { 117 115 next-level-cache = <&cpc>; 118 116 }; ··· 123 119 reg = <4>; 124 120 clocks = <&mux4>; 125 121 next-level-cache = <&L2_4>; 122 + fsl,portid-mapping = <0x08000000>; 126 123 L2_4: l2-cache { 127 124 next-level-cache = <&cpc>; 128 125 }; ··· 133 128 reg = <5>; 134 129 clocks = <&mux5>; 135 130 next-level-cache = <&L2_5>; 131 + fsl,portid-mapping = <0x04000000>; 136 132 L2_5: l2-cache { 137 133 next-level-cache = <&cpc>; 138 134 }; ··· 143 137 reg = <6>; 144 138 clocks = <&mux6>; 145 139 next-level-cache = <&L2_6>; 140 + fsl,portid-mapping = <0x02000000>; 146 141 L2_6: l2-cache { 147 142 next-level-cache = <&cpc>; 148 143 }; ··· 153 146 reg = <7>; 154 147 clocks = <&mux7>; 155 148 next-level-cache = <&L2_7>; 149 + fsl,portid-mapping = <0x01000000>; 156 150 L2_7: l2-cache { 157 151 next-level-cache = <&cpc>; 158 152 };
+2 -1
arch/powerpc/boot/dts/fsl/p5020si-post.dtsi
··· 278 278 }; 279 279 280 280 corenet-cf@18000 { 281 - compatible = "fsl,corenet-cf"; 281 + compatible = "fsl,corenet1-cf", "fsl,corenet-cf"; 282 282 reg = <0x18000 0x1000>; 283 283 interrupts = <16 2 1 31>; 284 284 fsl,ccf-num-csdids = <32>; ··· 294 294 interrupts = < 295 295 24 2 0 0 296 296 16 2 1 30>; 297 + fsl,portid-mapping = <0x3c000000>; 297 298 298 299 pamu0: pamu@0 { 299 300 reg = <0 0x1000>;
+2
arch/powerpc/boot/dts/fsl/p5020si-pre.dtsi
··· 90 90 reg = <0>; 91 91 clocks = <&mux0>; 92 92 next-level-cache = <&L2_0>; 93 + fsl,portid-mapping = <0x80000000>; 93 94 L2_0: l2-cache { 94 95 next-level-cache = <&cpc>; 95 96 }; ··· 100 99 reg = <1>; 101 100 clocks = <&mux1>; 102 101 next-level-cache = <&L2_1>; 102 + fsl,portid-mapping = <0x40000000>; 103 103 L2_1: l2-cache { 104 104 next-level-cache = <&cpc>; 105 105 };
+2 -1
arch/powerpc/boot/dts/fsl/p5040si-post.dtsi
··· 233 233 }; 234 234 235 235 corenet-cf@18000 { 236 - compatible = "fsl,corenet-cf"; 236 + compatible = "fsl,corenet1-cf", "fsl,corenet-cf"; 237 237 reg = <0x18000 0x1000>; 238 238 interrupts = <16 2 1 31>; 239 239 fsl,ccf-num-csdids = <32>; ··· 248 248 #size-cells = <1>; 249 249 interrupts = <24 2 0 0 250 250 16 2 1 30>; 251 + fsl,portid-mapping = <0x0f800000>; 251 252 252 253 pamu0: pamu@0 { 253 254 reg = <0 0x1000>;
+4
arch/powerpc/boot/dts/fsl/p5040si-pre.dtsi
··· 83 83 reg = <0>; 84 84 clocks = <&mux0>; 85 85 next-level-cache = <&L2_0>; 86 + fsl,portid-mapping = <0x80000000>; 86 87 L2_0: l2-cache { 87 88 next-level-cache = <&cpc>; 88 89 }; ··· 93 92 reg = <1>; 94 93 clocks = <&mux1>; 95 94 next-level-cache = <&L2_1>; 95 + fsl,portid-mapping = <0x40000000>; 96 96 L2_1: l2-cache { 97 97 next-level-cache = <&cpc>; 98 98 }; ··· 103 101 reg = <2>; 104 102 clocks = <&mux2>; 105 103 next-level-cache = <&L2_2>; 104 + fsl,portid-mapping = <0x20000000>; 106 105 L2_2: l2-cache { 107 106 next-level-cache = <&cpc>; 108 107 }; ··· 113 110 reg = <3>; 114 111 clocks = <&mux3>; 115 112 next-level-cache = <&L2_3>; 113 + fsl,portid-mapping = <0x10000000>; 116 114 L2_3: l2-cache { 117 115 next-level-cache = <&cpc>; 118 116 };
+430
arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
··· 1 + /* 2 + * T1040 Silicon/SoC Device Tree Source (post include) 3 + * 4 + * Copyright 2013 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 + &ifc { 36 + #address-cells = <2>; 37 + #size-cells = <1>; 38 + compatible = "fsl,ifc", "simple-bus"; 39 + interrupts = <25 2 0 0>; 40 + }; 41 + 42 + &pci0 { 43 + compatible = "fsl,t1040-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie"; 44 + device_type = "pci"; 45 + #size-cells = <2>; 46 + #address-cells = <3>; 47 + bus-range = <0x0 0xff>; 48 + interrupts = <20 2 0 0>; 49 + fsl,iommu-parent = <&pamu0>; 50 + pcie@0 { 51 + reg = <0 0 0 0 0>; 52 + #interrupt-cells = <1>; 53 + #size-cells = <2>; 54 + #address-cells = <3>; 55 + device_type = "pci"; 56 + interrupts = <20 2 0 0>; 57 + interrupt-map-mask = <0xf800 0 0 7>; 58 + interrupt-map = < 59 + /* IDSEL 0x0 */ 60 + 0000 0 0 1 &mpic 40 1 0 0 61 + 0000 0 0 2 &mpic 1 1 0 0 62 + 0000 0 0 3 &mpic 2 1 0 0 63 + 0000 0 0 4 &mpic 3 1 0 0 64 + >; 65 + }; 66 + }; 67 + 68 + &pci1 { 69 + compatible = "fsl,t1040-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie"; 70 + device_type = "pci"; 71 + #size-cells = <2>; 72 + #address-cells = <3>; 73 + bus-range = <0 0xff>; 74 + interrupts = <21 2 0 0>; 75 + fsl,iommu-parent = <&pamu0>; 76 + pcie@0 { 77 + reg = <0 0 0 0 0>; 78 + #interrupt-cells = <1>; 79 + #size-cells = <2>; 80 + #address-cells = <3>; 81 + device_type = "pci"; 82 + interrupts = <21 2 0 0>; 83 + interrupt-map-mask = <0xf800 0 0 7>; 84 + interrupt-map = < 85 + /* IDSEL 0x0 */ 86 + 0000 0 0 1 &mpic 41 1 0 0 87 + 0000 0 0 2 &mpic 5 1 0 0 88 + 0000 0 0 3 &mpic 6 1 0 0 89 + 0000 0 0 4 &mpic 7 1 0 0 90 + >; 91 + }; 92 + }; 93 + 94 + &pci2 { 95 + compatible = "fsl,t1040-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie"; 96 + device_type = "pci"; 97 + #size-cells = <2>; 98 + #address-cells = <3>; 99 + bus-range = <0x0 0xff>; 100 + interrupts = <22 2 0 0>; 101 + fsl,iommu-parent = <&pamu0>; 102 + pcie@0 { 103 + reg = <0 0 0 0 0>; 104 + #interrupt-cells = <1>; 105 + #size-cells = <2>; 106 + #address-cells = <3>; 107 + device_type = "pci"; 108 + interrupts = <22 2 0 0>; 109 + interrupt-map-mask = <0xf800 0 0 7>; 110 + interrupt-map = < 111 + /* IDSEL 0x0 */ 112 + 0000 0 0 1 &mpic 42 1 0 0 113 + 0000 0 0 2 &mpic 9 1 0 0 114 + 0000 0 0 3 &mpic 10 1 0 0 115 + 0000 0 0 4 &mpic 11 1 0 0 116 + >; 117 + }; 118 + }; 119 + 120 + &pci3 { 121 + compatible = "fsl,t1040-pcie", "fsl,qoriq-pcie-v2.4", "fsl,qoriq-pcie"; 122 + device_type = "pci"; 123 + #size-cells = <2>; 124 + #address-cells = <3>; 125 + bus-range = <0x0 0xff>; 126 + interrupts = <23 2 0 0>; 127 + fsl,iommu-parent = <&pamu0>; 128 + pcie@0 { 129 + reg = <0 0 0 0 0>; 130 + #interrupt-cells = <1>; 131 + #size-cells = <2>; 132 + #address-cells = <3>; 133 + device_type = "pci"; 134 + interrupts = <23 2 0 0>; 135 + interrupt-map-mask = <0xf800 0 0 7>; 136 + interrupt-map = < 137 + /* IDSEL 0x0 */ 138 + 0000 0 0 1 &mpic 43 1 0 0 139 + 0000 0 0 2 &mpic 0 1 0 0 140 + 0000 0 0 3 &mpic 4 1 0 0 141 + 0000 0 0 4 &mpic 8 1 0 0 142 + >; 143 + }; 144 + }; 145 + 146 + &dcsr { 147 + #address-cells = <1>; 148 + #size-cells = <1>; 149 + compatible = "fsl,dcsr", "simple-bus"; 150 + 151 + dcsr-epu@0 { 152 + compatible = "fsl,t1040-dcsr-epu", "fsl,dcsr-epu"; 153 + interrupts = <52 2 0 0 154 + 84 2 0 0 155 + 85 2 0 0>; 156 + reg = <0x0 0x1000>; 157 + }; 158 + dcsr-npc { 159 + compatible = "fsl,t1040-dcsr-cnpc", "fsl,dcsr-cnpc"; 160 + reg = <0x1000 0x1000 0x1002000 0x10000>; 161 + }; 162 + dcsr-nxc@2000 { 163 + compatible = "fsl,dcsr-nxc"; 164 + reg = <0x2000 0x1000>; 165 + }; 166 + dcsr-corenet { 167 + compatible = "fsl,dcsr-corenet"; 168 + reg = <0x8000 0x1000 0x1A000 0x1000>; 169 + }; 170 + dcsr-dpaa@9000 { 171 + compatible = "fsl,t1040-dcsr-dpaa", "fsl,dcsr-dpaa"; 172 + reg = <0x9000 0x1000>; 173 + }; 174 + dcsr-ocn@11000 { 175 + compatible = "fsl,t1040-dcsr-ocn", "fsl,dcsr-ocn"; 176 + reg = <0x11000 0x1000>; 177 + }; 178 + dcsr-ddr@12000 { 179 + compatible = "fsl,dcsr-ddr"; 180 + dev-handle = <&ddr1>; 181 + reg = <0x12000 0x1000>; 182 + }; 183 + dcsr-nal@18000 { 184 + compatible = "fsl,t1040-dcsr-nal", "fsl,dcsr-nal"; 185 + reg = <0x18000 0x1000>; 186 + }; 187 + dcsr-rcpm@22000 { 188 + compatible = "fsl,t1040-dcsr-rcpm", "fsl,dcsr-rcpm"; 189 + reg = <0x22000 0x1000>; 190 + }; 191 + dcsr-snpc@30000 { 192 + compatible = "fsl,t1040-dcsr-snpc", "fsl,dcsr-snpc"; 193 + reg = <0x30000 0x1000 0x1022000 0x10000>; 194 + }; 195 + dcsr-snpc@31000 { 196 + compatible = "fsl,t1040-dcsr-snpc", "fsl,dcsr-snpc"; 197 + reg = <0x31000 0x1000 0x1042000 0x10000>; 198 + }; 199 + dcsr-cpu-sb-proxy@100000 { 200 + compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 201 + cpu-handle = <&cpu0>; 202 + reg = <0x100000 0x1000 0x101000 0x1000>; 203 + }; 204 + dcsr-cpu-sb-proxy@108000 { 205 + compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 206 + cpu-handle = <&cpu1>; 207 + reg = <0x108000 0x1000 0x109000 0x1000>; 208 + }; 209 + dcsr-cpu-sb-proxy@110000 { 210 + compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 211 + cpu-handle = <&cpu2>; 212 + reg = <0x110000 0x1000 0x111000 0x1000>; 213 + }; 214 + dcsr-cpu-sb-proxy@118000 { 215 + compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy"; 216 + cpu-handle = <&cpu3>; 217 + reg = <0x118000 0x1000 0x119000 0x1000>; 218 + }; 219 + }; 220 + 221 + &soc { 222 + #address-cells = <1>; 223 + #size-cells = <1>; 224 + device_type = "soc"; 225 + compatible = "simple-bus"; 226 + 227 + soc-sram-error { 228 + compatible = "fsl,soc-sram-error"; 229 + interrupts = <16 2 1 29>; 230 + }; 231 + 232 + corenet-law@0 { 233 + compatible = "fsl,corenet-law"; 234 + reg = <0x0 0x1000>; 235 + fsl,num-laws = <16>; 236 + }; 237 + 238 + ddr1: memory-controller@8000 { 239 + compatible = "fsl,qoriq-memory-controller-v5.0", 240 + "fsl,qoriq-memory-controller"; 241 + reg = <0x8000 0x1000>; 242 + interrupts = <16 2 1 23>; 243 + }; 244 + 245 + cpc: l3-cache-controller@10000 { 246 + compatible = "fsl,t1040-l3-cache-controller", "cache"; 247 + reg = <0x10000 0x1000>; 248 + interrupts = <16 2 1 27>; 249 + }; 250 + 251 + corenet-cf@18000 { 252 + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; 253 + reg = <0x18000 0x1000>; 254 + interrupts = <16 2 1 31>; 255 + fsl,ccf-num-csdids = <32>; 256 + fsl,ccf-num-snoopids = <32>; 257 + }; 258 + 259 + iommu@20000 { 260 + compatible = "fsl,pamu-v1.0", "fsl,pamu"; 261 + reg = <0x20000 0x1000>; 262 + ranges = <0 0x20000 0x1000>; 263 + #address-cells = <1>; 264 + #size-cells = <1>; 265 + interrupts = < 266 + 24 2 0 0 267 + 16 2 1 30>; 268 + pamu0: pamu@0 { 269 + reg = <0 0x1000>; 270 + fsl,primary-cache-geometry = <128 1>; 271 + fsl,secondary-cache-geometry = <16 2>; 272 + }; 273 + }; 274 + 275 + /include/ "qoriq-mpic.dtsi" 276 + 277 + guts: global-utilities@e0000 { 278 + compatible = "fsl,t1040-device-config", "fsl,qoriq-device-config-2.0"; 279 + reg = <0xe0000 0xe00>; 280 + fsl,has-rstcr; 281 + fsl,liodn-bits = <12>; 282 + }; 283 + 284 + clockgen: global-utilities@e1000 { 285 + compatible = "fsl,t1040-clockgen", "fsl,qoriq-clockgen-2.0"; 286 + ranges = <0x0 0xe1000 0x1000>; 287 + reg = <0xe1000 0x1000>; 288 + #address-cells = <1>; 289 + #size-cells = <1>; 290 + 291 + sysclk: sysclk { 292 + #clock-cells = <0>; 293 + compatible = "fsl,qoriq-sysclk-2.0"; 294 + clock-output-names = "sysclk", "fixed-clock"; 295 + }; 296 + 297 + 298 + pll0: pll0@800 { 299 + #clock-cells = <1>; 300 + reg = <0x800 4>; 301 + compatible = "fsl,qoriq-core-pll-2.0"; 302 + clocks = <&sysclk>; 303 + clock-output-names = "pll0", "pll0-div2", "pll0-div4"; 304 + }; 305 + 306 + pll1: pll1@820 { 307 + #clock-cells = <1>; 308 + reg = <0x820 4>; 309 + compatible = "fsl,qoriq-core-pll-2.0"; 310 + clocks = <&sysclk>; 311 + clock-output-names = "pll1", "pll1-div2", "pll1-div4"; 312 + }; 313 + 314 + mux0: mux0@0 { 315 + #clock-cells = <0>; 316 + reg = <0x0 4>; 317 + compatible = "fsl,qoriq-core-mux-2.0"; 318 + clocks = <&pll0 0>, <&pll0 1>, <&pll0 2>, 319 + <&pll1 0>, <&pll1 1>, <&pll1 2>; 320 + clock-names = "pll0", "pll0-div2", "pll1-div4", 321 + "pll1", "pll1-div2", "pll1-div4"; 322 + clock-output-names = "cmux0"; 323 + }; 324 + 325 + mux1: mux1@20 { 326 + #clock-cells = <0>; 327 + reg = <0x20 4>; 328 + compatible = "fsl,qoriq-core-mux-2.0"; 329 + clocks = <&pll0 0>, <&pll0 1>, <&pll0 2>, 330 + <&pll1 0>, <&pll1 1>, <&pll1 2>; 331 + clock-names = "pll0", "pll0-div2", "pll1-div4", 332 + "pll1", "pll1-div2", "pll1-div4"; 333 + clock-output-names = "cmux1"; 334 + }; 335 + 336 + mux2: mux2@40 { 337 + #clock-cells = <0>; 338 + reg = <0x40 4>; 339 + compatible = "fsl,qoriq-core-mux-2.0"; 340 + clocks = <&pll0 0>, <&pll0 1>, <&pll0 2>, 341 + <&pll1 0>, <&pll1 1>, <&pll1 2>; 342 + clock-names = "pll0", "pll0-div2", "pll1-div4", 343 + "pll1", "pll1-div2", "pll1-div4"; 344 + clock-output-names = "cmux2"; 345 + }; 346 + 347 + mux3: mux3@60 { 348 + #clock-cells = <0>; 349 + reg = <0x60 4>; 350 + compatible = "fsl,qoriq-core-mux-2.0"; 351 + clocks = <&pll0 0>, <&pll0 1>, <&pll0 2>, 352 + <&pll1 0>, <&pll1 1>, <&pll1 2>; 353 + clock-names = "pll0_0", "pll0_1", "pll0_2", 354 + "pll1_0", "pll1_1", "pll1_2"; 355 + clock-output-names = "cmux3"; 356 + }; 357 + }; 358 + 359 + rcpm: global-utilities@e2000 { 360 + compatible = "fsl,t1040-rcpm", "fsl,qoriq-rcpm-2.0"; 361 + reg = <0xe2000 0x1000>; 362 + }; 363 + 364 + sfp: sfp@e8000 { 365 + compatible = "fsl,t1040-sfp"; 366 + reg = <0xe8000 0x1000>; 367 + }; 368 + 369 + serdes: serdes@ea000 { 370 + compatible = "fsl,t1040-serdes"; 371 + reg = <0xea000 0x4000>; 372 + }; 373 + 374 + /include/ "elo3-dma-0.dtsi" 375 + /include/ "elo3-dma-1.dtsi" 376 + /include/ "qoriq-espi-0.dtsi" 377 + spi@110000 { 378 + fsl,espi-num-chipselects = <4>; 379 + }; 380 + 381 + /include/ "qoriq-esdhc-0.dtsi" 382 + sdhc@114000 { 383 + compatible = "fsl,t1040-esdhc", "fsl,esdhc"; 384 + fsl,iommu-parent = <&pamu0>; 385 + fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */ 386 + sdhci,auto-cmd12; 387 + }; 388 + /include/ "qoriq-i2c-0.dtsi" 389 + /include/ "qoriq-i2c-1.dtsi" 390 + /include/ "qoriq-duart-0.dtsi" 391 + /include/ "qoriq-duart-1.dtsi" 392 + /include/ "qoriq-gpio-0.dtsi" 393 + /include/ "qoriq-gpio-1.dtsi" 394 + /include/ "qoriq-gpio-2.dtsi" 395 + /include/ "qoriq-gpio-3.dtsi" 396 + /include/ "qoriq-usb2-mph-0.dtsi" 397 + usb0: usb@210000 { 398 + compatible = "fsl-usb2-mph-v2.4", "fsl-usb2-mph"; 399 + fsl,iommu-parent = <&pamu0>; 400 + fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */ 401 + phy_type = "utmi"; 402 + port0; 403 + }; 404 + /include/ "qoriq-usb2-dr-0.dtsi" 405 + usb1: usb@211000 { 406 + compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr"; 407 + fsl,iommu-parent = <&pamu0>; 408 + fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */ 409 + dr_mode = "host"; 410 + phy_type = "utmi"; 411 + }; 412 + 413 + display@180000 { 414 + compatible = "fsl,t1040-diu", "fsl,diu"; 415 + reg = <0x180000 1000>; 416 + interrupts = <74 2 0 0>; 417 + }; 418 + 419 + /include/ "qoriq-sata2-0.dtsi" 420 + sata@220000 { 421 + fsl,iommu-parent = <&pamu0>; 422 + fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */ 423 + }; 424 + /include/ "qoriq-sata2-1.dtsi" 425 + sata@221000 { 426 + fsl,iommu-parent = <&pamu0>; 427 + fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */ 428 + }; 429 + /include/ "qoriq-sec5.0-0.dtsi" 430 + };
+37
arch/powerpc/boot/dts/fsl/t1042si-post.dtsi
··· 1 + /* 2 + * T1042 Silicon/SoC Device Tree Source (post include) 3 + * 4 + * Copyright 2013 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/ "t1040si-post.dtsi" 36 + 37 + /* Place holder for ethernet related device tree nodes */
+104
arch/powerpc/boot/dts/fsl/t104xsi-pre.dtsi
··· 1 + /* 2 + * T1040/T1042 Silicon/SoC Device Tree Source (pre include) 3 + * 4 + * Copyright 2013 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 + /dts-v1/; 36 + 37 + /include/ "e5500_power_isa.dtsi" 38 + 39 + / { 40 + #address-cells = <2>; 41 + #size-cells = <2>; 42 + interrupt-parent = <&mpic>; 43 + 44 + aliases { 45 + ccsr = &soc; 46 + dcsr = &dcsr; 47 + 48 + serial0 = &serial0; 49 + serial1 = &serial1; 50 + serial2 = &serial2; 51 + serial3 = &serial3; 52 + pci0 = &pci0; 53 + pci1 = &pci1; 54 + pci2 = &pci2; 55 + pci3 = &pci3; 56 + usb0 = &usb0; 57 + usb1 = &usb1; 58 + sdhc = &sdhc; 59 + 60 + crypto = &crypto; 61 + }; 62 + 63 + cpus { 64 + #address-cells = <1>; 65 + #size-cells = <0>; 66 + 67 + cpu0: PowerPC,e5500@0 { 68 + device_type = "cpu"; 69 + reg = <0>; 70 + clocks = <&mux0>; 71 + next-level-cache = <&L2_1>; 72 + L2_1: l2-cache { 73 + next-level-cache = <&cpc>; 74 + }; 75 + }; 76 + cpu1: PowerPC,e5500@1 { 77 + device_type = "cpu"; 78 + reg = <1>; 79 + clocks = <&mux1>; 80 + next-level-cache = <&L2_2>; 81 + L2_2: l2-cache { 82 + next-level-cache = <&cpc>; 83 + }; 84 + }; 85 + cpu2: PowerPC,e5500@2 { 86 + device_type = "cpu"; 87 + reg = <2>; 88 + clocks = <&mux2>; 89 + next-level-cache = <&L2_3>; 90 + L2_3: l2-cache { 91 + next-level-cache = <&cpc>; 92 + }; 93 + }; 94 + cpu3: PowerPC,e5500@3 { 95 + device_type = "cpu"; 96 + reg = <3>; 97 + clocks = <&mux3>; 98 + next-level-cache = <&L2_4>; 99 + L2_4: l2-cache { 100 + next-level-cache = <&cpc>; 101 + }; 102 + }; 103 + }; 104 + };
+2 -1
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
··· 343 343 }; 344 344 345 345 corenet-cf@18000 { 346 - compatible = "fsl,corenet-cf"; 346 + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; 347 347 reg = <0x18000 0x1000>; 348 348 interrupts = <16 2 1 31>; 349 349 fsl,ccf-num-csdids = <32>; ··· 353 353 iommu@20000 { 354 354 compatible = "fsl,pamu-v1.0", "fsl,pamu"; 355 355 reg = <0x20000 0x6000>; 356 + fsl,portid-mapping = <0x8000>; 356 357 interrupts = < 357 358 24 2 0 0 358 359 16 2 1 30>;
+12
arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi
··· 69 69 reg = <0 1>; 70 70 clocks = <&mux0>; 71 71 next-level-cache = <&L2_1>; 72 + fsl,portid-mapping = <0x80000000>; 72 73 }; 73 74 cpu1: PowerPC,e6500@2 { 74 75 device_type = "cpu"; 75 76 reg = <2 3>; 76 77 clocks = <&mux0>; 77 78 next-level-cache = <&L2_1>; 79 + fsl,portid-mapping = <0x80000000>; 78 80 }; 79 81 cpu2: PowerPC,e6500@4 { 80 82 device_type = "cpu"; 81 83 reg = <4 5>; 82 84 clocks = <&mux0>; 83 85 next-level-cache = <&L2_1>; 86 + fsl,portid-mapping = <0x80000000>; 84 87 }; 85 88 cpu3: PowerPC,e6500@6 { 86 89 device_type = "cpu"; 87 90 reg = <6 7>; 88 91 clocks = <&mux0>; 89 92 next-level-cache = <&L2_1>; 93 + fsl,portid-mapping = <0x80000000>; 90 94 }; 91 95 cpu4: PowerPC,e6500@8 { 92 96 device_type = "cpu"; 93 97 reg = <8 9>; 94 98 clocks = <&mux1>; 95 99 next-level-cache = <&L2_2>; 100 + fsl,portid-mapping = <0x40000000>; 96 101 }; 97 102 cpu5: PowerPC,e6500@10 { 98 103 device_type = "cpu"; 99 104 reg = <10 11>; 100 105 clocks = <&mux1>; 101 106 next-level-cache = <&L2_2>; 107 + fsl,portid-mapping = <0x40000000>; 102 108 }; 103 109 cpu6: PowerPC,e6500@12 { 104 110 device_type = "cpu"; 105 111 reg = <12 13>; 106 112 clocks = <&mux1>; 107 113 next-level-cache = <&L2_2>; 114 + fsl,portid-mapping = <0x40000000>; 108 115 }; 109 116 cpu7: PowerPC,e6500@14 { 110 117 device_type = "cpu"; 111 118 reg = <14 15>; 112 119 clocks = <&mux1>; 113 120 next-level-cache = <&L2_2>; 121 + fsl,portid-mapping = <0x40000000>; 114 122 }; 115 123 cpu8: PowerPC,e6500@16 { 116 124 device_type = "cpu"; 117 125 reg = <16 17>; 118 126 clocks = <&mux2>; 119 127 next-level-cache = <&L2_3>; 128 + fsl,portid-mapping = <0x20000000>; 120 129 }; 121 130 cpu9: PowerPC,e6500@18 { 122 131 device_type = "cpu"; 123 132 reg = <18 19>; 124 133 clocks = <&mux2>; 125 134 next-level-cache = <&L2_3>; 135 + fsl,portid-mapping = <0x20000000>; 126 136 }; 127 137 cpu10: PowerPC,e6500@20 { 128 138 device_type = "cpu"; 129 139 reg = <20 21>; 130 140 clocks = <&mux2>; 131 141 next-level-cache = <&L2_3>; 142 + fsl,portid-mapping = <0x20000000>; 132 143 }; 133 144 cpu11: PowerPC,e6500@22 { 134 145 device_type = "cpu"; 135 146 reg = <22 23>; 136 147 clocks = <&mux2>; 137 148 next-level-cache = <&L2_3>; 149 + fsl,portid-mapping = <0x20000000>; 138 150 }; 139 151 }; 140 152 };
+152
arch/powerpc/boot/dts/kmcoge4.dts
··· 1 + /* 2 + * Keymile kmcoge4 Device Tree Source, based on the P2041RDB DTS 3 + * 4 + * (C) Copyright 2014 5 + * Valentin Longchamp, Keymile AG, valentin.longchamp@keymile.com 6 + * 7 + * Copyright 2011 Freescale Semiconductor Inc. 8 + * 9 + * This program is free software; you can redistribute it and/or modify it 10 + * under the terms of the GNU General Public License as published by the 11 + * Free Software Foundation; either version 2 of the License, or (at your 12 + * option) any later version. 13 + */ 14 + 15 + /include/ "fsl/p2041si-pre.dtsi" 16 + 17 + / { 18 + model = "keymile,kmcoge4"; 19 + compatible = "keymile,kmcoge4", "keymile,kmp204x"; 20 + #address-cells = <2>; 21 + #size-cells = <2>; 22 + interrupt-parent = <&mpic>; 23 + 24 + memory { 25 + device_type = "memory"; 26 + }; 27 + 28 + dcsr: dcsr@f00000000 { 29 + ranges = <0x00000000 0xf 0x00000000 0x01008000>; 30 + }; 31 + 32 + soc: soc@ffe000000 { 33 + ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 34 + reg = <0xf 0xfe000000 0 0x00001000>; 35 + spi@110000 { 36 + flash@0 { 37 + #address-cells = <1>; 38 + #size-cells = <1>; 39 + compatible = "spansion,s25fl256s1"; 40 + reg = <0>; 41 + spi-max-frequency = <20000000>; /* input clock */ 42 + }; 43 + 44 + network_clock@1 { 45 + compatible = "zarlink,zl30343"; 46 + reg = <1>; 47 + spi-max-frequency = <8000000>; 48 + }; 49 + 50 + flash@2 { 51 + #address-cells = <1>; 52 + #size-cells = <1>; 53 + compatible = "micron,m25p32"; 54 + reg = <2>; 55 + spi-max-frequency = <15000000>; 56 + }; 57 + }; 58 + 59 + i2c@119000 { 60 + status = "disabled"; 61 + }; 62 + 63 + i2c@119100 { 64 + status = "disabled"; 65 + }; 66 + 67 + usb0: usb@210000 { 68 + status = "disabled"; 69 + }; 70 + 71 + usb1: usb@211000 { 72 + status = "disabled"; 73 + }; 74 + 75 + sata@220000 { 76 + status = "disabled"; 77 + }; 78 + 79 + sata@221000 { 80 + status = "disabled"; 81 + }; 82 + }; 83 + 84 + rio: rapidio@ffe0c0000 { 85 + status = "disabled"; 86 + }; 87 + 88 + lbc: localbus@ffe124000 { 89 + reg = <0xf 0xfe124000 0 0x1000>; 90 + ranges = <0 0 0xf 0xffa00000 0x00040000 /* LB 0 */ 91 + 1 0 0xf 0xfb000000 0x00010000 /* LB 1 */ 92 + 2 0 0xf 0xd0000000 0x10000000 /* LB 2 */ 93 + 3 0 0xf 0xe0000000 0x10000000>; /* LB 3 */ 94 + 95 + nand@0,0 { 96 + #address-cells = <1>; 97 + #size-cells = <1>; 98 + compatible = "fsl,elbc-fcm-nand"; 99 + reg = <0 0 0x40000>; 100 + }; 101 + 102 + board-control@1,0 { 103 + compatible = "keymile,qriox"; 104 + reg = <1 0 0x80>; 105 + }; 106 + 107 + chassis-mgmt@3,0 { 108 + compatible = "keymile,bfticu"; 109 + interrupt-controller; 110 + #interrupt-cells = <2>; 111 + reg = <3 0 0x100>; 112 + interrupt-parent = <&mpic>; 113 + interrupts = <6 1 0 0>; 114 + }; 115 + }; 116 + 117 + pci0: pcie@ffe200000 { 118 + reg = <0xf 0xfe200000 0 0x1000>; 119 + ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 120 + 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 121 + pcie@0 { 122 + ranges = <0x02000000 0 0xe0000000 123 + 0x02000000 0 0xe0000000 124 + 0 0x20000000 125 + 126 + 0x01000000 0 0x00000000 127 + 0x01000000 0 0x00000000 128 + 0 0x00010000>; 129 + }; 130 + }; 131 + 132 + pci1: pcie@ffe201000 { 133 + status = "disabled"; 134 + }; 135 + 136 + pci2: pcie@ffe202000 { 137 + reg = <0xf 0xfe202000 0 0x1000>; 138 + ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x20000000 139 + 0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>; 140 + pcie@0 { 141 + ranges = <0x02000000 0 0xe0000000 142 + 0x02000000 0 0xe0000000 143 + 0 0x20000000 144 + 145 + 0x01000000 0 0x00000000 146 + 0x01000000 0 0x00000000 147 + 0 0x00010000>; 148 + }; 149 + }; 150 + }; 151 + 152 + /include/ "fsl/p2041si-post.dtsi"
+118
arch/powerpc/boot/dts/oca4080.dts
··· 1 + /* 2 + * OCA4080 Device Tree Source 3 + * 4 + * Copyright 2014 Prodrive Technologies B.V. 5 + * 6 + * Based on: 7 + * P4080DS Device Tree Source 8 + * Copyright 2009-2011 Freescale Semiconductor Inc. 9 + * 10 + * Redistribution and use in source and binary forms, with or without 11 + * modification, are permitted provided that the following conditions are met: 12 + * * Redistributions of source code must retain the above copyright 13 + * notice, this list of conditions and the following disclaimer. 14 + * * Redistributions in binary form must reproduce the above copyright 15 + * notice, this list of conditions and the following disclaimer in the 16 + * documentation and/or other materials provided with the distribution. 17 + * * Neither the name of Freescale Semiconductor nor the 18 + * names of its contributors may be used to endorse or promote products 19 + * derived from this software without specific prior written permission. 20 + * 21 + * 22 + * ALTERNATIVELY, this software may be distributed under the terms of the 23 + * GNU General Public License ("GPL") as published by the Free Software 24 + * Foundation, either version 2 of that License or (at your option) any 25 + * later version. 26 + * 27 + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 28 + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 29 + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 30 + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 31 + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 32 + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 33 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 34 + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 35 + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 + */ 38 + 39 + /include/ "fsl/p4080si-pre.dtsi" 40 + 41 + / { 42 + model = "fsl,OCA4080"; 43 + compatible = "fsl,OCA4080"; 44 + #address-cells = <2>; 45 + #size-cells = <2>; 46 + interrupt-parent = <&mpic>; 47 + 48 + memory { 49 + device_type = "memory"; 50 + }; 51 + 52 + dcsr: dcsr@f00000000 { 53 + ranges = <0x00000000 0xf 0x00000000 0x01008000>; 54 + }; 55 + 56 + soc: soc@ffe000000 { 57 + ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 58 + reg = <0xf 0xfe000000 0 0x00001000>; 59 + 60 + i2c@118000 { 61 + status = "disabled"; 62 + }; 63 + 64 + i2c@118100 { 65 + status = "disabled"; 66 + }; 67 + 68 + i2c@119000 { 69 + status = "disabled"; 70 + }; 71 + 72 + i2c@119100 { 73 + status = "disabled"; 74 + }; 75 + 76 + usb0: usb@210000 { 77 + status = "disabled"; 78 + }; 79 + 80 + usb1: usb@211000 { 81 + status = "disabled"; 82 + }; 83 + }; 84 + 85 + rio: rapidio@ffe0c0000 { 86 + reg = <0xf 0xfe0c0000 0 0x11000>; 87 + 88 + port1 { 89 + ranges = <0 0 0xc 0x20000000 0 0x10000000>; 90 + }; 91 + }; 92 + 93 + lbc: localbus@ffe124000 { 94 + reg = <0xf 0xfe124000 0 0x1000>; 95 + ranges = <0 0 0xf 0xef800000 0x800000>; 96 + 97 + flash@0,0 { 98 + compatible = "cfi-flash"; 99 + reg = <0 0 0x00800000>; 100 + bank-width = <2>; 101 + device-width = <2>; 102 + }; 103 + }; 104 + 105 + pci0: pcie@ffe200000 { 106 + status = "disabled"; 107 + }; 108 + 109 + pci1: pcie@ffe201000 { 110 + status = "disabled"; 111 + }; 112 + 113 + pci2: pcie@ffe202000 { 114 + status = "disabled"; 115 + }; 116 + }; 117 + 118 + /include/ "fsl/p4080si-post.dtsi"
-219
arch/powerpc/boot/dts/p1023rds.dts
··· 1 - /* 2 - * P1023 RDS Device Tree Source 3 - * 4 - * Copyright 2010-2011 Freescale Semiconductor Inc. 5 - * 6 - * Author: Roy Zang <tie-fei.zang@freescale.com> 7 - * 8 - * Redistribution and use in source and binary forms, with or without 9 - * modification, are permitted provided that the following conditions are met: 10 - * * Redistributions of source code must retain the above copyright 11 - * notice, this list of conditions and the following disclaimer. 12 - * * Redistributions in binary form must reproduce the above copyright 13 - * notice, this list of conditions and the following disclaimer in the 14 - * documentation and/or other materials provided with the distribution. 15 - * * Neither the name of Freescale Semiconductor nor the 16 - * names of its contributors may be used to endorse or promote products 17 - * derived from this software without specific prior written permission. 18 - * 19 - * 20 - * ALTERNATIVELY, this software may be distributed under the terms of the 21 - * GNU General Public License ("GPL") as published by the Free Software 22 - * Foundation, either version 2 of that License or (at your option) any 23 - * later version. 24 - * 25 - * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 26 - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 27 - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 28 - * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 29 - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 30 - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 31 - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 32 - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 33 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 34 - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 - */ 36 - 37 - /include/ "fsl/p1023si-pre.dtsi" 38 - 39 - / { 40 - model = "fsl,P1023"; 41 - compatible = "fsl,P1023RDS"; 42 - #address-cells = <2>; 43 - #size-cells = <2>; 44 - interrupt-parent = <&mpic>; 45 - 46 - memory { 47 - device_type = "memory"; 48 - }; 49 - 50 - soc: soc@ff600000 { 51 - ranges = <0x0 0x0 0xff600000 0x200000>; 52 - 53 - i2c@3000 { 54 - rtc@68 { 55 - compatible = "dallas,ds1374"; 56 - reg = <0x68>; 57 - }; 58 - }; 59 - 60 - spi@7000 { 61 - fsl_dataflash@0 { 62 - #address-cells = <1>; 63 - #size-cells = <1>; 64 - compatible = "atmel,at45db081d"; 65 - reg = <0>; 66 - spi-max-frequency = <40000000>; /* input clock */ 67 - partition@u-boot { 68 - /* 512KB for u-boot Bootloader Image */ 69 - label = "u-boot-spi"; 70 - reg = <0x00000000 0x00080000>; 71 - read-only; 72 - }; 73 - partition@dtb { 74 - /* 512KB for DTB Image */ 75 - label = "dtb-spi"; 76 - reg = <0x00080000 0x00080000>; 77 - read-only; 78 - }; 79 - }; 80 - }; 81 - 82 - usb@22000 { 83 - dr_mode = "host"; 84 - phy_type = "ulpi"; 85 - }; 86 - }; 87 - 88 - lbc: localbus@ff605000 { 89 - reg = <0 0xff605000 0 0x1000>; 90 - 91 - /* NOR Flash, BCSR */ 92 - ranges = <0x0 0x0 0x0 0xee000000 0x02000000 93 - 0x1 0x0 0x0 0xe0000000 0x00008000>; 94 - 95 - nor@0,0 { 96 - #address-cells = <1>; 97 - #size-cells = <1>; 98 - compatible = "cfi-flash"; 99 - reg = <0x0 0x0 0x02000000>; 100 - bank-width = <2>; 101 - device-width = <1>; 102 - partition@0 { 103 - label = "ramdisk"; 104 - reg = <0x00000000 0x01c00000>; 105 - }; 106 - partition@1c00000 { 107 - label = "kernel"; 108 - reg = <0x01c00000 0x002e0000>; 109 - }; 110 - partiton@1ee0000 { 111 - label = "dtb"; 112 - reg = <0x01ee0000 0x00020000>; 113 - }; 114 - partition@1f00000 { 115 - label = "firmware"; 116 - reg = <0x01f00000 0x00080000>; 117 - read-only; 118 - }; 119 - partition@1f80000 { 120 - label = "u-boot"; 121 - reg = <0x01f80000 0x00080000>; 122 - read-only; 123 - }; 124 - }; 125 - 126 - fpga@1,0 { 127 - #address-cells = <1>; 128 - #size-cells = <1>; 129 - compatible = "fsl,p1023rds-fpga"; 130 - reg = <1 0 0x8000>; 131 - ranges = <0 1 0 0x8000>; 132 - 133 - bcsr@20 { 134 - compatible = "fsl,p1023rds-bcsr"; 135 - reg = <0x20 0x20>; 136 - }; 137 - }; 138 - }; 139 - 140 - pci0: pcie@ff60a000 { 141 - reg = <0 0xff60a000 0 0x1000>; 142 - ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000 143 - 0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>; 144 - pcie@0 { 145 - /* IRQ[0:3] are pulled up on board, set to active-low */ 146 - interrupt-map-mask = <0xf800 0 0 7>; 147 - interrupt-map = < 148 - /* IDSEL 0x0 */ 149 - 0000 0 0 1 &mpic 0 1 0 0 150 - 0000 0 0 2 &mpic 1 1 0 0 151 - 0000 0 0 3 &mpic 2 1 0 0 152 - 0000 0 0 4 &mpic 3 1 0 0 153 - >; 154 - ranges = <0x2000000 0x0 0xc0000000 155 - 0x2000000 0x0 0xc0000000 156 - 0x0 0x20000000 157 - 158 - 0x1000000 0x0 0x0 159 - 0x1000000 0x0 0x0 160 - 0x0 0x100000>; 161 - }; 162 - }; 163 - 164 - board_pci1: pci1: pcie@ff609000 { 165 - reg = <0 0xff609000 0 0x1000>; 166 - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 167 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; 168 - pcie@0 { 169 - /* 170 - * IRQ[4:6] only for PCIe, set to active-high, 171 - * IRQ[7] is pulled up on board, set to active-low 172 - */ 173 - interrupt-map-mask = <0xf800 0 0 7>; 174 - interrupt-map = < 175 - /* IDSEL 0x0 */ 176 - 0000 0 0 1 &mpic 4 2 0 0 177 - 0000 0 0 2 &mpic 5 2 0 0 178 - 0000 0 0 3 &mpic 6 2 0 0 179 - 0000 0 0 4 &mpic 7 1 0 0 180 - >; 181 - ranges = <0x2000000 0x0 0xa0000000 182 - 0x2000000 0x0 0xa0000000 183 - 0x0 0x20000000 184 - 185 - 0x1000000 0x0 0x0 186 - 0x1000000 0x0 0x0 187 - 0x0 0x100000>; 188 - }; 189 - }; 190 - 191 - pci2: pcie@ff60b000 { 192 - reg = <0 0xff60b000 0 0x1000>; 193 - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 194 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; 195 - pcie@0 { 196 - /* 197 - * IRQ[8:10] are pulled up on board, set to active-low 198 - * IRQ[11] only for PCIe, set to active-high, 199 - */ 200 - interrupt-map-mask = <0xf800 0 0 7>; 201 - interrupt-map = < 202 - /* IDSEL 0x0 */ 203 - 0000 0 0 1 &mpic 8 1 0 0 204 - 0000 0 0 2 &mpic 9 1 0 0 205 - 0000 0 0 3 &mpic 10 1 0 0 206 - 0000 0 0 4 &mpic 11 2 0 0 207 - >; 208 - ranges = <0x2000000 0x0 0x80000000 209 - 0x2000000 0x0 0x80000000 210 - 0x0 0x20000000 211 - 212 - 0x1000000 0x0 0x0 213 - 0x1000000 0x0 0x0 214 - 0x0 0x100000>; 215 - }; 216 - }; 217 - }; 218 - 219 - /include/ "fsl/p1023si-post.dtsi"
+46
arch/powerpc/boot/dts/t1040qds.dts
··· 1 + /* 2 + * T1040QDS Device Tree Source 3 + * 4 + * Copyright 2013 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/ "fsl/t104xsi-pre.dtsi" 36 + /include/ "t104xqds.dtsi" 37 + 38 + / { 39 + model = "fsl,T1040QDS"; 40 + compatible = "fsl,T1040QDS"; 41 + #address-cells = <2>; 42 + #size-cells = <2>; 43 + interrupt-parent = <&mpic>; 44 + }; 45 + 46 + /include/ "fsl/t1040si-post.dtsi"
+46
arch/powerpc/boot/dts/t1042qds.dts
··· 1 + /* 2 + * T1042QDS Device Tree Source 3 + * 4 + * Copyright 2013 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/ "fsl/t104xsi-pre.dtsi" 36 + /include/ "t104xqds.dtsi" 37 + 38 + / { 39 + model = "fsl,T1042QDS"; 40 + compatible = "fsl,T1042QDS"; 41 + #address-cells = <2>; 42 + #size-cells = <2>; 43 + interrupt-parent = <&mpic>; 44 + }; 45 + 46 + /include/ "fsl/t1042si-post.dtsi"
+166
arch/powerpc/boot/dts/t104xqds.dtsi
··· 1 + /* 2 + * T104xQDS Device Tree Source 3 + * 4 + * Copyright 2013 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 + / { 36 + model = "fsl,T1040QDS"; 37 + #address-cells = <2>; 38 + #size-cells = <2>; 39 + interrupt-parent = <&mpic>; 40 + 41 + ifc: localbus@ffe124000 { 42 + reg = <0xf 0xfe124000 0 0x2000>; 43 + ranges = <0 0 0xf 0xe8000000 0x08000000 44 + 2 0 0xf 0xff800000 0x00010000 45 + 3 0 0xf 0xffdf0000 0x00008000>; 46 + 47 + nor@0,0 { 48 + #address-cells = <1>; 49 + #size-cells = <1>; 50 + compatible = "cfi-flash"; 51 + reg = <0x0 0x0 0x8000000>; 52 + 53 + bank-width = <2>; 54 + device-width = <1>; 55 + }; 56 + 57 + nand@2,0 { 58 + #address-cells = <1>; 59 + #size-cells = <1>; 60 + compatible = "fsl,ifc-nand"; 61 + reg = <0x2 0x0 0x10000>; 62 + }; 63 + 64 + board-control@3,0 { 65 + #address-cells = <1>; 66 + #size-cells = <1>; 67 + compatible = "fsl,fpga-qixis"; 68 + reg = <3 0 0x300>; 69 + }; 70 + }; 71 + 72 + memory { 73 + device_type = "memory"; 74 + }; 75 + 76 + dcsr: dcsr@f00000000 { 77 + ranges = <0x00000000 0xf 0x00000000 0x01072000>; 78 + }; 79 + 80 + soc: soc@ffe000000 { 81 + ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 82 + reg = <0xf 0xfe000000 0 0x00001000>; 83 + 84 + spi@110000 { 85 + flash@0 { 86 + #address-cells = <1>; 87 + #size-cells = <1>; 88 + compatible = "micron,n25q128a11"; 89 + reg = <0>; 90 + spi-max-frequency = <10000000>; /* input clock */ 91 + }; 92 + }; 93 + 94 + i2c@118000 { 95 + pca9547@77 { 96 + compatible = "philips,pca9547"; 97 + reg = <0x77>; 98 + }; 99 + rtc@68 { 100 + compatible = "dallas,ds3232"; 101 + reg = <0x68>; 102 + interrupts = <0x1 0x1 0 0>; 103 + }; 104 + }; 105 + }; 106 + 107 + pci0: pcie@ffe240000 { 108 + reg = <0xf 0xfe240000 0 0x10000>; 109 + ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x10000000 110 + 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 111 + pcie@0 { 112 + ranges = <0x02000000 0 0xe0000000 113 + 0x02000000 0 0xe0000000 114 + 0 0x10000000 115 + 116 + 0x01000000 0 0x00000000 117 + 0x01000000 0 0x00000000 118 + 0 0x00010000>; 119 + }; 120 + }; 121 + 122 + pci1: pcie@ffe250000 { 123 + reg = <0xf 0xfe250000 0 0x10000>; 124 + ranges = <0x02000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000 125 + 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 126 + pcie@0 { 127 + ranges = <0x02000000 0 0xe0000000 128 + 0x02000000 0 0xe0000000 129 + 0 0x10000000 130 + 131 + 0x01000000 0 0x00000000 132 + 0x01000000 0 0x00000000 133 + 0 0x00010000>; 134 + }; 135 + }; 136 + 137 + pci2: pcie@ffe260000 { 138 + reg = <0xf 0xfe260000 0 0x10000>; 139 + ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 140 + 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 141 + pcie@0 { 142 + ranges = <0x02000000 0 0xe0000000 143 + 0x02000000 0 0xe0000000 144 + 0 0x10000000 145 + 146 + 0x01000000 0 0x00000000 147 + 0x01000000 0 0x00000000 148 + 0 0x00010000>; 149 + }; 150 + }; 151 + 152 + pci3: pcie@ffe270000 { 153 + reg = <0xf 0xfe270000 0 0x10000>; 154 + ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000 155 + 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 156 + pcie@0 { 157 + ranges = <0x02000000 0 0xe0000000 158 + 0x02000000 0 0xe0000000 159 + 0 0x10000000 160 + 161 + 0x01000000 0 0x00000000 162 + 0x01000000 0 0x00000000 163 + 0 0x00010000>; 164 + }; 165 + }; 166 + };
+14 -1
arch/powerpc/boot/dts/t4240emu.dts
··· 60 60 device_type = "cpu"; 61 61 reg = <0 1>; 62 62 next-level-cache = <&L2_1>; 63 + fsl,portid-mapping = <0x80000000>; 63 64 }; 64 65 cpu1: PowerPC,e6500@2 { 65 66 device_type = "cpu"; 66 67 reg = <2 3>; 67 68 next-level-cache = <&L2_1>; 69 + fsl,portid-mapping = <0x80000000>; 68 70 }; 69 71 cpu2: PowerPC,e6500@4 { 70 72 device_type = "cpu"; 71 73 reg = <4 5>; 72 74 next-level-cache = <&L2_1>; 75 + fsl,portid-mapping = <0x80000000>; 73 76 }; 74 77 cpu3: PowerPC,e6500@6 { 75 78 device_type = "cpu"; 76 79 reg = <6 7>; 77 80 next-level-cache = <&L2_1>; 81 + fsl,portid-mapping = <0x80000000>; 78 82 }; 79 83 80 84 cpu4: PowerPC,e6500@8 { 81 85 device_type = "cpu"; 82 86 reg = <8 9>; 83 87 next-level-cache = <&L2_2>; 88 + fsl,portid-mapping = <0x40000000>; 84 89 }; 85 90 cpu5: PowerPC,e6500@10 { 86 91 device_type = "cpu"; 87 92 reg = <10 11>; 88 93 next-level-cache = <&L2_2>; 94 + fsl,portid-mapping = <0x40000000>; 89 95 }; 90 96 cpu6: PowerPC,e6500@12 { 91 97 device_type = "cpu"; 92 98 reg = <12 13>; 93 99 next-level-cache = <&L2_2>; 100 + fsl,portid-mapping = <0x40000000>; 94 101 }; 95 102 cpu7: PowerPC,e6500@14 { 96 103 device_type = "cpu"; 97 104 reg = <14 15>; 98 105 next-level-cache = <&L2_2>; 106 + fsl,portid-mapping = <0x40000000>; 99 107 }; 100 108 101 109 cpu8: PowerPC,e6500@16 { 102 110 device_type = "cpu"; 103 111 reg = <16 17>; 104 112 next-level-cache = <&L2_3>; 113 + fsl,portid-mapping = <0x20000000>; 105 114 }; 106 115 cpu9: PowerPC,e6500@18 { 107 116 device_type = "cpu"; 108 117 reg = <18 19>; 109 118 next-level-cache = <&L2_3>; 119 + fsl,portid-mapping = <0x20000000>; 110 120 }; 111 121 cpu10: PowerPC,e6500@20 { 112 122 device_type = "cpu"; 113 123 reg = <20 21>; 114 124 next-level-cache = <&L2_3>; 125 + fsl,portid-mapping = <0x20000000>; 115 126 }; 116 127 cpu11: PowerPC,e6500@22 { 117 128 device_type = "cpu"; 118 129 reg = <22 23>; 119 130 next-level-cache = <&L2_3>; 131 + fsl,portid-mapping = <0x20000000>; 120 132 }; 121 133 }; 122 134 }; ··· 225 213 }; 226 214 227 215 corenet-cf@18000 { 228 - compatible = "fsl,corenet-cf"; 216 + compatible = "fsl,corenet2-cf", "fsl,corenet-cf"; 229 217 reg = <0x18000 0x1000>; 230 218 interrupts = <16 2 1 31>; 231 219 fsl,ccf-num-csdids = <32>; ··· 235 223 iommu@20000 { 236 224 compatible = "fsl,pamu-v1.0", "fsl,pamu"; 237 225 reg = <0x20000 0x6000>; 226 + fsl,portid-mapping = <0x8000>; 238 227 interrupts = < 239 228 24 2 0 0 240 229 16 2 1 30>;
+225
arch/powerpc/configs/85xx/kmp204x_defconfig
··· 1 + CONFIG_PPC_85xx=y 2 + CONFIG_SMP=y 3 + CONFIG_NR_CPUS=8 4 + CONFIG_SYSVIPC=y 5 + CONFIG_POSIX_MQUEUE=y 6 + CONFIG_AUDIT=y 7 + CONFIG_NO_HZ=y 8 + CONFIG_HIGH_RES_TIMERS=y 9 + CONFIG_BSD_PROCESS_ACCT=y 10 + CONFIG_IKCONFIG=y 11 + CONFIG_IKCONFIG_PROC=y 12 + CONFIG_LOG_BUF_SHIFT=14 13 + CONFIG_CGROUPS=y 14 + CONFIG_CGROUP_SCHED=y 15 + CONFIG_RELAY=y 16 + CONFIG_BLK_DEV_INITRD=y 17 + CONFIG_KALLSYMS_ALL=y 18 + CONFIG_EMBEDDED=y 19 + CONFIG_PERF_EVENTS=y 20 + CONFIG_SLAB=y 21 + CONFIG_MODULES=y 22 + CONFIG_MODULE_UNLOAD=y 23 + CONFIG_MODULE_FORCE_UNLOAD=y 24 + CONFIG_MODVERSIONS=y 25 + # CONFIG_BLK_DEV_BSG is not set 26 + CONFIG_PARTITION_ADVANCED=y 27 + CONFIG_MAC_PARTITION=y 28 + CONFIG_CORENET_GENERIC=y 29 + CONFIG_MPIC_MSGR=y 30 + CONFIG_HIGHMEM=y 31 + # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set 32 + CONFIG_BINFMT_MISC=m 33 + CONFIG_KEXEC=y 34 + CONFIG_FORCE_MAX_ZONEORDER=13 35 + CONFIG_PCI=y 36 + CONFIG_PCIEPORTBUS=y 37 + # CONFIG_PCIEASPM is not set 38 + CONFIG_PCI_MSI=y 39 + CONFIG_ADVANCED_OPTIONS=y 40 + CONFIG_LOWMEM_SIZE_BOOL=y 41 + CONFIG_LOWMEM_SIZE=0x20000000 42 + CONFIG_NET=y 43 + CONFIG_PACKET=y 44 + CONFIG_UNIX=y 45 + CONFIG_XFRM_USER=y 46 + CONFIG_XFRM_SUB_POLICY=y 47 + CONFIG_XFRM_STATISTICS=y 48 + CONFIG_NET_KEY=y 49 + CONFIG_NET_KEY_MIGRATE=y 50 + CONFIG_INET=y 51 + CONFIG_IP_MULTICAST=y 52 + CONFIG_IP_ADVANCED_ROUTER=y 53 + CONFIG_IP_MULTIPLE_TABLES=y 54 + CONFIG_IP_ROUTE_MULTIPATH=y 55 + CONFIG_IP_ROUTE_VERBOSE=y 56 + CONFIG_IP_PNP=y 57 + CONFIG_IP_PNP_DHCP=y 58 + CONFIG_IP_PNP_BOOTP=y 59 + CONFIG_IP_PNP_RARP=y 60 + CONFIG_NET_IPIP=y 61 + CONFIG_IP_MROUTE=y 62 + CONFIG_IP_PIMSM_V1=y 63 + CONFIG_IP_PIMSM_V2=y 64 + CONFIG_INET_AH=y 65 + CONFIG_INET_ESP=y 66 + CONFIG_INET_IPCOMP=y 67 + # CONFIG_INET_LRO is not set 68 + CONFIG_IPV6=y 69 + CONFIG_IP_SCTP=m 70 + CONFIG_TIPC=y 71 + CONFIG_NET_SCHED=y 72 + CONFIG_NET_SCH_CBQ=y 73 + CONFIG_NET_SCH_HTB=y 74 + CONFIG_NET_SCH_HFSC=y 75 + CONFIG_NET_SCH_PRIO=y 76 + CONFIG_NET_SCH_MULTIQ=y 77 + CONFIG_NET_SCH_RED=y 78 + CONFIG_NET_SCH_SFQ=y 79 + CONFIG_NET_SCH_TEQL=y 80 + CONFIG_NET_SCH_TBF=y 81 + CONFIG_NET_SCH_GRED=y 82 + CONFIG_NET_CLS_BASIC=y 83 + CONFIG_NET_CLS_TCINDEX=y 84 + CONFIG_NET_CLS_U32=y 85 + CONFIG_CLS_U32_PERF=y 86 + CONFIG_CLS_U32_MARK=y 87 + CONFIG_NET_CLS_FLOW=y 88 + CONFIG_NET_CLS_CGROUP=y 89 + CONFIG_UEVENT_HELPER_PATH="/sbin/mdev" 90 + CONFIG_DEVTMPFS=y 91 + CONFIG_MTD=y 92 + CONFIG_MTD_CMDLINE_PARTS=y 93 + CONFIG_MTD_BLOCK=y 94 + CONFIG_MTD_CFI=y 95 + CONFIG_MTD_CFI_AMDSTD=y 96 + CONFIG_MTD_PHYSMAP_OF=y 97 + CONFIG_MTD_M25P80=y 98 + CONFIG_MTD_PHRAM=y 99 + CONFIG_MTD_NAND=y 100 + CONFIG_MTD_NAND_ECC_BCH=y 101 + CONFIG_MTD_NAND_FSL_ELBC=y 102 + CONFIG_MTD_UBI=y 103 + CONFIG_MTD_UBI_GLUEBI=y 104 + CONFIG_BLK_DEV_LOOP=y 105 + CONFIG_BLK_DEV_RAM=y 106 + CONFIG_BLK_DEV_RAM_COUNT=2 107 + CONFIG_BLK_DEV_RAM_SIZE=2048 108 + CONFIG_EEPROM_AT24=y 109 + CONFIG_SCSI=y 110 + CONFIG_BLK_DEV_SD=y 111 + CONFIG_CHR_DEV_ST=y 112 + CONFIG_BLK_DEV_SR=y 113 + CONFIG_CHR_DEV_SG=y 114 + CONFIG_SCSI_MULTI_LUN=y 115 + CONFIG_SCSI_LOGGING=y 116 + CONFIG_SCSI_SYM53C8XX_2=y 117 + CONFIG_NETDEVICES=y 118 + # CONFIG_NET_VENDOR_3COM is not set 119 + # CONFIG_NET_VENDOR_ADAPTEC is not set 120 + # CONFIG_NET_VENDOR_ALTEON is not set 121 + # CONFIG_NET_VENDOR_AMD is not set 122 + # CONFIG_NET_VENDOR_ATHEROS is not set 123 + # CONFIG_NET_CADENCE is not set 124 + # CONFIG_NET_VENDOR_BROADCOM is not set 125 + # CONFIG_NET_VENDOR_BROCADE is not set 126 + # CONFIG_NET_VENDOR_CHELSIO is not set 127 + # CONFIG_NET_VENDOR_CISCO is not set 128 + # CONFIG_NET_VENDOR_DEC is not set 129 + # CONFIG_NET_VENDOR_DLINK is not set 130 + # CONFIG_NET_VENDOR_EMULEX is not set 131 + # CONFIG_NET_VENDOR_EXAR is not set 132 + CONFIG_FSL_PQ_MDIO=y 133 + CONFIG_FSL_XGMAC_MDIO=y 134 + # CONFIG_NET_VENDOR_HP is not set 135 + # CONFIG_NET_VENDOR_INTEL is not set 136 + # CONFIG_NET_VENDOR_MARVELL is not set 137 + # CONFIG_NET_VENDOR_MELLANOX is not set 138 + # CONFIG_NET_VENDOR_MICREL is not set 139 + # CONFIG_NET_VENDOR_MICROCHIP is not set 140 + # CONFIG_NET_VENDOR_MYRI is not set 141 + # CONFIG_NET_VENDOR_NATSEMI is not set 142 + # CONFIG_NET_VENDOR_NVIDIA is not set 143 + # CONFIG_NET_VENDOR_OKI is not set 144 + # CONFIG_NET_PACKET_ENGINE is not set 145 + # CONFIG_NET_VENDOR_QLOGIC is not set 146 + # CONFIG_NET_VENDOR_REALTEK is not set 147 + # CONFIG_NET_VENDOR_RDC is not set 148 + # CONFIG_NET_VENDOR_SEEQ is not set 149 + # CONFIG_NET_VENDOR_SILAN is not set 150 + # CONFIG_NET_VENDOR_SIS is not set 151 + # CONFIG_NET_VENDOR_SMSC is not set 152 + # CONFIG_NET_VENDOR_STMICRO is not set 153 + # CONFIG_NET_VENDOR_SUN is not set 154 + # CONFIG_NET_VENDOR_TEHUTI is not set 155 + # CONFIG_NET_VENDOR_TI is not set 156 + # CONFIG_NET_VENDOR_VIA is not set 157 + # CONFIG_NET_VENDOR_WIZNET is not set 158 + # CONFIG_NET_VENDOR_XILINX is not set 159 + CONFIG_MARVELL_PHY=y 160 + CONFIG_VITESSE_PHY=y 161 + CONFIG_FIXED_PHY=y 162 + # CONFIG_WLAN is not set 163 + # CONFIG_INPUT_MOUSEDEV is not set 164 + # CONFIG_INPUT_KEYBOARD is not set 165 + # CONFIG_INPUT_MOUSE is not set 166 + CONFIG_SERIO_LIBPS2=y 167 + # CONFIG_LEGACY_PTYS is not set 168 + CONFIG_PPC_EPAPR_HV_BYTECHAN=y 169 + CONFIG_SERIAL_8250=y 170 + CONFIG_SERIAL_8250_CONSOLE=y 171 + CONFIG_SERIAL_8250_MANY_PORTS=y 172 + CONFIG_SERIAL_8250_DETECT_IRQ=y 173 + CONFIG_SERIAL_8250_RSA=y 174 + CONFIG_NVRAM=y 175 + CONFIG_I2C=y 176 + CONFIG_I2C_CHARDEV=y 177 + CONFIG_I2C_MUX=y 178 + CONFIG_I2C_MUX_PCA954x=y 179 + CONFIG_I2C_MPC=y 180 + CONFIG_SPI=y 181 + CONFIG_SPI_FSL_SPI=y 182 + CONFIG_SPI_FSL_ESPI=y 183 + CONFIG_SPI_SPIDEV=m 184 + CONFIG_PTP_1588_CLOCK=y 185 + # CONFIG_HWMON is not set 186 + # CONFIG_USB_SUPPORT is not set 187 + CONFIG_EDAC=y 188 + CONFIG_EDAC_MM_EDAC=y 189 + CONFIG_EDAC_MPC85XX=y 190 + CONFIG_RTC_CLASS=y 191 + CONFIG_RTC_DRV_DS3232=y 192 + CONFIG_RTC_DRV_CMOS=y 193 + CONFIG_UIO=y 194 + CONFIG_STAGING=y 195 + # CONFIG_NET_VENDOR_SILICOM is not set 196 + CONFIG_CLK_PPC_CORENET=y 197 + CONFIG_EXT2_FS=y 198 + CONFIG_NTFS_FS=y 199 + CONFIG_PROC_KCORE=y 200 + CONFIG_TMPFS=y 201 + CONFIG_JFFS2_FS=y 202 + CONFIG_UBIFS_FS=y 203 + CONFIG_CRAMFS=y 204 + CONFIG_SQUASHFS=y 205 + CONFIG_SQUASHFS_XZ=y 206 + CONFIG_NFS_FS=y 207 + CONFIG_NFS_V4=y 208 + CONFIG_ROOT_NFS=y 209 + CONFIG_NLS_ISO8859_1=y 210 + CONFIG_NLS_UTF8=m 211 + CONFIG_CRC_ITU_T=m 212 + CONFIG_DEBUG_INFO=y 213 + CONFIG_MAGIC_SYSRQ=y 214 + CONFIG_DEBUG_SHIRQ=y 215 + CONFIG_DETECT_HUNG_TASK=y 216 + CONFIG_SCHEDSTATS=y 217 + CONFIG_RCU_TRACE=y 218 + CONFIG_UPROBE_EVENT=y 219 + CONFIG_CRYPTO_NULL=y 220 + CONFIG_CRYPTO_PCBC=m 221 + CONFIG_CRYPTO_MD4=y 222 + CONFIG_CRYPTO_SHA256=y 223 + CONFIG_CRYPTO_SHA512=y 224 + # CONFIG_CRYPTO_ANSI_CPRNG is not set 225 + CONFIG_CRYPTO_DEV_FSL_CAAM=y
+1
arch/powerpc/configs/corenet32_smp_defconfig
··· 72 72 CONFIG_MTD_CHAR=y 73 73 CONFIG_MTD_BLOCK=y 74 74 CONFIG_MTD_CFI=y 75 + CONFIG_MTD_CFI_INTELEXT=y 75 76 CONFIG_MTD_CFI_AMDSTD=y 76 77 CONFIG_MTD_PHYSMAP_OF=y 77 78 CONFIG_MTD_M25P80=y
-1
arch/powerpc/configs/mpc85xx_defconfig
··· 32 32 CONFIG_P1022_DS=y 33 33 CONFIG_P1022_RDK=y 34 34 CONFIG_P1023_RDB=y 35 - CONFIG_P1023_RDS=y 36 35 CONFIG_SOCRATES=y 37 36 CONFIG_KSI8560=y 38 37 CONFIG_XES_MPC85xx=y
-1
arch/powerpc/configs/mpc85xx_smp_defconfig
··· 35 35 CONFIG_P1022_DS=y 36 36 CONFIG_P1022_RDK=y 37 37 CONFIG_P1023_RDB=y 38 - CONFIG_P1023_RDS=y 39 38 CONFIG_SOCRATES=y 40 39 CONFIG_KSI8560=y 41 40 CONFIG_XES_MPC85xx=y
+16 -3
arch/powerpc/kernel/epapr_paravirt.c
··· 30 30 #endif 31 31 32 32 bool epapr_paravirt_enabled; 33 + static bool __maybe_unused epapr_has_idle; 33 34 34 35 static int __init early_init_dt_scan_epapr(unsigned long node, 35 36 const char *uname, ··· 48 47 return -1; 49 48 50 49 for (i = 0; i < (len / 4); i++) { 51 - patch_instruction(epapr_hypercall_start + i, insts[i]); 50 + u32 inst = be32_to_cpu(insts[i]); 51 + patch_instruction(epapr_hypercall_start + i, inst); 52 52 #if !defined(CONFIG_64BIT) || defined(CONFIG_PPC_BOOK3E_64) 53 - patch_instruction(epapr_ev_idle_start + i, insts[i]); 53 + patch_instruction(epapr_ev_idle_start + i, inst); 54 54 #endif 55 55 } 56 56 57 57 #if !defined(CONFIG_64BIT) || defined(CONFIG_PPC_BOOK3E_64) 58 58 if (of_get_flat_dt_prop(node, "has-idle", NULL)) 59 - ppc_md.power_save = epapr_ev_idle; 59 + epapr_has_idle = true; 60 60 #endif 61 61 62 62 epapr_paravirt_enabled = true; ··· 72 70 return 0; 73 71 } 74 72 73 + static int __init epapr_idle_init(void) 74 + { 75 + #if !defined(CONFIG_64BIT) || defined(CONFIG_PPC_BOOK3E_64) 76 + if (epapr_has_idle) 77 + ppc_md.power_save = epapr_ev_idle; 78 + #endif 79 + 80 + return 0; 81 + } 82 + 83 + postcore_initcall(epapr_idle_init);
+6 -1
arch/powerpc/mm/tlb_nohash.c
··· 596 596 /* XXX This should be decided at runtime based on supported 597 597 * page sizes in the TLB, but for now let's assume 16M is 598 598 * always there and a good fit (which it probably is) 599 + * 600 + * Freescale booke only supports 4K pages in TLB0, so use that. 599 601 */ 600 - mmu_vmemmap_psize = MMU_PAGE_16M; 602 + if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) 603 + mmu_vmemmap_psize = MMU_PAGE_4K; 604 + else 605 + mmu_vmemmap_psize = MMU_PAGE_16M; 601 606 602 607 /* XXX This code only checks for TLB 0 capabilities and doesn't 603 608 * check what page size combos are supported by the HW. It
+14 -5
arch/powerpc/platforms/85xx/Kconfig
··· 38 38 help 39 39 This option enables support for the C293PCIE board 40 40 41 + config BSC9132_QDS 42 + bool "Freescale BSC9132QDS" 43 + select DEFAULT_UIMAGE 44 + help 45 + This option enables support for the Freescale BSC9132 QDS board. 46 + BSC9132 is a heterogeneous SoC containing dual e500v2 powerpc cores 47 + and dual StarCore SC3850 DSP cores. 48 + Manufacturer : Freescale Semiconductor, Inc 49 + 41 50 config MPC8540_ADS 42 51 bool "Freescale MPC8540 ADS" 43 52 select DEFAULT_UIMAGE ··· 126 117 This option enables support for the Freescale / iVeia P1022RDK 127 118 reference board. 128 119 129 - config P1023_RDS 130 - bool "Freescale P1023 RDS/RDB" 120 + config P1023_RDB 121 + bool "Freescale P1023 RDB" 131 122 select DEFAULT_UIMAGE 132 123 help 133 - This option enables support for the P1023 RDS and RDB boards 124 + This option enables support for the P1023 RDB board. 134 125 135 126 config TWR_P102x 136 127 bool "Freescale TWR-P102x" ··· 272 263 help 273 264 This option enables support for the FSL CoreNet based boards. 274 265 For 32bit kernel, the following boards are supported: 275 - P2041 RDB, P3041 DS and P4080 DS 266 + P2041 RDB, P3041 DS, P4080 DS, kmcoge4, and OCA4080 276 267 For 64bit kernel, the following boards are supported: 277 268 T4240 QDS and B4 QDS 278 269 The following boards are supported for both 32bit and 64bit kernel: 279 - P5020 DS and P5040 DS 270 + P5020 DS, P5040 DS and T104xQDS 280 271 281 272 endif # FSL_SOC_BOOKE 282 273
+2 -1
arch/powerpc/platforms/85xx/Makefile
··· 6 6 obj-y += common.o 7 7 8 8 obj-$(CONFIG_BSC9131_RDB) += bsc913x_rdb.o 9 + obj-$(CONFIG_BSC9132_QDS) += bsc913x_qds.o 9 10 obj-$(CONFIG_C293_PCIE) += c293pcie.o 10 11 obj-$(CONFIG_MPC8540_ADS) += mpc85xx_ads.o 11 12 obj-$(CONFIG_MPC8560_ADS) += mpc85xx_ads.o ··· 18 17 obj-$(CONFIG_P1010_RDB) += p1010rdb.o 19 18 obj-$(CONFIG_P1022_DS) += p1022_ds.o 20 19 obj-$(CONFIG_P1022_RDK) += p1022_rdk.o 21 - obj-$(CONFIG_P1023_RDS) += p1023_rds.o 20 + obj-$(CONFIG_P1023_RDB) += p1023_rdb.o 22 21 obj-$(CONFIG_TWR_P102x) += twr_p102x.o 23 22 obj-$(CONFIG_CORENET_GENERIC) += corenet_generic.o 24 23 obj-$(CONFIG_STX_GP3) += stx_gp3.o
+74
arch/powerpc/platforms/85xx/bsc913x_qds.c
··· 1 + /* 2 + * BSC913xQDS Board Setup 3 + * 4 + * Author: 5 + * Harninder Rai <harninder.rai@freescale.com> 6 + * Priyanka Jain <Priyanka.Jain@freescale.com> 7 + * 8 + * Copyright 2014 Freescale Semiconductor Inc. 9 + * 10 + * This program is free software; you can redistribute it and/or modify it 11 + * under the terms of the GNU General Public License as published by the 12 + * Free Software Foundation; either version 2 of the License, or (at your 13 + * option) any later version. 14 + */ 15 + 16 + #include <linux/of_platform.h> 17 + #include <linux/pci.h> 18 + #include <asm/mpic.h> 19 + #include <sysdev/fsl_soc.h> 20 + #include <asm/udbg.h> 21 + 22 + #include "mpc85xx.h" 23 + #include "smp.h" 24 + 25 + void __init bsc913x_qds_pic_init(void) 26 + { 27 + struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | 28 + MPIC_SINGLE_DEST_CPU, 29 + 0, 256, " OpenPIC "); 30 + 31 + if (!mpic) 32 + pr_err("bsc913x: Failed to allocate MPIC structure\n"); 33 + else 34 + mpic_init(mpic); 35 + } 36 + 37 + /* 38 + * Setup the architecture 39 + */ 40 + static void __init bsc913x_qds_setup_arch(void) 41 + { 42 + if (ppc_md.progress) 43 + ppc_md.progress("bsc913x_qds_setup_arch()", 0); 44 + 45 + #if defined(CONFIG_SMP) 46 + mpc85xx_smp_init(); 47 + #endif 48 + 49 + pr_info("bsc913x board from Freescale Semiconductor\n"); 50 + } 51 + 52 + machine_device_initcall(bsc9132_qds, mpc85xx_common_publish_devices); 53 + 54 + /* 55 + * Called very early, device-tree isn't unflattened 56 + */ 57 + 58 + static int __init bsc9132_qds_probe(void) 59 + { 60 + unsigned long root = of_get_flat_dt_root(); 61 + 62 + return of_flat_dt_is_compatible(root, "fsl,bsc9132qds"); 63 + } 64 + 65 + define_machine(bsc9132_qds) { 66 + .name = "BSC9132 QDS", 67 + .probe = bsc9132_qds_probe, 68 + .setup_arch = bsc913x_qds_setup_arch, 69 + .init_IRQ = bsc913x_qds_pic_init, 70 + .get_irq = mpic_get_irq, 71 + .restart = fsl_rstcr_restart, 72 + .calibrate_decr = generic_calibrate_decr, 73 + .progress = udbg_progress, 74 + };
+8 -1
arch/powerpc/platforms/85xx/corenet_generic.c
··· 67 67 68 68 swiotlb_detect_4g(); 69 69 70 - pr_info("%s board from Freescale Semiconductor\n", ppc_md.name); 70 + pr_info("%s board\n", ppc_md.name); 71 71 72 72 mpc85xx_qe_init(); 73 73 } ··· 115 115 static const char * const boards[] __initconst = { 116 116 "fsl,P2041RDB", 117 117 "fsl,P3041DS", 118 + "fsl,OCA4080", 118 119 "fsl,P4080DS", 119 120 "fsl,P5020DS", 120 121 "fsl,P5040DS", ··· 123 122 "fsl,B4860QDS", 124 123 "fsl,B4420QDS", 125 124 "fsl,B4220QDS", 125 + "fsl,T1040QDS", 126 + "fsl,T1042QDS", 127 + "keymile,kmcoge4", 126 128 NULL 127 129 }; 128 130 129 131 static const char * const hv_boards[] __initconst = { 130 132 "fsl,P2041RDB-hv", 131 133 "fsl,P3041DS-hv", 134 + "fsl,OCA4080-hv", 132 135 "fsl,P4080DS-hv", 133 136 "fsl,P5020DS-hv", 134 137 "fsl,P5040DS-hv", ··· 140 135 "fsl,B4860QDS-hv", 141 136 "fsl,B4420QDS-hv", 142 137 "fsl,B4220QDS-hv", 138 + "fsl,T1040QDS-hv", 139 + "fsl,T1042QDS-hv", 143 140 NULL 144 141 }; 145 142
+6 -30
arch/powerpc/platforms/85xx/p1023_rds.c arch/powerpc/platforms/85xx/p1023_rdb.c
··· 4 4 * Author: Roy Zang <tie-fei.zang@freescale.com> 5 5 * 6 6 * Description: 7 - * P1023 RDS Board Setup 7 + * P1023 RDB Board Setup 8 8 * 9 9 * This program is free software; you can redistribute it and/or modify it 10 10 * under the terms of the GNU General Public License as published by the ··· 41 41 * Setup the architecture 42 42 * 43 43 */ 44 - static void __init mpc85xx_rds_setup_arch(void) 44 + static void __init mpc85xx_rdb_setup_arch(void) 45 45 { 46 46 struct device_node *np; 47 47 48 48 if (ppc_md.progress) 49 - ppc_md.progress("p1023_rds_setup_arch()", 0); 49 + ppc_md.progress("p1023_rdb_setup_arch()", 0); 50 50 51 51 /* Map BCSR area */ 52 52 np = of_find_node_by_name(NULL, "bcsr"); ··· 85 85 fsl_pci_assign_primary(); 86 86 } 87 87 88 - machine_arch_initcall(p1023_rds, mpc85xx_common_publish_devices); 89 88 machine_arch_initcall(p1023_rdb, mpc85xx_common_publish_devices); 90 89 91 - static void __init mpc85xx_rds_pic_init(void) 90 + static void __init mpc85xx_rdb_pic_init(void) 92 91 { 93 92 struct mpic *mpic = mpic_alloc(NULL, 0, MPIC_BIG_ENDIAN | 94 93 MPIC_SINGLE_DEST_CPU, ··· 98 99 mpic_init(mpic); 99 100 } 100 101 101 - static int __init p1023_rds_probe(void) 102 - { 103 - unsigned long root = of_get_flat_dt_root(); 104 - 105 - return of_flat_dt_is_compatible(root, "fsl,P1023RDS"); 106 - 107 - } 108 - 109 102 static int __init p1023_rdb_probe(void) 110 103 { 111 104 unsigned long root = of_get_flat_dt_root(); ··· 106 115 107 116 } 108 117 109 - define_machine(p1023_rds) { 110 - .name = "P1023 RDS", 111 - .probe = p1023_rds_probe, 112 - .setup_arch = mpc85xx_rds_setup_arch, 113 - .init_IRQ = mpc85xx_rds_pic_init, 114 - .get_irq = mpic_get_irq, 115 - .restart = fsl_rstcr_restart, 116 - .calibrate_decr = generic_calibrate_decr, 117 - .progress = udbg_progress, 118 - #ifdef CONFIG_PCI 119 - .pcibios_fixup_bus = fsl_pcibios_fixup_bus, 120 - .pcibios_fixup_phb = fsl_pcibios_fixup_phb, 121 - #endif 122 - }; 123 - 124 118 define_machine(p1023_rdb) { 125 119 .name = "P1023 RDB", 126 120 .probe = p1023_rdb_probe, 127 - .setup_arch = mpc85xx_rds_setup_arch, 128 - .init_IRQ = mpc85xx_rds_pic_init, 121 + .setup_arch = mpc85xx_rdb_setup_arch, 122 + .init_IRQ = mpc85xx_rdb_pic_init, 129 123 .get_irq = mpic_get_irq, 130 124 .restart = fsl_rstcr_restart, 131 125 .calibrate_decr = generic_calibrate_decr,
+1 -2
arch/powerpc/sysdev/fsl_pci.c
··· 1150 1150 pci = hose->private_data; 1151 1151 1152 1152 /* Enable PTOD, ENL23D & EXL23D */ 1153 - out_be32(&pci->pex_pme_mes_disr, 0); 1154 - setbits32(&pci->pex_pme_mes_disr, 1153 + clrbits32(&pci->pex_pme_mes_disr, 1155 1154 PME_DISR_EN_PTOD | PME_DISR_EN_ENL23D | PME_DISR_EN_EXL23D); 1156 1155 1157 1156 out_be32(&pci->pex_pme_mes_ier, 0);
+9 -1
arch/powerpc/sysdev/fsl_rio.c
··· 391 391 ops->get_inb_message = fsl_get_inb_message; 392 392 393 393 rmu_node = of_parse_phandle(dev->dev.of_node, "fsl,srio-rmu-handle", 0); 394 - if (!rmu_node) 394 + if (!rmu_node) { 395 + dev_err(&dev->dev, "No valid fsl,srio-rmu-handle property\n"); 395 396 goto err_rmu; 397 + } 396 398 rc = of_address_to_resource(rmu_node, 0, &rmu_regs); 397 399 if (rc) { 398 400 dev_err(&dev->dev, "Can't get %s property 'reg'\n", ··· 415 413 /*set up doobell node*/ 416 414 np = of_find_compatible_node(NULL, NULL, "fsl,srio-dbell-unit"); 417 415 if (!np) { 416 + dev_err(&dev->dev, "No fsl,srio-dbell-unit node\n"); 418 417 rc = -ENODEV; 419 418 goto err_dbell; 420 419 } ··· 444 441 /*set up port write node*/ 445 442 np = of_find_compatible_node(NULL, NULL, "fsl,srio-port-write-unit"); 446 443 if (!np) { 444 + dev_err(&dev->dev, "No fsl,srio-port-write-unit node\n"); 447 445 rc = -ENODEV; 448 446 goto err_pw; 449 447 } ··· 637 633 return 0; 638 634 err: 639 635 kfree(pw); 636 + pw = NULL; 640 637 err_pw: 641 638 kfree(dbell); 639 + dbell = NULL; 642 640 err_dbell: 643 641 iounmap(rmu_regs_win); 642 + rmu_regs_win = NULL; 644 643 err_rmu: 645 644 kfree(ops); 646 645 err_ops: 647 646 iounmap(rio_regs_win); 647 + rio_regs_win = NULL; 648 648 err_rio_regs: 649 649 return rc; 650 650 }
+3 -3
arch/powerpc/sysdev/fsl_rmu.c
··· 881 881 rc = request_irq(IRQ_RIO_RX(mport), fsl_rio_rx_handler, 0, 882 882 "msg_rx", (void *)mport); 883 883 if (rc < 0) { 884 - dma_free_coherent(priv->dev, RIO_MSG_BUFFER_SIZE, 885 - rmu->msg_tx_ring.virt_buffer[i], 886 - rmu->msg_tx_ring.phys_buffer[i]); 884 + dma_free_coherent(priv->dev, 885 + rmu->msg_rx_ring.size * RIO_MAX_MSG_SIZE, 886 + rmu->msg_rx_ring.virt, rmu->msg_rx_ring.phys); 887 887 goto out; 888 888 } 889 889
+4 -4
arch/powerpc/sysdev/mpic.c
··· 1588 1588 num_timers = 8; 1589 1589 } 1590 1590 1591 - /* FSL mpic error interrupt intialization */ 1592 - if (mpic->flags & MPIC_FSL_HAS_EIMR) 1593 - mpic_err_int_init(mpic, MPIC_FSL_ERR_INT); 1594 - 1595 1591 /* Initialize timers to our reserved vectors and mask them for now */ 1596 1592 for (i = 0; i < num_timers; i++) { 1597 1593 unsigned int offset = mpic_tm_offset(mpic, i); ··· 1671 1675 irq_set_chained_handler(virq, &mpic_cascade); 1672 1676 } 1673 1677 } 1678 + 1679 + /* FSL mpic error interrupt intialization */ 1680 + if (mpic->flags & MPIC_FSL_HAS_EIMR) 1681 + mpic_err_int_init(mpic, MPIC_FSL_ERR_INT); 1674 1682 } 1675 1683 1676 1684 void __init mpic_set_clk_ratio(struct mpic *mpic, u32 clock_ratio)