spear300-evb.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. clcd@60000000 {
  25. status = "okay";
  26. };
  27. dma@fc400000 {
  28. status = "okay";
  29. };
  30. fsmc: flash@94000000 {
  31. status = "okay";
  32. };
  33. gmac: eth@e0800000 {
  34. status = "okay";
  35. };
  36. sdhci@70000000 {
  37. int-gpio = <&gpio1 0 0>;
  38. power-gpio = <&gpio1 2 1>;
  39. status = "okay";
  40. };
  41. smi: flash@fc000000 {
  42. status = "okay";
  43. clock-rate=<50000000>;
  44. flash@f8000000 {
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. reg = <0xf8000000 0x800000>;
  48. st,smi-fast-mode;
  49. partition@0 {
  50. label = "xloader";
  51. reg = <0x0 0x10000>;
  52. };
  53. partition@10000 {
  54. label = "u-boot";
  55. reg = <0x10000 0x40000>;
  56. };
  57. partition@50000 {
  58. label = "linux";
  59. reg = <0x50000 0x2c0000>;
  60. };
  61. partition@310000 {
  62. label = "rootfs";
  63. reg = <0x310000 0x4f0000>;
  64. };
  65. };
  66. };
  67. spi0: spi@d0100000 {
  68. status = "okay";
  69. };
  70. ehci@e1800000 {
  71. status = "okay";
  72. };
  73. ohci@e1900000 {
  74. status = "okay";
  75. };
  76. ohci@e2100000 {
  77. status = "okay";
  78. };
  79. apb {
  80. gpio0: gpio@fc980000 {
  81. status = "okay";
  82. };
  83. gpio1: gpio@a9000000 {
  84. status = "okay";
  85. };
  86. i2c0: i2c@d0180000 {
  87. status = "okay";
  88. };
  89. kbd@a0000000 {
  90. linux,keymap = < 0x00000001
  91. 0x00010002
  92. 0x00020003
  93. 0x00030004
  94. 0x00040005
  95. 0x00050006
  96. 0x00060007
  97. 0x00070008
  98. 0x00080009
  99. 0x0100000a
  100. 0x0101000c
  101. 0x0102000d
  102. 0x0103000e
  103. 0x0104000f
  104. 0x01050010
  105. 0x01060011
  106. 0x01070012
  107. 0x01080013
  108. 0x02000014
  109. 0x02010015
  110. 0x02020016
  111. 0x02030017
  112. 0x02040018
  113. 0x02050019
  114. 0x0206001a
  115. 0x0207001b
  116. 0x0208001c
  117. 0x0300001d
  118. 0x0301001e
  119. 0x0302001f
  120. 0x03030020
  121. 0x03040021
  122. 0x03050022
  123. 0x03060023
  124. 0x03070024
  125. 0x03080025
  126. 0x04000026
  127. 0x04010027
  128. 0x04020028
  129. 0x04030029
  130. 0x0404002a
  131. 0x0405002b
  132. 0x0406002c
  133. 0x0407002d
  134. 0x0408002e
  135. 0x0500002f
  136. 0x05010030
  137. 0x05020031
  138. 0x05030032
  139. 0x05040033
  140. 0x05050034
  141. 0x05060035
  142. 0x05070036
  143. 0x05080037
  144. 0x06000038
  145. 0x06010039
  146. 0x0602003a
  147. 0x0603003b
  148. 0x0604003c
  149. 0x0605003d
  150. 0x0606003e
  151. 0x0607003f
  152. 0x06080040
  153. 0x07000041
  154. 0x07010042
  155. 0x07020043
  156. 0x07030044
  157. 0x07040045
  158. 0x07050046
  159. 0x07060047
  160. 0x07070048
  161. 0x07080049
  162. 0x0800004a
  163. 0x0801004b
  164. 0x0802004c
  165. 0x0803004d
  166. 0x0804004e
  167. 0x0805004f
  168. 0x08060050
  169. 0x08070051
  170. 0x08080052 >;
  171. autorepeat;
  172. st,mode = <0>;
  173. status = "okay";
  174. };
  175. rtc@fc900000 {
  176. status = "okay";
  177. };
  178. serial@d0000000 {
  179. status = "okay";
  180. };
  181. wdt@fc880000 {
  182. status = "okay";
  183. };
  184. };
  185. };
  186. };