ecx-common.dtsi 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. /*
  2. * Copyright 2011-2012 Calxeda, Inc.
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms and conditions of the GNU General Public License,
  6. * version 2, as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope it will be useful, but WITHOUT
  9. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  11. * more details.
  12. *
  13. * You should have received a copy of the GNU General Public License along with
  14. * this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. / {
  17. chosen {
  18. bootargs = "console=ttyAMA0";
  19. };
  20. psci {
  21. compatible = "arm,psci";
  22. method = "smc";
  23. cpu_suspend = <0x84000002>;
  24. cpu_off = <0x84000004>;
  25. cpu_on = <0x84000006>;
  26. };
  27. soc {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. compatible = "simple-bus";
  31. interrupt-parent = <&intc>;
  32. sata@ffe08000 {
  33. compatible = "calxeda,hb-ahci";
  34. reg = <0xffe08000 0x10000>;
  35. interrupts = <0 83 4>;
  36. dma-coherent;
  37. calxeda,port-phys = <&combophy5 0 &combophy0 0
  38. &combophy0 1 &combophy0 2
  39. &combophy0 3>;
  40. calxeda,sgpio-gpio =<&gpioh 5 1 &gpioh 6 1 &gpioh 7 1>;
  41. calxeda,led-order = <4 0 1 2 3>;
  42. };
  43. sdhci@ffe0e000 {
  44. compatible = "calxeda,hb-sdhci";
  45. reg = <0xffe0e000 0x1000>;
  46. interrupts = <0 90 4>;
  47. clocks = <&eclk>;
  48. status = "disabled";
  49. };
  50. ipc@fff20000 {
  51. compatible = "arm,pl320", "arm,primecell";
  52. reg = <0xfff20000 0x1000>;
  53. interrupts = <0 7 4>;
  54. clocks = <&pclk>;
  55. clock-names = "apb_pclk";
  56. };
  57. gpioe: gpio@fff30000 {
  58. #gpio-cells = <2>;
  59. compatible = "arm,pl061", "arm,primecell";
  60. gpio-controller;
  61. reg = <0xfff30000 0x1000>;
  62. interrupts = <0 14 4>;
  63. clocks = <&pclk>;
  64. clock-names = "apb_pclk";
  65. status = "disabled";
  66. };
  67. gpiof: gpio@fff31000 {
  68. #gpio-cells = <2>;
  69. compatible = "arm,pl061", "arm,primecell";
  70. gpio-controller;
  71. reg = <0xfff31000 0x1000>;
  72. interrupts = <0 15 4>;
  73. clocks = <&pclk>;
  74. clock-names = "apb_pclk";
  75. status = "disabled";
  76. };
  77. gpiog: gpio@fff32000 {
  78. #gpio-cells = <2>;
  79. compatible = "arm,pl061", "arm,primecell";
  80. gpio-controller;
  81. reg = <0xfff32000 0x1000>;
  82. interrupts = <0 16 4>;
  83. clocks = <&pclk>;
  84. clock-names = "apb_pclk";
  85. status = "disabled";
  86. };
  87. gpioh: gpio@fff33000 {
  88. #gpio-cells = <2>;
  89. compatible = "arm,pl061", "arm,primecell";
  90. gpio-controller;
  91. reg = <0xfff33000 0x1000>;
  92. interrupts = <0 17 4>;
  93. clocks = <&pclk>;
  94. clock-names = "apb_pclk";
  95. status = "disabled";
  96. };
  97. timer@fff34000 {
  98. compatible = "arm,sp804", "arm,primecell";
  99. reg = <0xfff34000 0x1000>;
  100. interrupts = <0 18 4>;
  101. clocks = <&pclk>;
  102. clock-names = "apb_pclk";
  103. };
  104. rtc@fff35000 {
  105. compatible = "arm,pl031", "arm,primecell";
  106. reg = <0xfff35000 0x1000>;
  107. interrupts = <0 19 4>;
  108. clocks = <&pclk>;
  109. clock-names = "apb_pclk";
  110. };
  111. serial@fff36000 {
  112. compatible = "arm,pl011", "arm,primecell";
  113. reg = <0xfff36000 0x1000>;
  114. interrupts = <0 20 4>;
  115. clocks = <&pclk>;
  116. clock-names = "apb_pclk";
  117. };
  118. smic@fff3a000 {
  119. compatible = "ipmi-smic";
  120. device_type = "ipmi";
  121. reg = <0xfff3a000 0x1000>;
  122. interrupts = <0 24 4>;
  123. reg-size = <4>;
  124. reg-spacing = <4>;
  125. };
  126. sregs@fff3c000 {
  127. compatible = "calxeda,hb-sregs";
  128. reg = <0xfff3c000 0x1000>;
  129. clocks {
  130. #address-cells = <1>;
  131. #size-cells = <0>;
  132. osc: oscillator {
  133. #clock-cells = <0>;
  134. compatible = "fixed-clock";
  135. clock-frequency = <33333000>;
  136. };
  137. ddrpll: ddrpll {
  138. #clock-cells = <0>;
  139. compatible = "calxeda,hb-pll-clock";
  140. clocks = <&osc>;
  141. reg = <0x108>;
  142. };
  143. a9pll: a9pll {
  144. #clock-cells = <0>;
  145. compatible = "calxeda,hb-pll-clock";
  146. clocks = <&osc>;
  147. reg = <0x100>;
  148. };
  149. a9periphclk: a9periphclk {
  150. #clock-cells = <0>;
  151. compatible = "calxeda,hb-a9periph-clock";
  152. clocks = <&a9pll>;
  153. reg = <0x104>;
  154. };
  155. a9bclk: a9bclk {
  156. #clock-cells = <0>;
  157. compatible = "calxeda,hb-a9bus-clock";
  158. clocks = <&a9pll>;
  159. reg = <0x104>;
  160. };
  161. emmcpll: emmcpll {
  162. #clock-cells = <0>;
  163. compatible = "calxeda,hb-pll-clock";
  164. clocks = <&osc>;
  165. reg = <0x10C>;
  166. };
  167. eclk: eclk {
  168. #clock-cells = <0>;
  169. compatible = "calxeda,hb-emmc-clock";
  170. clocks = <&emmcpll>;
  171. reg = <0x114>;
  172. };
  173. pclk: pclk {
  174. #clock-cells = <0>;
  175. compatible = "fixed-clock";
  176. clock-frequency = <150000000>;
  177. };
  178. };
  179. };
  180. dma@fff3d000 {
  181. compatible = "arm,pl330", "arm,primecell";
  182. reg = <0xfff3d000 0x1000>;
  183. interrupts = <0 92 4>;
  184. clocks = <&pclk>;
  185. clock-names = "apb_pclk";
  186. };
  187. ethernet@fff50000 {
  188. compatible = "calxeda,hb-xgmac";
  189. reg = <0xfff50000 0x1000>;
  190. interrupts = <0 77 4 0 78 4 0 79 4>;
  191. dma-coherent;
  192. };
  193. ethernet@fff51000 {
  194. compatible = "calxeda,hb-xgmac";
  195. reg = <0xfff51000 0x1000>;
  196. interrupts = <0 80 4 0 81 4 0 82 4>;
  197. dma-coherent;
  198. };
  199. combophy0: combo-phy@fff58000 {
  200. compatible = "calxeda,hb-combophy";
  201. #phy-cells = <1>;
  202. reg = <0xfff58000 0x1000>;
  203. phydev = <5>;
  204. };
  205. combophy5: combo-phy@fff5d000 {
  206. compatible = "calxeda,hb-combophy";
  207. #phy-cells = <1>;
  208. reg = <0xfff5d000 0x1000>;
  209. phydev = <31>;
  210. };
  211. };
  212. };