mpc832x_rdb.dts 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. /*
  2. * MPC832x RDB Device Tree Source
  3. *
  4. * Copyright 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 = "MPC8323ERDB";
  13. compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. aliases {
  17. ethernet0 = &enet0;
  18. ethernet1 = &enet1;
  19. serial0 = &serial0;
  20. serial1 = &serial1;
  21. pci0 = &pci0;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8323@0 {
  27. device_type = "cpu";
  28. reg = <0>;
  29. d-cache-line-size = <20>; // 32 bytes
  30. i-cache-line-size = <20>; // 32 bytes
  31. d-cache-size = <4000>; // L1, 16K
  32. i-cache-size = <4000>; // L1, 16K
  33. timebase-frequency = <0>;
  34. bus-frequency = <0>;
  35. clock-frequency = <0>;
  36. };
  37. };
  38. memory {
  39. device_type = "memory";
  40. reg = <00000000 04000000>;
  41. };
  42. soc8323@e0000000 {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. device_type = "soc";
  46. ranges = <0 e0000000 00100000>;
  47. reg = <e0000000 00000200>;
  48. bus-frequency = <0>;
  49. wdt@200 {
  50. device_type = "watchdog";
  51. compatible = "mpc83xx_wdt";
  52. reg = <200 100>;
  53. };
  54. i2c@3000 {
  55. #address-cells = <1>;
  56. #size-cells = <0>;
  57. cell-index = <0>;
  58. compatible = "fsl-i2c";
  59. reg = <3000 100>;
  60. interrupts = <e 8>;
  61. interrupt-parent = <&pic>;
  62. dfsrr;
  63. };
  64. serial0: serial@4500 {
  65. cell-index = <0>;
  66. device_type = "serial";
  67. compatible = "ns16550";
  68. reg = <4500 100>;
  69. clock-frequency = <0>;
  70. interrupts = <9 8>;
  71. interrupt-parent = <&pic>;
  72. };
  73. serial1: serial@4600 {
  74. cell-index = <1>;
  75. device_type = "serial";
  76. compatible = "ns16550";
  77. reg = <4600 100>;
  78. clock-frequency = <0>;
  79. interrupts = <a 8>;
  80. interrupt-parent = <&pic>;
  81. };
  82. crypto@30000 {
  83. device_type = "crypto";
  84. model = "SEC2";
  85. compatible = "talitos";
  86. reg = <30000 7000>;
  87. interrupts = <b 8>;
  88. interrupt-parent = <&pic>;
  89. /* Rev. 2.2 */
  90. num-channels = <1>;
  91. channel-fifo-len = <18>;
  92. exec-units-mask = <0000004c>;
  93. descriptor-types-mask = <0122003f>;
  94. };
  95. pic:pic@700 {
  96. interrupt-controller;
  97. #address-cells = <0>;
  98. #interrupt-cells = <2>;
  99. reg = <700 100>;
  100. device_type = "ipic";
  101. };
  102. par_io@1400 {
  103. reg = <1400 100>;
  104. device_type = "par_io";
  105. num-ports = <7>;
  106. ucc2pio:ucc_pin@02 {
  107. pio-map = <
  108. /* port pin dir open_drain assignment has_irq */
  109. 3 4 3 0 2 0 /* MDIO */
  110. 3 5 1 0 2 0 /* MDC */
  111. 3 15 2 0 1 0 /* RX_CLK (CLK16) */
  112. 3 17 2 0 1 0 /* TX_CLK (CLK3) */
  113. 0 12 1 0 1 0 /* TxD0 */
  114. 0 13 1 0 1 0 /* TxD1 */
  115. 0 14 1 0 1 0 /* TxD2 */
  116. 0 15 1 0 1 0 /* TxD3 */
  117. 0 16 2 0 1 0 /* RxD0 */
  118. 0 17 2 0 1 0 /* RxD1 */
  119. 0 18 2 0 1 0 /* RxD2 */
  120. 0 19 2 0 1 0 /* RxD3 */
  121. 0 1a 2 0 1 0 /* RX_ER */
  122. 0 1b 1 0 1 0 /* TX_ER */
  123. 0 1c 2 0 1 0 /* RX_DV */
  124. 0 1d 2 0 1 0 /* COL */
  125. 0 1e 1 0 1 0 /* TX_EN */
  126. 0 1f 2 0 1 0>; /* CRS */
  127. };
  128. ucc3pio:ucc_pin@03 {
  129. pio-map = <
  130. /* port pin dir open_drain assignment has_irq */
  131. 0 d 2 0 1 0 /* RX_CLK (CLK9) */
  132. 3 18 2 0 1 0 /* TX_CLK (CLK10) */
  133. 1 0 1 0 1 0 /* TxD0 */
  134. 1 1 1 0 1 0 /* TxD1 */
  135. 1 2 1 0 1 0 /* TxD2 */
  136. 1 3 1 0 1 0 /* TxD3 */
  137. 1 4 2 0 1 0 /* RxD0 */
  138. 1 5 2 0 1 0 /* RxD1 */
  139. 1 6 2 0 1 0 /* RxD2 */
  140. 1 7 2 0 1 0 /* RxD3 */
  141. 1 8 2 0 1 0 /* RX_ER */
  142. 1 9 1 0 1 0 /* TX_ER */
  143. 1 a 2 0 1 0 /* RX_DV */
  144. 1 b 2 0 1 0 /* COL */
  145. 1 c 1 0 1 0 /* TX_EN */
  146. 1 d 2 0 1 0>; /* CRS */
  147. };
  148. };
  149. };
  150. qe@e0100000 {
  151. #address-cells = <1>;
  152. #size-cells = <1>;
  153. device_type = "qe";
  154. compatible = "fsl,qe";
  155. ranges = <0 e0100000 00100000>;
  156. reg = <e0100000 480>;
  157. brg-frequency = <0>;
  158. bus-frequency = <BCD3D80>;
  159. muram@10000 {
  160. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  161. ranges = <0 00010000 00004000>;
  162. data-only@0 {
  163. compatible = "fsl,qe-muram-data",
  164. "fsl,cpm-muram-data";
  165. reg = <0 4000>;
  166. };
  167. };
  168. spi@4c0 {
  169. cell-index = <0>;
  170. compatible = "fsl,spi";
  171. reg = <4c0 40>;
  172. interrupts = <2>;
  173. interrupt-parent = <&qeic>;
  174. mode = "cpu-qe";
  175. };
  176. spi@500 {
  177. cell-index = <1>;
  178. compatible = "fsl,spi";
  179. reg = <500 40>;
  180. interrupts = <1>;
  181. interrupt-parent = <&qeic>;
  182. mode = "cpu";
  183. };
  184. enet0: ucc@3000 {
  185. device_type = "network";
  186. compatible = "ucc_geth";
  187. model = "UCC";
  188. cell-index = <2>;
  189. device-id = <2>;
  190. reg = <3000 200>;
  191. interrupts = <21>;
  192. interrupt-parent = <&qeic>;
  193. local-mac-address = [ 00 00 00 00 00 00 ];
  194. rx-clock-name = "clk16";
  195. tx-clock-name = "clk3";
  196. phy-handle = <&phy00>;
  197. pio-handle = <&ucc2pio>;
  198. };
  199. enet1: ucc@2200 {
  200. device_type = "network";
  201. compatible = "ucc_geth";
  202. model = "UCC";
  203. cell-index = <3>;
  204. device-id = <3>;
  205. reg = <2200 200>;
  206. interrupts = <22>;
  207. interrupt-parent = <&qeic>;
  208. local-mac-address = [ 00 00 00 00 00 00 ];
  209. rx-clock-name = "clk9";
  210. tx-clock-name = "clk10";
  211. phy-handle = <&phy04>;
  212. pio-handle = <&ucc3pio>;
  213. };
  214. mdio@3120 {
  215. #address-cells = <1>;
  216. #size-cells = <0>;
  217. reg = <3120 18>;
  218. compatible = "fsl,ucc-mdio";
  219. phy00:ethernet-phy@00 {
  220. interrupt-parent = <&pic>;
  221. interrupts = <0>;
  222. reg = <0>;
  223. device_type = "ethernet-phy";
  224. };
  225. phy04:ethernet-phy@04 {
  226. interrupt-parent = <&pic>;
  227. interrupts = <0>;
  228. reg = <4>;
  229. device_type = "ethernet-phy";
  230. };
  231. };
  232. qeic:interrupt-controller@80 {
  233. interrupt-controller;
  234. compatible = "fsl,qe-ic";
  235. #address-cells = <0>;
  236. #interrupt-cells = <1>;
  237. reg = <80 80>;
  238. big-endian;
  239. interrupts = <20 8 21 8>; //high:32 low:33
  240. interrupt-parent = <&pic>;
  241. };
  242. };
  243. pci0: pci@e0008500 {
  244. cell-index = <1>;
  245. interrupt-map-mask = <f800 0 0 7>;
  246. interrupt-map = <
  247. /* IDSEL 0x10 AD16 (USB) */
  248. 8000 0 0 1 &pic 11 8
  249. /* IDSEL 0x11 AD17 (Mini1)*/
  250. 8800 0 0 1 &pic 12 8
  251. 8800 0 0 2 &pic 13 8
  252. 8800 0 0 3 &pic 14 8
  253. 8800 0 0 4 &pic 30 8
  254. /* IDSEL 0x12 AD18 (PCI/Mini2) */
  255. 9000 0 0 1 &pic 13 8
  256. 9000 0 0 2 &pic 14 8
  257. 9000 0 0 3 &pic 30 8
  258. 9000 0 0 4 &pic 11 8>;
  259. interrupt-parent = <&pic>;
  260. interrupts = <42 8>;
  261. bus-range = <0 0>;
  262. ranges = <42000000 0 80000000 80000000 0 10000000
  263. 02000000 0 90000000 90000000 0 10000000
  264. 01000000 0 d0000000 d0000000 0 04000000>;
  265. clock-frequency = <0>;
  266. #interrupt-cells = <1>;
  267. #size-cells = <2>;
  268. #address-cells = <3>;
  269. reg = <e0008500 100>;
  270. compatible = "fsl,mpc8349-pci";
  271. device_type = "pci";
  272. };
  273. };