blob: 76bdbcafab18e8ea7c4e06decd315540aac7ef33 [file] [log] [blame]
Alexander Aring5ec6f2c2015-12-16 16:26:49 -08001#include <dt-bindings/power/raspberrypi-power.h>
2
Matthias Kleinba2a1d62014-11-20 10:52:45 +00003/ {
4 memory {
5 reg = <0 0x10000000>;
6 };
7
8 leds {
9 compatible = "gpio-leds";
10
11 act {
12 label = "ACT";
13 default-state = "keep";
14 linux,default-trigger = "heartbeat";
15 };
16 };
Eric Anholtb35ef522015-06-04 13:11:47 -070017
18 soc {
19 firmware: firmware {
20 compatible = "raspberrypi,bcm2835-firmware";
21 mboxes = <&mailbox>;
22 };
Alexander Aring5ec6f2c2015-12-16 16:26:49 -080023
24 power: power {
25 compatible = "raspberrypi,bcm2835-power";
26 firmware = <&firmware>;
27 #power-domain-cells = <1>;
28 };
Eric Anholtb35ef522015-06-04 13:11:47 -070029 };
Matthias Kleinba2a1d62014-11-20 10:52:45 +000030};
31
32&gpio {
33 pinctrl-names = "default";
34
35 gpioout: gpioout {
36 brcm,pins = <6>;
Stefan Wahren12091112015-01-29 18:10:50 +000037 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
Matthias Kleinba2a1d62014-11-20 10:52:45 +000038 };
39
40 alt0: alt0 {
41 brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
Stefan Wahren12091112015-01-29 18:10:50 +000042 brcm,function = <BCM2835_FSEL_ALT0>;
Matthias Kleinba2a1d62014-11-20 10:52:45 +000043 };
44
45 alt3: alt3 {
46 brcm,pins = <48 49 50 51 52 53>;
Stefan Wahren12091112015-01-29 18:10:50 +000047 brcm,function = <BCM2835_FSEL_ALT3>;
Matthias Kleinba2a1d62014-11-20 10:52:45 +000048 };
49};
50
51&i2c0 {
52 status = "okay";
53 clock-frequency = <100000>;
54};
55
56&i2c1 {
57 status = "okay";
58 clock-frequency = <100000>;
59};
60
Eric Anholt121432c2015-10-09 14:27:47 -070061&i2c2 {
62 status = "okay";
63};
64
Matthias Kleinba2a1d62014-11-20 10:52:45 +000065&sdhci {
66 status = "okay";
67 bus-width = <4>;
68};
Remi Pommarel40ad4492015-12-21 21:12:59 +010069
70&pwm {
71 status = "okay";
72};
Alexander Aring5ec6f2c2015-12-16 16:26:49 -080073
74&usb {
75 power-domains = <&power RPI_POWER_DOMAIN_USB>;
76};