apm-merlin.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * dts file for AppliedMicro (APM) Merlin Board
  4. *
  5. * Copyright (C) 2015, Applied Micro Circuits Corporation
  6. */
  7. /dts-v1/;
  8. /include/ "apm-shadowcat.dtsi"
  9. / {
  10. model = "APM X-Gene Merlin board";
  11. compatible = "apm,merlin", "apm,xgene-shadowcat";
  12. chosen { };
  13. memory {
  14. device_type = "memory";
  15. reg = < 0x1 0x00000000 0x0 0x80000000 >;
  16. };
  17. gpio-keys {
  18. compatible = "gpio-keys";
  19. button {
  20. label = "POWER";
  21. linux,code = <116>;
  22. linux,input-type = <0x1>;
  23. interrupt-parent = <&sbgpio>;
  24. interrupts = <0x0 0x1>;
  25. };
  26. };
  27. poweroff_mbox: poweroff_mbox@10548000 {
  28. compatible = "syscon";
  29. reg = <0x0 0x10548000 0x0 0x30>;
  30. };
  31. poweroff: poweroff@10548010 {
  32. compatible = "syscon-poweroff";
  33. regmap = <&poweroff_mbox>;
  34. offset = <0x10>;
  35. mask = <0x1>;
  36. };
  37. };
  38. &serial0 {
  39. status = "ok";
  40. };
  41. &sata1 {
  42. status = "ok";
  43. };
  44. &sata2 {
  45. status = "ok";
  46. };
  47. &sata3 {
  48. status = "ok";
  49. };
  50. &sgenet0 {
  51. status = "ok";
  52. };
  53. &xgenet1 {
  54. status = "ok";
  55. };
  56. &mmc0 {
  57. status = "ok";
  58. };
  59. &i2c4 {
  60. rtc68: rtc@68 {
  61. compatible = "dallas,ds1337";
  62. reg = <0x68>;
  63. status = "ok";
  64. };
  65. };
  66. &mdio {
  67. sgenet0phy: phy@0 {
  68. reg = <0x0>;
  69. };
  70. };