spear1310.dtsi 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /*
  2. * DTS file for all SPEAr1310 SoCs
  3. *
  4. * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
  5. *
  6. * The code contained herein is licensed under the GNU General Public
  7. * License. You may obtain a copy of the GNU General Public License
  8. * Version 2 or later at the following locations:
  9. *
  10. * http://www.opensource.org/licenses/gpl-license.html
  11. * http://www.gnu.org/copyleft/gpl.html
  12. */
  13. /include/ "spear13xx.dtsi"
  14. / {
  15. compatible = "st,spear1310";
  16. ahb {
  17. spics: spics@e0700000{
  18. compatible = "st,spear-spics-gpio";
  19. reg = <0xe0700000 0x1000>;
  20. st-spics,peripcfg-reg = <0x3b0>;
  21. st-spics,sw-enable-bit = <12>;
  22. st-spics,cs-value-bit = <11>;
  23. st-spics,cs-enable-mask = <3>;
  24. st-spics,cs-enable-shift = <8>;
  25. gpio-controller;
  26. #gpio-cells = <2>;
  27. };
  28. miphy0: miphy@eb800000 {
  29. compatible = "st,spear1310-miphy";
  30. reg = <0xeb800000 0x4000>;
  31. misc = <&misc>;
  32. phy-id = <0>;
  33. #phy-cells = <1>;
  34. status = "disabled";
  35. };
  36. miphy1: miphy@eb804000 {
  37. compatible = "st,spear1310-miphy";
  38. reg = <0xeb804000 0x4000>;
  39. misc = <&misc>;
  40. phy-id = <1>;
  41. #phy-cells = <1>;
  42. status = "disabled";
  43. };
  44. miphy2: miphy@eb808000 {
  45. compatible = "st,spear1310-miphy";
  46. reg = <0xeb808000 0x4000>;
  47. misc = <&misc>;
  48. phy-id = <2>;
  49. #phy-cells = <1>;
  50. status = "disabled";
  51. };
  52. ahci0: ahci@b1000000 {
  53. compatible = "snps,spear-ahci";
  54. reg = <0xb1000000 0x10000>;
  55. interrupts = <0 68 0x4>;
  56. phys = <&miphy0 0>;
  57. phy-names = "sata-phy";
  58. status = "disabled";
  59. };
  60. ahci1: ahci@b1800000 {
  61. compatible = "snps,spear-ahci";
  62. reg = <0xb1800000 0x10000>;
  63. interrupts = <0 69 0x4>;
  64. phys = <&miphy1 0>;
  65. phy-names = "sata-phy";
  66. status = "disabled";
  67. };
  68. ahci2: ahci@b4000000 {
  69. compatible = "snps,spear-ahci";
  70. reg = <0xb4000000 0x10000>;
  71. interrupts = <0 70 0x4>;
  72. phys = <&miphy2 0>;
  73. phy-names = "sata-phy";
  74. status = "disabled";
  75. };
  76. pcie0: pcie@b1000000 {
  77. compatible = "st,spear1340-pcie", "snps,dw-pcie";
  78. reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
  79. reg-names = "dbi", "config";
  80. interrupts = <0 68 0x4>;
  81. interrupt-map-mask = <0 0 0 0>;
  82. interrupt-map = <0x0 0 &gic 0 68 0x4>;
  83. num-lanes = <1>;
  84. phys = <&miphy0 1>;
  85. phy-names = "pcie-phy";
  86. #address-cells = <3>;
  87. #size-cells = <2>;
  88. device_type = "pci";
  89. ranges = <0x81000000 0 0 0x80020000 0 0x00010000 /* downstream I/O */
  90. 0x82000000 0 0x80030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
  91. status = "disabled";
  92. };
  93. pcie1: pcie@b1800000 {
  94. compatible = "st,spear1340-pcie", "snps,dw-pcie";
  95. reg = <0xb1800000 0x4000>, <0x90000000 0x20000>;
  96. reg-names = "dbi", "config";
  97. interrupts = <0 69 0x4>;
  98. interrupt-map-mask = <0 0 0 0>;
  99. interrupt-map = <0x0 0 &gic 0 69 0x4>;
  100. num-lanes = <1>;
  101. phys = <&miphy1 1>;
  102. phy-names = "pcie-phy";
  103. #address-cells = <3>;
  104. #size-cells = <2>;
  105. device_type = "pci";
  106. ranges = <0x81000000 0 0 0x90020000 0 0x00010000 /* downstream I/O */
  107. 0x82000000 0 0x90030000 0x90030000 0 0x0ffd0000>; /* non-prefetchable memory */
  108. status = "disabled";
  109. };
  110. pcie2: pcie@b4000000 {
  111. compatible = "st,spear1340-pcie", "snps,dw-pcie";
  112. reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>;
  113. reg-names = "dbi", "config";
  114. interrupts = <0 70 0x4>;
  115. interrupt-map-mask = <0 0 0 0>;
  116. interrupt-map = <0x0 0 &gic 0 70 0x4>;
  117. num-lanes = <1>;
  118. phys = <&miphy2 1>;
  119. phy-names = "pcie-phy";
  120. #address-cells = <3>;
  121. #size-cells = <2>;
  122. device_type = "pci";
  123. ranges = <0x81000000 0 0 0xc0020000 0 0x00010000 /* downstream I/O */
  124. 0x82000000 0 0xc0030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
  125. status = "disabled";
  126. };
  127. gmac1: eth@5c400000 {
  128. compatible = "st,spear600-gmac";
  129. reg = <0x5c400000 0x8000>;
  130. interrupts = <0 95 0x4>;
  131. interrupt-names = "macirq";
  132. phy-mode = "mii";
  133. status = "disabled";
  134. };
  135. gmac2: eth@5c500000 {
  136. compatible = "st,spear600-gmac";
  137. reg = <0x5c500000 0x8000>;
  138. interrupts = <0 96 0x4>;
  139. interrupt-names = "macirq";
  140. phy-mode = "mii";
  141. status = "disabled";
  142. };
  143. gmac3: eth@5c600000 {
  144. compatible = "st,spear600-gmac";
  145. reg = <0x5c600000 0x8000>;
  146. interrupts = <0 97 0x4>;
  147. interrupt-names = "macirq";
  148. phy-mode = "rmii";
  149. status = "disabled";
  150. };
  151. gmac4: eth@5c700000 {
  152. compatible = "st,spear600-gmac";
  153. reg = <0x5c700000 0x8000>;
  154. interrupts = <0 98 0x4>;
  155. interrupt-names = "macirq";
  156. phy-mode = "rgmii";
  157. status = "disabled";
  158. };
  159. pinmux: pinmux@e0700000 {
  160. compatible = "st,spear1310-pinmux";
  161. reg = <0xe0700000 0x1000>;
  162. #gpio-range-cells = <3>;
  163. };
  164. apb {
  165. i2c1: i2c@5cd00000 {
  166. #address-cells = <1>;
  167. #size-cells = <0>;
  168. compatible = "snps,designware-i2c";
  169. reg = <0x5cd00000 0x1000>;
  170. interrupts = <0 87 0x4>;
  171. status = "disabled";
  172. };
  173. i2c2: i2c@5ce00000 {
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. compatible = "snps,designware-i2c";
  177. reg = <0x5ce00000 0x1000>;
  178. interrupts = <0 88 0x4>;
  179. status = "disabled";
  180. };
  181. i2c3: i2c@5cf00000 {
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. compatible = "snps,designware-i2c";
  185. reg = <0x5cf00000 0x1000>;
  186. interrupts = <0 89 0x4>;
  187. status = "disabled";
  188. };
  189. i2c4: i2c@5d000000 {
  190. #address-cells = <1>;
  191. #size-cells = <0>;
  192. compatible = "snps,designware-i2c";
  193. reg = <0x5d000000 0x1000>;
  194. interrupts = <0 90 0x4>;
  195. status = "disabled";
  196. };
  197. i2c5: i2c@5d100000 {
  198. #address-cells = <1>;
  199. #size-cells = <0>;
  200. compatible = "snps,designware-i2c";
  201. reg = <0x5d100000 0x1000>;
  202. interrupts = <0 91 0x4>;
  203. status = "disabled";
  204. };
  205. i2c6: i2c@5d200000 {
  206. #address-cells = <1>;
  207. #size-cells = <0>;
  208. compatible = "snps,designware-i2c";
  209. reg = <0x5d200000 0x1000>;
  210. interrupts = <0 92 0x4>;
  211. status = "disabled";
  212. };
  213. i2c7: i2c@5d300000 {
  214. #address-cells = <1>;
  215. #size-cells = <0>;
  216. compatible = "snps,designware-i2c";
  217. reg = <0x5d300000 0x1000>;
  218. interrupts = <0 93 0x4>;
  219. status = "disabled";
  220. };
  221. spi1: spi@5d400000 {
  222. compatible = "arm,pl022", "arm,primecell";
  223. reg = <0x5d400000 0x1000>;
  224. interrupts = <0 99 0x4>;
  225. #address-cells = <1>;
  226. #size-cells = <0>;
  227. status = "disabled";
  228. };
  229. serial@5c800000 {
  230. compatible = "arm,pl011", "arm,primecell";
  231. reg = <0x5c800000 0x1000>;
  232. interrupts = <0 82 0x4>;
  233. status = "disabled";
  234. };
  235. serial@5c900000 {
  236. compatible = "arm,pl011", "arm,primecell";
  237. reg = <0x5c900000 0x1000>;
  238. interrupts = <0 83 0x4>;
  239. status = "disabled";
  240. };
  241. serial@5ca00000 {
  242. compatible = "arm,pl011", "arm,primecell";
  243. reg = <0x5ca00000 0x1000>;
  244. interrupts = <0 84 0x4>;
  245. status = "disabled";
  246. };
  247. serial@5cb00000 {
  248. compatible = "arm,pl011", "arm,primecell";
  249. reg = <0x5cb00000 0x1000>;
  250. interrupts = <0 85 0x4>;
  251. status = "disabled";
  252. };
  253. serial@5cc00000 {
  254. compatible = "arm,pl011", "arm,primecell";
  255. reg = <0x5cc00000 0x1000>;
  256. interrupts = <0 86 0x4>;
  257. status = "disabled";
  258. };
  259. thermal@e07008c4 {
  260. st,thermal-flags = <0x7000>;
  261. };
  262. gpiopinctrl: gpio@d8400000 {
  263. compatible = "st,spear-plgpio";
  264. reg = <0xd8400000 0x1000>;
  265. interrupts = <0 100 0x4>;
  266. #interrupt-cells = <1>;
  267. interrupt-controller;
  268. gpio-controller;
  269. #gpio-cells = <2>;
  270. gpio-ranges = <&pinmux 0 0 246>;
  271. status = "disabled";
  272. st-plgpio,ngpio = <246>;
  273. st-plgpio,enb-reg = <0xd0>;
  274. st-plgpio,wdata-reg = <0x90>;
  275. st-plgpio,dir-reg = <0xb0>;
  276. st-plgpio,ie-reg = <0x30>;
  277. st-plgpio,rdata-reg = <0x70>;
  278. st-plgpio,mis-reg = <0x10>;
  279. st-plgpio,eit-reg = <0x50>;
  280. };
  281. };
  282. };
  283. };