1 /* 1 /* 2 * P2020/P2010 Silicon/SoC Device Tree Source 2 * P2020/P2010 Silicon/SoC Device Tree Source (post include) 3 * 3 * 4 * Copyright 2011 Freescale Semiconductor Inc. 4 * Copyright 2011 Freescale Semiconductor Inc. 5 * 5 * 6 * Redistribution and use in source and binary 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that t 7 * modification, are permitted provided that the following conditions are met: 8 * * Redistributions of source code must r 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and t 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must r 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and t 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials 12 * documentation and/or other materials provided with the distribution. 13 * * Neither the name of Freescale Semicon 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used 14 * names of its contributors may be used to endorse or promote products 15 * derived from this software without sp 15 * derived from this software without specific prior written permission. 16 * 16 * 17 * 17 * 18 * ALTERNATIVELY, this software may be distrib 18 * ALTERNATIVELY, this software may be distributed under the terms of the 19 * GNU General Public License ("GPL") as publi 19 * GNU General Public License ("GPL") as published by the Free Software 20 * Foundation, either version 2 of that Licens 20 * Foundation, either version 2 of that License or (at your option) any 21 * later version. 21 * later version. 22 * 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 33 */ 34 34 35 &lbc { 35 &lbc { 36 #address-cells = <2>; 36 #address-cells = <2>; 37 #size-cells = <1>; 37 #size-cells = <1>; 38 compatible = "fsl,p2020-elbc", "fsl,el 38 compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus"; 39 interrupts = <19 2 0 0>; 39 interrupts = <19 2 0 0>; 40 }; 40 }; 41 41 42 /* controller at 0xa000 */ 42 /* controller at 0xa000 */ 43 &pci0 { 43 &pci0 { 44 compatible = "fsl,mpc8548-pcie"; 44 compatible = "fsl,mpc8548-pcie"; 45 device_type = "pci"; 45 device_type = "pci"; 46 #size-cells = <2>; 46 #size-cells = <2>; 47 #address-cells = <3>; 47 #address-cells = <3>; 48 bus-range = <0 255>; 48 bus-range = <0 255>; 49 clock-frequency = <33333333>; 49 clock-frequency = <33333333>; 50 interrupts = <26 2 0 0>; 50 interrupts = <26 2 0 0>; 51 law_trgt_if = <2>; << 52 51 53 pcie@0 { 52 pcie@0 { 54 reg = <0 0 0 0 0>; 53 reg = <0 0 0 0 0>; 55 #interrupt-cells = <1>; 54 #interrupt-cells = <1>; 56 #size-cells = <2>; 55 #size-cells = <2>; 57 #address-cells = <3>; 56 #address-cells = <3>; 58 device_type = "pci"; 57 device_type = "pci"; 59 interrupts = <26 2 0 0>; 58 interrupts = <26 2 0 0>; 60 interrupt-map-mask = <0xf800 0 59 interrupt-map-mask = <0xf800 0 0 7>; 61 interrupt-map = < 60 interrupt-map = < 62 /* IDSEL 0x0 */ 61 /* IDSEL 0x0 */ 63 0000 0x0 0x0 0x1 &mpic 62 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0 64 0000 0x0 0x0 0x2 &mpic 63 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0 65 0000 0x0 0x0 0x3 &mpic 64 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0 66 0000 0x0 0x0 0x4 &mpic 65 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0 67 >; 66 >; 68 }; 67 }; 69 }; 68 }; 70 69 71 /* controller at 0x9000 */ 70 /* controller at 0x9000 */ 72 &pci1 { 71 &pci1 { 73 compatible = "fsl,mpc8548-pcie"; 72 compatible = "fsl,mpc8548-pcie"; 74 device_type = "pci"; 73 device_type = "pci"; 75 #size-cells = <2>; 74 #size-cells = <2>; 76 #address-cells = <3>; 75 #address-cells = <3>; 77 bus-range = <0 255>; 76 bus-range = <0 255>; 78 clock-frequency = <33333333>; 77 clock-frequency = <33333333>; 79 interrupts = <25 2 0 0>; 78 interrupts = <25 2 0 0>; 80 law_trgt_if = <1>; << 81 79 82 pcie@0 { 80 pcie@0 { 83 reg = <0 0 0 0 0>; 81 reg = <0 0 0 0 0>; 84 #interrupt-cells = <1>; 82 #interrupt-cells = <1>; 85 #size-cells = <2>; 83 #size-cells = <2>; 86 #address-cells = <3>; 84 #address-cells = <3>; 87 device_type = "pci"; 85 device_type = "pci"; 88 interrupts = <25 2 0 0>; 86 interrupts = <25 2 0 0>; 89 interrupt-map-mask = <0xf800 0 87 interrupt-map-mask = <0xf800 0 0 7>; 90 88 91 interrupt-map = < 89 interrupt-map = < 92 /* IDSEL 0x0 */ 90 /* IDSEL 0x0 */ 93 0000 0x0 0x0 0x1 &mpic 91 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0 94 0000 0x0 0x0 0x2 &mpic 92 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0 95 0000 0x0 0x0 0x3 &mpic 93 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0 96 0000 0x0 0x0 0x4 &mpic 94 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0 97 >; 95 >; 98 }; 96 }; 99 }; 97 }; 100 98 101 /* controller at 0x8000 */ 99 /* controller at 0x8000 */ 102 &pci2 { 100 &pci2 { 103 compatible = "fsl,mpc8548-pcie"; 101 compatible = "fsl,mpc8548-pcie"; 104 device_type = "pci"; 102 device_type = "pci"; 105 #size-cells = <2>; 103 #size-cells = <2>; 106 #address-cells = <3>; 104 #address-cells = <3>; 107 bus-range = <0 255>; 105 bus-range = <0 255>; 108 clock-frequency = <33333333>; 106 clock-frequency = <33333333>; 109 interrupts = <24 2 0 0>; 107 interrupts = <24 2 0 0>; 110 law_trgt_if = <0>; << 111 108 112 pcie@0 { 109 pcie@0 { 113 reg = <0 0 0 0 0>; 110 reg = <0 0 0 0 0>; 114 #interrupt-cells = <1>; 111 #interrupt-cells = <1>; 115 #size-cells = <2>; 112 #size-cells = <2>; 116 #address-cells = <3>; 113 #address-cells = <3>; 117 device_type = "pci"; 114 device_type = "pci"; 118 interrupts = <24 2 0 0>; 115 interrupts = <24 2 0 0>; 119 interrupt-map-mask = <0xf800 0 116 interrupt-map-mask = <0xf800 0 0 7>; 120 117 121 interrupt-map = < 118 interrupt-map = < 122 /* IDSEL 0x0 */ 119 /* IDSEL 0x0 */ 123 0000 0x0 0x0 0x1 &mpic 120 0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0 124 0000 0x0 0x0 0x2 &mpic 121 0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0 125 0000 0x0 0x0 0x3 &mpic 122 0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0 126 0000 0x0 0x0 0x4 &mpic 123 0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0 127 >; 124 >; 128 }; 125 }; 129 }; 126 }; 130 127 131 &soc { 128 &soc { 132 #address-cells = <1>; 129 #address-cells = <1>; 133 #size-cells = <1>; 130 #size-cells = <1>; 134 device_type = "soc"; 131 device_type = "soc"; 135 compatible = "fsl,p2020-immr", "simple 132 compatible = "fsl,p2020-immr", "simple-bus"; 136 bus-frequency = <0>; // Fil 133 bus-frequency = <0>; // Filled out by uboot. 137 134 138 ecm-law@0 { 135 ecm-law@0 { 139 compatible = "fsl,ecm-law"; 136 compatible = "fsl,ecm-law"; 140 reg = <0x0 0x1000>; 137 reg = <0x0 0x1000>; 141 fsl,num-laws = <12>; 138 fsl,num-laws = <12>; 142 }; 139 }; 143 140 144 ecm@1000 { 141 ecm@1000 { 145 compatible = "fsl,p2020-ecm", 142 compatible = "fsl,p2020-ecm", "fsl,ecm"; 146 reg = <0x1000 0x1000>; 143 reg = <0x1000 0x1000>; 147 interrupts = <17 2 0 0>; 144 interrupts = <17 2 0 0>; 148 }; 145 }; 149 146 150 memory-controller@2000 { 147 memory-controller@2000 { 151 compatible = "fsl,p2020-memory 148 compatible = "fsl,p2020-memory-controller"; 152 reg = <0x2000 0x1000>; 149 reg = <0x2000 0x1000>; 153 interrupts = <18 2 0 0>; 150 interrupts = <18 2 0 0>; 154 }; 151 }; 155 152 156 /include/ "pq3-i2c-0.dtsi" 153 /include/ "pq3-i2c-0.dtsi" 157 /include/ "pq3-i2c-1.dtsi" 154 /include/ "pq3-i2c-1.dtsi" 158 /include/ "pq3-duart-0.dtsi" 155 /include/ "pq3-duart-0.dtsi" 159 /include/ "pq3-espi-0.dtsi" 156 /include/ "pq3-espi-0.dtsi" 160 spi0: spi@7000 { 157 spi0: spi@7000 { 161 fsl,espi-num-chipselects = <4> 158 fsl,espi-num-chipselects = <4>; 162 }; 159 }; 163 160 164 /include/ "pq3-dma-1.dtsi" 161 /include/ "pq3-dma-1.dtsi" 165 /include/ "pq3-gpio-0.dtsi" 162 /include/ "pq3-gpio-0.dtsi" 166 163 167 L2: l2-cache-controller@20000 { 164 L2: l2-cache-controller@20000 { 168 compatible = "fsl,p2020-l2-cac 165 compatible = "fsl,p2020-l2-cache-controller"; 169 reg = <0x20000 0x1000>; 166 reg = <0x20000 0x1000>; 170 cache-line-size = <32>; // 32 167 cache-line-size = <32>; // 32 bytes 171 cache-size = <0x80000>; // L2, 168 cache-size = <0x80000>; // L2,512K 172 interrupts = <16 2 0 0>; 169 interrupts = <16 2 0 0>; 173 }; 170 }; 174 171 175 /include/ "pq3-dma-0.dtsi" 172 /include/ "pq3-dma-0.dtsi" 176 /include/ "pq3-usb2-dr-0.dtsi" 173 /include/ "pq3-usb2-dr-0.dtsi" 177 usb@22000 { 174 usb@22000 { 178 compatible = "fsl-usb2-dr-v1.6 175 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; 179 }; 176 }; 180 /include/ "pq3-etsec1-0.dtsi" 177 /include/ "pq3-etsec1-0.dtsi" 181 enet0: ethernet@24000 { << 182 fsl,pmc-handle = <&etsec1_clk> << 183 << 184 }; << 185 /include/ "pq3-etsec1-timer-0.dtsi" 178 /include/ "pq3-etsec1-timer-0.dtsi" 186 179 187 ptp_clock@24e00 { 180 ptp_clock@24e00 { 188 interrupts = <68 2 0 0 69 2 0 181 interrupts = <68 2 0 0 69 2 0 0 70 2 0 0>; 189 }; 182 }; 190 183 191 184 192 /include/ "pq3-etsec1-1.dtsi" 185 /include/ "pq3-etsec1-1.dtsi" 193 enet1: ethernet@25000 { << 194 fsl,pmc-handle = <&etsec2_clk> << 195 }; << 196 << 197 /include/ "pq3-etsec1-2.dtsi" 186 /include/ "pq3-etsec1-2.dtsi" 198 enet2: ethernet@26000 { << 199 fsl,pmc-handle = <&etsec3_clk> << 200 }; << 201 << 202 /include/ "pq3-esdhc-0.dtsi" 187 /include/ "pq3-esdhc-0.dtsi" 203 sdhc@2e000 { 188 sdhc@2e000 { 204 compatible = "fsl,p2020-esdhc" 189 compatible = "fsl,p2020-esdhc", "fsl,esdhc"; 205 }; 190 }; 206 191 207 /include/ "pq3-sec3.1-0.dtsi" 192 /include/ "pq3-sec3.1-0.dtsi" 208 /include/ "pq3-mpic.dtsi" 193 /include/ "pq3-mpic.dtsi" 209 /include/ "pq3-mpic-timer-B.dtsi" 194 /include/ "pq3-mpic-timer-B.dtsi" 210 195 211 global-utilities@e0000 { 196 global-utilities@e0000 { 212 compatible = "fsl,p2020-guts"; 197 compatible = "fsl,p2020-guts"; 213 reg = <0xe0000 0x1000>; 198 reg = <0xe0000 0x1000>; 214 fsl,has-rstcr; 199 fsl,has-rstcr; 215 }; 200 }; 216 << 217 /include/ "pq3-power.dtsi" << 218 }; 201 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.