apm-merlin.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. interrupt-parent = <&sbgpio>;
  28. interrupts = <0x0 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. &serial0 {
  43. status = "ok";
  44. };
  45. &sata1 {
  46. status = "ok";
  47. };
  48. &sata2 {
  49. status = "ok";
  50. };
  51. &sata3 {
  52. status = "ok";
  53. };
  54. &sgenet0 {
  55. status = "ok";
  56. };
  57. &xgenet1 {
  58. status = "ok";
  59. };
  60. &mmc0 {
  61. status = "ok";
  62. };
  63. &i2c4 {
  64. rtc68: rtc@68 {
  65. compatible = "dallas,ds1337";
  66. reg = <0x68>;
  67. status = "ok";
  68. };
  69. };
  70. &mdio {
  71. sgenet0phy: phy@0 {
  72. reg = <0x0>;
  73. };
  74. };