spear300-evb.dts 4.1 KB

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