Commit | Line | Data |
---|---|---|
12091112 | 1 | #include "bcm2835.dtsi" |
ba2a1d69 MK |
2 | |
3 | / { | |
4 | memory { | |
5 | reg = <0 0x10000000>; | |
6 | }; | |
7 | ||
8 | leds { | |
9 | compatible = "gpio-leds"; | |
10 | ||
11 | act { | |
12 | label = "ACT"; | |
13 | default-state = "keep"; | |
14 | linux,default-trigger = "heartbeat"; | |
15 | }; | |
16 | }; | |
b35ef526 EA |
17 | |
18 | soc { | |
19 | firmware: firmware { | |
20 | compatible = "raspberrypi,bcm2835-firmware"; | |
21 | mboxes = <&mailbox>; | |
22 | }; | |
23 | }; | |
ba2a1d69 MK |
24 | }; |
25 | ||
26 | &gpio { | |
27 | pinctrl-names = "default"; | |
28 | ||
29 | gpioout: gpioout { | |
30 | brcm,pins = <6>; | |
12091112 | 31 | brcm,function = <BCM2835_FSEL_GPIO_OUT>; |
ba2a1d69 MK |
32 | }; |
33 | ||
34 | alt0: alt0 { | |
35 | brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>; | |
12091112 | 36 | brcm,function = <BCM2835_FSEL_ALT0>; |
ba2a1d69 MK |
37 | }; |
38 | ||
39 | alt3: alt3 { | |
40 | brcm,pins = <48 49 50 51 52 53>; | |
12091112 | 41 | brcm,function = <BCM2835_FSEL_ALT3>; |
ba2a1d69 MK |
42 | }; |
43 | }; | |
44 | ||
45 | &i2c0 { | |
46 | status = "okay"; | |
47 | clock-frequency = <100000>; | |
48 | }; | |
49 | ||
50 | &i2c1 { | |
51 | status = "okay"; | |
52 | clock-frequency = <100000>; | |
53 | }; | |
54 | ||
121432c7 EA |
55 | &i2c2 { |
56 | status = "okay"; | |
57 | }; | |
58 | ||
ba2a1d69 MK |
59 | &sdhci { |
60 | status = "okay"; | |
61 | bus-width = <4>; | |
62 | }; |