Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvar...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / bcm2835-rpi.dtsi
1 #include <dt-bindings/power/raspberrypi-power.h>
2
3 / {
4         leds {
5                 compatible = "gpio-leds";
6
7                 act {
8                         label = "ACT";
9                         default-state = "keep";
10                         linux,default-trigger = "heartbeat";
11                 };
12         };
13
14         soc {
15                 firmware: firmware {
16                         compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
17                         mboxes = <&mailbox>;
18                 };
19
20                 power: power {
21                         compatible = "raspberrypi,bcm2835-power";
22                         firmware = <&firmware>;
23                         #power-domain-cells = <1>;
24                 };
25
26                 vchiq: mailbox@7e00b840 {
27                         compatible = "brcm,bcm2835-vchiq";
28                         reg = <0x7e00b840 0x3c>;
29                         interrupts = <0 2>;
30                 };
31         };
32 };
33
34 &gpio {
35         pinctrl-names = "default";
36
37         gpioout: gpioout {
38                 brcm,pins = <6>;
39                 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
40         };
41
42         alt0: alt0 {
43                 brcm,pins = <4 5 7 8 9 10 11>;
44                 brcm,function = <BCM2835_FSEL_ALT0>;
45         };
46 };
47
48 &i2c0 {
49         pinctrl-names = "default";
50         pinctrl-0 = <&i2c0_gpio0>;
51         status = "okay";
52         clock-frequency = <100000>;
53 };
54
55 &i2c1 {
56         pinctrl-names = "default";
57         pinctrl-0 = <&i2c1_gpio2>;
58         status = "okay";
59         clock-frequency = <100000>;
60 };
61
62 &i2c2 {
63         status = "okay";
64 };
65
66 &usb {
67         power-domains = <&power RPI_POWER_DOMAIN_USB>;
68 };
69
70 &vec {
71         power-domains = <&power RPI_POWER_DOMAIN_VEC>;
72         status = "okay";
73 };
74
75 &dsi0 {
76         power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
77 };
78
79 &dsi1 {
80         power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
81 };