Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 1 | /* |
| 2 | * BSD LICENSE |
| 3 | * |
| 4 | * Copyright(c) 2015 Broadcom Corporation. All rights reserved. |
| 5 | * |
| 6 | * Redistribution and use in source and binary forms, with or without |
| 7 | * modification, are permitted provided that the following conditions |
| 8 | * are met: |
| 9 | * |
| 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 |
| 14 | * the documentation and/or other materials provided with the |
| 15 | * distribution. |
| 16 | * * Neither the name of Broadcom Corporation nor the names of its |
| 17 | * contributors may be used to endorse or promote products derived |
| 18 | * from this software without specific prior written permission. |
| 19 | * |
| 20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | */ |
| 32 | |
| 33 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 34 | #include <dt-bindings/interrupt-controller/irq.h> |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 35 | #include <dt-bindings/clock/bcm-nsp.h> |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 36 | |
| 37 | #include "skeleton.dtsi" |
| 38 | |
| 39 | / { |
| 40 | compatible = "brcm,nsp"; |
| 41 | model = "Broadcom Northstar Plus SoC"; |
| 42 | interrupt-parent = <&gic>; |
| 43 | |
Kapil Hali | 944725f | 2015-12-05 06:53:42 -0500 | [diff] [blame] | 44 | cpus { |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | |
Jon Mason | 9d57f60 | 2016-02-05 17:43:22 -0500 | [diff] [blame] | 48 | cpu0: cpu@0 { |
Kapil Hali | 944725f | 2015-12-05 06:53:42 -0500 | [diff] [blame] | 49 | device_type = "cpu"; |
| 50 | compatible = "arm,cortex-a9"; |
| 51 | next-level-cache = <&L2>; |
| 52 | reg = <0x0>; |
| 53 | }; |
| 54 | |
Jon Mason | 9d57f60 | 2016-02-05 17:43:22 -0500 | [diff] [blame] | 55 | cpu1: cpu@1 { |
Kapil Hali | 944725f | 2015-12-05 06:53:42 -0500 | [diff] [blame] | 56 | device_type = "cpu"; |
| 57 | compatible = "arm,cortex-a9"; |
| 58 | next-level-cache = <&L2>; |
| 59 | enable-method = "brcm,bcm-nsp-smp"; |
Jon Mason | f7f20cb | 2016-05-05 19:29:31 -0400 | [diff] [blame] | 60 | secondary-boot-reg = <0xffff0fec>; |
Kapil Hali | 944725f | 2015-12-05 06:53:42 -0500 | [diff] [blame] | 61 | reg = <0x1>; |
| 62 | }; |
| 63 | }; |
| 64 | |
Jon Mason | 9d57f60 | 2016-02-05 17:43:22 -0500 | [diff] [blame] | 65 | pmu { |
| 66 | compatible = "arm,cortex-a9-pmu"; |
| 67 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH |
| 68 | GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 69 | interrupt-affinity = <&cpu0>, <&cpu1>; |
| 70 | }; |
| 71 | |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 72 | mpcore { |
| 73 | compatible = "simple-bus"; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 74 | ranges = <0x00000000 0x19000000 0x00023000>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 75 | #address-cells = <1>; |
| 76 | #size-cells = <1>; |
| 77 | |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 78 | a9pll: arm_clk@00000 { |
| 79 | #clock-cells = <0>; |
| 80 | compatible = "brcm,nsp-armpll"; |
| 81 | clocks = <&osc>; |
| 82 | reg = <0x00000 0x1000>; |
| 83 | }; |
| 84 | |
| 85 | timer@20200 { |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 86 | compatible = "arm,cortex-a9-global-timer"; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 87 | reg = <0x20200 0x100>; |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 88 | interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 89 | clocks = <&periph_clk>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 90 | }; |
| 91 | |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 92 | twd-timer@20600 { |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 93 | compatible = "arm,cortex-a9-twd-timer"; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 94 | reg = <0x20600 0x20>; |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 95 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | |
| 96 | IRQ_TYPE_LEVEL_HIGH)>; |
| 97 | clocks = <&periph_clk>; |
| 98 | }; |
| 99 | |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 100 | twd-watchdog@20620 { |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 101 | compatible = "arm,cortex-a9-twd-wdt"; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 102 | reg = <0x20620 0x20>; |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 103 | interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | |
| 104 | IRQ_TYPE_LEVEL_HIGH)>; |
| 105 | clocks = <&periph_clk>; |
| 106 | }; |
| 107 | |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 108 | gic: interrupt-controller@21000 { |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 109 | compatible = "arm,cortex-a9-gic"; |
| 110 | #interrupt-cells = <3>; |
| 111 | #address-cells = <0>; |
| 112 | interrupt-controller; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 113 | reg = <0x21000 0x1000>, |
| 114 | <0x20100 0x100>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 115 | }; |
| 116 | |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 117 | L2: l2-cache { |
| 118 | compatible = "arm,pl310-cache"; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 119 | reg = <0x22000 0x1000>; |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 120 | cache-unified; |
| 121 | cache-level = <2>; |
Jon Mason | 1a9d53c | 2015-11-02 13:40:58 -0500 | [diff] [blame] | 122 | }; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 123 | }; |
| 124 | |
| 125 | clocks { |
| 126 | #address-cells = <1>; |
| 127 | #size-cells = <1>; |
| 128 | ranges; |
| 129 | |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 130 | osc: oscillator { |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 131 | #clock-cells = <0>; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 132 | compatible = "fixed-clock"; |
| 133 | clock-frequency = <25000000>; |
| 134 | }; |
| 135 | |
| 136 | iprocmed: iprocmed { |
| 137 | #clock-cells = <0>; |
| 138 | compatible = "fixed-factor-clock"; |
| 139 | clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>; |
| 140 | clock-div = <2>; |
| 141 | clock-mult = <1>; |
| 142 | }; |
| 143 | |
| 144 | iprocslow: iprocslow { |
| 145 | #clock-cells = <0>; |
| 146 | compatible = "fixed-factor-clock"; |
| 147 | clocks = <&genpll BCM_NSP_GENPLL_IPROCFAST_CLK>; |
| 148 | clock-div = <4>; |
| 149 | clock-mult = <1>; |
| 150 | }; |
| 151 | |
| 152 | periph_clk: periph_clk { |
| 153 | #clock-cells = <0>; |
| 154 | compatible = "fixed-factor-clock"; |
| 155 | clocks = <&a9pll>; |
| 156 | clock-div = <2>; |
| 157 | clock-mult = <1>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 158 | }; |
| 159 | }; |
| 160 | |
| 161 | axi { |
| 162 | compatible = "simple-bus"; |
Jon Mason | 4125475 | 2015-11-02 13:40:57 -0500 | [diff] [blame] | 163 | ranges = <0x00000000 0x18000000 0x0011ba08>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 164 | #address-cells = <1>; |
| 165 | #size-cells = <1>; |
| 166 | |
Yendapally Reddy Dhananjaya Reddy | 018e4fe | 2015-12-04 12:12:42 -0500 | [diff] [blame] | 167 | gpioa: gpio@0020 { |
| 168 | compatible = "brcm,nsp-gpio-a"; |
| 169 | reg = <0x0020 0x70>, |
| 170 | <0x3f1c4 0x1c>; |
| 171 | #gpio-cells = <2>; |
| 172 | gpio-controller; |
| 173 | ngpios = <32>; |
| 174 | interrupt-controller; |
| 175 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
| 176 | gpio-ranges = <&pinctrl 0 0 32>; |
| 177 | }; |
| 178 | |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 179 | uart0: serial@0300 { |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 180 | compatible = "ns16550a"; |
| 181 | reg = <0x0300 0x100>; |
| 182 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 183 | clocks = <&osc>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 184 | status = "disabled"; |
| 185 | }; |
| 186 | |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 187 | uart1: serial@0400 { |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 188 | compatible = "ns16550a"; |
| 189 | reg = <0x0400 0x100>; |
| 190 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 191 | clocks = <&osc>; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 192 | status = "disabled"; |
| 193 | }; |
Jon Mason | 1dbcfb2 | 2015-11-02 13:40:56 -0500 | [diff] [blame] | 194 | |
Jon Mason | 5fa1026 | 2016-06-07 18:28:07 -0400 | [diff] [blame^] | 195 | dma@20000 { |
| 196 | compatible = "arm,pl330", "arm,primecell"; |
| 197 | reg = <0x20000 0x1000>; |
| 198 | interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, |
| 199 | <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, |
| 200 | <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, |
| 201 | <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, |
| 202 | <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, |
| 203 | <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, |
| 204 | <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, |
| 205 | <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, |
| 206 | <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 207 | clocks = <&iprocslow>; |
| 208 | clock-names = "apb_pclk"; |
| 209 | #dma-cells = <1>; |
| 210 | }; |
| 211 | |
Jon Mason | 7ba8cd8 | 2015-11-17 14:55:26 -0500 | [diff] [blame] | 212 | nand: nand@26000 { |
Jon Mason | 4125475 | 2015-11-02 13:40:57 -0500 | [diff] [blame] | 213 | compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; |
| 214 | reg = <0x026000 0x600>, |
| 215 | <0x11b408 0x600>, |
| 216 | <0x026f00 0x20>; |
| 217 | reg-names = "nand", "iproc-idm", "iproc-ext"; |
| 218 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; |
| 219 | |
| 220 | #address-cells = <1>; |
| 221 | #size-cells = <0>; |
| 222 | |
| 223 | brcm,nand-has-wp; |
| 224 | }; |
Jon Mason | 0f9f27a | 2015-11-17 14:55:27 -0500 | [diff] [blame] | 225 | |
Jon Mason | a0efb0d | 2016-02-06 12:53:39 -0500 | [diff] [blame] | 226 | ccbtimer0: timer@34000 { |
| 227 | compatible = "arm,sp804"; |
| 228 | reg = <0x34000 0x1000>; |
| 229 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, |
| 230 | <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
| 231 | clocks = <&iprocslow>; |
| 232 | clock-names = "apb_pclk"; |
| 233 | }; |
| 234 | |
| 235 | ccbtimer1: timer@35000 { |
| 236 | compatible = "arm,sp804"; |
| 237 | reg = <0x35000 0x1000>; |
| 238 | interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, |
| 239 | <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
| 240 | clocks = <&iprocslow>; |
| 241 | clock-names = "apb_pclk"; |
| 242 | }; |
| 243 | |
Jon Mason | 0f9f27a | 2015-11-17 14:55:27 -0500 | [diff] [blame] | 244 | i2c0: i2c@38000 { |
| 245 | compatible = "brcm,iproc-i2c"; |
| 246 | reg = <0x38000 0x50>; |
| 247 | #address-cells = <1>; |
| 248 | #size-cells = <0>; |
| 249 | interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>; |
| 250 | clock-frequency = <100000>; |
| 251 | }; |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 252 | |
Jon Mason | 7c3fe8a | 2016-02-05 17:43:23 -0500 | [diff] [blame] | 253 | watchdog@39000 { |
| 254 | compatible = "arm,sp805", "arm,primecell"; |
| 255 | reg = <0x39000 0x1000>; |
| 256 | interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; |
| 257 | clocks = <&iprocslow>, <&iprocslow>; |
| 258 | clock-names = "wdogclk", "apb_pclk"; |
| 259 | }; |
| 260 | |
Jon Mason | da3f974 | 2015-11-20 10:17:19 -0500 | [diff] [blame] | 261 | lcpll0: lcpll0@3f100 { |
| 262 | #clock-cells = <1>; |
| 263 | compatible = "brcm,nsp-lcpll0"; |
| 264 | reg = <0x3f100 0x14>; |
| 265 | clocks = <&osc>; |
| 266 | clock-output-names = "lcpll0", "pcie_phy", "sdio", |
| 267 | "ddr_phy"; |
| 268 | }; |
| 269 | |
| 270 | genpll: genpll@3f140 { |
| 271 | #clock-cells = <1>; |
| 272 | compatible = "brcm,nsp-genpll"; |
| 273 | reg = <0x3f140 0x24>; |
| 274 | clocks = <&osc>; |
| 275 | clock-output-names = "genpll", "phy", "ethernetclk", |
| 276 | "usbclk", "iprocfast", "sata1", |
| 277 | "sata2"; |
| 278 | }; |
Yendapally Reddy Dhananjaya Reddy | ea2d897 | 2015-11-20 12:58:29 -0500 | [diff] [blame] | 279 | |
| 280 | pinctrl: pinctrl@3f1c0 { |
| 281 | compatible = "brcm,nsp-pinmux"; |
| 282 | reg = <0x3f1c0 0x04>, |
| 283 | <0x30028 0x04>, |
| 284 | <0x3f408 0x04>; |
| 285 | }; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 286 | }; |
Jon Mason | 5221990 | 2016-02-05 17:43:20 -0500 | [diff] [blame] | 287 | |
| 288 | pcie0: pcie@18012000 { |
| 289 | compatible = "brcm,iproc-pcie"; |
| 290 | reg = <0x18012000 0x1000>; |
| 291 | |
| 292 | #interrupt-cells = <1>; |
| 293 | interrupt-map-mask = <0 0 0 0>; |
| 294 | interrupt-map = <0 0 0 0 &gic GIC_SPI 131 IRQ_TYPE_NONE>; |
| 295 | |
| 296 | linux,pci-domain = <0>; |
| 297 | |
| 298 | bus-range = <0x00 0xff>; |
| 299 | |
| 300 | #address-cells = <3>; |
| 301 | #size-cells = <2>; |
| 302 | device_type = "pci"; |
| 303 | |
| 304 | /* Note: The HW does not support I/O resources. So, |
| 305 | * only the memory resource range is being specified. |
| 306 | */ |
| 307 | ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>; |
| 308 | |
| 309 | status = "disabled"; |
Jon Mason | d71eb94 | 2016-05-05 19:29:30 -0400 | [diff] [blame] | 310 | |
| 311 | msi-parent = <&msi0>; |
| 312 | msi0: msi@18012000 { |
| 313 | compatible = "brcm,iproc-msi"; |
| 314 | msi-controller; |
| 315 | interrupt-parent = <&gic>; |
| 316 | interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>, |
| 317 | <GIC_SPI 128 IRQ_TYPE_NONE>, |
| 318 | <GIC_SPI 129 IRQ_TYPE_NONE>, |
| 319 | <GIC_SPI 130 IRQ_TYPE_NONE>; |
| 320 | brcm,pcie-msi-inten; |
| 321 | }; |
Jon Mason | 5221990 | 2016-02-05 17:43:20 -0500 | [diff] [blame] | 322 | }; |
| 323 | |
| 324 | pcie1: pcie@18013000 { |
| 325 | compatible = "brcm,iproc-pcie"; |
| 326 | reg = <0x18013000 0x1000>; |
| 327 | |
| 328 | #interrupt-cells = <1>; |
| 329 | interrupt-map-mask = <0 0 0 0>; |
| 330 | interrupt-map = <0 0 0 0 &gic GIC_SPI 137 IRQ_TYPE_NONE>; |
| 331 | |
| 332 | linux,pci-domain = <1>; |
| 333 | |
| 334 | bus-range = <0x00 0xff>; |
| 335 | |
| 336 | #address-cells = <3>; |
| 337 | #size-cells = <2>; |
| 338 | device_type = "pci"; |
| 339 | |
| 340 | /* Note: The HW does not support I/O resources. So, |
| 341 | * only the memory resource range is being specified. |
| 342 | */ |
| 343 | ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>; |
| 344 | |
| 345 | status = "disabled"; |
Jon Mason | d71eb94 | 2016-05-05 19:29:30 -0400 | [diff] [blame] | 346 | |
| 347 | msi-parent = <&msi1>; |
| 348 | msi1: msi@18013000 { |
| 349 | compatible = "brcm,iproc-msi"; |
| 350 | msi-controller; |
| 351 | interrupt-parent = <&gic>; |
| 352 | interrupts = <GIC_SPI 133 IRQ_TYPE_NONE>, |
| 353 | <GIC_SPI 134 IRQ_TYPE_NONE>, |
| 354 | <GIC_SPI 135 IRQ_TYPE_NONE>, |
| 355 | <GIC_SPI 136 IRQ_TYPE_NONE>; |
| 356 | brcm,pcie-msi-inten; |
| 357 | }; |
Jon Mason | 5221990 | 2016-02-05 17:43:20 -0500 | [diff] [blame] | 358 | }; |
| 359 | |
| 360 | pcie2: pcie@18014000 { |
| 361 | compatible = "brcm,iproc-pcie"; |
| 362 | reg = <0x18014000 0x1000>; |
| 363 | |
| 364 | #interrupt-cells = <1>; |
| 365 | interrupt-map-mask = <0 0 0 0>; |
| 366 | interrupt-map = <0 0 0 0 &gic GIC_SPI 143 IRQ_TYPE_NONE>; |
| 367 | |
| 368 | linux,pci-domain = <2>; |
| 369 | |
| 370 | bus-range = <0x00 0xff>; |
| 371 | |
| 372 | #address-cells = <3>; |
| 373 | #size-cells = <2>; |
| 374 | device_type = "pci"; |
| 375 | |
| 376 | /* Note: The HW does not support I/O resources. So, |
| 377 | * only the memory resource range is being specified. |
| 378 | */ |
| 379 | ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>; |
| 380 | |
| 381 | status = "disabled"; |
Jon Mason | d71eb94 | 2016-05-05 19:29:30 -0400 | [diff] [blame] | 382 | |
| 383 | msi-parent = <&msi2>; |
| 384 | msi2: msi@18014000 { |
| 385 | compatible = "brcm,iproc-msi"; |
| 386 | msi-controller; |
| 387 | interrupt-parent = <&gic>; |
| 388 | interrupts = <GIC_SPI 139 IRQ_TYPE_NONE>, |
| 389 | <GIC_SPI 140 IRQ_TYPE_NONE>, |
| 390 | <GIC_SPI 141 IRQ_TYPE_NONE>, |
| 391 | <GIC_SPI 142 IRQ_TYPE_NONE>; |
| 392 | brcm,pcie-msi-inten; |
| 393 | }; |
Jon Mason | 5221990 | 2016-02-05 17:43:20 -0500 | [diff] [blame] | 394 | }; |
Jon Mason | 7b2e987 | 2015-08-31 19:48:53 -0400 | [diff] [blame] | 395 | }; |