aspeed-bmc-qcom-dc-scm-v1.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. // Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  3. /dts-v1/;
  4. #include "aspeed-g6.dtsi"
  5. / {
  6. model = "Qualcomm DC-SCM V1 BMC";
  7. compatible = "qcom,dc-scm-v1-bmc", "aspeed,ast2600";
  8. aliases {
  9. serial4 = &uart5;
  10. };
  11. chosen {
  12. stdout-path = &uart5;
  13. bootargs = "console=ttyS4,115200n8";
  14. };
  15. memory@80000000 {
  16. device_type = "memory";
  17. reg = <0x80000000 0x40000000>;
  18. };
  19. };
  20. &mdio3 {
  21. status = "okay";
  22. ethphy3: ethernet-phy@1 {
  23. compatible = "ethernet-phy-ieee802.3-c22";
  24. reg = <1>;
  25. };
  26. };
  27. &mac2 {
  28. status = "okay";
  29. /* Bootloader sets up the MAC to insert delay */
  30. phy-mode = "rgmii";
  31. phy-handle = <&ethphy3>;
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&pinctrl_rgmii3_default>;
  34. };
  35. &mac3 {
  36. status = "okay";
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&pinctrl_rmii4_default>;
  39. use-ncsi;
  40. };
  41. &rtc {
  42. status = "okay";
  43. };
  44. &fmc {
  45. status = "okay";
  46. flash@0 {
  47. status = "okay";
  48. m25p,fast-read;
  49. label = "bmc";
  50. spi-max-frequency = <133000000>;
  51. #include "openbmc-flash-layout-64.dtsi"
  52. };
  53. flash@1 {
  54. status = "okay";
  55. m25p,fast-read;
  56. label = "alt-bmc";
  57. spi-max-frequency = <133000000>;
  58. #include "openbmc-flash-layout-64-alt.dtsi"
  59. };
  60. };
  61. &spi1 {
  62. status = "okay";
  63. pinctrl-names = "default";
  64. pinctrl-0 = <&pinctrl_spi1_default>;
  65. flash@0 {
  66. status = "okay";
  67. m25p,fast-read;
  68. label = "bios";
  69. spi-max-frequency = <133000000>;
  70. };
  71. };
  72. &gpio0 {
  73. gpio-line-names =
  74. /*A0-A7*/ "","","","","","","","",
  75. /*B0-B7*/ "BMC_FLASH_MUX_SEL","","","","","","","",
  76. /*C0-C7*/ "","","","","","","","",
  77. /*D0-D7*/ "","","","","","","","",
  78. /*E0-E7*/ "","","","","","","","",
  79. /*F0-F7*/ "","","","","","","","",
  80. /*G0-G7*/ "","","","","","","","",
  81. /*H0-H7*/ "","","","","","","","",
  82. /*I0-I7*/ "","","","","","","","",
  83. /*J0-J7*/ "","","","","","","","",
  84. /*K0-K7*/ "","","","","","","","",
  85. /*L0-L7*/ "","","","","","","","",
  86. /*M0-M7*/ "","","","","","","","",
  87. /*N0-N7*/ "BMC_FWSPI_RST_N","","GPIO_1_BMC_3V3","","","","","",
  88. /*O0-O7*/ "JTAG_MUX_A","JTAG_MUX_B","","","","","","",
  89. /*P0-P7*/ "","","","","","","","",
  90. /*Q0-Q7*/ "","","","","","","","",
  91. /*R0-R7*/ "","","","","","","","",
  92. /*S0-S7*/ "","","","","","","","",
  93. /*T0-T7*/ "","","","","","","","",
  94. /*U0-U7*/ "","","","","","","","",
  95. /*V0-V7*/ "","","","SCMFPGA_SPARE_GPIO1_3V3",
  96. "SCMFPGA_SPARE_GPIO2_3V3","SCMFPGA_SPARE_GPIO3_3V3",
  97. "SCMFPGA_SPARE_GPIO4_3V3","SCMFPGA_SPARE_GPIO5_3V3",
  98. /*W0-W7*/ "","","","","","","","",
  99. /*X0-X7*/ "","","","","","","","",
  100. /*Y0-Y7*/ "","","","","","","","",
  101. /*Z0-Z7*/ "","","","","","","","",
  102. /*AA0-AA7*/ "","","","","","","","",
  103. /*AB0-AB7*/ "","","","","","","","",
  104. /*AC0-AC7*/ "","","","","","","","";
  105. };
  106. &gpio1 {
  107. gpio-line-names =
  108. /*A0-A7*/ "GPI_1_BMC_1V8","","","","","",
  109. "SCMFPGA_SPARE_GPIO1_1V8","SCMFPGA_SPARE_GPIO2_1V8",
  110. /*B0-B7*/ "SCMFPGA_SPARE_GPIO3_1V8","SCMFPGA_SPARE_GPIO4_1V8",
  111. "SCMFPGA_SPARE_GPIO5_1V8","","","","","",
  112. /*C0-C7*/ "","","","","","","","",
  113. /*D0-D7*/ "","BMC_SPI1_RST_N","BIOS_FLASH_MUX_SEL","",
  114. "","TPM2_PIRQ_N","TPM2_RST_N","",
  115. /*E0-E7*/ "","","","","","","","";
  116. };
  117. &i2c2 {
  118. status = "okay";
  119. };
  120. &i2c4 {
  121. status = "okay";
  122. };
  123. &i2c5 {
  124. status = "okay";
  125. };
  126. &i2c6 {
  127. status = "okay";
  128. };
  129. &i2c7 {
  130. status = "okay";
  131. };
  132. &i2c8 {
  133. status = "okay";
  134. };
  135. &i2c9 {
  136. status = "okay";
  137. };
  138. &i2c10 {
  139. status = "okay";
  140. };
  141. &i2c12 {
  142. status = "okay";
  143. };
  144. &i2c13 {
  145. status = "okay";
  146. };
  147. &i2c14 {
  148. status = "okay";
  149. };
  150. &i2c15 {
  151. status = "okay";
  152. };
  153. &vhub {
  154. status = "okay";
  155. };