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 = "arm,cortex-a9-pmu";
60 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
64 compatible = "simple-bus";
65 ranges = <0x00000000 0x19000000 0x1000000>;
70 compatible = "arm,cortex-a9-global-timer";
71 reg = <0x20200 0x100>;
72 interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
73 clocks = <&periph_clk>;
76 gic: interrupt-controller@21000 {
77 compatible = "arm,cortex-a9-gic";
78 #interrupt-cells = <3>;
81 reg = <0x21000 0x1000>,
86 compatible = "arm,pl310-cache";
87 reg = <0x22000 0x1000>;
94 compatible = "simple-bus";
100 compatible = "brcm,ocotp";
101 reg = <0x0301c800 0x2c>;
102 brcm,ocotp-size = <2048>;
106 pcie_phy: phy@0301d0a0 {
107 compatible = "brcm,cygnus-pcie-phy";
108 reg = <0x0301d0a0 0x14>;
109 #address-cells = <1>;
123 pinctrl: pinctrl@0301d0c8 {
124 compatible = "brcm,cygnus-pinmux";
125 reg = <0x0301d0c8 0x30>,
144 mailbox: mailbox@03024024 {
145 compatible = "brcm,iproc-mailbox";
146 reg = <0x03024024 0x40>;
147 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
148 #interrupt-cells = <1>;
149 interrupt-controller;
153 gpio_crmu: gpio@03024800 {
154 compatible = "brcm,cygnus-crmu-gpio";
155 reg = <0x03024800 0x50>,
160 interrupt-controller;
161 interrupt-parent = <&mailbox>;
165 mdio: mdio@18002000 {
166 compatible = "brcm,iproc-mdio";
167 reg = <0x18002000 0x8>;
169 #address-cells = <0>;
172 gphy0: ethernet-phy@0 {
176 gphy1: ethernet-phy@1 {
181 switch: switch@18007000 {
182 compatible = "brcm,bcm11360-srab", "brcm,cygnus-srab";
183 reg = <0x18007000 0x1000>;
187 #address-cells = <1>;
192 phy-handle = <&gphy0>;
198 phy-handle = <&gphy1>;
215 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
216 reg = <0x18008000 0x100>;
217 #address-cells = <1>;
219 interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
220 clock-frequency = <100000>;
225 compatible = "arm,sp805" , "arm,primecell";
226 reg = <0x18009000 0x1000>;
227 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
228 clocks = <&axi81_clk>;
229 clock-names = "apb_pclk";
232 gpio_ccm: gpio@1800a000 {
233 compatible = "brcm,cygnus-ccm-gpio";
234 reg = <0x1800a000 0x50>,
239 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
240 interrupt-controller;
244 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
245 reg = <0x1800b000 0x100>;
246 #address-cells = <1>;
248 interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>;
249 clock-frequency = <100000>;
253 pcie0: pcie@18012000 {
254 compatible = "brcm,iproc-pcie";
255 reg = <0x18012000 0x1000>;
257 #interrupt-cells = <1>;
258 interrupt-map-mask = <0 0 0 0>;
259 interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>;
261 linux,pci-domain = <0>;
263 bus-range = <0x00 0xff>;
265 #address-cells = <3>;
268 ranges = <0x81000000 0 0 0x28000000 0 0x00010000
269 0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
272 phy-names = "pcie-phy";
276 msi-parent = <&msi0>;
277 msi0: msi-controller {
278 compatible = "brcm,iproc-msi";
280 interrupt-parent = <&gic>;
281 interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>,
282 <GIC_SPI 97 IRQ_TYPE_NONE>,
283 <GIC_SPI 98 IRQ_TYPE_NONE>,
284 <GIC_SPI 99 IRQ_TYPE_NONE>;
288 pcie1: pcie@18013000 {
289 compatible = "brcm,iproc-pcie";
290 reg = <0x18013000 0x1000>;
292 #interrupt-cells = <1>;
293 interrupt-map-mask = <0 0 0 0>;
294 interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>;
296 linux,pci-domain = <1>;
298 bus-range = <0x00 0xff>;
300 #address-cells = <3>;
303 ranges = <0x81000000 0 0 0x48000000 0 0x00010000
304 0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
307 phy-names = "pcie-phy";
311 msi-parent = <&msi1>;
312 msi1: msi-controller {
313 compatible = "brcm,iproc-msi";
315 interrupt-parent = <&gic>;
316 interrupts = <GIC_SPI 102 IRQ_TYPE_NONE>,
317 <GIC_SPI 103 IRQ_TYPE_NONE>,
318 <GIC_SPI 104 IRQ_TYPE_NONE>,
319 <GIC_SPI 105 IRQ_TYPE_NONE>;
324 compatible = "arm,pl330", "arm,primecell";
325 reg = <0x18018000 0x1000>;
326 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
327 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
328 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
329 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
333 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
334 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
336 clock-names = "apb_pclk";
340 uart0: serial@18020000 {
341 compatible = "snps,dw-apb-uart";
342 reg = <0x18020000 0x100>;
345 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
346 clocks = <&axi81_clk>;
347 clock-frequency = <100000000>;
351 uart1: serial@18021000 {
352 compatible = "snps,dw-apb-uart";
353 reg = <0x18021000 0x100>;
356 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
357 clocks = <&axi81_clk>;
358 clock-frequency = <100000000>;
362 uart2: serial@18022000 {
363 compatible = "snps,dw-apb-uart";
364 reg = <0x18022000 0x100>;
367 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
368 clocks = <&axi81_clk>;
369 clock-frequency = <100000000>;
373 uart3: serial@18023000 {
374 compatible = "snps,dw-apb-uart";
375 reg = <0x18023000 0x100>;
378 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
379 clocks = <&axi81_clk>;
380 clock-frequency = <100000000>;
385 compatible = "arm,pl022", "arm,primecell";
386 reg = <0x18028000 0x1000>;
387 #address-cells = <1>;
389 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
390 pinctrl-0 = <&spi_0>;
391 clocks = <&axi81_clk>;
392 clock-names = "apb_pclk";
397 compatible = "arm,pl022", "arm,primecell";
398 reg = <0x18029000 0x1000>;
399 #address-cells = <1>;
401 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
402 pinctrl-0 = <&spi_1>;
403 clocks = <&axi81_clk>;
404 clock-names = "apb_pclk";
409 compatible = "arm,pl022", "arm,primecell";
410 reg = <0x1802a000 0x1000>;
411 #address-cells = <1>;
413 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
414 pinctrl-0 = <&spi_2>;
415 clocks = <&axi81_clk>;
416 clock-names = "apb_pclk";
420 sdhci0: sdhci@18041000 {
421 compatible = "brcm,sdhci-iproc-cygnus";
422 reg = <0x18041000 0x100>;
423 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
424 clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>;
430 eth0: ethernet@18042000 {
431 compatible = "brcm,amac";
432 reg = <0x18042000 0x1000>,
434 reg-names = "amac_base", "idm_base";
435 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
439 sdhci1: sdhci@18043000 {
440 compatible = "brcm,sdhci-iproc-cygnus";
441 reg = <0x18043000 0x100>;
442 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>;
449 nand: nand@18046000 {
450 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
451 reg = <0x18046000 0x600>, <0xf8105408 0x600>,
453 reg-names = "nand", "iproc-idm", "iproc-ext";
454 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
456 #address-cells = <1>;
462 ehci0: usb@18048000 {
463 compatible = "generic-ehci";
464 reg = <0x18048000 0x100>;
465 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
469 ohci0: usb@18048800 {
470 compatible = "generic-ohci";
471 reg = <0x18048800 0x100>;
472 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
477 compatible = "brcm,cygnus-v3d";
478 reg = <0x180a2000 0x1000>;
479 clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
480 clock-names = "v3d_clk";
481 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
486 compatible = "brcm,cygnus-vc4";
489 gpio_asiu: gpio@180a5000 {
490 compatible = "brcm,cygnus-asiu-gpio";
491 reg = <0x180a5000 0x668>;
496 interrupt-controller;
497 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
498 gpio-ranges = <&pinctrl 0 42 1>,
510 <&pinctrl 24 130 10>,
525 <&pinctrl 70 156 17>,
526 <&pinctrl 87 104 12>,
529 <&pinctrl 105 116 6>,
530 <&pinctrl 111 100 2>,
531 <&pinctrl 113 122 4>,
551 ts_adc_syscon: ts_adc_syscon@180a6000 {
552 compatible = "brcm,iproc-ts-adc-syscon", "syscon";
553 reg = <0x180a6000 0xc30>;
556 touchscreen: touchscreen@180a6000 {
557 compatible = "brcm,iproc-touchscreen";
558 #address-cells = <1>;
560 ts_syscon = <&ts_adc_syscon>;
561 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
562 clock-names = "tsc_clk";
563 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
568 compatible = "brcm,iproc-static-adc";
569 #io-channel-cells = <1>;
571 adc-syscon = <&ts_adc_syscon>;
572 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
573 clock-names = "tsc_clk";
574 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
578 keypad: keypad@180ac000 {
579 compatible = "brcm,bcm-keypad";
580 reg = <0x180ac000 0x14c>;
581 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
582 clocks = <&asiu_clks BCM_CYGNUS_ASIU_KEYPAD_CLK>;
583 clock-names = "peri_clk";
584 clock-frequency = <31250>;
586 col-debounce-filter-period = <0>;
587 status-debounce-filter-period = <0>;