1#include <dt-bindings/power/raspberrypi-power.h>
2
3/ {
4	leds {
5		compatible = "gpio-leds";
6
7		led-act {
8			label = "ACT";
9			default-state = "keep";
10			linux,default-trigger = "heartbeat";
11		};
12	};
13
14	soc {
15		firmware: firmware {
16			compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
17			#address-cells = <1>;
18			#size-cells = <1>;
19
20			mboxes = <&mailbox>;
21			dma-ranges;
22		};
23
24		power: power {
25			compatible = "raspberrypi,bcm2835-power";
26			firmware = <&firmware>;
27			#power-domain-cells = <1>;
28		};
29
30		vchiq: mailbox@7e00b840 {
31			compatible = "brcm,bcm2835-vchiq";
32			reg = <0x7e00b840 0x3c>;
33			interrupts = <0 2>;
34		};
35	};
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 {
47		brcm,pins = <4 5 7 8 9 10 11>;
48		brcm,function = <BCM2835_FSEL_ALT0>;
49	};
50};
51
52&i2c0 {
53	pinctrl-names = "default";
54	pinctrl-0 = <&i2c0_gpio0>;
55	status = "okay";
56	clock-frequency = <100000>;
57};
58
59&i2c1 {
60	pinctrl-names = "default";
61	pinctrl-0 = <&i2c1_gpio2>;
62	status = "okay";
63	clock-frequency = <100000>;
64};
65
66&usb {
67	power-domains = <&power RPI_POWER_DOMAIN_USB>;
68};
69
70&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};
82