aspeed-bmc-opp-vesnin.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. // SPDX-License-Identifier: GPL-2.0+
  2. // Copyright 2019 YADRO
  3. /dts-v1/;
  4. #include "aspeed-g4.dtsi"
  5. #include <dt-bindings/gpio/aspeed-gpio.h>
  6. / {
  7. model = "Vesnin BMC";
  8. compatible = "yadro,vesnin-bmc", "aspeed,ast2400";
  9. chosen {
  10. stdout-path = &uart5;
  11. bootargs = "console=ttyS4,115200 earlycon";
  12. };
  13. memory@40000000 {
  14. reg = <0x40000000 0x20000000>;
  15. };
  16. reserved-memory {
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. ranges;
  20. vga_memory: framebuffer@5f000000 {
  21. no-map;
  22. reg = <0x5f000000 0x01000000>; /* 16MB */
  23. };
  24. flash_memory: region@5c000000 {
  25. no-map;
  26. reg = <0x5c000000 0x02000000>; /* 32M */
  27. };
  28. };
  29. leds {
  30. compatible = "gpio-leds";
  31. heartbeat {
  32. gpios = <&gpio ASPEED_GPIO(R, 4) GPIO_ACTIVE_LOW>;
  33. };
  34. power_red {
  35. gpios = <&gpio ASPEED_GPIO(N, 1) GPIO_ACTIVE_LOW>;
  36. };
  37. power_green {
  38. gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>;
  39. };
  40. id_blue {
  41. gpios = <&gpio ASPEED_GPIO(O, 0) GPIO_ACTIVE_LOW>;
  42. };
  43. alarm_red {
  44. gpios = <&gpio ASPEED_GPIO(N, 6) GPIO_ACTIVE_LOW>;
  45. };
  46. alarm_yel {
  47. gpios = <&gpio ASPEED_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
  48. };
  49. };
  50. gpio-keys {
  51. compatible = "gpio-keys";
  52. event-checkstop {
  53. label = "checkstop";
  54. linux,code = <74>;
  55. gpios = <&gpio ASPEED_GPIO(P, 5) GPIO_ACTIVE_LOW>;
  56. };
  57. event-identify {
  58. label = "identify";
  59. linux,code = <152>;
  60. gpios = <&gpio ASPEED_GPIO(O, 7) GPIO_ACTIVE_LOW>;
  61. };
  62. };
  63. };
  64. &fmc {
  65. status = "okay";
  66. flash@0 {
  67. status = "okay";
  68. m25p,fast-read;
  69. label = "bmc";
  70. #include "openbmc-flash-layout.dtsi"
  71. };
  72. flash@1 {
  73. status = "okay";
  74. m25p,fast-read;
  75. label = "alt";
  76. };
  77. };
  78. &spi {
  79. status = "okay";
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&pinctrl_spi1debug_default>;
  82. flash@0 {
  83. status = "okay";
  84. label = "pnor";
  85. m25p,fast-read;
  86. };
  87. };
  88. &mac0 {
  89. status = "okay";
  90. use-ncsi;
  91. pinctrl-names = "default";
  92. pinctrl-0 = <&pinctrl_rmii1_default>;
  93. };
  94. &uart5 {
  95. status = "okay";
  96. };
  97. &lpc_ctrl {
  98. status = "okay";
  99. memory-region = <&flash_memory>;
  100. flash = <&spi>;
  101. };
  102. &ibt {
  103. status = "okay";
  104. };
  105. &uart3 {
  106. status = "okay";
  107. pinctrl-names = "default";
  108. pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>;
  109. };
  110. &i2c0 {
  111. status = "okay";
  112. eeprom@50 {
  113. compatible = "atmel,24c256";
  114. reg = <0x50>;
  115. pagesize = <64>;
  116. };
  117. };
  118. &i2c1 {
  119. status = "okay";
  120. tmp75@49 {
  121. compatible = "ti,tmp75";
  122. reg = <0x49>;
  123. };
  124. };
  125. &i2c2 {
  126. status = "okay";
  127. };
  128. &i2c3 {
  129. status = "okay";
  130. };
  131. &i2c4 {
  132. status = "okay";
  133. occ-hwmon@50 {
  134. compatible = "ibm,p8-occ-hwmon";
  135. reg = <0x50>;
  136. };
  137. };
  138. &i2c5 {
  139. status = "okay";
  140. occ-hwmon@51 {
  141. compatible = "ibm,p8-occ-hwmon";
  142. reg = <0x51>;
  143. };
  144. };
  145. &i2c6 {
  146. status = "okay";
  147. w83795g@2f {
  148. compatible = "nuvoton,w83795g";
  149. reg = <0x2f>;
  150. };
  151. };
  152. &i2c7 {
  153. status = "okay";
  154. occ-hwmon@56 {
  155. compatible = "ibm,p8-occ-hwmon";
  156. reg = <0x56>;
  157. };
  158. };
  159. &i2c9 {
  160. status = "okay";
  161. };
  162. &i2c10 {
  163. status = "okay";
  164. };
  165. &i2c11 {
  166. status = "okay";
  167. occ-hwmon@57 {
  168. compatible = "ibm,p8-occ-hwmon";
  169. reg = <0x57>;
  170. };
  171. };
  172. &i2c12 {
  173. status = "okay";
  174. rtc@68 {
  175. compatible = "maxim,ds3231";
  176. reg = <0x68>;
  177. };
  178. };
  179. &i2c13 {
  180. status = "okay";
  181. };
  182. &vuart {
  183. status = "okay";
  184. };
  185. &wdt2 {
  186. aspeed,alt-boot;
  187. };
  188. &sdmmc {
  189. status = "okay";
  190. };
  191. &sdhci1 {
  192. status = "okay";
  193. pinctrl-names = "default";
  194. pinctrl-0 = <&pinctrl_sd2_default>;
  195. cd-inverted;
  196. disable-wp;
  197. };