blob: e8de41444b68eed33efa16e92ddf29e3ace5fd1c [file] [log] [blame]
Fabian Vogt46025582016-09-26 14:26:47 +02001/dts-v1/;
2#include "bcm2836.dtsi"
3#include "bcm2835-rpi.dtsi"
4#include "bcm283x-rpi-smsc9514.dtsi"
Alexander Graf409f05f2017-10-04 14:39:16 +02005#include "bcm283x-rpi-usb-host.dtsi"
Fabian Vogt46025582016-09-26 14:26:47 +02006
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 Graf409f05f2017-10-04 14:39:16 +020030 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;
Fabian Vogt46025582016-09-26 14:26:47 +020031
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 Graf409f05f2017-10-04 14:39:16 +020042
43&uart0 {
44 pinctrl-names = "default";
45 pinctrl-0 = <&uart0_gpio14>;
46 status = "okay";
47};