0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 #include "bcm2837-rpi-cm3.dtsi"
0004 #include "bcm283x-rpi-usb-host.dtsi"
0005
0006 / {
0007 compatible = "raspberrypi,3-compute-module", "brcm,bcm2837";
0008 model = "Raspberry Pi Compute Module 3 IO board V3.0";
0009 };
0010
0011 &gpio {
0012 /*
0013 * This is based on the official GPU firmware DT blob.
0014 *
0015 * Legend:
0016 * "FOO" = GPIO line named "FOO" on the schematic
0017 * "FOO_N" = GPIO line named "FOO" on schematic, active low
0018 */
0019 gpio-line-names = "GPIO0",
0020 "GPIO1",
0021 "GPIO2",
0022 "GPIO3",
0023 "GPIO4",
0024 "GPIO5",
0025 "GPIO6",
0026 "GPIO7",
0027 "GPIO8",
0028 "GPIO9",
0029 "GPIO10",
0030 "GPIO11",
0031 "GPIO12",
0032 "GPIO13",
0033 "GPIO14",
0034 "GPIO15",
0035 "GPIO16",
0036 "GPIO17",
0037 "GPIO18",
0038 "GPIO19",
0039 "GPIO20",
0040 "GPIO21",
0041 "GPIO22",
0042 "GPIO23",
0043 "GPIO24",
0044 "GPIO25",
0045 "GPIO26",
0046 "GPIO27",
0047 "GPIO28",
0048 "GPIO29",
0049 "GPIO30",
0050 "GPIO31",
0051 "GPIO32",
0052 "GPIO33",
0053 "GPIO34",
0054 "GPIO35",
0055 "GPIO36",
0056 "GPIO37",
0057 "GPIO38",
0058 "GPIO39",
0059 "GPIO40",
0060 "GPIO41",
0061 "GPIO42",
0062 "GPIO43",
0063 "GPIO44",
0064 "GPIO45",
0065 "SMPS_SCL",
0066 "SMPS_SDA",
0067 /* Used by eMMC */
0068 "SD_CLK_R",
0069 "SD_CMD_R",
0070 "SD_DATA0_R",
0071 "SD_DATA1_R",
0072 "SD_DATA2_R",
0073 "SD_DATA3_R";
0074
0075 pinctrl-0 = <&gpioout &alt0>;
0076 };
0077
0078 &hdmi {
0079 hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
0080 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
0081 status = "okay";
0082 };
0083
0084 &sdhost {
0085 pinctrl-names = "default";
0086 pinctrl-0 = <&sdhost_gpio48>;
0087 bus-width = <4>;
0088 status = "okay";
0089 };
0090
0091 &uart0 {
0092 pinctrl-names = "default";
0093 pinctrl-0 = <&uart0_gpio14>;
0094 status = "okay";
0095 };