1#include <dt-bindings/power/raspberrypi-power.h>
2
3/ {
4	memory@0 {
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", "simple-bus";
22			mboxes = <&mailbox>;
23		};
24
25		power: power {
26			compatible = "raspberrypi,bcm2835-power";
27			firmware = <&firmware>;
28			#power-domain-cells = <1>;
29		};
30
31		vchiq: mailbox@7e00b840 {
32			compatible = "brcm,bcm2835-vchiq";
33			reg = <0x7e00b840 0x3c>;
34			interrupts = <0 2>;
35		};
36	};
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 {
48		brcm,pins = <4 5 7 8 9 10 11>;
49		brcm,function = <BCM2835_FSEL_ALT0>;
50	};
51};
52
53&i2c0 {
54	pinctrl-names = "default";
55	pinctrl-0 = <&i2c0_gpio0>;
56	status = "okay";
57	clock-frequency = <100000>;
58};
59
60&i2c1 {
61	pinctrl-names = "default";
62	pinctrl-0 = <&i2c1_gpio2>;
63	status = "okay";
64	clock-frequency = <100000>;
65};
66
67&i2c2 {
68	status = "okay";
69};
70
71&sdhci {
72	pinctrl-names = "default";
73	pinctrl-0 = <&emmc_gpio48>;
74	bus-width = <4>;
75};
76
77&sdhost {
78	pinctrl-names = "default";
79	pinctrl-0 = <&sdhost_gpio48>;
80	status = "okay";
81	bus-width = <4>;
82};
83
84&usb {
85	power-domains = <&power RPI_POWER_DOMAIN_USB>;
86};
87
88&hdmi {
89	power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
90	status = "okay";
91};
92
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};
105