2 * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
4 * Licensed under the ISC license.
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include "skeleton.dtsi"
14 interrupt-parent = <&gic>;
21 stdout-path = "serial0:115200n8";
30 compatible = "arm,cortex-a7";
36 compatible = "simple-bus";
37 ranges = <0x00000000 0x18310000 0x00008000>;
41 gic: interrupt-controller@1000 {
42 compatible = "arm,cortex-a7-gic";
43 #interrupt-cells = <3>;
46 reg = <0x1000 0x1000>,
58 compatible = "fixed-clock";
59 clock-frequency = <40000000>;
64 compatible = "brcm,bus-axi";
65 reg = <0x18000000 0x1000>;
66 ranges = <0x00000000 0x18000000 0x00100000>;
70 #interrupt-cells = <1>;
71 interrupt-map-mask = <0x000fffff 0xffff>;
74 <0x00000000 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
77 <0x00001000 0 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
79 /* PCIe Controller 0 */
80 <0x00002000 0 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
81 <0x00002000 1 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
82 <0x00002000 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
83 <0x00002000 3 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
84 <0x00002000 4 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
85 <0x00002000 5 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
87 /* USB 2.0 Controller */
88 <0x00004000 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
90 /* Ethernet Controller 0 */
91 <0x00005000 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
94 <0x0000a000 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
96 /* Ethernet Controller 1 */
97 <0x0000b000 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
99 chipcommon: chipcommon@0 {
100 compatible = "simple-bus";
101 reg = <0x00000000 0x1000>;
104 #address-cells = <1>;
111 compatible = "ns16550a";
112 reg = <0x0300 0x100>;
113 interrupt-parent = <&gic>;
114 interrupts = <GIC_PPI 16 IRQ_TYPE_LEVEL_HIGH>;
121 reg = <0x00002000 0x1000>;
125 reg = <0x4000 0x1000>;
127 #address-cells = <1>;
131 compatible = "generic-ehci";
132 reg = <0x4000 0x1000>;
133 interrupt-parent = <&gic>;
134 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
136 #address-cells = <1>;
141 #trigger-source-cells = <0>;
146 #trigger-source-cells = <0>;
153 compatible = "generic-ohci";
154 reg = <0xd000 0x1000>;
155 interrupt-parent = <&gic>;
156 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
158 #address-cells = <1>;
163 #trigger-source-cells = <0>;
168 #trigger-source-cells = <0>;
173 gmac0: ethernet@5000 {
174 reg = <0x5000 0x1000>;
177 gmac1: ethernet@b000 {
178 reg = <0xb000 0x1000>;
182 compatible = "simple-mfd", "syscon";
183 reg = <0x00012000 0x00001000>;
186 compatible = "brcm,bcm53573-ilp";
189 clock-output-names = "ilp";