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