aspeed-bmc-facebook-yamp.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. // SPDX-License-Identifier: GPL-2.0+
  2. // Copyright (c) 2018 Facebook Inc.
  3. /dts-v1/;
  4. #include "ast2500-facebook-netbmc-common.dtsi"
  5. / {
  6. model = "Facebook YAMP 100 BMC";
  7. compatible = "facebook,yamp-bmc", "aspeed,ast2500";
  8. aliases {
  9. /*
  10. * Override the default uart aliases to avoid breaking
  11. * the legacy applications.
  12. */
  13. serial0 = &uart5;
  14. serial1 = &uart1;
  15. serial2 = &uart2;
  16. serial3 = &uart3;
  17. };
  18. chosen {
  19. stdout-path = &uart5;
  20. bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
  21. };
  22. };
  23. &uart2 {
  24. status = "okay";
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&pinctrl_txd2_default
  27. &pinctrl_rxd2_default>;
  28. };
  29. &mac0 {
  30. status = "okay";
  31. use-ncsi;
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&pinctrl_rmii1_default>;
  34. clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
  35. <&syscon ASPEED_CLK_MAC1RCLK>;
  36. clock-names = "MACCLK", "RCLK";
  37. };
  38. &mac1 {
  39. status = "disabled";
  40. };
  41. &i2c0 {
  42. status = "okay";
  43. };
  44. &i2c1 {
  45. status = "okay";
  46. };
  47. &i2c2 {
  48. status = "okay";
  49. i2c-switch@75 {
  50. compatible = "nxp,pca9548";
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. reg = <0x75>;
  54. };
  55. };
  56. &i2c3 {
  57. status = "okay";
  58. };
  59. &i2c4 {
  60. status = "okay";
  61. };
  62. &i2c5 {
  63. status = "okay";
  64. };
  65. &i2c6 {
  66. status = "okay";
  67. };
  68. &i2c7 {
  69. status = "okay";
  70. };
  71. &i2c8 {
  72. status = "okay";
  73. };
  74. &i2c9 {
  75. status = "okay";
  76. };
  77. &i2c10 {
  78. status = "okay";
  79. };
  80. &i2c11 {
  81. status = "okay";
  82. };
  83. &i2c12 {
  84. status = "okay";
  85. };
  86. &i2c13 {
  87. status = "okay";
  88. };
  89. &fmc_flash0 {
  90. #include "facebook-bmc-flash-layout.dtsi"
  91. };
  92. &fmc_flash1 {
  93. partitions {
  94. compatible = "fixed-partitions";
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. flash1@0 {
  98. reg = <0x0 0x2000000>;
  99. label = "flash1";
  100. };
  101. };
  102. };