xref: /openbmc/u-boot/arch/arm/dts/bcm2835-rpi.dtsi (revision baefb63a)
1#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 {
42		brcm,pins = <4 5 7 8 9 10 11>;
43		brcm,function = <BCM2835_FSEL_ALT0>;
44	};
45};
46
47&i2c0 {
48	pinctrl-names = "default";
49	pinctrl-0 = <&i2c0_gpio0>;
50	status = "okay";
51	clock-frequency = <100000>;
52};
53
54&i2c1 {
55	pinctrl-names = "default";
56	pinctrl-0 = <&i2c1_gpio2>;
57	status = "okay";
58	clock-frequency = <100000>;
59};
60
61&i2c2 {
62	status = "okay";
63};
64
65&sdhci {
66	pinctrl-names = "default";
67	pinctrl-0 = <&emmc_gpio48>;
68	status = "okay";
69	bus-width = <4>;
70};
71
72&sdhost {
73	pinctrl-names = "default";
74	pinctrl-0 = <&sdhost_gpio48>;
75	bus-width = <4>;
76};
77
78&pwm {
79	pinctrl-names = "default";
80	pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
81	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};
96
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};
109