blob: e9b47b2bbc3390edc2541f251ae5167640a445d9 [file] [log] [blame]
Fabian Vogt7ad2aa02016-09-26 14:26:47 +02001#include <dt-bindings/power/raspberrypi-power.h>
2
3/ {
4 memory {
5 device_type = "memory";
6 reg = <0 0x10000000>;
7 };
8
9 leds {
10 compatible = "gpio-leds";
11
12 act {
13 label = "ACT";
14 default-state = "keep";
15 linux,default-trigger = "heartbeat";
16 };
17 };
18
19 soc {
20 firmware: firmware {
21 compatible = "raspberrypi,bcm2835-firmware";
22 mboxes = <&mailbox>;
23 };
24
25 power: power {
26 compatible = "raspberrypi,bcm2835-power";
27 firmware = <&firmware>;
28 #power-domain-cells = <1>;
29 };
30 };
31};
32
33&gpio {
34 pinctrl-names = "default";
35
36 gpioout: gpioout {
37 brcm,pins = <6>;
38 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
39 };
40
41 alt0: alt0 {
42 brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
43 brcm,function = <BCM2835_FSEL_ALT0>;
44 };
45
46 alt3: alt3 {
47 brcm,pins = <48 49 50 51 52 53>;
48 brcm,function = <BCM2835_FSEL_ALT3>;
49 };
50};
51
52&i2c0 {
53 status = "okay";
54 clock-frequency = <100000>;
55};
56
57&i2c1 {
58 status = "okay";
59 clock-frequency = <100000>;
60};
61
62&i2c2 {
63 status = "okay";
64};
65
66&sdhci {
67 status = "okay";
68 bus-width = <4>;
69};
70
71&pwm {
72 status = "okay";
73};
74
75&usb {
76 power-domains = <&power RPI_POWER_DOMAIN_USB>;
77};
78
79&v3d {
80 power-domains = <&power RPI_POWER_DOMAIN_V3D>;
81};
82
83&hdmi {
84 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
85 status = "okay";
86};