apm-mustang.dts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. interrupts = <0x0 0x2d 0x1>;
  28. };
  29. };
  30. poweroff_mbox: poweroff_mbox@10548000 {
  31. compatible = "syscon";
  32. reg = <0x0 0x10548000 0x0 0x30>;
  33. };
  34. poweroff: poweroff@10548010 {
  35. compatible = "syscon-poweroff";
  36. regmap = <&poweroff_mbox>;
  37. offset = <0x10>;
  38. mask = <0x1>;
  39. };
  40. };
  41. &pcie0clk {
  42. status = "ok";
  43. };
  44. &pcie0 {
  45. status = "ok";
  46. };
  47. &serial0 {
  48. status = "ok";
  49. };
  50. &menet {
  51. status = "ok";
  52. };
  53. &sgenet0 {
  54. status = "ok";
  55. };
  56. &sgenet1 {
  57. status = "ok";
  58. };
  59. &xgenet {
  60. status = "ok";
  61. };