spear320-evb.dts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * DTS file for SPEAr320 Evaluation Baord
  4. *
  5. * Copyright 2012 Viresh Kumar <[email protected]>
  6. */
  7. /dts-v1/;
  8. /include/ "spear320.dtsi"
  9. / {
  10. model = "ST SPEAr320 Evaluation Board";
  11. compatible = "st,spear320-evb", "st,spear320";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. memory {
  15. reg = <0 0x40000000>;
  16. };
  17. ahb {
  18. pinmux@b3000000 {
  19. st,pinmux-mode = <4>;
  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. mii0 {
  28. st,pins = "mii0_grp";
  29. st,function = "mii0";
  30. };
  31. ssp0 {
  32. st,pins = "ssp0_grp";
  33. st,function = "ssp0";
  34. };
  35. uart0 {
  36. st,pins = "uart0_grp";
  37. st,function = "uart0";
  38. };
  39. sdhci {
  40. st,pins = "sdhci_cd_51_grp";
  41. st,function = "sdhci";
  42. };
  43. i2s {
  44. st,pins = "i2s_grp";
  45. st,function = "i2s";
  46. };
  47. uart1 {
  48. st,pins = "uart1_grp";
  49. st,function = "uart1";
  50. };
  51. uart2 {
  52. st,pins = "uart2_grp";
  53. st,function = "uart2";
  54. };
  55. can0 {
  56. st,pins = "can0_grp";
  57. st,function = "can0";
  58. };
  59. can1 {
  60. st,pins = "can1_grp";
  61. st,function = "can1";
  62. };
  63. mii2 {
  64. st,pins = "mii2_grp";
  65. st,function = "mii2";
  66. };
  67. pwm0_1 {
  68. st,pins = "pwm0_1_pin_37_38_grp";
  69. st,function = "pwm0_1";
  70. };
  71. };
  72. };
  73. dma@fc400000 {
  74. status = "okay";
  75. };
  76. fsmc: flash@4c000000 {
  77. status = "okay";
  78. };
  79. gmac: eth@e0800000 {
  80. status = "okay";
  81. };
  82. sdhci@70000000 {
  83. power-gpio = <&gpiopinctrl 61 1>;
  84. status = "okay";
  85. };
  86. smi: flash@fc000000 {
  87. status = "okay";
  88. clock-rate = <50000000>;
  89. flash@f8000000 {
  90. #address-cells = <1>;
  91. #size-cells = <1>;
  92. reg = <0xf8000000 0x800000>;
  93. st,smi-fast-mode;
  94. partition@0 {
  95. label = "xloader";
  96. reg = <0x0 0x10000>;
  97. };
  98. partition@10000 {
  99. label = "u-boot";
  100. reg = <0x10000 0x50000>;
  101. };
  102. partition@60000 {
  103. label = "environment";
  104. reg = <0x60000 0x10000>;
  105. };
  106. partition@70000 {
  107. label = "dtb";
  108. reg = <0x70000 0x10000>;
  109. };
  110. partition@80000 {
  111. label = "linux";
  112. reg = <0x80000 0x310000>;
  113. };
  114. partition@390000 {
  115. label = "rootfs";
  116. reg = <0x390000 0x0>;
  117. };
  118. };
  119. };
  120. spi0: spi@d0100000 {
  121. status = "okay";
  122. };
  123. spi1: spi@a5000000 {
  124. status = "okay";
  125. };
  126. spi2: spi@a6000000 {
  127. status = "okay";
  128. };
  129. ehci@e1800000 {
  130. status = "okay";
  131. };
  132. ohci@e1900000 {
  133. status = "okay";
  134. };
  135. ohci@e2100000 {
  136. status = "okay";
  137. };
  138. apb {
  139. gpio0: gpio@fc980000 {
  140. status = "okay";
  141. };
  142. gpio@b3000000 {
  143. status = "okay";
  144. };
  145. i2c0: i2c@d0180000 {
  146. status = "okay";
  147. };
  148. i2c1: i2c@a7000000 {
  149. status = "okay";
  150. };
  151. rtc@fc900000 {
  152. status = "okay";
  153. };
  154. serial@d0000000 {
  155. status = "okay";
  156. pinctrl-names = "default";
  157. pinctrl-0 = <>;
  158. };
  159. serial@a3000000 {
  160. status = "okay";
  161. pinctrl-names = "default";
  162. pinctrl-0 = <>;
  163. };
  164. serial@a4000000 {
  165. status = "okay";
  166. pinctrl-names = "default";
  167. pinctrl-0 = <>;
  168. };
  169. wdt@fc880000 {
  170. status = "okay";
  171. };
  172. };
  173. };
  174. };