kirkwood.dtsi 3.9 KB

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