aspeed-bmc-inspur-on5263m5.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. // SPDX-License-Identifier: GPL-2.0
  2. // Copyright (c) 2018 Inspur Corporation
  3. /dts-v1/;
  4. #include "aspeed-g5.dtsi"
  5. #include <dt-bindings/gpio/aspeed-gpio.h>
  6. / {
  7. model = "ON5263M5 BMC";
  8. compatible = "inspur,on5263m5-bmc", "aspeed,ast2500";
  9. chosen {
  10. stdout-path = &uart5;
  11. bootargs = "earlycon";
  12. };
  13. memory {
  14. reg = <0x80000000 0x20000000>;
  15. };
  16. reserved-memory {
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. ranges;
  20. vga_memory: framebuffer@9f000000 {
  21. no-map;
  22. reg = <0x9f000000 0x01000000>;
  23. };
  24. };
  25. leds {
  26. compatible = "gpio-leds";
  27. bmc_alive {
  28. label = "bmc_alive";
  29. gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>;
  30. linux,default-trigger = "timer";
  31. };
  32. };
  33. iio-hwmon {
  34. compatible = "iio-hwmon";
  35. io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
  36. <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>;
  37. };
  38. };
  39. &fmc {
  40. status = "okay";
  41. flash@0 {
  42. status = "okay";
  43. m25p,fast-read;
  44. label = "bmc";
  45. #include "openbmc-flash-layout.dtsi"
  46. };
  47. };
  48. &spi1 {
  49. status = "okay";
  50. pinctrl-names = "default";
  51. pinctrl-0 = <&pinctrl_spi1_default>;
  52. flash@0 {
  53. status = "okay";
  54. m25p,fast-read;
  55. label = "pnor";
  56. };
  57. };
  58. &uart5 {
  59. status = "okay";
  60. };
  61. &mac0 {
  62. status = "okay";
  63. pinctrl-names = "default";
  64. pinctrl-0 = <&pinctrl_rmii1_default>;
  65. clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
  66. <&syscon ASPEED_CLK_MAC1RCLK>;
  67. clock-names = "MACCLK", "RCLK";
  68. use-ncsi;
  69. };
  70. &mac1 {
  71. status = "okay";
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
  74. };
  75. &i2c6 {
  76. status = "okay";
  77. tmp421@4e {
  78. compatible = "ti,tmp421";
  79. reg = <0x4e>;
  80. };
  81. tmp112@48 {
  82. compatible = "ti,tmp112";
  83. reg = <0x48>;
  84. };
  85. eeprom@54 {
  86. compatible = "atmel,24c64";
  87. reg = <0x54>;
  88. pagesize = <32>;
  89. };
  90. };
  91. &i2c7 {
  92. status = "okay";
  93. adm1278@11 {
  94. compatible = "adi,adm1278";
  95. reg = <0x11>;
  96. };
  97. };
  98. &gfx {
  99. status = "okay";
  100. };
  101. &pinctrl {
  102. aspeed,external-nodes = <&gfx &lhc>;
  103. };
  104. &pwm_tacho {
  105. status = "okay";
  106. pinctrl-names = "default";
  107. pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
  108. fan@0 {
  109. reg = <0x00>;
  110. aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>;
  111. };
  112. fan@1 {
  113. reg = <0x01>;
  114. aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>;
  115. };
  116. };
  117. &adc {
  118. status = "okay";
  119. };