Eric Anholt | 80534f0 | 2015-04-16 15:26:45 -0700 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | #include "bcm2836.dtsi" |
| 3 | #include "bcm2835-rpi.dtsi" |
| 4 | |
| 5 | / { |
| 6 | compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; |
| 7 | model = "Raspberry Pi 2 Model B"; |
| 8 | |
| 9 | memory { |
| 10 | reg = <0 0x40000000>; |
| 11 | }; |
| 12 | |
| 13 | leds { |
| 14 | act { |
| 15 | gpios = <&gpio 47 0>; |
| 16 | }; |
| 17 | |
| 18 | pwr { |
| 19 | label = "PWR"; |
| 20 | gpios = <&gpio 35 0>; |
| 21 | default-state = "keep"; |
| 22 | linux,default-trigger = "default-on"; |
| 23 | }; |
| 24 | }; |
| 25 | }; |
| 26 | |
| 27 | &gpio { |
| 28 | pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>; |
| 29 | |
| 30 | /* I2S interface */ |
| 31 | i2s_alt0: i2s_alt0 { |
| 32 | brcm,pins = <18 19 20 21>; |
| 33 | brcm,function = <BCM2835_FSEL_ALT0>; |
| 34 | }; |
| 35 | }; |