Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 #include "bcm2835-rpi-cm1.dtsi"
0004 #include "bcm283x-rpi-usb-host.dtsi"
0005 
0006 / {
0007         compatible = "raspberrypi,compute-module", "brcm,bcm2835";
0008         model = "Raspberry Pi Compute Module IO board rev1";
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                           "HDMI_HPD_N",
0066                           /* Also used as ACT LED */
0067                           "EMMC_EN_N",
0068                           /* Used by eMMC */
0069                           "SD_CLK_R",
0070                           "SD_CMD_R",
0071                           "SD_DATA0_R",
0072                           "SD_DATA1_R",
0073                           "SD_DATA2_R",
0074                           "SD_DATA3_R";
0075 
0076         pinctrl-0 = <&gpioout &alt0>;
0077 };
0078 
0079 &hdmi {
0080         hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
0081         power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
0082         status = "okay";
0083 };
0084 
0085 &sdhost {
0086         pinctrl-names = "default";
0087         pinctrl-0 = <&sdhost_gpio48>;
0088         bus-width = <4>;
0089         status = "okay";
0090 };
0091 
0092 &uart0 {
0093         pinctrl-names = "default";
0094         pinctrl-0 = <&uart0_gpio14>;
0095         status = "okay";
0096 };