spear300-evb.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. /*
  2. * DTS file for SPEAr300 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/ "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. int-gpio = <&gpio1 0 0>;
  74. power-gpio = <&gpio1 2 1>;
  75. status = "okay";
  76. };
  77. smi: flash@fc000000 {
  78. status = "okay";
  79. clock-rate=<50000000>;
  80. flash@f8000000 {
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. reg = <0xf8000000 0x800000>;
  84. st,smi-fast-mode;
  85. partition@0 {
  86. label = "xloader";
  87. reg = <0x0 0x10000>;
  88. };
  89. partition@10000 {
  90. label = "u-boot";
  91. reg = <0x10000 0x40000>;
  92. };
  93. partition@50000 {
  94. label = "linux";
  95. reg = <0x50000 0x2c0000>;
  96. };
  97. partition@310000 {
  98. label = "rootfs";
  99. reg = <0x310000 0x4f0000>;
  100. };
  101. };
  102. };
  103. spi0: spi@d0100000 {
  104. status = "okay";
  105. };
  106. ehci@e1800000 {
  107. status = "okay";
  108. };
  109. ohci@e1900000 {
  110. status = "okay";
  111. };
  112. ohci@e2100000 {
  113. status = "okay";
  114. };
  115. apb {
  116. gpio0: gpio@fc980000 {
  117. status = "okay";
  118. };
  119. gpio1: gpio@a9000000 {
  120. status = "okay";
  121. };
  122. i2c0: i2c@d0180000 {
  123. status = "okay";
  124. };
  125. kbd@a0000000 {
  126. linux,keymap = < 0x00000001
  127. 0x00010002
  128. 0x00020003
  129. 0x00030004
  130. 0x00040005
  131. 0x00050006
  132. 0x00060007
  133. 0x00070008
  134. 0x00080009
  135. 0x0100000a
  136. 0x0101000c
  137. 0x0102000d
  138. 0x0103000e
  139. 0x0104000f
  140. 0x01050010
  141. 0x01060011
  142. 0x01070012
  143. 0x01080013
  144. 0x02000014
  145. 0x02010015
  146. 0x02020016
  147. 0x02030017
  148. 0x02040018
  149. 0x02050019
  150. 0x0206001a
  151. 0x0207001b
  152. 0x0208001c
  153. 0x0300001d
  154. 0x0301001e
  155. 0x0302001f
  156. 0x03030020
  157. 0x03040021
  158. 0x03050022
  159. 0x03060023
  160. 0x03070024
  161. 0x03080025
  162. 0x04000026
  163. 0x04010027
  164. 0x04020028
  165. 0x04030029
  166. 0x0404002a
  167. 0x0405002b
  168. 0x0406002c
  169. 0x0407002d
  170. 0x0408002e
  171. 0x0500002f
  172. 0x05010030
  173. 0x05020031
  174. 0x05030032
  175. 0x05040033
  176. 0x05050034
  177. 0x05060035
  178. 0x05070036
  179. 0x05080037
  180. 0x06000038
  181. 0x06010039
  182. 0x0602003a
  183. 0x0603003b
  184. 0x0604003c
  185. 0x0605003d
  186. 0x0606003e
  187. 0x0607003f
  188. 0x06080040
  189. 0x07000041
  190. 0x07010042
  191. 0x07020043
  192. 0x07030044
  193. 0x07040045
  194. 0x07050046
  195. 0x07060047
  196. 0x07070048
  197. 0x07080049
  198. 0x0800004a
  199. 0x0801004b
  200. 0x0802004c
  201. 0x0803004d
  202. 0x0804004e
  203. 0x0805004f
  204. 0x08060050
  205. 0x08070051
  206. 0x08080052 >;
  207. autorepeat;
  208. st,mode = <0>;
  209. status = "okay";
  210. };
  211. rtc@fc900000 {
  212. status = "okay";
  213. };
  214. serial@d0000000 {
  215. status = "okay";
  216. };
  217. wdt@fc880000 {
  218. status = "okay";
  219. };
  220. };
  221. };
  222. };