spear300-evb.dts 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /*
  2. * DTS file for SPEAr300 Evaluation Baord
  3. *
  4. * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
  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/ "spear300.dtsi"
  15. / {
  16. model = "ST SPEAr300 Evaluation Board";
  17. compatible = "st,spear300-evb", "st,spear300";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. memory {
  21. reg = <0 0x40000000>;
  22. };
  23. ahb {
  24. pinmux@99000000 {
  25. st,pinmux-mode = <2>;
  26. pinctrl-names = "default";
  27. pinctrl-0 = <&state_default>;
  28. state_default: pinmux {
  29. i2c0 {
  30. st,pins = "i2c0_grp";
  31. st,function = "i2c0";
  32. };
  33. ssp0 {
  34. st,pins = "ssp0_grp";
  35. st,function = "ssp0";
  36. };
  37. mii0 {
  38. st,pins = "mii0_grp";
  39. st,function = "mii0";
  40. };
  41. uart0 {
  42. st,pins = "uart0_grp";
  43. st,function = "uart0";
  44. };
  45. clcd {
  46. st,pins = "clcd_pfmode_grp";
  47. st,function = "clcd";
  48. };
  49. sdhci {
  50. st,pins = "sdhci_4bit_grp";
  51. st,function = "sdhci";
  52. };
  53. gpio1 {
  54. st,pins = "gpio1_4_to_7_grp",
  55. "gpio1_0_to_3_grp";
  56. st,function = "gpio1";
  57. };
  58. };
  59. };
  60. clcd@60000000 {
  61. status = "okay";
  62. };
  63. dma@fc400000 {
  64. status = "okay";
  65. };
  66. fsmc: flash@94000000 {
  67. status = "okay";
  68. };
  69. gmac: eth@e0800000 {
  70. status = "okay";
  71. };
  72. sdhci@70000000 {
  73. cd-gpios = <&gpio1 0 0>;
  74. status = "okay";
  75. };
  76. smi: flash@fc000000 {
  77. status = "okay";
  78. clock-rate=<50000000>;
  79. flash@f8000000 {
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. reg = <0xf8000000 0x800000>;
  83. st,smi-fast-mode;
  84. partition@0 {
  85. label = "xloader";
  86. reg = <0x0 0x10000>;
  87. };
  88. partition@10000 {
  89. label = "u-boot";
  90. reg = <0x10000 0x50000>;
  91. };
  92. partition@60000 {
  93. label = "environment";
  94. reg = <0x60000 0x10000>;
  95. };
  96. partition@70000 {
  97. label = "dtb";
  98. reg = <0x70000 0x10000>;
  99. };
  100. partition@80000 {
  101. label = "linux";
  102. reg = <0x80000 0x310000>;
  103. };
  104. partition@390000 {
  105. label = "rootfs";
  106. reg = <0x390000 0x0>;
  107. };
  108. };
  109. };
  110. spi0: spi@d0100000 {
  111. status = "okay";
  112. };
  113. ehci@e1800000 {
  114. status = "okay";
  115. };
  116. ohci@e1900000 {
  117. status = "okay";
  118. };
  119. ohci@e2100000 {
  120. status = "okay";
  121. };
  122. apb {
  123. gpio0: gpio@fc980000 {
  124. status = "okay";
  125. };
  126. gpio1: gpio@a9000000 {
  127. status = "okay";
  128. };
  129. i2c0: i2c@d0180000 {
  130. status = "okay";
  131. };
  132. kbd@a0000000 {
  133. linux,keymap = < 0x00000001
  134. 0x00010002
  135. 0x00020003
  136. 0x00030004
  137. 0x00040005
  138. 0x00050006
  139. 0x00060007
  140. 0x00070008
  141. 0x00080009
  142. 0x0100000a
  143. 0x0101000c
  144. 0x0102000d
  145. 0x0103000e
  146. 0x0104000f
  147. 0x01050010
  148. 0x01060011
  149. 0x01070012
  150. 0x01080013
  151. 0x02000014
  152. 0x02010015
  153. 0x02020016
  154. 0x02030017
  155. 0x02040018
  156. 0x02050019
  157. 0x0206001a
  158. 0x0207001b
  159. 0x0208001c
  160. 0x0300001d
  161. 0x0301001e
  162. 0x0302001f
  163. 0x03030020
  164. 0x03040021
  165. 0x03050022
  166. 0x03060023
  167. 0x03070024
  168. 0x03080025
  169. 0x04000026
  170. 0x04010027
  171. 0x04020028
  172. 0x04030029
  173. 0x0404002a
  174. 0x0405002b
  175. 0x0406002c
  176. 0x0407002d
  177. 0x0408002e
  178. 0x0500002f
  179. 0x05010030
  180. 0x05020031
  181. 0x05030032
  182. 0x05040033
  183. 0x05050034
  184. 0x05060035
  185. 0x05070036
  186. 0x05080037
  187. 0x06000038
  188. 0x06010039
  189. 0x0602003a
  190. 0x0603003b
  191. 0x0604003c
  192. 0x0605003d
  193. 0x0606003e
  194. 0x0607003f
  195. 0x06080040
  196. 0x07000041
  197. 0x07010042
  198. 0x07020043
  199. 0x07030044
  200. 0x07040045
  201. 0x07050046
  202. 0x07060047
  203. 0x07070048
  204. 0x07080049
  205. 0x0800004a
  206. 0x0801004b
  207. 0x0802004c
  208. 0x0803004d
  209. 0x0804004e
  210. 0x0805004f
  211. 0x08060050
  212. 0x08070051
  213. 0x08080052 >;
  214. autorepeat;
  215. st,mode = <0>;
  216. status = "okay";
  217. };
  218. rtc@fc900000 {
  219. status = "okay";
  220. };
  221. serial@d0000000 {
  222. status = "okay";
  223. pinctrl-names = "default";
  224. pinctrl-0 = <>;
  225. };
  226. wdt@fc880000 {
  227. status = "okay";
  228. };
  229. };
  230. };
  231. };