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 = < 0x00000001
  104. 0x00010002
  105. 0x00020003
  106. 0x00030004
  107. 0x00040005
  108. 0x00050006
  109. 0x00060007
  110. 0x00070008
  111. 0x00080009
  112. 0x0100000a
  113. 0x0101000c
  114. 0x0102000d
  115. 0x0103000e
  116. 0x0104000f
  117. 0x01050010
  118. 0x01060011
  119. 0x01070012
  120. 0x01080013
  121. 0x02000014
  122. 0x02010015
  123. 0x02020016
  124. 0x02030017
  125. 0x02040018
  126. 0x02050019
  127. 0x0206001a
  128. 0x0207001b
  129. 0x0208001c
  130. 0x0300001d
  131. 0x0301001e
  132. 0x0302001f
  133. 0x03030020
  134. 0x03040021
  135. 0x03050022
  136. 0x03060023
  137. 0x03070024
  138. 0x03080025
  139. 0x04000026
  140. 0x04010027
  141. 0x04020028
  142. 0x04030029
  143. 0x0404002a
  144. 0x0405002b
  145. 0x0406002c
  146. 0x0407002d
  147. 0x0408002e
  148. 0x0500002f
  149. 0x05010030
  150. 0x05020031
  151. 0x05030032
  152. 0x05040033
  153. 0x05050034
  154. 0x05060035
  155. 0x05070036
  156. 0x05080037
  157. 0x06000038
  158. 0x06010039
  159. 0x0602003a
  160. 0x0603003b
  161. 0x0604003c
  162. 0x0605003d
  163. 0x0606003e
  164. 0x0607003f
  165. 0x06080040
  166. 0x07000041
  167. 0x07010042
  168. 0x07020043
  169. 0x07030044
  170. 0x07040045
  171. 0x07050046
  172. 0x07060047
  173. 0x07070048
  174. 0x07080049
  175. 0x0800004a
  176. 0x0801004b
  177. 0x0802004c
  178. 0x0803004d
  179. 0x0804004e
  180. 0x0805004f
  181. 0x08060050
  182. 0x08070051
  183. 0x08080052 >;
  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. };