blob: 87ddcad760834548584699d9f69e93be66f8b5c8 [file] [log] [blame]
Fabian Vogt7ad2aa02016-09-26 14:26:47 +02001#include <dt-bindings/power/raspberrypi-power.h>
2
3/ {
Fabian Vogt7ad2aa02016-09-26 14:26:47 +02004 leds {
5 compatible = "gpio-leds";
6
Simon Glass0ca70092021-12-16 20:59:13 -07007 led-act {
Fabian Vogt7ad2aa02016-09-26 14:26:47 +02008 label = "ACT";
9 default-state = "keep";
10 linux,default-trigger = "heartbeat";
11 };
12 };
13
14 soc {
15 firmware: firmware {
Simon Glass0ca70092021-12-16 20:59:13 -070016 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
17 #address-cells = <1>;
18 #size-cells = <1>;
19
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020020 mboxes = <&mailbox>;
Simon Glass0ca70092021-12-16 20:59:13 -070021 dma-ranges;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020022 };
23
24 power: power {
25 compatible = "raspberrypi,bcm2835-power";
26 firmware = <&firmware>;
27 #power-domain-cells = <1>;
28 };
Heinrich Schuchardtbe12fb92019-04-28 06:46:57 +020029
30 vchiq: mailbox@7e00b840 {
31 compatible = "brcm,bcm2835-vchiq";
32 reg = <0x7e00b840 0x3c>;
33 interrupts = <0 2>;
34 };
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020035 };
36};
37
38&gpio {
39 pinctrl-names = "default";
40
41 gpioout: gpioout {
42 brcm,pins = <6>;
43 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
44 };
45
46 alt0: alt0 {
Alexander Graf377c5342017-10-04 14:39:16 +020047 brcm,pins = <4 5 7 8 9 10 11>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020048 brcm,function = <BCM2835_FSEL_ALT0>;
49 };
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020050};
51
52&i2c0 {
Alexander Graf377c5342017-10-04 14:39:16 +020053 pinctrl-names = "default";
54 pinctrl-0 = <&i2c0_gpio0>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020055 status = "okay";
56 clock-frequency = <100000>;
57};
58
59&i2c1 {
Alexander Graf377c5342017-10-04 14:39:16 +020060 pinctrl-names = "default";
61 pinctrl-0 = <&i2c1_gpio2>;
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020062 status = "okay";
63 clock-frequency = <100000>;
64};
65
Fabian Vogt7ad2aa02016-09-26 14:26:47 +020066&usb {
67 power-domains = <&power RPI_POWER_DOMAIN_USB>;
68};
69
Alexander Graf377c5342017-10-04 14:39:16 +020070&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};