xref: /linux/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1#include <dt-bindings/power/raspberrypi-power.h>
2
3/ {
4	soc {
5		firmware: firmware {
6			compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
7			#address-cells = <1>;
8			#size-cells = <1>;
9
10			mboxes = <&mailbox>;
11			dma-ranges;
12		};
13
14		power: power {
15			compatible = "raspberrypi,bcm2835-power";
16			firmware = <&firmware>;
17			#power-domain-cells = <1>;
18		};
19
20		vchiq: mailbox@7e00b840 {
21			compatible = "brcm,bcm2835-vchiq";
22			reg = <0x7e00b840 0x3c>;
23			interrupts = <0 2>;
24		};
25	};
26};
27
28&gpio {
29	gpioout: gpioout {
30		brcm,pins = <6>;
31		brcm,function = <BCM2835_FSEL_GPIO_OUT>;
32	};
33
34	alt0: alt0 {
35		brcm,pins = <4 5 7 8 9 10 11>;
36		brcm,function = <BCM2835_FSEL_ALT0>;
37	};
38};
39
40&i2c0 {
41	pinctrl-names = "default";
42	pinctrl-0 = <&i2c0_gpio0>;
43	status = "okay";
44	clock-frequency = <100000>;
45};
46
47&i2c1 {
48	pinctrl-names = "default";
49	pinctrl-0 = <&i2c1_gpio2>;
50	status = "okay";
51	clock-frequency = <100000>;
52};
53
54&usb {
55	power-domains = <&power RPI_POWER_DOMAIN_USB>;
56};
57
58&vec {
59	power-domains = <&power RPI_POWER_DOMAIN_VEC>;
60	status = "okay";
61};
62
63&dsi0 {
64	power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
65};
66
67&dsi1 {
68	power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
69};
70