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