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>
40 compatible = "brcm,cygnus";
41 model = "Broadcom Cygnus SoC";
42 interrupt-parent = <&gic>;
49 device_type = "memory";
59 compatible = "arm,cortex-a9";
60 next-level-cache = <&L2>;
65 /include/ "bcm-cygnus-clock.dtsi"
68 compatible = "arm,cortex-a9-pmu";
69 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
73 compatible = "simple-bus";
74 ranges = <0x00000000 0x19000000 0x1000000>;
79 compatible = "arm,cortex-a9-global-timer";
80 reg = <0x20200 0x100>;
81 interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
82 clocks = <&periph_clk>;
85 gic: interrupt-controller@21000 {
86 compatible = "arm,cortex-a9-gic";
87 #interrupt-cells = <3>;
90 reg = <0x21000 0x1000>,
94 L2: cache-controller@22000 {
95 compatible = "arm,pl310-cache";
96 reg = <0x22000 0x1000>;
103 compatible = "simple-bus";
105 #address-cells = <1>;
109 compatible = "brcm,ocotp";
110 reg = <0x0301c800 0x2c>;
111 brcm,ocotp-size = <2048>;
115 pcie_phy: phy@301d0a0 {
116 compatible = "brcm,cygnus-pcie-phy";
117 reg = <0x0301d0a0 0x14>;
118 #address-cells = <1>;
132 pinctrl: pinctrl@301d0c8 {
133 compatible = "brcm,cygnus-pinmux";
134 reg = <0x0301d0c8 0x30>,
153 mailbox: mailbox@3024024 {
154 compatible = "brcm,iproc-mailbox";
155 reg = <0x03024024 0x40>;
156 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
157 #interrupt-cells = <1>;
158 interrupt-controller;
162 gpio_crmu: gpio@3024800 {
163 compatible = "brcm,cygnus-crmu-gpio";
164 reg = <0x03024800 0x50>,
169 interrupt-controller;
170 interrupt-parent = <&mailbox>;
174 mdio: mdio@18002000 {
175 compatible = "brcm,iproc-mdio";
176 reg = <0x18002000 0x8>;
178 #address-cells = <1>;
181 gphy0: ethernet-phy@0 {
185 gphy1: ethernet-phy@1 {
190 switch: switch@18007000 {
191 compatible = "brcm,bcm11360-srab", "brcm,cygnus-srab";
192 reg = <0x18007000 0x1000>;
196 #address-cells = <1>;
201 phy-handle = <&gphy0>;
207 phy-handle = <&gphy1>;
224 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
225 reg = <0x18008000 0x100>;
226 #address-cells = <1>;
228 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
229 clock-frequency = <100000>;
234 compatible = "arm,sp805" , "arm,primecell";
235 reg = <0x18009000 0x1000>;
236 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
237 clocks = <&axi81_clk>, <&axi81_clk>;
238 clock-names = "wdog_clk", "apb_pclk";
241 gpio_ccm: gpio@1800a000 {
242 compatible = "brcm,cygnus-ccm-gpio";
243 reg = <0x1800a000 0x50>,
248 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
249 interrupt-controller;
253 compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
254 reg = <0x1800b000 0x100>;
255 #address-cells = <1>;
257 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
258 clock-frequency = <100000>;
262 pcie0: pcie@18012000 {
263 compatible = "brcm,iproc-pcie";
264 reg = <0x18012000 0x1000>;
266 #interrupt-cells = <1>;
267 interrupt-map-mask = <0 0 0 0>;
268 interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
270 linux,pci-domain = <0>;
272 bus-range = <0x00 0xff>;
274 #address-cells = <3>;
277 ranges = <0x81000000 0 0 0x28000000 0 0x00010000
278 0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
281 phy-names = "pcie-phy";
285 msi-parent = <&msi0>;
286 msi0: msi-controller {
287 compatible = "brcm,iproc-msi";
289 interrupt-parent = <&gic>;
290 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
291 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
297 pcie1: pcie@18013000 {
298 compatible = "brcm,iproc-pcie";
299 reg = <0x18013000 0x1000>;
301 #interrupt-cells = <1>;
302 interrupt-map-mask = <0 0 0 0>;
303 interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
305 linux,pci-domain = <1>;
307 bus-range = <0x00 0xff>;
309 #address-cells = <3>;
312 ranges = <0x81000000 0 0 0x48000000 0 0x00010000
313 0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
316 phy-names = "pcie-phy";
320 msi-parent = <&msi1>;
321 msi1: msi-controller {
322 compatible = "brcm,iproc-msi";
324 interrupt-parent = <&gic>;
325 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
327 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
328 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
333 compatible = "arm,pl330", "arm,primecell";
334 reg = <0x18018000 0x1000>;
335 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
336 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
338 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
339 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
340 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
342 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
343 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
345 clock-names = "apb_pclk";
349 uart0: serial@18020000 {
350 compatible = "snps,dw-apb-uart";
351 reg = <0x18020000 0x100>;
354 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&axi81_clk>;
356 clock-frequency = <100000000>;
360 uart1: serial@18021000 {
361 compatible = "snps,dw-apb-uart";
362 reg = <0x18021000 0x100>;
365 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
366 clocks = <&axi81_clk>;
367 clock-frequency = <100000000>;
371 uart2: serial@18022000 {
372 compatible = "snps,dw-apb-uart";
373 reg = <0x18022000 0x100>;
376 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&axi81_clk>;
378 clock-frequency = <100000000>;
382 uart3: serial@18023000 {
383 compatible = "snps,dw-apb-uart";
384 reg = <0x18023000 0x100>;
387 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
388 clocks = <&axi81_clk>;
389 clock-frequency = <100000000>;
394 compatible = "arm,pl022", "arm,primecell";
395 reg = <0x18028000 0x1000>;
396 #address-cells = <1>;
398 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
399 pinctrl-0 = <&spi_0>;
400 clocks = <&axi81_clk>;
401 clock-names = "apb_pclk";
406 compatible = "arm,pl022", "arm,primecell";
407 reg = <0x18029000 0x1000>;
408 #address-cells = <1>;
410 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
411 pinctrl-0 = <&spi_1>;
412 clocks = <&axi81_clk>;
413 clock-names = "apb_pclk";
418 compatible = "arm,pl022", "arm,primecell";
419 reg = <0x1802a000 0x1000>;
420 #address-cells = <1>;
422 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
423 pinctrl-0 = <&spi_2>;
424 clocks = <&axi81_clk>;
425 clock-names = "apb_pclk";
430 compatible = "brcm,iproc-rng200";
431 reg = <0x18032000 0x28>;
434 sdhci0: sdhci@18041000 {
435 compatible = "brcm,sdhci-iproc-cygnus";
436 reg = <0x18041000 0x100>;
437 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
438 clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>;
444 eth0: ethernet@18042000 {
445 compatible = "brcm,amac";
446 reg = <0x18042000 0x1000>,
448 reg-names = "amac_base", "idm_base";
449 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
453 sdhci1: sdhci@18043000 {
454 compatible = "brcm,sdhci-iproc-cygnus";
455 reg = <0x18043000 0x100>;
456 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
457 clocks = <&lcpll0 BCM_CYGNUS_LCPLL0_SDIO_CLK>;
463 nand: nand@18046000 {
464 compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
465 reg = <0x18046000 0x600>, <0xf8105408 0x600>,
467 reg-names = "nand", "iproc-idm", "iproc-ext";
468 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
470 #address-cells = <1>;
476 ehci0: usb@18048000 {
477 compatible = "generic-ehci";
478 reg = <0x18048000 0x100>;
479 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
483 ohci0: usb@18048800 {
484 compatible = "generic-ohci";
485 reg = <0x18048800 0x100>;
486 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
490 clcd: clcd@180a0000 {
491 compatible = "arm,pl111", "arm,primecell";
492 reg = <0x180a0000 0x1000>;
493 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
494 interrupt-names = "combined";
495 clocks = <&axi41_clk>, <&apb_clk>;
496 clock-names = "clcdclk", "apb_pclk";
501 compatible = "brcm,cygnus-v3d";
502 reg = <0x180a2000 0x1000>;
503 clocks = <&mipipll BCM_CYGNUS_MIPIPLL_CH2_V3D>;
504 clock-names = "v3d_clk";
505 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
510 compatible = "brcm,cygnus-vc4";
513 gpio_asiu: gpio@180a5000 {
514 compatible = "brcm,cygnus-asiu-gpio";
515 reg = <0x180a5000 0x668>;
520 interrupt-controller;
521 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
522 gpio-ranges = <&pinctrl 0 42 1>,
534 <&pinctrl 24 130 10>,
549 <&pinctrl 70 156 17>,
550 <&pinctrl 87 104 12>,
553 <&pinctrl 105 116 6>,
554 <&pinctrl 111 100 2>,
555 <&pinctrl 113 122 4>,
575 ts_adc_syscon: ts_adc_syscon@180a6000 {
576 compatible = "brcm,iproc-ts-adc-syscon", "syscon";
577 reg = <0x180a6000 0xc30>;
580 touchscreen: touchscreen@180a6000 {
581 compatible = "brcm,iproc-touchscreen";
582 #address-cells = <1>;
584 ts_syscon = <&ts_adc_syscon>;
585 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
586 clock-names = "tsc_clk";
587 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
592 compatible = "brcm,iproc-static-adc";
593 #io-channel-cells = <1>;
594 adc-syscon = <&ts_adc_syscon>;
595 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
596 clock-names = "tsc_clk";
597 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
602 compatible = "brcm,kona-pwm";
603 reg = <0x180aa500 0xc4>;
605 clocks = <&asiu_clks BCM_CYGNUS_ASIU_PWM_CLK>;
609 keypad: keypad@180ac000 {
610 compatible = "brcm,bcm-keypad";
611 reg = <0x180ac000 0x14c>;
612 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
613 clocks = <&asiu_clks BCM_CYGNUS_ASIU_KEYPAD_CLK>;
614 clock-names = "peri_clk";
615 clock-frequency = <31250>;
617 col-debounce-filter-period = <0>;
618 status-debounce-filter-period = <0>;