apm-merlin.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /*
  2. * dts file for AppliedMicro (APM) Merlin Board
  3. *
  4. * Copyright (C) 2015, 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-shadowcat.dtsi"
  13. / {
  14. model = "APM X-Gene Merlin board";
  15. compatible = "apm,merlin", "apm,xgene-shadowcat";
  16. chosen { };
  17. memory {
  18. device_type = "memory";
  19. reg = < 0x1 0x00000000 0x0 0x80000000 >;
  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 0x28 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. &serial0 {
  42. status = "ok";
  43. };
  44. &sata1 {
  45. status = "ok";
  46. };
  47. &sata2 {
  48. status = "ok";
  49. };
  50. &sata3 {
  51. status = "ok";
  52. };
  53. &sgenet0 {
  54. status = "ok";
  55. };
  56. &xgenet1 {
  57. status = "ok";
  58. };