mpc8313erdb.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /*
  2. * MPC8313E RDB Device Tree Source
  3. *
  4. * Copyright 2005, 2006, 2007 Freescale Semiconductor Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. / {
  12. model = "MPC8313ERDB";
  13. compatible = "MPC83xx";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #cpus = <1>;
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. PowerPC,8313@0 {
  21. device_type = "cpu";
  22. reg = <0>;
  23. d-cache-line-size = <20>; // 32 bytes
  24. i-cache-line-size = <20>; // 32 bytes
  25. d-cache-size = <4000>; // L1, 16K
  26. i-cache-size = <4000>; // L1, 16K
  27. timebase-frequency = <0>; // from bootloader
  28. bus-frequency = <0>; // from bootloader
  29. clock-frequency = <0>; // from bootloader
  30. 32-bit;
  31. };
  32. };
  33. memory {
  34. device_type = "memory";
  35. reg = <00000000 08000000>; // 128MB at 0
  36. };
  37. soc8313@e0000000 {
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. #interrupt-cells = <2>;
  41. device_type = "soc";
  42. ranges = <0 e0000000 00100000>;
  43. reg = <e0000000 00000200>;
  44. bus-frequency = <0>;
  45. wdt@200 {
  46. device_type = "watchdog";
  47. compatible = "mpc83xx_wdt";
  48. reg = <200 100>;
  49. };
  50. i2c@3000 {
  51. device_type = "i2c";
  52. compatible = "fsl-i2c";
  53. reg = <3000 100>;
  54. interrupts = <e 8>;
  55. interrupt-parent = <700>;
  56. dfsrr;
  57. };
  58. i2c@3100 {
  59. device_type = "i2c";
  60. compatible = "fsl-i2c";
  61. reg = <3100 100>;
  62. interrupts = <f 8>;
  63. interrupt-parent = <700>;
  64. dfsrr;
  65. };
  66. spi@7000 {
  67. device_type = "spi";
  68. compatible = "mpc83xx_spi";
  69. reg = <7000 1000>;
  70. interrupts = <10 8>;
  71. interrupt-parent = <700>;
  72. mode = <0>;
  73. };
  74. /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
  75. usb@23000 {
  76. device_type = "usb";
  77. compatible = "fsl-usb2-dr";
  78. reg = <23000 1000>;
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. interrupt-parent = <700>;
  82. interrupts = <26 2>;
  83. phy_type = "utmi_wide";
  84. };
  85. mdio@24520 {
  86. device_type = "mdio";
  87. compatible = "gianfar";
  88. reg = <24520 20>;
  89. #address-cells = <1>;
  90. #size-cells = <0>;
  91. linux,phandle = <24520>;
  92. ethernet-phy@1 {
  93. linux,phandle = <2452001>;
  94. interrupt-parent = <700>;
  95. interrupts = <13 2>;
  96. reg = <1>;
  97. device_type = "ethernet-phy";
  98. };
  99. ethernet-phy@4 {
  100. linux,phandle = <2452004>;
  101. interrupt-parent = <700>;
  102. interrupts = <14 2>;
  103. reg = <4>;
  104. device_type = "ethernet-phy";
  105. };
  106. };
  107. ethernet@24000 {
  108. device_type = "network";
  109. model = "eTSEC";
  110. compatible = "gianfar";
  111. reg = <24000 1000>;
  112. local-mac-address = [ 00 00 00 00 00 00 ];
  113. interrupts = <25 8 24 8 23 8>;
  114. interrupt-parent = <700>;
  115. phy-handle = <2452001>;
  116. };
  117. ethernet@25000 {
  118. device_type = "network";
  119. model = "eTSEC";
  120. compatible = "gianfar";
  121. reg = <25000 1000>;
  122. local-mac-address = [ 00 00 00 00 00 00 ];
  123. interrupts = <22 8 21 8 20 8>;
  124. interrupt-parent = <700>;
  125. phy-handle = <2452004>;
  126. };
  127. serial@4500 {
  128. device_type = "serial";
  129. compatible = "ns16550";
  130. reg = <4500 100>;
  131. clock-frequency = <0>;
  132. interrupts = <9 8>;
  133. interrupt-parent = <700>;
  134. };
  135. serial@4600 {
  136. device_type = "serial";
  137. compatible = "ns16550";
  138. reg = <4600 100>;
  139. clock-frequency = <0>;
  140. interrupts = <a 8>;
  141. interrupt-parent = <700>;
  142. };
  143. pci@8500 {
  144. interrupt-map-mask = <f800 0 0 7>;
  145. interrupt-map = <
  146. /* IDSEL 0x0E -mini PCI */
  147. 7000 0 0 1 700 12 8
  148. 7000 0 0 2 700 12 8
  149. 7000 0 0 3 700 12 8
  150. 7000 0 0 4 700 12 8
  151. /* IDSEL 0x0F - PCI slot */
  152. 7800 0 0 1 700 11 8
  153. 7800 0 0 2 700 12 8
  154. 7800 0 0 3 700 11 8
  155. 7800 0 0 4 700 12 8>;
  156. interrupt-parent = <700>;
  157. interrupts = <42 8>;
  158. bus-range = <0 0>;
  159. ranges = <02000000 0 90000000 90000000 0 10000000
  160. 42000000 0 80000000 80000000 0 10000000
  161. 01000000 0 00000000 e2000000 0 00100000>;
  162. clock-frequency = <3f940aa>;
  163. #interrupt-cells = <1>;
  164. #size-cells = <2>;
  165. #address-cells = <3>;
  166. reg = <8500 100>;
  167. compatible = "83xx";
  168. device_type = "pci";
  169. };
  170. crypto@30000 {
  171. device_type = "crypto";
  172. model = "SEC2";
  173. compatible = "talitos";
  174. reg = <30000 7000>;
  175. interrupts = <b 8>;
  176. interrupt-parent = <700>;
  177. /* Rev. 2.2 */
  178. num-channels = <1>;
  179. channel-fifo-len = <18>;
  180. exec-units-mask = <0000004c>;
  181. descriptor-types-mask = <0122003f>;
  182. };
  183. /* IPIC
  184. * interrupts cell = <intr #, sense>
  185. * sense values match linux IORESOURCE_IRQ_* defines:
  186. * sense == 8: Level, low assertion
  187. * sense == 2: Edge, high-to-low change
  188. */
  189. pic@700 {
  190. linux,phandle = <700>;
  191. interrupt-controller;
  192. #address-cells = <0>;
  193. #interrupt-cells = <2>;
  194. reg = <700 100>;
  195. built-in;
  196. device_type = "ipic";
  197. };
  198. };
  199. };