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