xref: /freebsd/sys/contrib/device-tree/src/arm/broadcom/bcm2835-rpi.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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	pinctrl-names = "default";
30
31	gpioout: gpioout {
32		brcm,pins = <6>;
33		brcm,function = <BCM2835_FSEL_GPIO_OUT>;
34	};
35
36	alt0: alt0 {
37		brcm,pins = <4 5 7 8 9 10 11>;
38		brcm,function = <BCM2835_FSEL_ALT0>;
39	};
40};
41
42&i2c0 {
43	pinctrl-names = "default";
44	pinctrl-0 = <&i2c0_gpio0>;
45	status = "okay";
46	clock-frequency = <100000>;
47};
48
49&i2c1 {
50	pinctrl-names = "default";
51	pinctrl-0 = <&i2c1_gpio2>;
52	status = "okay";
53	clock-frequency = <100000>;
54};
55
56&usb {
57	power-domains = <&power RPI_POWER_DOMAIN_USB>;
58};
59
60&vec {
61	power-domains = <&power RPI_POWER_DOMAIN_VEC>;
62	status = "okay";
63};
64
65&dsi0 {
66	power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
67};
68
69&dsi1 {
70	power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
71};
72