spear1310-evb.dts 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. /*
  2. * DTS file for SPEAr1310 Evaluation Baord
  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. /dts-v1/;
  14. /include/ "spear1310.dtsi"
  15. / {
  16. model = "ST SPEAr1310 Evaluation Board";
  17. compatible = "st,spear1310-evb", "st,spear1310";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. memory {
  21. reg = <0 0x40000000>;
  22. };
  23. ahb {
  24. pinmux@e0700000 {
  25. pinctrl-names = "default";
  26. pinctrl-0 = <&state_default>;
  27. state_default: pinmux {
  28. i2c0-pmx {
  29. st,pins = "i2c0_grp";
  30. st,function = "i2c0";
  31. };
  32. i2s1 {
  33. st,pins = "i2s1_grp";
  34. st,function = "i2s1";
  35. };
  36. gpio {
  37. st,pins = "arm_gpio_grp";
  38. st,function = "arm_gpio";
  39. };
  40. eth {
  41. st,pins = "gmii_grp";
  42. st,function = "gmii";
  43. };
  44. ssp0 {
  45. st,pins = "ssp0_grp";
  46. st,function = "ssp0";
  47. };
  48. kbd {
  49. st,pins = "keyboard_6x6_grp";
  50. st,function = "keyboard";
  51. };
  52. sdhci {
  53. st,pins = "sdhci_grp";
  54. st,function = "sdhci";
  55. };
  56. smi-pmx {
  57. st,pins = "smi_2_chips_grp";
  58. st,function = "smi";
  59. };
  60. uart0 {
  61. st,pins = "uart0_grp";
  62. st,function = "uart0";
  63. };
  64. rs485 {
  65. st,pins = "rs485_0_1_tdm_0_1_grp";
  66. st,function = "rs485_0_1_tdm_0_1";
  67. };
  68. i2c1_2 {
  69. st,pins = "i2c_1_2_grp";
  70. st,function = "i2c_1_2";
  71. };
  72. pci {
  73. st,pins = "pcie0_grp","pcie1_grp",
  74. "pcie2_grp";
  75. st,function = "pci";
  76. };
  77. smii {
  78. st,pins = "smii_0_1_2_grp";
  79. st,function = "smii_0_1_2";
  80. };
  81. nand {
  82. st,pins = "nand_8bit_grp",
  83. "nand_16bit_grp";
  84. st,function = "nand";
  85. };
  86. };
  87. };
  88. ahci@b1000000 {
  89. status = "okay";
  90. };
  91. cf@b2800000 {
  92. status = "okay";
  93. };
  94. dma@ea800000 {
  95. status = "okay";
  96. };
  97. dma@eb000000 {
  98. status = "okay";
  99. };
  100. fsmc: flash@b0000000 {
  101. status = "okay";
  102. };
  103. gmac0: eth@e2000000 {
  104. status = "okay";
  105. };
  106. sdhci@b3000000 {
  107. status = "okay";
  108. };
  109. smi: flash@ea000000 {
  110. status = "okay";
  111. clock-rate=<50000000>;
  112. flash@e6000000 {
  113. #address-cells = <1>;
  114. #size-cells = <1>;
  115. reg = <0xe6000000 0x800000>;
  116. st,smi-fast-mode;
  117. partition@0 {
  118. label = "xloader";
  119. reg = <0x0 0x10000>;
  120. };
  121. partition@10000 {
  122. label = "u-boot";
  123. reg = <0x10000 0x40000>;
  124. };
  125. partition@50000 {
  126. label = "linux";
  127. reg = <0x50000 0x2c0000>;
  128. };
  129. partition@310000 {
  130. label = "rootfs";
  131. reg = <0x310000 0x4f0000>;
  132. };
  133. };
  134. };
  135. spi0: spi@e0100000 {
  136. status = "okay";
  137. };
  138. ehci@e4800000 {
  139. status = "okay";
  140. };
  141. ehci@e5800000 {
  142. status = "okay";
  143. };
  144. ohci@e4000000 {
  145. status = "okay";
  146. };
  147. ohci@e5000000 {
  148. status = "okay";
  149. };
  150. apb {
  151. adc@e0080000 {
  152. status = "okay";
  153. };
  154. gpio0: gpio@e0600000 {
  155. status = "okay";
  156. };
  157. gpio1: gpio@e0680000 {
  158. status = "okay";
  159. };
  160. i2c0: i2c@e0280000 {
  161. status = "okay";
  162. };
  163. i2c1: i2c@5cd00000 {
  164. status = "okay";
  165. };
  166. kbd@e0300000 {
  167. linux,keymap = < 0x00000001
  168. 0x00010002
  169. 0x00020003
  170. 0x00030004
  171. 0x00040005
  172. 0x00050006
  173. 0x00060007
  174. 0x00070008
  175. 0x00080009
  176. 0x0100000a
  177. 0x0101000c
  178. 0x0102000d
  179. 0x0103000e
  180. 0x0104000f
  181. 0x01050010
  182. 0x01060011
  183. 0x01070012
  184. 0x01080013
  185. 0x02000014
  186. 0x02010015
  187. 0x02020016
  188. 0x02030017
  189. 0x02040018
  190. 0x02050019
  191. 0x0206001a
  192. 0x0207001b
  193. 0x0208001c
  194. 0x0300001d
  195. 0x0301001e
  196. 0x0302001f
  197. 0x03030020
  198. 0x03040021
  199. 0x03050022
  200. 0x03060023
  201. 0x03070024
  202. 0x03080025
  203. 0x04000026
  204. 0x04010027
  205. 0x04020028
  206. 0x04030029
  207. 0x0404002a
  208. 0x0405002b
  209. 0x0406002c
  210. 0x0407002d
  211. 0x0408002e
  212. 0x0500002f
  213. 0x05010030
  214. 0x05020031
  215. 0x05030032
  216. 0x05040033
  217. 0x05050034
  218. 0x05060035
  219. 0x05070036
  220. 0x05080037
  221. 0x06000038
  222. 0x06010039
  223. 0x0602003a
  224. 0x0603003b
  225. 0x0604003c
  226. 0x0605003d
  227. 0x0606003e
  228. 0x0607003f
  229. 0x06080040
  230. 0x07000041
  231. 0x07010042
  232. 0x07020043
  233. 0x07030044
  234. 0x07040045
  235. 0x07050046
  236. 0x07060047
  237. 0x07070048
  238. 0x07080049
  239. 0x0800004a
  240. 0x0801004b
  241. 0x0802004c
  242. 0x0803004d
  243. 0x0804004e
  244. 0x0805004f
  245. 0x08060050
  246. 0x08070051
  247. 0x08080052 >;
  248. autorepeat;
  249. st,mode = <0>;
  250. status = "okay";
  251. };
  252. rtc@e0580000 {
  253. status = "okay";
  254. };
  255. serial@e0000000 {
  256. status = "okay";
  257. };
  258. wdt@ec800620 {
  259. status = "okay";
  260. };
  261. };
  262. };
  263. };