Commit | Line | Data |
---|---|---|
80534f09 EA |
1 | /dts-v1/; |
2 | #include "bcm2836.dtsi" | |
3 | #include "bcm2835-rpi.dtsi" | |
6a937927 | 4 | #include "bcm283x-rpi-smsc9514.dtsi" |
80534f09 EA |
5 | |
6 | / { | |
7 | compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; | |
8 | model = "Raspberry Pi 2 Model B"; | |
9 | ||
10 | memory { | |
11 | reg = <0 0x40000000>; | |
12 | }; | |
13 | ||
14 | leds { | |
15 | act { | |
16 | gpios = <&gpio 47 0>; | |
17 | }; | |
18 | ||
19 | pwr { | |
20 | label = "PWR"; | |
21 | gpios = <&gpio 35 0>; | |
22 | default-state = "keep"; | |
23 | linux,default-trigger = "default-on"; | |
24 | }; | |
25 | }; | |
26 | }; | |
27 | ||
28 | &gpio { | |
29 | pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>; | |
30 | ||
31 | /* I2S interface */ | |
32 | i2s_alt0: i2s_alt0 { | |
33 | brcm,pins = <18 19 20 21>; | |
34 | brcm,function = <BCM2835_FSEL_ALT0>; | |
35 | }; | |
36 | }; | |
49ac67e0 EA |
37 | |
38 | &hdmi { | |
39 | hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; | |
40 | }; |