]> Git Repo - J-u-boot.git/blame - arch/arm/dts/bcm2836-rpi-2-b.dts
Merge branch 'network_master' of https://source.denx.de/u-boot/custodians/u-boot...
[J-u-boot.git] / arch / arm / dts / bcm2836-rpi-2-b.dts
CommitLineData
143256b3 1// SPDX-License-Identifier: GPL-2.0
46025584
FV
2/dts-v1/;
3#include "bcm2836.dtsi"
143256b3 4#include "bcm2836-rpi.dtsi"
46025584 5#include "bcm283x-rpi-smsc9514.dtsi"
409f05f2 6#include "bcm283x-rpi-usb-host.dtsi"
46025584
FV
7
8/ {
9 compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
10 model = "Raspberry Pi 2 Model B";
11
143256b3 12 memory@0 {
46025584
FV
13 reg = <0 0x40000000>;
14 };
15
16 leds {
17 act {
143256b3 18 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
46025584
FV
19 };
20
21 pwr {
22 label = "PWR";
143256b3 23 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
46025584
FV
24 default-state = "keep";
25 linux,default-trigger = "default-on";
26 };
27 };
28};
29
30&gpio {
143256b3
HS
31 /*
32 * Taken from rpi_SCH_2b_1p2_reduced.pdf and
33 * the official GPU firmware DT blob.
34 *
35 * Legend:
36 * "NC" = not connected (no rail from the SoC)
37 * "FOO" = GPIO line named "FOO" on the schematic
38 * "FOO_N" = GPIO line named "FOO" on schematic, active low
39 */
40 gpio-line-names = "ID_SDA",
41 "ID_SCL",
42 "SDA1",
43 "SCL1",
44 "GPIO_GCLK",
45 "GPIO5",
46 "GPIO6",
47 "SPI_CE1_N",
48 "SPI_CE0_N",
49 "SPI_MISO",
50 "SPI_MOSI",
51 "SPI_SCLK",
52 "GPIO12",
53 "GPIO13",
54 /* Serial port */
55 "TXD0",
56 "RXD0",
57 "GPIO16",
58 "GPIO17",
59 "GPIO18",
60 "GPIO19",
61 "GPIO20",
62 "GPIO21",
63 "GPIO22",
64 "GPIO23",
65 "GPIO24",
66 "GPIO25",
67 "GPIO26",
68 "GPIO27",
69 "SDA0",
70 "SCL0",
71 "", /* GPIO30 */
72 "LAN_RUN",
73 "CAM_GPIO1",
74 "", /* GPIO33 */
75 "", /* GPIO34 */
76 "PWR_LOW_N",
77 "", /* GPIO36 */
78 "", /* GPIO37 */
79 "USB_LIMIT",
80 "", /* GPIO39 */
81 "PWM0_OUT",
82 "CAM_GPIO0",
83 "SMPS_SCL",
84 "SMPS_SDA",
85 "ETHCLK",
86 "PWM1_OUT",
87 "HDMI_HPD_N",
88 "STATUS_LED",
89 /* Used by SD Card */
90 "SD_CLK_R",
91 "SD_CMD_R",
92 "SD_DATA0_R",
93 "SD_DATA1_R",
94 "SD_DATA2_R",
95 "SD_DATA3_R";
96
409f05f2 97 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;
46025584
FV
98
99 /* I2S interface */
100 i2s_alt0: i2s_alt0 {
101 brcm,pins = <18 19 20 21>;
102 brcm,function = <BCM2835_FSEL_ALT0>;
103 };
104};
105
106&hdmi {
107 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
108};
409f05f2 109
143256b3
HS
110&pwm {
111 pinctrl-names = "default";
112 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
113 status = "okay";
114};
115
409f05f2
AG
116&uart0 {
117 pinctrl-names = "default";
118 pinctrl-0 = <&uart0_gpio14>;
119 status = "okay";
120};
This page took 0.3337 seconds and 4 git commands to generate.