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>
5 #include "skeleton.dtsi"
7 /* This include file covers the common peripherals and configuration between
8 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
9 * bcm2835.dtsi and bcm2836.dtsi.
13 compatible = "brcm,bcm2835";
15 interrupt-parent = <&intc>;
18 bootargs = "earlyprintk console=ttyAMA0";
22 compatible = "simple-bus";
27 compatible = "brcm,bcm2835-system-timer";
28 reg = <0x7e003000 0x1000>;
29 interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
30 /* This could be a reference to BCM2835_CLOCK_TIMER,
31 * but we don't have the driver using the common clock
34 clock-frequency = <1000000>;
38 compatible = "brcm,bcm2835-dma";
39 reg = <0x7e007000 0xf00>;
51 /* dma channel 11-14 share one irq */
56 /* unused shared irq for all channels */
58 interrupt-names = "dma0",
75 brcm,dma-channel-mask = <0x7f35>;
78 intc: interrupt-controller@7e00b200 {
79 compatible = "brcm,bcm2835-armctrl-ic";
80 reg = <0x7e00b200 0x200>;
82 #interrupt-cells = <2>;
86 compatible = "brcm,bcm2835-pm-wdt";
87 reg = <0x7e100000 0x28>;
90 clocks: cprman@7e101000 {
91 compatible = "brcm,bcm2835-cprman";
93 reg = <0x7e101000 0x2000>;
95 /* CPRMAN derives everything from the platform's
102 compatible = "brcm,bcm2835-rng";
103 reg = <0x7e104000 0x10>;
106 mailbox: mailbox@7e00b800 {
107 compatible = "brcm,bcm2835-mbox";
108 reg = <0x7e00b880 0x40>;
113 gpio: gpio@7e200000 {
114 compatible = "brcm,bcm2835-gpio";
115 reg = <0x7e200000 0xb4>;
117 * The GPIO IP block is designed for 3 banks of GPIOs.
118 * Each bank has a GPIO interrupt for itself.
119 * There is an overall "any bank" interrupt.
120 * In order, these are GIC interrupts 17, 18, 19, 20.
121 * Since the BCM2835 only has 2 banks, the 2nd bank
122 * interrupt output appears to be mirrored onto the
123 * 3rd bank's interrupt signal.
124 * So, a bank0 interrupt shows up on 17, 20, and
125 * a bank1 interrupt shows up on 18, 19, 20!
127 interrupts = <2 17>, <2 18>, <2 19>, <2 20>;
132 interrupt-controller;
133 #interrupt-cells = <2>;
136 uart0: serial@7e201000 {
137 compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
138 reg = <0x7e201000 0x1000>;
140 clocks = <&clocks BCM2835_CLOCK_UART>,
141 <&clocks BCM2835_CLOCK_VPU>;
142 clock-names = "uartclk", "apb_pclk";
143 arm,primecell-periphid = <0x00241011>;
147 compatible = "brcm,bcm2835-i2s";
148 reg = <0x7e203000 0x20>,
153 dma-names = "tx", "rx";
158 compatible = "brcm,bcm2835-spi";
159 reg = <0x7e204000 0x1000>;
161 clocks = <&clocks BCM2835_CLOCK_VPU>;
162 #address-cells = <1>;
168 compatible = "brcm,bcm2835-i2c";
169 reg = <0x7e205000 0x1000>;
171 clocks = <&clocks BCM2835_CLOCK_VPU>;
172 #address-cells = <1>;
177 pixelvalve@7e206000 {
178 compatible = "brcm,bcm2835-pixelvalve0";
179 reg = <0x7e206000 0x100>;
180 interrupts = <2 13>; /* pwa0 */
183 pixelvalve@7e207000 {
184 compatible = "brcm,bcm2835-pixelvalve1";
185 reg = <0x7e207000 0x100>;
186 interrupts = <2 14>; /* pwa1 */
189 aux: aux@0x7e215000 {
190 compatible = "brcm,bcm2835-aux";
192 reg = <0x7e215000 0x8>;
193 clocks = <&clocks BCM2835_CLOCK_VPU>;
196 uart1: serial@7e215040 {
197 compatible = "brcm,bcm2835-aux-uart";
198 reg = <0x7e215040 0x40>;
200 clocks = <&aux BCM2835_AUX_CLOCK_UART>;
205 compatible = "brcm,bcm2835-aux-spi";
206 reg = <0x7e215080 0x40>;
208 clocks = <&aux BCM2835_AUX_CLOCK_SPI1>;
209 #address-cells = <1>;
215 compatible = "brcm,bcm2835-aux-spi";
216 reg = <0x7e2150c0 0x40>;
218 clocks = <&aux BCM2835_AUX_CLOCK_SPI2>;
219 #address-cells = <1>;
225 compatible = "brcm,bcm2835-pwm";
226 reg = <0x7e20c000 0x28>;
227 clocks = <&clocks BCM2835_CLOCK_PWM>;
228 assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
229 assigned-clock-rates = <10000000>;
234 sdhci: sdhci@7e300000 {
235 compatible = "brcm,bcm2835-sdhci";
236 reg = <0x7e300000 0x100>;
238 clocks = <&clocks BCM2835_CLOCK_EMMC>;
243 compatible = "brcm,bcm2835-hvs";
244 reg = <0x7e400000 0x6000>;
249 compatible = "brcm,bcm2835-i2c";
250 reg = <0x7e804000 0x1000>;
252 clocks = <&clocks BCM2835_CLOCK_VPU>;
253 #address-cells = <1>;
259 compatible = "brcm,bcm2835-i2c";
260 reg = <0x7e805000 0x1000>;
262 clocks = <&clocks BCM2835_CLOCK_VPU>;
263 #address-cells = <1>;
268 pixelvalve@7e807000 {
269 compatible = "brcm,bcm2835-pixelvalve2";
270 reg = <0x7e807000 0x100>;
271 interrupts = <2 10>; /* pixelvalve */
274 hdmi: hdmi@7e902000 {
275 compatible = "brcm,bcm2835-hdmi";
276 reg = <0x7e902000 0x600>,
278 interrupts = <2 8>, <2 9>;
280 clocks = <&clocks BCM2835_PLLH_PIX>,
281 <&clocks BCM2835_CLOCK_HSM>;
282 clock-names = "pixel", "hdmi";
287 compatible = "brcm,bcm2835-usb";
288 reg = <0x7e980000 0x10000>;
293 compatible = "brcm,bcm2835-v3d";
294 reg = <0x7ec00000 0x1000>;
299 compatible = "brcm,bcm2835-vc4";
304 compatible = "simple-bus";
305 #address-cells = <1>;
308 /* The oscillator is the root of the clock tree. */
310 compatible = "fixed-clock";
313 clock-output-names = "osc";
314 clock-frequency = <19200000>;