blob: 46d078e29017eeda2ea5d92c6d0c21d1ce9deccd [file] [log] [blame]
Lubomir Rintel7a1298e2016-01-25 21:40:06 +01001/dts-v1/;
2#include "bcm2835.dtsi"
3#include "bcm2835-rpi.dtsi"
Stefan Wahren00a33ec2016-08-21 15:10:00 +00004#include "bcm283x-rpi-usb-host.dtsi"
Lubomir Rintel7a1298e2016-01-25 21:40:06 +01005
6/ {
7 compatible = "raspberrypi,model-a", "brcm,bcm2835";
8 model = "Raspberry Pi Model A";
9
10 leds {
11 act {
12 gpios = <&gpio 16 1>;
13 };
14 };
15};
16
17&gpio {
Linus Walleij731b26a2016-10-06 13:15:02 +020018 /*
19 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf
20 * RPI00021 sheet 02
21 *
22 * Legend:
23 * "NC" = not connected (no rail from the SoC)
24 * "FOO" = GPIO line named "FOO" on the schematic
25 * "FOO_N" = GPIO line named "FOO" on schematic, active low
26 */
27 gpio-line-names = "SDA0",
28 "SCL0",
29 "SDA1",
30 "SCL1",
31 "GPIO_GCLK",
Stefan Wahren6b917082016-11-16 17:52:06 +000032 "CAM_GPIO1",
Linus Walleij731b26a2016-10-06 13:15:02 +020033 "LAN_RUN",
34 "SPI_CE1_N",
35 "SPI_CE0_N",
36 "SPI_MISO",
37 "SPI_MOSI",
38 "SPI_SCLK",
39 "NC", /* GPIO12 */
40 "NC", /* GPIO13 */
41 /* Serial port */
42 "TXD0",
43 "RXD0",
44 "STATUS_LED_N",
45 "GPIO17",
46 "GPIO18",
47 "NC", /* GPIO19 */
48 "NC", /* GPIO20 */
49 "GPIO21",
50 "GPIO22",
51 "GPIO23",
52 "GPIO24",
53 "GPIO25",
54 "NC", /* GPIO26 */
Stefan Wahren6b917082016-11-16 17:52:06 +000055 "CAM_GPIO0",
Linus Walleij731b26a2016-10-06 13:15:02 +020056 /* Binary number representing build/revision */
57 "CONFIG0",
58 "CONFIG1",
59 "CONFIG2",
60 "CONFIG3",
61 "NC", /* GPIO32 */
62 "NC", /* GPIO33 */
63 "NC", /* GPIO34 */
64 "NC", /* GPIO35 */
65 "NC", /* GPIO36 */
66 "NC", /* GPIO37 */
67 "NC", /* GPIO38 */
68 "NC", /* GPIO39 */
69 "PWM0_OUT",
70 "NC", /* GPIO41 */
71 "NC", /* GPIO42 */
72 "NC", /* GPIO43 */
73 "NC", /* GPIO44 */
74 "PWM1_OUT",
75 "HDMI_HPD_P",
76 "SD_CARD_DET",
77 /* Used by SD Card */
78 "SD_CLK_R",
79 "SD_CMD_R",
80 "SD_DATA0_R",
81 "SD_DATA1_R",
82 "SD_DATA2_R",
83 "SD_DATA3_R";
84
Gerd Hoffmanna6d962a2016-09-19 10:43:23 +020085 pinctrl-0 = <&gpioout &alt0 &i2s_alt2>;
Lubomir Rintel7a1298e2016-01-25 21:40:06 +010086
87 /* I2S interface */
88 i2s_alt2: i2s_alt2 {
89 brcm,pins = <28 29 30 31>;
90 brcm,function = <BCM2835_FSEL_ALT2>;
91 };
92};
Eric Anholt49ac67e2015-03-02 14:36:16 -080093
94&hdmi {
95 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
96};