xref: /linux/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1724ba675SRob Herring#include <dt-bindings/power/raspberrypi-power.h>
2724ba675SRob Herring
3724ba675SRob Herring/ {
4724ba675SRob Herring	soc {
5724ba675SRob Herring		firmware: firmware {
6724ba675SRob Herring			compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
7724ba675SRob Herring			mboxes = <&mailbox>;
8f702475bSLaurent Pinchart
9f702475bSLaurent Pinchart			firmware_clocks: clocks {
10f702475bSLaurent Pinchart				compatible = "raspberrypi,firmware-clocks";
11f702475bSLaurent Pinchart				#clock-cells = <1>;
12f702475bSLaurent Pinchart			};
13724ba675SRob Herring		};
14724ba675SRob Herring
15724ba675SRob Herring		power: power {
16724ba675SRob Herring			compatible = "raspberrypi,bcm2835-power";
17724ba675SRob Herring			firmware = <&firmware>;
18724ba675SRob Herring			#power-domain-cells = <1>;
19724ba675SRob Herring		};
20724ba675SRob Herring
21724ba675SRob Herring		vchiq: mailbox@7e00b840 {
22724ba675SRob Herring			compatible = "brcm,bcm2835-vchiq";
23724ba675SRob Herring			reg = <0x7e00b840 0x3c>;
24724ba675SRob Herring			interrupts = <0 2>;
25724ba675SRob Herring		};
26724ba675SRob Herring	};
27724ba675SRob Herring};
28724ba675SRob Herring
29*7b4e7a4fSJean-Michel Hautbois&csi0 {
30*7b4e7a4fSJean-Michel Hautbois	clocks = <&clocks BCM2835_CLOCK_CAM0>,
31*7b4e7a4fSJean-Michel Hautbois		 <&firmware_clocks 4>;
32*7b4e7a4fSJean-Michel Hautbois	clock-names = "lp", "vpu";
33*7b4e7a4fSJean-Michel Hautbois	power-domains = <&power RPI_POWER_DOMAIN_UNICAM0>;
34*7b4e7a4fSJean-Michel Hautbois};
35*7b4e7a4fSJean-Michel Hautbois
36*7b4e7a4fSJean-Michel Hautbois&csi1 {
37*7b4e7a4fSJean-Michel Hautbois	clocks = <&clocks BCM2835_CLOCK_CAM1>,
38*7b4e7a4fSJean-Michel Hautbois		 <&firmware_clocks 4>;
39*7b4e7a4fSJean-Michel Hautbois	clock-names = "lp", "vpu";
40*7b4e7a4fSJean-Michel Hautbois	power-domains = <&power RPI_POWER_DOMAIN_UNICAM1>;
41*7b4e7a4fSJean-Michel Hautbois};
42*7b4e7a4fSJean-Michel Hautbois
43724ba675SRob Herring&gpio {
44724ba675SRob Herring	gpioout: gpioout {
45724ba675SRob Herring		brcm,pins = <6>;
46724ba675SRob Herring		brcm,function = <BCM2835_FSEL_GPIO_OUT>;
47724ba675SRob Herring	};
48724ba675SRob Herring
49724ba675SRob Herring	alt0: alt0 {
50724ba675SRob Herring		brcm,pins = <4 5 7 8 9 10 11>;
51724ba675SRob Herring		brcm,function = <BCM2835_FSEL_ALT0>;
52724ba675SRob Herring	};
53724ba675SRob Herring};
54724ba675SRob Herring
55724ba675SRob Herring&i2c0 {
56724ba675SRob Herring	pinctrl-names = "default";
57724ba675SRob Herring	pinctrl-0 = <&i2c0_gpio0>;
58724ba675SRob Herring	status = "okay";
59724ba675SRob Herring	clock-frequency = <100000>;
60724ba675SRob Herring};
61724ba675SRob Herring
62724ba675SRob Herring&i2c1 {
63724ba675SRob Herring	pinctrl-names = "default";
64724ba675SRob Herring	pinctrl-0 = <&i2c1_gpio2>;
65724ba675SRob Herring	status = "okay";
66724ba675SRob Herring	clock-frequency = <100000>;
67724ba675SRob Herring};
68724ba675SRob Herring
69724ba675SRob Herring&usb {
70724ba675SRob Herring	power-domains = <&power RPI_POWER_DOMAIN_USB>;
71724ba675SRob Herring};
72724ba675SRob Herring
73724ba675SRob Herring&vec {
74724ba675SRob Herring	power-domains = <&power RPI_POWER_DOMAIN_VEC>;
75724ba675SRob Herring	status = "okay";
76724ba675SRob Herring};
77724ba675SRob Herring
78724ba675SRob Herring&dsi0 {
79724ba675SRob Herring	power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
80724ba675SRob Herring};
81724ba675SRob Herring
82724ba675SRob Herring&dsi1 {
83724ba675SRob Herring	power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
84724ba675SRob Herring};
85