kirkwood.dtsi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. /include/ "skeleton.dtsi"
  2. / {
  3. compatible = "marvell,kirkwood";
  4. interrupt-parent = <&intc>;
  5. intc: interrupt-controller {
  6. compatible = "marvell,orion-intc", "marvell,intc";
  7. interrupt-controller;
  8. #interrupt-cells = <1>;
  9. reg = <0xf1020204 0x04>,
  10. <0xf1020214 0x04>;
  11. };
  12. ocp@f1000000 {
  13. compatible = "simple-bus";
  14. ranges = <0x00000000 0xf1000000 0x4000000
  15. 0xf5000000 0xf5000000 0x0000400>;
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. core_clk: core-clocks@10030 {
  19. compatible = "marvell,kirkwood-core-clock";
  20. reg = <0x10030 0x4>;
  21. #clock-cells = <1>;
  22. };
  23. gpio0: gpio@10100 {
  24. compatible = "marvell,orion-gpio";
  25. #gpio-cells = <2>;
  26. gpio-controller;
  27. reg = <0x10100 0x40>;
  28. ngpio = <32>;
  29. interrupts = <35>, <36>, <37>, <38>;
  30. };
  31. gpio1: gpio@10140 {
  32. compatible = "marvell,orion-gpio";
  33. #gpio-cells = <2>;
  34. gpio-controller;
  35. reg = <0x10140 0x40>;
  36. ngpio = <18>;
  37. interrupts = <39>, <40>, <41>;
  38. };
  39. serial@12000 {
  40. compatible = "ns16550a";
  41. reg = <0x12000 0x100>;
  42. reg-shift = <2>;
  43. interrupts = <33>;
  44. clocks = <&gate_clk 7>;
  45. /* set clock-frequency in board dts */
  46. status = "disabled";
  47. };
  48. serial@12100 {
  49. compatible = "ns16550a";
  50. reg = <0x12100 0x100>;
  51. reg-shift = <2>;
  52. interrupts = <34>;
  53. clocks = <&gate_clk 7>;
  54. /* set clock-frequency in board dts */
  55. status = "disabled";
  56. };
  57. rtc@10300 {
  58. compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
  59. reg = <0x10300 0x20>;
  60. interrupts = <53>;
  61. };
  62. spi@10600 {
  63. compatible = "marvell,orion-spi";
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. cell-index = <0>;
  67. interrupts = <23>;
  68. reg = <0x10600 0x28>;
  69. clocks = <&gate_clk 7>;
  70. status = "disabled";
  71. };
  72. gate_clk: clock-gating-control@2011c {
  73. compatible = "marvell,kirkwood-gating-clock";
  74. reg = <0x2011c 0x4>;
  75. clocks = <&core_clk 0>;
  76. #clock-cells = <1>;
  77. };
  78. wdt@20300 {
  79. compatible = "marvell,orion-wdt";
  80. reg = <0x20300 0x28>;
  81. clocks = <&gate_clk 7>;
  82. status = "okay";
  83. };
  84. xor@60800 {
  85. compatible = "marvell,orion-xor";
  86. reg = <0x60800 0x100
  87. 0x60A00 0x100>;
  88. status = "okay";
  89. clocks = <&gate_clk 8>;
  90. xor00 {
  91. interrupts = <5>;
  92. dmacap,memcpy;
  93. dmacap,xor;
  94. };
  95. xor01 {
  96. interrupts = <6>;
  97. dmacap,memcpy;
  98. dmacap,xor;
  99. dmacap,memset;
  100. };
  101. };
  102. xor@60900 {
  103. compatible = "marvell,orion-xor";
  104. reg = <0x60900 0x100
  105. 0xd0B00 0x100>;
  106. status = "okay";
  107. clocks = <&gate_clk 16>;
  108. xor00 {
  109. interrupts = <7>;
  110. dmacap,memcpy;
  111. dmacap,xor;
  112. };
  113. xor01 {
  114. interrupts = <8>;
  115. dmacap,memcpy;
  116. dmacap,xor;
  117. dmacap,memset;
  118. };
  119. };
  120. sata@80000 {
  121. compatible = "marvell,orion-sata";
  122. reg = <0x80000 0x5000>;
  123. interrupts = <21>;
  124. clocks = <&gate_clk 14>, <&gate_clk 15>;
  125. clock-names = "0", "1";
  126. status = "disabled";
  127. };
  128. nand@3000000 {
  129. #address-cells = <1>;
  130. #size-cells = <1>;
  131. cle = <0>;
  132. ale = <1>;
  133. bank-width = <1>;
  134. compatible = "marvell,orion-nand";
  135. reg = <0x3000000 0x400>;
  136. chip-delay = <25>;
  137. /* set partition map and/or chip-delay in board dts */
  138. clocks = <&gate_clk 7>;
  139. status = "disabled";
  140. };
  141. i2c@11000 {
  142. compatible = "marvell,mv64xxx-i2c";
  143. reg = <0x11000 0x20>;
  144. #address-cells = <1>;
  145. #size-cells = <0>;
  146. interrupts = <29>;
  147. clock-frequency = <100000>;
  148. clocks = <&gate_clk 7>;
  149. status = "disabled";
  150. };
  151. crypto@30000 {
  152. compatible = "marvell,orion-crypto";
  153. reg = <0x30000 0x10000>,
  154. <0xf5000000 0x800>;
  155. reg-names = "regs", "sram";
  156. interrupts = <22>;
  157. clocks = <&gate_clk 17>;
  158. status = "okay";
  159. };
  160. };
  161. };