spear1310-evb.dts 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * DTS file for SPEAr1310 Evaluation Baord
  4. *
  5. * Copyright 2012 Viresh Kumar <[email protected]>
  6. */
  7. /dts-v1/;
  8. /include/ "spear1310.dtsi"
  9. / {
  10. model = "ST SPEAr1310 Evaluation Board";
  11. compatible = "st,spear1310-evb", "st,spear1310";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. memory {
  15. reg = <0 0x40000000>;
  16. };
  17. ahb {
  18. pinmux@e0700000 {
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&state_default>;
  21. state_default: pinmux {
  22. i2c0 {
  23. st,pins = "i2c0_grp";
  24. st,function = "i2c0";
  25. };
  26. i2s0 {
  27. st,pins = "i2s0_grp";
  28. st,function = "i2s0";
  29. };
  30. i2s1 {
  31. st,pins = "i2s1_grp";
  32. st,function = "i2s1";
  33. };
  34. gpio {
  35. st,pins = "arm_gpio_grp";
  36. st,function = "arm_gpio";
  37. };
  38. clcd {
  39. st,pins = "clcd_grp" , "clcd_high_res";
  40. st,function = "clcd";
  41. };
  42. eth {
  43. st,pins = "gmii_grp";
  44. st,function = "gmii";
  45. };
  46. ssp0 {
  47. st,pins = "ssp0_grp";
  48. st,function = "ssp0";
  49. };
  50. kbd {
  51. st,pins = "keyboard_6x6_grp";
  52. st,function = "keyboard";
  53. };
  54. sdhci {
  55. st,pins = "sdhci_grp";
  56. st,function = "sdhci";
  57. };
  58. smi-pmx {
  59. st,pins = "smi_2_chips_grp";
  60. st,function = "smi";
  61. };
  62. uart0 {
  63. st,pins = "uart0_grp";
  64. st,function = "uart0";
  65. };
  66. rs485 {
  67. st,pins = "rs485_0_1_tdm_0_1_grp";
  68. st,function = "rs485_0_1_tdm_0_1";
  69. };
  70. i2c1_2 {
  71. st,pins = "i2c_1_2_grp";
  72. st,function = "i2c_1_2";
  73. };
  74. smii {
  75. st,pins = "smii_0_1_2_grp";
  76. st,function = "smii_0_1_2";
  77. };
  78. nand {
  79. st,pins = "nand_8bit_grp",
  80. "nand_16bit_grp";
  81. st,function = "nand";
  82. };
  83. sata {
  84. st,pins = "sata0_grp";
  85. st,function = "sata";
  86. };
  87. pcie {
  88. st,pins = "pcie1_grp", "pcie2_grp";
  89. st,function = "pci_express";
  90. };
  91. };
  92. };
  93. ahci@b1000000 {
  94. status = "okay";
  95. };
  96. miphy@eb800000 {
  97. status = "okay";
  98. };
  99. cf@b2800000 {
  100. status = "okay";
  101. };
  102. dma@ea800000 {
  103. status = "okay";
  104. };
  105. dma@eb000000 {
  106. status = "okay";
  107. };
  108. fsmc: flash@b0000000 {
  109. status = "okay";
  110. partition@0 {
  111. label = "xloader";
  112. reg = <0x0 0x80000>;
  113. };
  114. partition@80000 {
  115. label = "u-boot";
  116. reg = <0x80000 0x140000>;
  117. };
  118. partition@1C0000 {
  119. label = "environment";
  120. reg = <0x1C0000 0x40000>;
  121. };
  122. partition@200000 {
  123. label = "dtb";
  124. reg = <0x200000 0x40000>;
  125. };
  126. partition@240000 {
  127. label = "linux";
  128. reg = <0x240000 0xC00000>;
  129. };
  130. partition@E40000 {
  131. label = "rootfs";
  132. reg = <0xE40000 0x0>;
  133. };
  134. };
  135. gpio_keys {
  136. compatible = "gpio-keys";
  137. #address-cells = <1>;
  138. #size-cells = <0>;
  139. button@1 {
  140. label = "wakeup";
  141. linux,code = <0x100>;
  142. gpios = <&gpio0 7 0x4>;
  143. debounce-interval = <20>;
  144. wakeup-source;
  145. };
  146. };
  147. gmac0: eth@e2000000 {
  148. phy-mode = "gmii";
  149. status = "okay";
  150. };
  151. sdhci@b3000000 {
  152. status = "okay";
  153. };
  154. smi: flash@ea000000 {
  155. status = "okay";
  156. clock-rate = <50000000>;
  157. flash@e6000000 {
  158. #address-cells = <1>;
  159. #size-cells = <1>;
  160. reg = <0xe6000000 0x800000>;
  161. st,smi-fast-mode;
  162. partition@0 {
  163. label = "xloader";
  164. reg = <0x0 0x10000>;
  165. };
  166. partition@10000 {
  167. label = "u-boot";
  168. reg = <0x10000 0x50000>;
  169. };
  170. partition@60000 {
  171. label = "environment";
  172. reg = <0x60000 0x10000>;
  173. };
  174. partition@70000 {
  175. label = "dtb";
  176. reg = <0x70000 0x10000>;
  177. };
  178. partition@80000 {
  179. label = "linux";
  180. reg = <0x80000 0x310000>;
  181. };
  182. partition@390000 {
  183. label = "rootfs";
  184. reg = <0x390000 0x0>;
  185. };
  186. };
  187. };
  188. ehci@e4800000 {
  189. status = "okay";
  190. };
  191. ehci@e5800000 {
  192. status = "okay";
  193. };
  194. ohci@e4000000 {
  195. status = "okay";
  196. };
  197. ohci@e5000000 {
  198. status = "okay";
  199. };
  200. apb {
  201. adc@e0080000 {
  202. status = "okay";
  203. };
  204. gpio0: gpio@e0600000 {
  205. status = "okay";
  206. };
  207. gpio1: gpio@e0680000 {
  208. status = "okay";
  209. };
  210. gpio@d8400000 {
  211. status = "okay";
  212. };
  213. i2c0: i2c@e0280000 {
  214. status = "okay";
  215. };
  216. kbd@e0300000 {
  217. linux,keymap = < 0x00000001
  218. 0x00010002
  219. 0x00020003
  220. 0x00030004
  221. 0x00040005
  222. 0x00050006
  223. 0x00060007
  224. 0x00070008
  225. 0x00080009
  226. 0x0100000a
  227. 0x0101000c
  228. 0x0102000d
  229. 0x0103000e
  230. 0x0104000f
  231. 0x01050010
  232. 0x01060011
  233. 0x01070012
  234. 0x01080013
  235. 0x02000014
  236. 0x02010015
  237. 0x02020016
  238. 0x02030017
  239. 0x02040018
  240. 0x02050019
  241. 0x0206001a
  242. 0x0207001b
  243. 0x0208001c
  244. 0x0300001d
  245. 0x0301001e
  246. 0x0302001f
  247. 0x03030020
  248. 0x03040021
  249. 0x03050022
  250. 0x03060023
  251. 0x03070024
  252. 0x03080025
  253. 0x04000026
  254. 0x04010027
  255. 0x04020028
  256. 0x04030029
  257. 0x0404002a
  258. 0x0405002b
  259. 0x0406002c
  260. 0x0407002d
  261. 0x0408002e
  262. 0x0500002f
  263. 0x05010030
  264. 0x05020031
  265. 0x05030032
  266. 0x05040033
  267. 0x05050034
  268. 0x05060035
  269. 0x05070036
  270. 0x05080037
  271. 0x06000038
  272. 0x06010039
  273. 0x0602003a
  274. 0x0603003b
  275. 0x0604003c
  276. 0x0605003d
  277. 0x0606003e
  278. 0x0607003f
  279. 0x06080040
  280. 0x07000041
  281. 0x07010042
  282. 0x07020043
  283. 0x07030044
  284. 0x07040045
  285. 0x07050046
  286. 0x07060047
  287. 0x07070048
  288. 0x07080049
  289. 0x0800004a
  290. 0x0801004b
  291. 0x0802004c
  292. 0x0803004d
  293. 0x0804004e
  294. 0x0805004f
  295. 0x08060050
  296. 0x08070051
  297. 0x08080052 >;
  298. autorepeat;
  299. st,mode = <0>;
  300. suspended_rate = <2000000>;
  301. status = "okay";
  302. };
  303. rtc@e0580000 {
  304. status = "okay";
  305. };
  306. serial@e0000000 {
  307. status = "okay";
  308. pinctrl-names = "default";
  309. pinctrl-0 = <>;
  310. };
  311. spi0: spi@e0100000 {
  312. status = "okay";
  313. num-cs = <3>;
  314. cs-gpios = <&gpio1 7 0>, <&spics 0 0>, <&spics 1 0>;
  315. stmpe610@0 {
  316. compatible = "st,stmpe610";
  317. reg = <0>;
  318. #address-cells = <1>;
  319. #size-cells = <0>;
  320. spi-max-frequency = <1000000>;
  321. spi-cpha;
  322. pl022,hierarchy = <0>;
  323. pl022,interface = <0>;
  324. pl022,slave-tx-disable;
  325. pl022,com-mode = <0>;
  326. pl022,rx-level-trig = <0>;
  327. pl022,tx-level-trig = <0>;
  328. pl022,ctrl-len = <0x7>;
  329. pl022,wait-state = <0>;
  330. pl022,duplex = <0>;
  331. interrupts = <6 0x4>;
  332. interrupt-parent = <&gpio1>;
  333. irq-trigger = <0x2>;
  334. stmpe_touchscreen {
  335. compatible = "st,stmpe-ts";
  336. ts,sample-time = <4>;
  337. ts,mod-12b = <1>;
  338. ts,ref-sel = <0>;
  339. ts,adc-freq = <1>;
  340. ts,ave-ctrl = <1>;
  341. ts,touch-det-delay = <2>;
  342. ts,settling = <2>;
  343. ts,fraction-z = <7>;
  344. ts,i-drive = <1>;
  345. };
  346. };
  347. flash@1 {
  348. compatible = "st,m25p80";
  349. reg = <1>;
  350. spi-max-frequency = <12000000>;
  351. spi-cpol;
  352. spi-cpha;
  353. pl022,hierarchy = <0>;
  354. pl022,interface = <0>;
  355. pl022,slave-tx-disable;
  356. pl022,com-mode = <0x2>;
  357. pl022,rx-level-trig = <0>;
  358. pl022,tx-level-trig = <0>;
  359. pl022,ctrl-len = <0x11>;
  360. pl022,wait-state = <0>;
  361. pl022,duplex = <0>;
  362. };
  363. };
  364. wdt@ec800620 {
  365. status = "okay";
  366. };
  367. };
  368. };
  369. };