spear1340-evb.dts 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. /*
  2. * DTS file for SPEAr1340 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/ "spear1340.dtsi"
  15. / {
  16. model = "ST SPEAr1340 Evaluation Board";
  17. compatible = "st,spear1340-evb", "st,spear1340";
  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. pads_as_gpio {
  29. st,pins = "pads_as_gpio_grp";
  30. st,function = "pads_as_gpio";
  31. };
  32. fsmc {
  33. st,pins = "fsmc_8bit_grp";
  34. st,function = "fsmc";
  35. };
  36. kbd {
  37. st,pins = "keyboard_row_col_grp",
  38. "keyboard_col5_grp";
  39. st,function = "keyboard";
  40. };
  41. uart0 {
  42. st,pins = "uart0_grp", "uart0_enh_grp";
  43. st,function = "uart0";
  44. };
  45. i2c0-pmx {
  46. st,pins = "i2c0_grp";
  47. st,function = "i2c0";
  48. };
  49. i2c1-pmx {
  50. st,pins = "i2c1_grp";
  51. st,function = "i2c1";
  52. };
  53. spdif-in {
  54. st,pins = "spdif_in_grp";
  55. st,function = "spdif_in";
  56. };
  57. spdif-out {
  58. st,pins = "spdif_out_grp";
  59. st,function = "spdif_out";
  60. };
  61. ssp0 {
  62. st,pins = "ssp0_grp", "ssp0_cs1_grp",
  63. "ssp0_cs3_grp";
  64. st,function = "ssp0";
  65. };
  66. pwm {
  67. st,pins = "pwm2_grp", "pwm3_grp";
  68. st,function = "pwm";
  69. };
  70. smi-pmx {
  71. st,pins = "smi_grp";
  72. st,function = "smi";
  73. };
  74. i2s {
  75. st,pins = "i2s_in_grp", "i2s_out_grp";
  76. st,function = "i2s";
  77. };
  78. gmac {
  79. st,pins = "gmii_grp", "rgmii_grp";
  80. st,function = "gmac";
  81. };
  82. cam3 {
  83. st,pins = "cam3_grp";
  84. st,function = "cam3";
  85. };
  86. cec0 {
  87. st,pins = "cec0_grp";
  88. st,function = "cec0";
  89. };
  90. cec1 {
  91. st,pins = "cec1_grp";
  92. st,function = "cec1";
  93. };
  94. sdhci {
  95. st,pins = "sdhci_grp";
  96. st,function = "sdhci";
  97. };
  98. clcd {
  99. st,pins = "clcd_grp";
  100. st,function = "clcd";
  101. };
  102. sata {
  103. st,pins = "sata_grp";
  104. st,function = "sata";
  105. };
  106. };
  107. };
  108. dma@ea800000 {
  109. status = "okay";
  110. };
  111. dma@eb000000 {
  112. status = "okay";
  113. };
  114. fsmc: flash@b0000000 {
  115. status = "okay";
  116. };
  117. gmac0: eth@e2000000 {
  118. status = "okay";
  119. };
  120. sdhci@b3000000 {
  121. status = "okay";
  122. };
  123. smi: flash@ea000000 {
  124. status = "okay";
  125. clock-rate=<50000000>;
  126. flash@e6000000 {
  127. #address-cells = <1>;
  128. #size-cells = <1>;
  129. reg = <0xe6000000 0x800000>;
  130. st,smi-fast-mode;
  131. partition@0 {
  132. label = "xloader";
  133. reg = <0x0 0x10000>;
  134. };
  135. partition@10000 {
  136. label = "u-boot";
  137. reg = <0x10000 0x40000>;
  138. };
  139. partition@50000 {
  140. label = "linux";
  141. reg = <0x50000 0x2c0000>;
  142. };
  143. partition@310000 {
  144. label = "rootfs";
  145. reg = <0x310000 0x4f0000>;
  146. };
  147. };
  148. };
  149. spi0: spi@e0100000 {
  150. status = "okay";
  151. };
  152. ehci@e4800000 {
  153. status = "okay";
  154. };
  155. ehci@e5800000 {
  156. status = "okay";
  157. };
  158. ohci@e4000000 {
  159. status = "okay";
  160. };
  161. ohci@e5000000 {
  162. status = "okay";
  163. };
  164. apb {
  165. adc@e0080000 {
  166. status = "okay";
  167. };
  168. gpio0: gpio@e0600000 {
  169. status = "okay";
  170. };
  171. gpio1: gpio@e0680000 {
  172. status = "okay";
  173. };
  174. i2c0: i2c@e0280000 {
  175. status = "okay";
  176. };
  177. i2c1: i2c@b4000000 {
  178. status = "okay";
  179. };
  180. kbd@e0300000 {
  181. linux,keymap = < 0x00000001
  182. 0x00010002
  183. 0x00020003
  184. 0x00030004
  185. 0x00040005
  186. 0x00050006
  187. 0x00060007
  188. 0x00070008
  189. 0x00080009
  190. 0x0100000a
  191. 0x0101000c
  192. 0x0102000d
  193. 0x0103000e
  194. 0x0104000f
  195. 0x01050010
  196. 0x01060011
  197. 0x01070012
  198. 0x01080013
  199. 0x02000014
  200. 0x02010015
  201. 0x02020016
  202. 0x02030017
  203. 0x02040018
  204. 0x02050019
  205. 0x0206001a
  206. 0x0207001b
  207. 0x0208001c
  208. 0x0300001d
  209. 0x0301001e
  210. 0x0302001f
  211. 0x03030020
  212. 0x03040021
  213. 0x03050022
  214. 0x03060023
  215. 0x03070024
  216. 0x03080025
  217. 0x04000026
  218. 0x04010027
  219. 0x04020028
  220. 0x04030029
  221. 0x0404002a
  222. 0x0405002b
  223. 0x0406002c
  224. 0x0407002d
  225. 0x0408002e
  226. 0x0500002f
  227. 0x05010030
  228. 0x05020031
  229. 0x05030032
  230. 0x05040033
  231. 0x05050034
  232. 0x05060035
  233. 0x05070036
  234. 0x05080037
  235. 0x06000038
  236. 0x06010039
  237. 0x0602003a
  238. 0x0603003b
  239. 0x0604003c
  240. 0x0605003d
  241. 0x0606003e
  242. 0x0607003f
  243. 0x06080040
  244. 0x07000041
  245. 0x07010042
  246. 0x07020043
  247. 0x07030044
  248. 0x07040045
  249. 0x07050046
  250. 0x07060047
  251. 0x07070048
  252. 0x07080049
  253. 0x0800004a
  254. 0x0801004b
  255. 0x0802004c
  256. 0x0803004d
  257. 0x0804004e
  258. 0x0805004f
  259. 0x08060050
  260. 0x08070051
  261. 0x08080052 >;
  262. autorepeat;
  263. st,mode = <0>;
  264. status = "okay";
  265. };
  266. rtc@e0580000 {
  267. status = "okay";
  268. };
  269. serial@e0000000 {
  270. status = "okay";
  271. };
  272. serial@b4100000 {
  273. status = "okay";
  274. };
  275. wdt@ec800620 {
  276. status = "okay";
  277. };
  278. };
  279. };
  280. };