kirkwood.dtsi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /include/ "skeleton.dtsi"
  2. / {
  3. compatible = "marvell,kirkwood";
  4. interrupt-parent = <&intc>;
  5. cpus {
  6. #address-cells = <1>;
  7. #size-cells = <0>;
  8. cpu@0 {
  9. device_type = "cpu";
  10. compatible = "marvell,feroceon";
  11. clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
  12. clock-names = "cpu_clk", "ddrclk", "powersave";
  13. };
  14. };
  15. aliases {
  16. gpio0 = &gpio0;
  17. gpio1 = &gpio1;
  18. };
  19. intc: interrupt-controller {
  20. compatible = "marvell,orion-intc", "marvell,intc";
  21. interrupt-controller;
  22. #interrupt-cells = <1>;
  23. reg = <0xf1020204 0x04>,
  24. <0xf1020214 0x04>;
  25. };
  26. ocp@f1000000 {
  27. compatible = "simple-bus";
  28. ranges = <0x00000000 0xf1000000 0x0100000
  29. 0xf4000000 0xf4000000 0x0000400
  30. 0xf5000000 0xf5000000 0x0000400>;
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. core_clk: core-clocks@10030 {
  34. compatible = "marvell,kirkwood-core-clock";
  35. reg = <0x10030 0x4>;
  36. #clock-cells = <1>;
  37. };
  38. gpio0: gpio@10100 {
  39. compatible = "marvell,orion-gpio";
  40. #gpio-cells = <2>;
  41. gpio-controller;
  42. reg = <0x10100 0x40>;
  43. ngpios = <32>;
  44. interrupt-controller;
  45. #interrupt-cells = <2>;
  46. interrupts = <35>, <36>, <37>, <38>;
  47. clocks = <&gate_clk 7>;
  48. };
  49. gpio1: gpio@10140 {
  50. compatible = "marvell,orion-gpio";
  51. #gpio-cells = <2>;
  52. gpio-controller;
  53. reg = <0x10140 0x40>;
  54. ngpios = <18>;
  55. interrupt-controller;
  56. #interrupt-cells = <2>;
  57. interrupts = <39>, <40>, <41>;
  58. clocks = <&gate_clk 7>;
  59. };
  60. serial@12000 {
  61. compatible = "ns16550a";
  62. reg = <0x12000 0x100>;
  63. reg-shift = <2>;
  64. interrupts = <33>;
  65. clocks = <&gate_clk 7>;
  66. status = "disabled";
  67. };
  68. serial@12100 {
  69. compatible = "ns16550a";
  70. reg = <0x12100 0x100>;
  71. reg-shift = <2>;
  72. interrupts = <34>;
  73. clocks = <&gate_clk 7>;
  74. status = "disabled";
  75. };
  76. spi@10600 {
  77. compatible = "marvell,orion-spi";
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. cell-index = <0>;
  81. interrupts = <23>;
  82. reg = <0x10600 0x28>;
  83. clocks = <&gate_clk 7>;
  84. status = "disabled";
  85. };
  86. gate_clk: clock-gating-control@2011c {
  87. compatible = "marvell,kirkwood-gating-clock";
  88. reg = <0x2011c 0x4>;
  89. clocks = <&core_clk 0>;
  90. #clock-cells = <1>;
  91. };
  92. wdt@20300 {
  93. compatible = "marvell,orion-wdt";
  94. reg = <0x20300 0x28>;
  95. clocks = <&gate_clk 7>;
  96. status = "okay";
  97. };
  98. xor@60800 {
  99. compatible = "marvell,orion-xor";
  100. reg = <0x60800 0x100
  101. 0x60A00 0x100>;
  102. status = "okay";
  103. clocks = <&gate_clk 8>;
  104. xor00 {
  105. interrupts = <5>;
  106. dmacap,memcpy;
  107. dmacap,xor;
  108. };
  109. xor01 {
  110. interrupts = <6>;
  111. dmacap,memcpy;
  112. dmacap,xor;
  113. dmacap,memset;
  114. };
  115. };
  116. xor@60900 {
  117. compatible = "marvell,orion-xor";
  118. reg = <0x60900 0x100
  119. 0xd0B00 0x100>;
  120. status = "okay";
  121. clocks = <&gate_clk 16>;
  122. xor00 {
  123. interrupts = <7>;
  124. dmacap,memcpy;
  125. dmacap,xor;
  126. };
  127. xor01 {
  128. interrupts = <8>;
  129. dmacap,memcpy;
  130. dmacap,xor;
  131. dmacap,memset;
  132. };
  133. };
  134. ehci@50000 {
  135. compatible = "marvell,orion-ehci";
  136. reg = <0x50000 0x1000>;
  137. interrupts = <19>;
  138. clocks = <&gate_clk 3>;
  139. status = "okay";
  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 = <0xf4000000 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. };