1 #include <dt-bindings/pinctrl/bcm2835.h>
2 #include <dt-bindings/clock/bcm2835.h>
3 #include <dt-bindings/clock/bcm2835-aux.h>
4 #include <dt-bindings/gpio/gpio.h>
6 /* This include file covers the common peripherals and configuration between
7 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
8 * bcm2835.dtsi and bcm2836.dtsi.
12 compatible = "brcm,bcm2835";
14 interrupt-parent = <&intc>;
19 bootargs = "earlyprintk console=ttyAMA0";
23 compatible = "simple-bus";
28 compatible = "brcm,bcm2835-system-timer";
29 reg = <0x7e003000 0x1000>;
30 interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
31 /* This could be a reference to BCM2835_CLOCK_TIMER,
32 * but we don't have the driver using the common clock
35 clock-frequency = <1000000>;
39 compatible = "brcm,bcm2835-dma";
40 reg = <0x7e007000 0xf00>;
52 /* dma channel 11-14 share one irq */
57 /* unused shared irq for all channels */
59 interrupt-names = "dma0",
76 brcm,dma-channel-mask = <0x7f35>;
79 intc: interrupt-controller@7e00b200 {
80 compatible = "brcm,bcm2835-armctrl-ic";
81 reg = <0x7e00b200 0x200>;
83 #interrupt-cells = <2>;
87 compatible = "brcm,bcm2835-pm-wdt";
88 reg = <0x7e100000 0x28>;
91 clocks: cprman@7e101000 {
92 compatible = "brcm,bcm2835-cprman";
94 reg = <0x7e101000 0x2000>;
96 /* CPRMAN derives everything from the platform's
103 compatible = "brcm,bcm2835-rng";
104 reg = <0x7e104000 0x10>;
107 mailbox: mailbox@7e00b800 {
108 compatible = "brcm,bcm2835-mbox";
109 reg = <0x7e00b880 0x40>;
114 gpio: gpio@7e200000 {
115 compatible = "brcm,bcm2835-gpio";
116 reg = <0x7e200000 0xb4>;
118 * The GPIO IP block is designed for 3 banks of GPIOs.
119 * Each bank has a GPIO interrupt for itself.
120 * There is an overall "any bank" interrupt.
121 * In order, these are GIC interrupts 17, 18, 19, 20.
122 * Since the BCM2835 only has 2 banks, the 2nd bank
123 * interrupt output appears to be mirrored onto the
124 * 3rd bank's interrupt signal.
125 * So, a bank0 interrupt shows up on 17, 20, and
126 * a bank1 interrupt shows up on 18, 19, 20!
128 interrupts = <2 17>, <2 18>, <2 19>, <2 20>;
133 interrupt-controller;
134 #interrupt-cells = <2>;
137 uart0: serial@7e201000 {
138 compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
139 reg = <0x7e201000 0x1000>;
141 clocks = <&clocks BCM2835_CLOCK_UART>,
142 <&clocks BCM2835_CLOCK_VPU>;
143 clock-names = "uartclk", "apb_pclk";
144 arm,primecell-periphid = <0x00241011>;
148 compatible = "brcm,bcm2835-i2s";
149 reg = <0x7e203000 0x20>,
154 dma-names = "tx", "rx";
159 compatible = "brcm,bcm2835-spi";
160 reg = <0x7e204000 0x1000>;
162 clocks = <&clocks BCM2835_CLOCK_VPU>;
163 #address-cells = <1>;
169 compatible = "brcm,bcm2835-i2c";
170 reg = <0x7e205000 0x1000>;
172 clocks = <&clocks BCM2835_CLOCK_VPU>;
173 #address-cells = <1>;
178 pixelvalve@7e206000 {
179 compatible = "brcm,bcm2835-pixelvalve0";
180 reg = <0x7e206000 0x100>;
181 interrupts = <2 13>; /* pwa0 */
184 pixelvalve@7e207000 {
185 compatible = "brcm,bcm2835-pixelvalve1";
186 reg = <0x7e207000 0x100>;
187 interrupts = <2 14>; /* pwa1 */
190 aux: aux@0x7e215000 {
191 compatible = "brcm,bcm2835-aux";
193 reg = <0x7e215000 0x8>;
194 clocks = <&clocks BCM2835_CLOCK_VPU>;
197 uart1: serial@7e215040 {
198 compatible = "brcm,bcm2835-aux-uart";
199 reg = <0x7e215040 0x40>;
201 clocks = <&aux BCM2835_AUX_CLOCK_UART>;
206 compatible = "brcm,bcm2835-aux-spi";
207 reg = <0x7e215080 0x40>;
209 clocks = <&aux BCM2835_AUX_CLOCK_SPI1>;
210 #address-cells = <1>;
216 compatible = "brcm,bcm2835-aux-spi";
217 reg = <0x7e2150c0 0x40>;
219 clocks = <&aux BCM2835_AUX_CLOCK_SPI2>;
220 #address-cells = <1>;
226 compatible = "brcm,bcm2835-pwm";
227 reg = <0x7e20c000 0x28>;
228 clocks = <&clocks BCM2835_CLOCK_PWM>;
229 assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
230 assigned-clock-rates = <10000000>;
235 sdhci: sdhci@7e300000 {
236 compatible = "brcm,bcm2835-sdhci";
237 reg = <0x7e300000 0x100>;
239 clocks = <&clocks BCM2835_CLOCK_EMMC>;
244 compatible = "brcm,bcm2835-hvs";
245 reg = <0x7e400000 0x6000>;
250 compatible = "brcm,bcm2835-i2c";
251 reg = <0x7e804000 0x1000>;
253 clocks = <&clocks BCM2835_CLOCK_VPU>;
254 #address-cells = <1>;
260 compatible = "brcm,bcm2835-i2c";
261 reg = <0x7e805000 0x1000>;
263 clocks = <&clocks BCM2835_CLOCK_VPU>;
264 #address-cells = <1>;
269 pixelvalve@7e807000 {
270 compatible = "brcm,bcm2835-pixelvalve2";
271 reg = <0x7e807000 0x100>;
272 interrupts = <2 10>; /* pixelvalve */
275 hdmi: hdmi@7e902000 {
276 compatible = "brcm,bcm2835-hdmi";
277 reg = <0x7e902000 0x600>,
279 interrupts = <2 8>, <2 9>;
281 clocks = <&clocks BCM2835_PLLH_PIX>,
282 <&clocks BCM2835_CLOCK_HSM>;
283 clock-names = "pixel", "hdmi";
288 compatible = "brcm,bcm2835-usb";
289 reg = <0x7e980000 0x10000>;
291 #address-cells = <1>;
296 compatible = "brcm,bcm2835-v3d";
297 reg = <0x7ec00000 0x1000>;
302 compatible = "brcm,bcm2835-vc4";
307 compatible = "simple-bus";
308 #address-cells = <1>;
311 /* The oscillator is the root of the clock tree. */
313 compatible = "fixed-clock";
316 clock-output-names = "osc";
317 clock-frequency = <19200000>;
323 #include "bcm283x-uboot.dtsi"