Fabian Vogt | 4602558 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | #include "bcm2836.dtsi" |
| 3 | #include "bcm2835-rpi.dtsi" |
| 4 | #include "bcm283x-rpi-smsc9514.dtsi" |
Alexander Graf | 409f05f | 2017-10-04 14:39:16 +0200 | [diff] [blame^] | 5 | #include "bcm283x-rpi-usb-host.dtsi" |
Fabian Vogt | 4602558 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | compatible = "raspberrypi,2-model-b", "brcm,bcm2836"; |
| 9 | model = "Raspberry Pi 2 Model B"; |
| 10 | |
| 11 | memory { |
| 12 | reg = <0 0x40000000>; |
| 13 | }; |
| 14 | |
| 15 | leds { |
| 16 | act { |
| 17 | gpios = <&gpio 47 0>; |
| 18 | }; |
| 19 | |
| 20 | pwr { |
| 21 | label = "PWR"; |
| 22 | gpios = <&gpio 35 0>; |
| 23 | default-state = "keep"; |
| 24 | linux,default-trigger = "default-on"; |
| 25 | }; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | &gpio { |
Alexander Graf | 409f05f | 2017-10-04 14:39:16 +0200 | [diff] [blame^] | 30 | pinctrl-0 = <&gpioout &alt0 &i2s_alt0>; |
Fabian Vogt | 4602558 | 2016-09-26 14:26:47 +0200 | [diff] [blame] | 31 | |
| 32 | /* I2S interface */ |
| 33 | i2s_alt0: i2s_alt0 { |
| 34 | brcm,pins = <18 19 20 21>; |
| 35 | brcm,function = <BCM2835_FSEL_ALT0>; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | &hdmi { |
| 40 | hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; |
| 41 | }; |
Alexander Graf | 409f05f | 2017-10-04 14:39:16 +0200 | [diff] [blame^] | 42 | |
| 43 | &uart0 { |
| 44 | pinctrl-names = "default"; |
| 45 | pinctrl-0 = <&uart0_gpio14>; |
| 46 | status = "okay"; |
| 47 | }; |