spear320-evb.dts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /*
  2. * DTS file for SPEAr320 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/ "spear320.dtsi"
  15. / {
  16. model = "ST SPEAr320 Evaluation Board";
  17. compatible = "st,spear320-evb", "st,spear320";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. memory {
  21. reg = <0 0x40000000>;
  22. };
  23. ahb {
  24. pinmux@b3000000 {
  25. st,pinmux-mode = <4>;
  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. mii0 {
  34. st,pins = "mii0_grp";
  35. st,function = "mii0";
  36. };
  37. ssp0 {
  38. st,pins = "ssp0_grp";
  39. st,function = "ssp0";
  40. };
  41. uart0 {
  42. st,pins = "uart0_grp";
  43. st,function = "uart0";
  44. };
  45. sdhci {
  46. st,pins = "sdhci_cd_51_grp";
  47. st,function = "sdhci";
  48. };
  49. i2s {
  50. st,pins = "i2s_grp";
  51. st,function = "i2s";
  52. };
  53. uart1 {
  54. st,pins = "uart1_grp";
  55. st,function = "uart1";
  56. };
  57. uart2 {
  58. st,pins = "uart2_grp";
  59. st,function = "uart2";
  60. };
  61. can0 {
  62. st,pins = "can0_grp";
  63. st,function = "can0";
  64. };
  65. can1 {
  66. st,pins = "can1_grp";
  67. st,function = "can1";
  68. };
  69. mii2 {
  70. st,pins = "mii2_grp";
  71. st,function = "mii2";
  72. };
  73. pwm0_1 {
  74. st,pins = "pwm0_1_pin_14_15_grp";
  75. st,function = "pwm0_1";
  76. };
  77. pwm2 {
  78. st,pins = "pwm2_pin_13_grp";
  79. st,function = "pwm2";
  80. };
  81. };
  82. };
  83. clcd@90000000 {
  84. status = "okay";
  85. };
  86. dma@fc400000 {
  87. status = "okay";
  88. };
  89. fsmc: flash@4c000000 {
  90. status = "okay";
  91. };
  92. gmac: eth@e0800000 {
  93. status = "okay";
  94. };
  95. sdhci@70000000 {
  96. power-gpio = <&gpio0 2 1>;
  97. power_always_enb;
  98. status = "okay";
  99. };
  100. smi: flash@fc000000 {
  101. status = "okay";
  102. clock-rate=<50000000>;
  103. flash@f8000000 {
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. reg = <0xf8000000 0x800000>;
  107. st,smi-fast-mode;
  108. partition@0 {
  109. label = "xloader";
  110. reg = <0x0 0x10000>;
  111. };
  112. partition@10000 {
  113. label = "u-boot";
  114. reg = <0x10000 0x40000>;
  115. };
  116. partition@50000 {
  117. label = "linux";
  118. reg = <0x50000 0x2c0000>;
  119. };
  120. partition@310000 {
  121. label = "rootfs";
  122. reg = <0x310000 0x4f0000>;
  123. };
  124. };
  125. };
  126. spi0: spi@d0100000 {
  127. status = "okay";
  128. };
  129. spi1: spi@a5000000 {
  130. status = "okay";
  131. };
  132. spi2: spi@a6000000 {
  133. status = "okay";
  134. };
  135. ehci@e1800000 {
  136. status = "okay";
  137. };
  138. ohci@e1900000 {
  139. status = "okay";
  140. };
  141. ohci@e2100000 {
  142. status = "okay";
  143. };
  144. apb {
  145. gpio0: gpio@fc980000 {
  146. status = "okay";
  147. };
  148. i2c0: i2c@d0180000 {
  149. status = "okay";
  150. };
  151. i2c1: i2c@a7000000 {
  152. status = "okay";
  153. };
  154. rtc@fc900000 {
  155. status = "okay";
  156. };
  157. serial@d0000000 {
  158. status = "okay";
  159. };
  160. serial@a3000000 {
  161. status = "okay";
  162. };
  163. serial@a4000000 {
  164. status = "okay";
  165. };
  166. wdt@fc880000 {
  167. status = "okay";
  168. };
  169. };
  170. };
  171. };