1// SPDX-License-Identifier: GPL-2.0 2/dts-v1/; 3#include "bcm2835-rpi-cm1.dtsi" 4#include "bcm283x-rpi-usb-host.dtsi" 5 6/ { 7 compatible = "raspberrypi,compute-module", "brcm,bcm2835"; 8 model = "Raspberry Pi Compute Module IO board rev1"; 9}; 10 11&gpio { 12 /* 13 * This is based on the official GPU firmware DT blob. 14 * 15 * Legend: 16 * "FOO" = GPIO line named "FOO" on the schematic 17 * "FOO_N" = GPIO line named "FOO" on schematic, active low 18 */ 19 gpio-line-names = "GPIO0", 20 "GPIO1", 21 "GPIO2", 22 "GPIO3", 23 "GPIO4", 24 "GPIO5", 25 "GPIO6", 26 "GPIO7", 27 "GPIO8", 28 "GPIO9", 29 "GPIO10", 30 "GPIO11", 31 "GPIO12", 32 "GPIO13", 33 "GPIO14", 34 "GPIO15", 35 "GPIO16", 36 "GPIO17", 37 "GPIO18", 38 "GPIO19", 39 "GPIO20", 40 "GPIO21", 41 "GPIO22", 42 "GPIO23", 43 "GPIO24", 44 "GPIO25", 45 "GPIO26", 46 "GPIO27", 47 "GPIO28", 48 "GPIO29", 49 "GPIO30", 50 "GPIO31", 51 "GPIO32", 52 "GPIO33", 53 "GPIO34", 54 "GPIO35", 55 "GPIO36", 56 "GPIO37", 57 "GPIO38", 58 "GPIO39", 59 "GPIO40", 60 "GPIO41", 61 "GPIO42", 62 "GPIO43", 63 "GPIO44", 64 "GPIO45", 65 "HDMI_HPD_N", 66 /* Also used as ACT LED */ 67 "EMMC_EN_N", 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 = <&gpio 46 GPIO_ACTIVE_LOW>; 81 power-domains = <&power RPI_POWER_DOMAIN_HDMI>; 82 status = "okay"; 83}; 84 85&sdhost { 86 pinctrl-names = "default"; 87 pinctrl-0 = <&sdhost_gpio48>; 88 bus-width = <4>; 89 status = "okay"; 90}; 91 92&uart0 { 93 pinctrl-names = "default"; 94 pinctrl-0 = <&uart0_gpio14>; 95 status = "okay"; 96}; 97