blob: 8b95832dd00c911ffd523076ca9b0a13540ef19d [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 {
Alexander Graf377c5342017-10-04 14:39:16 +020042 brcm,pins = <4 5 7 8 9 10 11>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020043 brcm,function = <BCM2835_FSEL_ALT0>;
44 };
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020045};
46
47&i2c0 {
Alexander Graf377c5342017-10-04 14:39:16 +020048 pinctrl-names = "default";
49 pinctrl-0 = <&i2c0_gpio0>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020050 status = "okay";
51 clock-frequency = <100000>;
52};
53
54&i2c1 {
Alexander Graf377c5342017-10-04 14:39:16 +020055 pinctrl-names = "default";
56 pinctrl-0 = <&i2c1_gpio2>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020057 status = "okay";
58 clock-frequency = <100000>;
59};
60
61&i2c2 {
62 status = "okay";
63};
64
65&sdhci {
Alexander Graf377c5342017-10-04 14:39:16 +020066 pinctrl-names = "default";
67 pinctrl-0 = <&emmc_gpio48>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020068 status = "okay";
69 bus-width = <4>;
70};
71
Alexander Graf377c5342017-10-04 14:39:16 +020072&sdhost {
73 pinctrl-names = "default";
74 pinctrl-0 = <&sdhost_gpio48>;
75 bus-width = <4>;
76};
77
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020078&pwm {
Alexander Graf377c5342017-10-04 14:39:16 +020079 pinctrl-names = "default";
80 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020081 status = "okay";
82};
83
84&usb {
85 power-domains = <&power RPI_POWER_DOMAIN_USB>;
86};
87
88&v3d {
89 power-domains = <&power RPI_POWER_DOMAIN_V3D>;
90};
91
92&hdmi {
93 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
94 status = "okay";
95};
Alexander Graf377c5342017-10-04 14:39:16 +020096
97&vec {
98 power-domains = <&power RPI_POWER_DOMAIN_VEC>;
99 status = "okay";
100};
101
102&dsi0 {
103 power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
104};
105
106&dsi1 {
107 power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
108};