4 * Copyright(c) 2014 Broadcom Corporation. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
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
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.
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.
33 #include <dt-bindings/interrupt-controller/arm-gic.h>
34 #include <dt-bindings/interrupt-controller/irq.h>
35 #include <dt-bindings/clock/bcm-cygnus.h>
37 #include "skeleton.dtsi"
40 compatible = "brcm,cygnus";
41 model = "Broadcom Cygnus SoC";
42 interrupt-parent = <&gic>;
50 compatible = "arm,cortex-a9";
51 next-level-cache = <&L2>;
56 /include/ "bcm-cygnus-clock.dtsi"
59 compatible = "simple-bus";
60 ranges = <0x00000000 0x19000000 0x1000000>;
65 compatible = "arm,cortex-a9-global-timer";
66 reg = <0x20200 0x100>;
67 interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
68 clocks = <&periph_clk>;
71 gic: interrupt-controller@21000 {
72 compatible = "arm,cortex-a9-gic";
73 #interrupt-cells = <3>;
76 reg = <0x21000 0x1000>,
81 compatible = "arm,pl310-cache";
82 reg = <0x22000 0x1000>;
89 compatible = "simple-bus";
95 compatible = "brcm,ocotp";
96 reg = <0x0301c800 0x2c>;
97 brcm,ocotp-size = <2048>;
101 pcie_phy: phy@0301d0a0 {
102 compatible = "brcm,cygnus-pcie-phy";
103 reg = <0x0301d0a0 0x14>;
104 #address-cells = <1>;
118 pinctrl: pinctrl@0301d0c8 {
119 compatible = "brcm,cygnus-pinmux";
120 reg = <0x0301d0c8 0x30>,
124 mailbox: mailbox@03024024 {
125 compatible = "brcm,iproc-mailbox";
126 reg = <0x03024024 0x40>;
127 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
128 #interrupt-cells = <1>;
129 interrupt-controller;
133 gpio_crmu: gpio@03024800 {
134 compatible = "brcm,cygnus-crmu-gpio";
135 reg = <0x03024800 0x50>,
140 interrupt-controller;
141 interrupt-parent = <&mailbox>;
145 mdio: mdio@18002000 {
146 compatible = "brcm,iproc-mdio";
147 reg = <0x18002000 0x8>;
149 #address-cells = <0>;
152 gphy0: ethernet-phy@0 {
156 gphy1: ethernet-phy@1 {
161 switch: switch@18007000 {
162 compatible = "brcm,bcm11360-srab", "brcm,cygnus-srab";
163 reg = <0x18007000 0x1000>;
167 #address-cells = <1>;
172 phy-handle = <&gphy0>;
178 phy-handle = <&gphy1>;
195 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
196 reg = <0x18008000 0x100>;
197 #address-cells = <1>;
199 interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
200 clock-frequency = <100000>;
205 compatible = "arm,sp805" , "arm,primecell";
206 reg = <0x18009000 0x1000>;
207 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
208 clocks = <&axi81_clk>;
209 clock-names = "apb_pclk";
212 gpio_ccm: gpio@1800a000 {
213 compatible = "brcm,cygnus-ccm-gpio";
214 reg = <0x1800a000 0x50>,
219 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
220 interrupt-controller;
224 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
225 reg = <0x1800b000 0x100>;
226 #address-cells = <1>;
228 interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>;
229 clock-frequency = <100000>;
233 pcie0: pcie@18012000 {
234 compatible = "brcm,iproc-pcie";
235 reg = <0x18012000 0x1000>;
237 #interrupt-cells = <1>;
238 interrupt-map-mask = <0 0 0 0>;
239 interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>;
241 linux,pci-domain = <0>;
243 bus-range = <0x00 0xff>;
245 #address-cells = <3>;
248 ranges = <0x81000000 0 0 0x28000000 0 0x00010000
249 0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
252 phy-names = "pcie-phy";
256 msi-parent = <&msi0>;
257 msi0: msi-controller {
258 compatible = "brcm,iproc-msi";
260 interrupt-parent = <&gic>;
261 interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>,
262 <GIC_SPI 97 IRQ_TYPE_NONE>,
263 <GIC_SPI 98 IRQ_TYPE_NONE>,
264 <GIC_SPI 99 IRQ_TYPE_NONE>;
268 pcie1: pcie@18013000 {
269 compatible = "brcm,iproc-pcie";
270 reg = <0x18013000 0x1000>;
272 #interrupt-cells = <1>;
273 interrupt-map-mask = <0 0 0 0>;
274 interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>;
276 linux,pci-domain = <1>;
278 bus-range = <0x00 0xff>;
280 #address-cells = <3>;
283 ranges = <0x81000000 0 0 0x48000000 0 0x00010000
284 0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
287 phy-names = "pcie-phy";
291 msi-parent = <&msi1>;
292 msi1: msi-controller {
293 compatible = "brcm,iproc-msi";
295 interrupt-parent = <&gic>;
296 interrupts = <GIC_SPI 102 IRQ_TYPE_NONE>,
297 <GIC_SPI 103 IRQ_TYPE_NONE>,
298 <GIC_SPI 104 IRQ_TYPE_NONE>,
299 <GIC_SPI 105 IRQ_TYPE_NONE>;
303 uart0: serial@18020000 {
304 compatible = "snps,dw-apb-uart";
305 reg = <0x18020000 0x100>;
308 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&axi81_clk>;
310 clock-frequency = <100000000>;
314 uart1: serial@18021000 {
315 compatible = "snps,dw-apb-uart";
316 reg = <0x18021000 0x100>;
319 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
320 clocks = <&axi81_clk>;
321 clock-frequency = <100000000>;
325 uart2: serial@18022000 {
326 compatible = "snps,dw-apb-uart";
327 reg = <0x18020000 0x100>;
330 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
331 clocks = <&axi81_clk>;
332 clock-frequency = <100000000>;
336 uart3: serial@18023000 {
337 compatible = "snps,dw-apb-uart";
338 reg = <0x18023000 0x100>;
341 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
342 clocks = <&axi81_clk>;
343 clock-frequency = <100000000>;
347 eth0: ethernet@18042000 {
348 compatible = "brcm,amac";
349 reg = <0x18042000 0x1000>,
351 reg-names = "amac_base", "idm_base";
352 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
356 nand: nand@18046000 {
357 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
358 reg = <0x18046000 0x600>, <0xf8105408 0x600>,
360 reg-names = "nand", "iproc-idm", "iproc-ext";
361 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
363 #address-cells = <1>;
369 gpio_asiu: gpio@180a5000 {
370 compatible = "brcm,cygnus-asiu-gpio";
371 reg = <0x180a5000 0x668>;
376 interrupt-controller;
377 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
378 gpio-ranges = <&pinctrl 0 42 1>,
390 <&pinctrl 24 130 10>,
405 <&pinctrl 70 156 17>,
406 <&pinctrl 87 104 12>,
409 <&pinctrl 105 116 6>,
410 <&pinctrl 111 100 2>,
411 <&pinctrl 113 122 4>,
431 ts_adc_syscon: ts_adc_syscon@180a6000 {
432 compatible = "brcm,iproc-ts-adc-syscon", "syscon";
433 reg = <0x180a6000 0xc30>;
436 touchscreen: touchscreen@180a6000 {
437 compatible = "brcm,iproc-touchscreen";
438 #address-cells = <1>;
440 ts_syscon = <&ts_adc_syscon>;
441 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
442 clock-names = "tsc_clk";
443 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
448 compatible = "brcm,cygnus-v3d";
449 reg = <0x180a2000 0x1000>;
450 clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
451 clock-names = "v3d_clk";
452 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
457 compatible = "brcm,cygnus-vc4";
461 compatible = "brcm,iproc-static-adc";
462 #io-channel-cells = <1>;
464 adc-syscon = <&ts_adc_syscon>;
465 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
466 clock-names = "tsc_clk";
467 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;