]>
Commit | Line | Data |
---|---|---|
ec9653b8 | 1 | /dts-v1/; |
ec9653b8 SA |
2 | /include/ "bcm2835.dtsi" |
3 | ||
4 | / { | |
5 | compatible = "raspberrypi,model-b", "brcm,bcm2835"; | |
6 | model = "Raspberry Pi Model B"; | |
7 | ||
8 | memory { | |
9 | reg = <0 0x10000000>; | |
10 | }; | |
805b4db8 DM |
11 | |
12 | leds { | |
13 | compatible = "gpio-leds"; | |
14 | ||
15 | act { | |
16 | label = "ACT"; | |
17 | gpios = <&gpio 16 1>; | |
18 | default-state = "keep"; | |
19 | linux,default-trigger = "heartbeat"; | |
20 | }; | |
21 | }; | |
ec9653b8 | 22 | }; |
805504ab SW |
23 | |
24 | &gpio { | |
25 | pinctrl-names = "default"; | |
5631e7f4 SW |
26 | pinctrl-0 = <&gpioout &alt0 &alt3>; |
27 | ||
28 | gpioout: gpioout { | |
29 | brcm,pins = <6>; | |
30 | brcm,function = <1>; /* GPIO out */ | |
31 | }; | |
805504ab SW |
32 | |
33 | alt0: alt0 { | |
5631e7f4 | 34 | brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>; |
805504ab SW |
35 | brcm,function = <4>; /* alt0 */ |
36 | }; | |
37 | ||
38 | alt3: alt3 { | |
39 | brcm,pins = <48 49 50 51 52 53>; | |
40 | brcm,function = <7>; /* alt3 */ | |
41 | }; | |
42 | }; | |
5186bf28 | 43 | |
232fed48 SW |
44 | &i2c0 { |
45 | status = "okay"; | |
46 | clock-frequency = <100000>; | |
47 | }; | |
48 | ||
49 | &i2c1 { | |
50 | status = "okay"; | |
51 | clock-frequency = <100000>; | |
52 | }; | |
53 | ||
5186bf28 SW |
54 | &sdhci { |
55 | status = "okay"; | |
56 | bus-width = <4>; | |
57 | }; |