]>
Commit | Line | Data |
---|---|---|
a54fe8a6 SW |
1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /dts-v1/; | |
3 | #include "bcm2837-rpi-cm3.dtsi" | |
4 | #include "bcm283x-rpi-usb-host.dtsi" | |
5 | ||
6 | / { | |
7 | compatible = "raspberrypi,3-compute-module", "brcm,bcm2837"; | |
8 | model = "Raspberry Pi Compute Module 3 IO board V3.0"; | |
9 | }; | |
10 | ||
11 | &gpio { | |
12 | /* | |
13 | * This is based on the official GPU firmware DT blob. | |
14 | * | |
15 | * Legend: | |
16 | * "NC" = not connected (no rail from the SoC) | |
17 | * "FOO" = GPIO line named "FOO" on the schematic | |
18 | * "FOO_N" = GPIO line named "FOO" on schematic, active low | |
19 | */ | |
20 | gpio-line-names = "GPIO0", | |
21 | "GPIO1", | |
22 | "GPIO2", | |
23 | "GPIO3", | |
24 | "GPIO4", | |
25 | "GPIO5", | |
26 | "GPIO6", | |
27 | "GPIO7", | |
28 | "GPIO8", | |
29 | "GPIO9", | |
30 | "GPIO10", | |
31 | "GPIO11", | |
32 | "GPIO12", | |
33 | "GPIO13", | |
34 | "GPIO14", | |
35 | "GPIO15", | |
36 | "GPIO16", | |
37 | "GPIO17", | |
38 | "GPIO18", | |
39 | "GPIO19", | |
40 | "GPIO20", | |
41 | "GPIO21", | |
42 | "GPIO22", | |
43 | "GPIO23", | |
44 | "GPIO24", | |
45 | "GPIO25", | |
46 | "GPIO26", | |
47 | "GPIO27", | |
48 | "GPIO28", | |
49 | "GPIO29", | |
50 | "GPIO30", | |
51 | "GPIO31", | |
52 | "GPIO32", | |
53 | "GPIO33", | |
54 | "GPIO34", | |
55 | "GPIO35", | |
56 | "GPIO36", | |
57 | "GPIO37", | |
58 | "GPIO38", | |
59 | "GPIO39", | |
60 | "GPIO40", | |
61 | "GPIO41", | |
62 | "GPIO42", | |
63 | "GPIO43", | |
64 | "GPIO44", | |
65 | "GPIO45", | |
66 | "GPIO46", | |
67 | "GPIO47", | |
68 | /* Used by eMMC */ | |
69 | "SD_CLK_R", | |
70 | "SD_CMD_R", | |
71 | "SD_DATA0_R", | |
72 | "SD_DATA1_R", | |
73 | "SD_DATA2_R", | |
74 | "SD_DATA3_R"; | |
75 | ||
76 | pinctrl-0 = <&gpioout &alt0>; | |
77 | }; | |
78 | ||
79 | &hdmi { | |
80 | hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>; | |
81 | }; | |
82 | ||
83 | &uart0 { | |
84 | pinctrl-names = "default"; | |
85 | pinctrl-0 = <&uart0_gpio14>; | |
86 | status = "okay"; | |
87 | }; |