asp834x-redboot.dts 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. /*
  2. * Analogue & Micro ASP8347 Device Tree Source
  3. *
  4. * Copyright 2008 Codehermit
  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. /dts-v1/;
  12. / {
  13. model = "Analogue & Micro ASP8347E";
  14. compatible = "analogue-and-micro,asp8347e";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8347@0 {
  27. device_type = "cpu";
  28. reg = <0x0>;
  29. d-cache-line-size = <32>;
  30. i-cache-line-size = <32>;
  31. d-cache-size = <32768>;
  32. i-cache-size = <32768>;
  33. timebase-frequency = <0>; // from bootloader
  34. bus-frequency = <0>; // from bootloader
  35. clock-frequency = <0>; // from bootloader
  36. };
  37. };
  38. memory {
  39. device_type = "memory";
  40. reg = <0x00000000 0x8000000>; // 128MB at 0
  41. };
  42. localbus@ff005000 {
  43. #address-cells = <2>;
  44. #size-cells = <1>;
  45. compatible = "fsl,mpc8347e-localbus",
  46. "fsl,pq2pro-localbus",
  47. "simple-bus";
  48. reg = <0xff005000 0x1000>;
  49. interrupts = <77 0x8>;
  50. interrupt-parent = <&ipic>;
  51. ranges = <
  52. 0 0 0xf0000000 0x02000000
  53. >;
  54. flash@0,0 {
  55. compatible = "cfi-flash";
  56. reg = <0 0 0x02000000>;
  57. bank-width = <2>;
  58. device-width = <2>;
  59. };
  60. };
  61. soc8349@ff000000 {
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. device_type = "soc";
  65. ranges = <0x0 0xff000000 0x00100000>;
  66. reg = <0xff000000 0x00000200>;
  67. bus-frequency = <0>;
  68. wdt@200 {
  69. device_type = "watchdog";
  70. compatible = "mpc83xx_wdt";
  71. reg = <0x200 0x100>;
  72. };
  73. i2c@3000 {
  74. #address-cells = <1>;
  75. #size-cells = <0>;
  76. cell-index = <0>;
  77. compatible = "fsl-i2c";
  78. reg = <0x3000 0x100>;
  79. interrupts = <14 0x8>;
  80. interrupt-parent = <&ipic>;
  81. dfsrr;
  82. rtc@68 {
  83. compatible = "dallas,ds1374";
  84. reg = <0x68>;
  85. };
  86. };
  87. i2c@3100 {
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. cell-index = <1>;
  91. compatible = "fsl-i2c";
  92. reg = <0x3100 0x100>;
  93. interrupts = <15 0x8>;
  94. interrupt-parent = <&ipic>;
  95. dfsrr;
  96. };
  97. spi@7000 {
  98. cell-index = <0>;
  99. compatible = "fsl,spi";
  100. reg = <0x7000 0x1000>;
  101. interrupts = <16 0x8>;
  102. interrupt-parent = <&ipic>;
  103. mode = "cpu";
  104. };
  105. /* phy type (ULPI or SERIAL) are only types supported for MPH */
  106. /* port = 0 or 1 */
  107. usb@22000 {
  108. compatible = "fsl-usb2-mph";
  109. reg = <0x22000 0x1000>;
  110. #address-cells = <1>;
  111. #size-cells = <0>;
  112. interrupt-parent = <&ipic>;
  113. interrupts = <39 0x8>;
  114. phy_type = "ulpi";
  115. port1;
  116. };
  117. /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
  118. usb@23000 {
  119. compatible = "fsl-usb2-dr";
  120. reg = <0x23000 0x1000>;
  121. #address-cells = <1>;
  122. #size-cells = <0>;
  123. interrupt-parent = <&ipic>;
  124. interrupts = <38 0x8>;
  125. dr_mode = "otg";
  126. phy_type = "ulpi";
  127. };
  128. mdio@24520 {
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. compatible = "fsl,gianfar-mdio";
  132. reg = <0x24520 0x20>;
  133. phy0: ethernet-phy@0 {
  134. interrupt-parent = <&ipic>;
  135. interrupts = <17 0x8>;
  136. reg = <0x1>;
  137. device_type = "ethernet-phy";
  138. };
  139. phy1: ethernet-phy@1 {
  140. interrupt-parent = <&ipic>;
  141. interrupts = <18 0x8>;
  142. reg = <0x2>;
  143. device_type = "ethernet-phy";
  144. };
  145. };
  146. enet0: ethernet@24000 {
  147. cell-index = <0>;
  148. device_type = "network";
  149. model = "TSEC";
  150. compatible = "gianfar";
  151. reg = <0x24000 0x1000>;
  152. local-mac-address = [ 00 08 e5 11 32 33 ];
  153. interrupts = <32 0x8 33 0x8 34 0x8>;
  154. interrupt-parent = <&ipic>;
  155. phy-handle = <&phy0>;
  156. linux,network-index = <0>;
  157. };
  158. enet1: ethernet@25000 {
  159. cell-index = <1>;
  160. device_type = "network";
  161. model = "TSEC";
  162. compatible = "gianfar";
  163. reg = <0x25000 0x1000>;
  164. local-mac-address = [ 00 08 e5 11 32 34 ];
  165. interrupts = <35 0x8 36 0x8 37 0x8>;
  166. interrupt-parent = <&ipic>;
  167. phy-handle = <&phy1>;
  168. linux,network-index = <1>;
  169. };
  170. serial0: serial@4500 {
  171. cell-index = <0>;
  172. device_type = "serial";
  173. compatible = "ns16550";
  174. reg = <0x4500 0x100>;
  175. clock-frequency = <400000000>;
  176. interrupts = <9 0x8>;
  177. interrupt-parent = <&ipic>;
  178. };
  179. serial1: serial@4600 {
  180. cell-index = <1>;
  181. device_type = "serial";
  182. compatible = "ns16550";
  183. reg = <0x4600 0x100>;
  184. clock-frequency = <400000000>;
  185. interrupts = <10 0x8>;
  186. interrupt-parent = <&ipic>;
  187. };
  188. /* May need to remove if on a part without crypto engine */
  189. crypto@30000 {
  190. device_type = "crypto";
  191. model = "SEC2";
  192. compatible = "talitos";
  193. reg = <0x30000 0x10000>;
  194. interrupts = <11 0x8>;
  195. interrupt-parent = <&ipic>;
  196. num-channels = <4>;
  197. channel-fifo-len = <24>;
  198. exec-units-mask = <0x0000007e>;
  199. /* desc mask is for rev2.0,
  200. * we need runtime fixup for >2.0 */
  201. descriptor-types-mask = <0x01010ebf>;
  202. };
  203. /* IPIC
  204. * interrupts cell = <intr #, sense>
  205. * sense values match linux IORESOURCE_IRQ_* defines:
  206. * sense == 8: Level, low assertion
  207. * sense == 2: Edge, high-to-low change
  208. */
  209. ipic: pic@700 {
  210. interrupt-controller;
  211. #address-cells = <0>;
  212. #interrupt-cells = <2>;
  213. reg = <0x700 0x100>;
  214. device_type = "ipic";
  215. };
  216. };
  217. chosen {
  218. bootargs = "console=ttyS0,38400 root=/dev/mtdblock3 rootfstype=jffs2";
  219. linux,stdout-path = &serial0;
  220. };
  221. };