1 #include <dt-bindings/pinctrl/bcm2835.h>
2 #include <dt-bindings/clock/bcm2835.h>
3 #include "skeleton.dtsi"
6 compatible = "brcm,bcm2835";
8 interrupt-parent = <&intc>;
11 bootargs = "earlyprintk console=ttyAMA0";
15 compatible = "simple-bus";
18 ranges = <0x7e000000 0x20000000 0x02000000>;
19 dma-ranges = <0x40000000 0x00000000 0x20000000>;
22 compatible = "brcm,bcm2835-system-timer";
23 reg = <0x7e003000 0x1000>;
24 interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
25 /* This could be a reference to BCM2835_CLOCK_TIMER,
26 * but we don't have the driver using the common clock
29 clock-frequency = <1000000>;
33 compatible = "brcm,bcm2835-dma";
34 reg = <0x7e007000 0xf00>;
50 brcm,dma-channel-mask = <0x7f35>;
53 intc: interrupt-controller@7e00b200 {
54 compatible = "brcm,bcm2835-armctrl-ic";
55 reg = <0x7e00b200 0x200>;
57 #interrupt-cells = <2>;
61 compatible = "brcm,bcm2835-pm-wdt";
62 reg = <0x7e100000 0x28>;
65 clocks: cprman@7e101000 {
66 compatible = "brcm,bcm2835-cprman";
68 reg = <0x7e101000 0x2000>;
70 /* CPRMAN derives everything from the platform's
77 compatible = "brcm,bcm2835-rng";
78 reg = <0x7e104000 0x10>;
81 mailbox: mailbox@7e00b800 {
82 compatible = "brcm,bcm2835-mbox";
83 reg = <0x7e00b880 0x40>;
89 compatible = "brcm,bcm2835-gpio";
90 reg = <0x7e200000 0xb4>;
92 * The GPIO IP block is designed for 3 banks of GPIOs.
93 * Each bank has a GPIO interrupt for itself.
94 * There is an overall "any bank" interrupt.
95 * In order, these are GIC interrupts 17, 18, 19, 20.
96 * Since the BCM2835 only has 2 banks, the 2nd bank
97 * interrupt output appears to be mirrored onto the
98 * 3rd bank's interrupt signal.
99 * So, a bank0 interrupt shows up on 17, 20, and
100 * a bank1 interrupt shows up on 18, 19, 20!
102 interrupts = <2 17>, <2 18>, <2 19>, <2 20>;
107 interrupt-controller;
108 #interrupt-cells = <2>;
111 uart0: uart@7e201000 {
112 compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
113 reg = <0x7e201000 0x1000>;
115 clocks = <&clocks BCM2835_CLOCK_UART>,
116 <&clocks BCM2835_CLOCK_VPU>;
117 clock-names = "uartclk", "apb_pclk";
118 arm,primecell-periphid = <0x00241011>;
122 compatible = "brcm,bcm2835-i2s";
123 reg = <0x7e203000 0x20>,
128 dma-names = "tx", "rx";
133 compatible = "brcm,bcm2835-spi";
134 reg = <0x7e204000 0x1000>;
136 clocks = <&clocks BCM2835_CLOCK_VPU>;
137 #address-cells = <1>;
143 compatible = "brcm,bcm2835-i2c";
144 reg = <0x7e205000 0x1000>;
146 clocks = <&clocks BCM2835_CLOCK_VPU>;
147 #address-cells = <1>;
152 sdhci: sdhci@7e300000 {
153 compatible = "brcm,bcm2835-sdhci";
154 reg = <0x7e300000 0x100>;
156 clocks = <&clocks BCM2835_CLOCK_EMMC>;
161 compatible = "brcm,bcm2835-i2c";
162 reg = <0x7e804000 0x1000>;
164 clocks = <&clocks BCM2835_CLOCK_VPU>;
165 #address-cells = <1>;
171 compatible = "brcm,bcm2835-i2c";
172 reg = <0x7e805000 0x1000>;
174 clocks = <&clocks BCM2835_CLOCK_VPU>;
175 #address-cells = <1>;
181 compatible = "brcm,bcm2835-usb";
182 reg = <0x7e980000 0x10000>;
187 compatible = "arm,arm1176-pmu";
192 compatible = "simple-bus";
193 #address-cells = <1>;
196 /* The oscillator is the root of the clock tree. */
198 compatible = "fixed-clock";
201 clock-output-names = "osc";
202 clock-frequency = <19200000>;