spear300-evb.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /*
  2. * DTS file for SPEAr300 Evaluation Baord
  3. *
  4. * Copyright 2012 Viresh Kumar <viresh.kumar@st.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. };
  80. spi0: spi@d0100000 {
  81. status = "okay";
  82. };
  83. ehci@e1800000 {
  84. status = "okay";
  85. };
  86. ohci@e1900000 {
  87. status = "okay";
  88. };
  89. ohci@e2100000 {
  90. status = "okay";
  91. };
  92. apb {
  93. gpio0: gpio@fc980000 {
  94. status = "okay";
  95. };
  96. gpio1: gpio@a9000000 {
  97. status = "okay";
  98. };
  99. i2c0: i2c@d0180000 {
  100. status = "okay";
  101. };
  102. kbd@a0000000 {
  103. linux,keymap = < 0x00010000
  104. 0x00020100
  105. 0x00030200
  106. 0x00040300
  107. 0x00050400
  108. 0x00060500
  109. 0x00070600
  110. 0x00080700
  111. 0x00090800
  112. 0x000a0001
  113. 0x000c0101
  114. 0x000d0201
  115. 0x000e0301
  116. 0x000f0401
  117. 0x00100501
  118. 0x00110601
  119. 0x00120701
  120. 0x00130801
  121. 0x00140002
  122. 0x00150102
  123. 0x00160202
  124. 0x00170302
  125. 0x00180402
  126. 0x00190502
  127. 0x001a0602
  128. 0x001b0702
  129. 0x001c0802
  130. 0x001d0003
  131. 0x001e0103
  132. 0x001f0203
  133. 0x00200303
  134. 0x00210403
  135. 0x00220503
  136. 0x00230603
  137. 0x00240703
  138. 0x00250803
  139. 0x00260004
  140. 0x00270104
  141. 0x00280204
  142. 0x00290304
  143. 0x002a0404
  144. 0x002b0504
  145. 0x002c0604
  146. 0x002d0704
  147. 0x002e0804
  148. 0x002f0005
  149. 0x00300105
  150. 0x00310205
  151. 0x00320305
  152. 0x00330405
  153. 0x00340505
  154. 0x00350605
  155. 0x00360705
  156. 0x00370805
  157. 0x00380006
  158. 0x00390106
  159. 0x003a0206
  160. 0x003b0306
  161. 0x003c0406
  162. 0x003d0506
  163. 0x003e0606
  164. 0x003f0706
  165. 0x00400806
  166. 0x00410007
  167. 0x00420107
  168. 0x00430207
  169. 0x00440307
  170. 0x00450407
  171. 0x00460507
  172. 0x00470607
  173. 0x00480707
  174. 0x00490807
  175. 0x004a0008
  176. 0x004b0108
  177. 0x004c0208
  178. 0x004d0308
  179. 0x004e0408
  180. 0x004f0508
  181. 0x00500608
  182. 0x00510708
  183. 0x00520808 >;
  184. autorepeat;
  185. st,mode = <0>;
  186. status = "okay";
  187. };
  188. rtc@fc900000 {
  189. status = "okay";
  190. };
  191. serial@d0000000 {
  192. status = "okay";
  193. };
  194. wdt@fc880000 {
  195. status = "okay";
  196. };
  197. };
  198. };
  199. };