Heinrich Schuchardt | 143256b | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 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 | * "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 | "HDMI_HPD_N", |
| 67 | /* Also used as ACT LED */ |
| 68 | "EMMC_EN_N", |
| 69 | /* Used by eMMC */ |
| 70 | "SD_CLK_R", |
| 71 | "SD_CMD_R", |
| 72 | "SD_DATA0_R", |
| 73 | "SD_DATA1_R", |
| 74 | "SD_DATA2_R", |
| 75 | "SD_DATA3_R"; |
| 76 | |
| 77 | pinctrl-0 = <&gpioout &alt0>; |
| 78 | }; |
| 79 | |
| 80 | &hdmi { |
| 81 | hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; |
Simon Glass | 9ae600e | 2021-12-16 20:59:13 -0700 | [diff] [blame] | 82 | power-domains = <&power RPI_POWER_DOMAIN_HDMI>; |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | |
| 86 | &sdhost { |
| 87 | pinctrl-names = "default"; |
| 88 | pinctrl-0 = <&sdhost_gpio48>; |
| 89 | bus-width = <4>; |
| 90 | status = "okay"; |
Heinrich Schuchardt | 143256b | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 91 | }; |
| 92 | |
| 93 | &uart0 { |
| 94 | pinctrl-names = "default"; |
| 95 | pinctrl-0 = <&uart0_gpio14>; |
| 96 | status = "okay"; |
| 97 | }; |