Commit | Line | Data |
---|---|---|
5ec6f2cd AA |
1 | #include <dt-bindings/power/raspberrypi-power.h> |
2 | ||
ba2a1d69 MK |
3 | / { |
4 | memory { | |
6b7b554d | 5 | device_type = "memory"; |
ba2a1d69 MK |
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 | }; | |
b35ef526 EA |
18 | |
19 | soc { | |
20 | firmware: firmware { | |
21 | compatible = "raspberrypi,bcm2835-firmware"; | |
22 | mboxes = <&mailbox>; | |
23 | }; | |
5ec6f2cd AA |
24 | |
25 | power: power { | |
26 | compatible = "raspberrypi,bcm2835-power"; | |
27 | firmware = <&firmware>; | |
28 | #power-domain-cells = <1>; | |
29 | }; | |
b35ef526 | 30 | }; |
ba2a1d69 MK |
31 | }; |
32 | ||
33 | &gpio { | |
34 | pinctrl-names = "default"; | |
35 | ||
36 | gpioout: gpioout { | |
37 | brcm,pins = <6>; | |
12091112 | 38 | brcm,function = <BCM2835_FSEL_GPIO_OUT>; |
ba2a1d69 MK |
39 | }; |
40 | ||
41 | alt0: alt0 { | |
4188ea2a | 42 | brcm,pins = <4 5 7 8 9 10 11>; |
12091112 | 43 | brcm,function = <BCM2835_FSEL_ALT0>; |
ba2a1d69 | 44 | }; |
ba2a1d69 MK |
45 | }; |
46 | ||
47 | &i2c0 { | |
e6e19971 GH |
48 | pinctrl-names = "default"; |
49 | pinctrl-0 = <&i2c0_gpio0>; | |
ba2a1d69 MK |
50 | status = "okay"; |
51 | clock-frequency = <100000>; | |
52 | }; | |
53 | ||
54 | &i2c1 { | |
4eb65cbf GH |
55 | pinctrl-names = "default"; |
56 | pinctrl-0 = <&i2c1_gpio2>; | |
ba2a1d69 MK |
57 | status = "okay"; |
58 | clock-frequency = <100000>; | |
59 | }; | |
60 | ||
121432c7 EA |
61 | &i2c2 { |
62 | status = "okay"; | |
63 | }; | |
64 | ||
ba2a1d69 | 65 | &sdhci { |
f8bef361 GH |
66 | pinctrl-names = "default"; |
67 | pinctrl-0 = <&emmc_gpio48>; | |
ba2a1d69 MK |
68 | bus-width = <4>; |
69 | }; | |
40ad4499 | 70 | |
7f31a955 GH |
71 | &sdhost { |
72 | pinctrl-names = "default"; | |
73 | pinctrl-0 = <&sdhost_gpio48>; | |
a19adf8d | 74 | status = "okay"; |
7f31a955 GH |
75 | bus-width = <4>; |
76 | }; | |
77 | ||
40ad4499 | 78 | &pwm { |
14e0ea34 GH |
79 | pinctrl-names = "default"; |
80 | pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>; | |
40ad4499 RP |
81 | status = "okay"; |
82 | }; | |
5ec6f2cd AA |
83 | |
84 | &usb { | |
85 | power-domains = <&power RPI_POWER_DOMAIN_USB>; | |
86 | }; | |
49ac67e0 EA |
87 | |
88 | &v3d { | |
89 | power-domains = <&power RPI_POWER_DOMAIN_V3D>; | |
90 | }; | |
91 | ||
92 | &hdmi { | |
93 | power-domains = <&power RPI_POWER_DOMAIN_HDMI>; | |
94 | status = "okay"; | |
95 | }; | |
5ab1a37c BB |
96 | |
97 | &vec { | |
98 | power-domains = <&power RPI_POWER_DOMAIN_VEC>; | |
99 | status = "okay"; | |
100 | }; | |
4aba4cf8 EA |
101 | |
102 | &dsi0 { | |
103 | power-domains = <&power RPI_POWER_DOMAIN_DSI0>; | |
104 | }; | |
105 | ||
106 | &dsi1 { | |
107 | power-domains = <&power RPI_POWER_DOMAIN_DSI1>; | |
108 | }; |