blob: 715d50c64529ad7217e9906a69f873f23e68a337 [file] [log] [blame]
Fabian Vogt7ad2aa02016-09-26 14:26:47 +02001#include <dt-bindings/power/raspberrypi-power.h>
2
3/ {
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +02004 memory@0 {
Fabian Vogt7ad2aa02016-09-26 14:26:47 +02005 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 {
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +020021 compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020022 mboxes = <&mailbox>;
23 };
24
25 power: power {
26 compatible = "raspberrypi,bcm2835-power";
27 firmware = <&firmware>;
28 #power-domain-cells = <1>;
29 };
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +020030
31 vchiq: mailbox@7e00b840 {
32 compatible = "brcm,bcm2835-vchiq";
33 reg = <0x7e00b840 0x3c>;
34 interrupts = <0 2>;
35 };
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020036 };
37};
38
39&gpio {
40 pinctrl-names = "default";
41
42 gpioout: gpioout {
43 brcm,pins = <6>;
44 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
45 };
46
47 alt0: alt0 {
Alexander Graf377c5342017-10-04 14:39:16 +020048 brcm,pins = <4 5 7 8 9 10 11>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020049 brcm,function = <BCM2835_FSEL_ALT0>;
50 };
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020051};
52
53&i2c0 {
Alexander Graf377c5342017-10-04 14:39:16 +020054 pinctrl-names = "default";
55 pinctrl-0 = <&i2c0_gpio0>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020056 status = "okay";
57 clock-frequency = <100000>;
58};
59
60&i2c1 {
Alexander Graf377c5342017-10-04 14:39:16 +020061 pinctrl-names = "default";
62 pinctrl-0 = <&i2c1_gpio2>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020063 status = "okay";
64 clock-frequency = <100000>;
65};
66
67&i2c2 {
68 status = "okay";
69};
70
71&sdhci {
Alexander Graf377c5342017-10-04 14:39:16 +020072 pinctrl-names = "default";
73 pinctrl-0 = <&emmc_gpio48>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020074 bus-width = <4>;
75};
76
Alexander Graf377c5342017-10-04 14:39:16 +020077&sdhost {
78 pinctrl-names = "default";
79 pinctrl-0 = <&sdhost_gpio48>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020080 status = "okay";
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +020081 bus-width = <4>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020082};
83
84&usb {
85 power-domains = <&power RPI_POWER_DOMAIN_USB>;
86};
87
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020088&hdmi {
89 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
90 status = "okay";
91};
Alexander Graf377c5342017-10-04 14:39:16 +020092
93&vec {
94 power-domains = <&power RPI_POWER_DOMAIN_VEC>;
95 status = "okay";
96};
97
98&dsi0 {
99 power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
100};
101
102&dsi1 {
103 power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
104};