apm-mustang.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * dts file for AppliedMicro (APM) Mustang Board
  3. *
  4. * Copyright (C) 2013, Applied Micro Circuits Corporation
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of
  9. * the License, or (at your option) any later version.
  10. */
  11. /dts-v1/;
  12. /include/ "apm-storm.dtsi"
  13. / {
  14. model = "APM X-Gene Mustang board";
  15. compatible = "apm,mustang", "apm,xgene-storm";
  16. chosen { };
  17. memory {
  18. device_type = "memory";
  19. reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
  20. };
  21. gpio-keys {
  22. compatible = "gpio-keys";
  23. button@1 {
  24. label = "POWER";
  25. linux,code = <116>;
  26. linux,input-type = <0x1>;
  27. interrupt-parent = <&sbgpio>;
  28. interrupts = <0x5 0x1>;
  29. };
  30. };
  31. poweroff_mbox: poweroff_mbox@10548000 {
  32. compatible = "syscon";
  33. reg = <0x0 0x10548000 0x0 0x30>;
  34. };
  35. poweroff: poweroff@10548010 {
  36. compatible = "syscon-poweroff";
  37. regmap = <&poweroff_mbox>;
  38. offset = <0x10>;
  39. mask = <0x1>;
  40. };
  41. };
  42. &pcie0clk {
  43. status = "ok";
  44. };
  45. &pcie0 {
  46. status = "ok";
  47. };
  48. &serial0 {
  49. status = "ok";
  50. };
  51. &menet {
  52. status = "ok";
  53. };
  54. &sgenet0 {
  55. status = "ok";
  56. };
  57. &sgenet1 {
  58. status = "ok";
  59. };
  60. &xgenet {
  61. status = "ok";
  62. rxlos-gpios = <&sbgpio 12 1>;
  63. };
  64. &mmc0 {
  65. status = "ok";
  66. };
  67. &mdio {
  68. menet0phy: phy@3 {
  69. reg = <0x3>;
  70. };
  71. sgenet0phy: phy@4 {
  72. reg = <0x4>;
  73. };
  74. sgenet1phy: phy@5 {
  75. reg = <0x5>;
  76. };
  77. };