1 #include <dt-bindings/pinctrl/bcm2835.h>
2 #include <dt-bindings/clock/bcm2835.h>
3 #include "skeleton.dtsi"
5 /* This include file covers the common peripherals and configuration between
6 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
7 * bcm2835.dtsi and bcm2836.dtsi.
11 compatible = "brcm,bcm2835";
13 interrupt-parent = <&intc>;
16 bootargs = "earlyprintk console=ttyAMA0";
20 compatible = "simple-bus";
25 compatible = "brcm,bcm2835-system-timer";
26 reg = <0x7e003000 0x1000>;
27 interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
28 /* This could be a reference to BCM2835_CLOCK_TIMER,
29 * but we don't have the driver using the common clock
32 clock-frequency = <1000000>;
36 compatible = "brcm,bcm2835-dma";
37 reg = <0x7e007000 0xf00>;
53 brcm,dma-channel-mask = <0x7f35>;
56 intc: interrupt-controller@7e00b200 {
57 compatible = "brcm,bcm2835-armctrl-ic";
58 reg = <0x7e00b200 0x200>;
60 #interrupt-cells = <2>;
64 compatible = "brcm,bcm2835-pm-wdt";
65 reg = <0x7e100000 0x28>;
68 clocks: cprman@7e101000 {
69 compatible = "brcm,bcm2835-cprman";
71 reg = <0x7e101000 0x2000>;
73 /* CPRMAN derives everything from the platform's
80 compatible = "brcm,bcm2835-rng";
81 reg = <0x7e104000 0x10>;
84 mailbox: mailbox@7e00b800 {
85 compatible = "brcm,bcm2835-mbox";
86 reg = <0x7e00b880 0x40>;
92 compatible = "brcm,bcm2835-gpio";
93 reg = <0x7e200000 0xb4>;
95 * The GPIO IP block is designed for 3 banks of GPIOs.
96 * Each bank has a GPIO interrupt for itself.
97 * There is an overall "any bank" interrupt.
98 * In order, these are GIC interrupts 17, 18, 19, 20.
99 * Since the BCM2835 only has 2 banks, the 2nd bank
100 * interrupt output appears to be mirrored onto the
101 * 3rd bank's interrupt signal.
102 * So, a bank0 interrupt shows up on 17, 20, and
103 * a bank1 interrupt shows up on 18, 19, 20!
105 interrupts = <2 17>, <2 18>, <2 19>, <2 20>;
110 interrupt-controller;
111 #interrupt-cells = <2>;
114 uart0: uart@7e201000 {
115 compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
116 reg = <0x7e201000 0x1000>;
118 clocks = <&clocks BCM2835_CLOCK_UART>,
119 <&clocks BCM2835_CLOCK_VPU>;
120 clock-names = "uartclk", "apb_pclk";
121 arm,primecell-periphid = <0x00241011>;
125 compatible = "brcm,bcm2835-i2s";
126 reg = <0x7e203000 0x20>,
131 dma-names = "tx", "rx";
136 compatible = "brcm,bcm2835-spi";
137 reg = <0x7e204000 0x1000>;
139 clocks = <&clocks BCM2835_CLOCK_VPU>;
140 #address-cells = <1>;
146 compatible = "brcm,bcm2835-i2c";
147 reg = <0x7e205000 0x1000>;
149 clocks = <&clocks BCM2835_CLOCK_VPU>;
150 #address-cells = <1>;
155 aux: aux@0x7e215000 {
156 compatible = "brcm,bcm2835-aux";
158 reg = <0x7e215000 0x8>;
159 clocks = <&clocks BCM2835_CLOCK_VPU>;
162 sdhci: sdhci@7e300000 {
163 compatible = "brcm,bcm2835-sdhci";
164 reg = <0x7e300000 0x100>;
166 clocks = <&clocks BCM2835_CLOCK_EMMC>;
171 compatible = "brcm,bcm2835-i2c";
172 reg = <0x7e804000 0x1000>;
174 clocks = <&clocks BCM2835_CLOCK_VPU>;
175 #address-cells = <1>;
181 compatible = "brcm,bcm2835-i2c";
182 reg = <0x7e805000 0x1000>;
184 clocks = <&clocks BCM2835_CLOCK_VPU>;
185 #address-cells = <1>;
191 compatible = "brcm,bcm2835-usb";
192 reg = <0x7e980000 0x10000>;
198 compatible = "simple-bus";
199 #address-cells = <1>;
202 /* The oscillator is the root of the clock tree. */
204 compatible = "fixed-clock";
207 clock-output-names = "osc";
208 clock-frequency = <19200000>;