bcm2835-rpi-cm1-io1.dts 1.6 KB

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