GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / boot / dts / bcm2835-rpi.dtsi
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", "simple-bus";
22                         #address-cells = <0>;
23                         #size-cells = <0>;
24                         mboxes = <&mailbox>;
25                 };
26
27                 power: power {
28                         compatible = "raspberrypi,bcm2835-power";
29                         firmware = <&firmware>;
30                         #power-domain-cells = <1>;
31                 };
32
33                 mailbox@7e00b840 {
34                         compatible = "brcm,bcm2835-vchiq";
35                         reg = <0x7e00b840 0x3c>;
36                         interrupts = <0 2>;
37                 };
38         };
39 };
40
41 &gpio {
42         pinctrl-names = "default";
43
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 &i2c2 {
70         status = "okay";
71 };
72
73 &sdhci {
74         pinctrl-names = "default";
75         pinctrl-0 = <&emmc_gpio48>;
76         bus-width = <4>;
77 };
78
79 &sdhost {
80         pinctrl-names = "default";
81         pinctrl-0 = <&sdhost_gpio48>;
82         status = "okay";
83         bus-width = <4>;
84 };
85
86 &usb {
87         power-domains = <&power RPI_POWER_DOMAIN_USB>;
88 };
89
90 &v3d {
91         power-domains = <&power RPI_POWER_DOMAIN_V3D>;
92 };
93
94 &hdmi {
95         power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
96         status = "okay";
97 };
98
99 &vec {
100         power-domains = <&power RPI_POWER_DOMAIN_VEC>;
101         status = "okay";
102 };
103
104 &dsi0 {
105         power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
106 };
107
108 &dsi1 {
109         power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
110 };