armada-370-xp.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /*
  2. * Device Tree Include file for Marvell Armada 370 and Armada XP SoC
  3. *
  4. * Copyright (C) 2012 Marvell
  5. *
  6. * Lior Amsalem <alior@marvell.com>
  7. * Gregory CLEMENT <gregory.clement@free-electrons.com>
  8. * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  9. * Ben Dooks <ben.dooks@codethink.co.uk>
  10. *
  11. * This file is licensed under the terms of the GNU General Public
  12. * License version 2. This program is licensed "as is" without any
  13. * warranty of any kind, whether express or implied.
  14. *
  15. * This file contains the definitions that are common to the Armada
  16. * 370 and Armada XP SoC.
  17. */
  18. /include/ "skeleton.dtsi"
  19. / {
  20. model = "Marvell Armada 370 and XP SoC";
  21. compatible = "marvell,armada-370-xp";
  22. cpus {
  23. cpu@0 {
  24. compatible = "marvell,sheeva-v7";
  25. };
  26. };
  27. mpic: interrupt-controller@d0020000 {
  28. compatible = "marvell,mpic";
  29. #interrupt-cells = <1>;
  30. #address-cells = <1>;
  31. #size-cells = <1>;
  32. interrupt-controller;
  33. };
  34. coherency-fabric@d0020200 {
  35. compatible = "marvell,coherency-fabric";
  36. reg = <0xd0020200 0xb0>,
  37. <0xd0021810 0x1c>;
  38. };
  39. soc {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "simple-bus";
  43. interrupt-parent = <&mpic>;
  44. ranges;
  45. serial@d0012000 {
  46. compatible = "snps,dw-apb-uart";
  47. reg = <0xd0012000 0x100>;
  48. reg-shift = <2>;
  49. interrupts = <41>;
  50. reg-io-width = <4>;
  51. status = "disabled";
  52. };
  53. serial@d0012100 {
  54. compatible = "snps,dw-apb-uart";
  55. reg = <0xd0012100 0x100>;
  56. reg-shift = <2>;
  57. interrupts = <42>;
  58. reg-io-width = <4>;
  59. status = "disabled";
  60. };
  61. timer@d0020300 {
  62. compatible = "marvell,armada-370-xp-timer";
  63. reg = <0xd0020300 0x30>;
  64. interrupts = <37>, <38>, <39>, <40>;
  65. clocks = <&coreclk 2>;
  66. };
  67. addr-decoding@d0020000 {
  68. compatible = "marvell,armada-addr-decoding-controller";
  69. reg = <0xd0020000 0x258>;
  70. };
  71. sata@d00a0000 {
  72. compatible = "marvell,orion-sata";
  73. reg = <0xd00a0000 0x2400>;
  74. interrupts = <55>;
  75. clocks = <&gateclk 15>, <&gateclk 30>;
  76. clock-names = "0", "1";
  77. status = "disabled";
  78. };
  79. mdio {
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. compatible = "marvell,orion-mdio";
  83. reg = <0xd0072004 0x4>;
  84. };
  85. ethernet@d0070000 {
  86. compatible = "marvell,armada-370-neta";
  87. reg = <0xd0070000 0x2500>;
  88. interrupts = <8>;
  89. clocks = <&gateclk 4>;
  90. status = "disabled";
  91. };
  92. ethernet@d0074000 {
  93. compatible = "marvell,armada-370-neta";
  94. reg = <0xd0074000 0x2500>;
  95. interrupts = <10>;
  96. clocks = <&gateclk 3>;
  97. status = "disabled";
  98. };
  99. i2c0: i2c@d0011000 {
  100. compatible = "marvell,mv64xxx-i2c";
  101. reg = <0xd0011000 0x20>;
  102. #address-cells = <1>;
  103. #size-cells = <0>;
  104. interrupts = <31>;
  105. timeout-ms = <1000>;
  106. clocks = <&coreclk 0>;
  107. status = "disabled";
  108. };
  109. i2c1: i2c@d0011100 {
  110. compatible = "marvell,mv64xxx-i2c";
  111. reg = <0xd0011100 0x20>;
  112. #address-cells = <1>;
  113. #size-cells = <0>;
  114. interrupts = <32>;
  115. timeout-ms = <1000>;
  116. clocks = <&coreclk 0>;
  117. status = "disabled";
  118. };
  119. };
  120. };