Merge tag 'amlogic-dt-2' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman...
[linux-2.6-block.git] / arch / arm / boot / dts / bcm2836-rpi-2-b.dts
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
80534f09
EA
2/dts-v1/;
3#include "bcm2836.dtsi"
4#include "bcm2835-rpi.dtsi"
6a937927 5#include "bcm283x-rpi-smsc9514.dtsi"
00a33ec4 6#include "bcm283x-rpi-usb-host.dtsi"
80534f09
EA
7
8/ {
9 compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
10 model = "Raspberry Pi 2 Model B";
11
12 memory {
13 reg = <0 0x40000000>;
14 };
15
16 leds {
17 act {
3edb73d8 18 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
80534f09
EA
19 };
20
21 pwr {
22 label = "PWR";
3edb73d8 23 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
80534f09
EA
24 default-state = "keep";
25 linux,default-trigger = "default-on";
26 };
27 };
28};
29
30&gpio {
a6d962ae 31 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;
80534f09
EA
32
33 /* I2S interface */
34 i2s_alt0: i2s_alt0 {
35 brcm,pins = <18 19 20 21>;
36 brcm,function = <BCM2835_FSEL_ALT0>;
37 };
38};
49ac67e0
EA
39
40&hdmi {
41 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
42};
4188ea2a 43
c4bb9782
SW
44&pwm {
45 pinctrl-names = "default";
46 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
47 status = "okay";
48};
49
4188ea2a
SW
50&uart0 {
51 pinctrl-names = "default";
52 pinctrl-0 = <&uart0_gpio14>;
53 status = "okay";
54};