mpc8272ads.dts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /*
  2. * MPC8272 ADS Device Tree Source
  3. *
  4. * Copyright 2005 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 = "MPC8272ADS";
  13. compatible = "MPC8260ADS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. PowerPC,8272@0 {
  20. device_type = "cpu";
  21. reg = <0>;
  22. d-cache-line-size = <20>; // 32 bytes
  23. i-cache-line-size = <20>; // 32 bytes
  24. d-cache-size = <4000>; // L1, 16K
  25. i-cache-size = <4000>; // L1, 16K
  26. timebase-frequency = <0>;
  27. bus-frequency = <0>;
  28. clock-frequency = <0>;
  29. };
  30. };
  31. pci_pic: interrupt-controller@f8200000 {
  32. #address-cells = <0>;
  33. #interrupt-cells = <2>;
  34. interrupt-controller;
  35. reg = <f8200000 f8200004>;
  36. device_type = "pci-pic";
  37. };
  38. memory {
  39. device_type = "memory";
  40. reg = <00000000 4000000 f4500000 00000020>;
  41. };
  42. chosen {
  43. name = "chosen";
  44. linux,platform = <0>;
  45. interrupt-controller = <&Cpm_pic>;
  46. };
  47. soc8272@f0000000 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. device_type = "soc";
  51. ranges = <00000000 f0000000 00053000>;
  52. reg = <f0000000 10000>;
  53. mdio@0 {
  54. device_type = "mdio";
  55. compatible = "fs_enet";
  56. reg = <0 0>;
  57. #address-cells = <1>;
  58. #size-cells = <0>;
  59. phy0:ethernet-phy@0 {
  60. interrupt-parent = <&Cpm_pic>;
  61. interrupts = <17 4>;
  62. reg = <0>;
  63. bitbang = [ 12 12 13 02 02 01 ];
  64. device_type = "ethernet-phy";
  65. };
  66. phy1:ethernet-phy@1 {
  67. interrupt-parent = <&Cpm_pic>;
  68. interrupts = <17 4>;
  69. bitbang = [ 12 12 13 02 02 01 ];
  70. reg = <3>;
  71. device_type = "ethernet-phy";
  72. };
  73. };
  74. ethernet@24000 {
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. device_type = "network";
  78. device-id = <1>;
  79. compatible = "fs_enet";
  80. model = "FCC";
  81. reg = <11300 20 8400 100 11380 30>;
  82. mac-address = [ 00 11 2F 99 43 54 ];
  83. interrupts = <20 2>;
  84. interrupt-parent = <&Cpm_pic>;
  85. phy-handle = <&Phy0>;
  86. rx-clock = <13>;
  87. tx-clock = <12>;
  88. };
  89. ethernet@25000 {
  90. device_type = "network";
  91. device-id = <2>;
  92. compatible = "fs_enet";
  93. model = "FCC";
  94. reg = <11320 20 8500 100 113b0 30>;
  95. mac-address = [ 00 11 2F 99 44 54 ];
  96. interrupts = <21 2>;
  97. interrupt-parent = <&Cpm_pic>;
  98. phy-handle = <&Phy1>;
  99. rx-clock = <17>;
  100. tx-clock = <18>;
  101. };
  102. cpm@f0000000 {
  103. #address-cells = <1>;
  104. #size-cells = <1>;
  105. device_type = "cpm";
  106. model = "CPM2";
  107. ranges = <00000000 00000000 20000>;
  108. reg = <0 20000>;
  109. command-proc = <119c0>;
  110. brg-frequency = <17D7840>;
  111. cpm_clk = <BEBC200>;
  112. scc@11a00 {
  113. device_type = "serial";
  114. compatible = "cpm_uart";
  115. model = "SCC";
  116. device-id = <1>;
  117. reg = <11a00 20 8000 100>;
  118. current-speed = <1c200>;
  119. interrupts = <28 2>;
  120. interrupt-parent = <&Cpm_pic>;
  121. clock-setup = <0 00ffffff>;
  122. rx-clock = <1>;
  123. tx-clock = <1>;
  124. };
  125. scc@11a60 {
  126. device_type = "serial";
  127. compatible = "cpm_uart";
  128. model = "SCC";
  129. device-id = <4>;
  130. reg = <11a60 20 8300 100>;
  131. current-speed = <1c200>;
  132. interrupts = <2b 2>;
  133. interrupt-parent = <&Cpm_pic>;
  134. clock-setup = <1b ffffff00>;
  135. rx-clock = <4>;
  136. tx-clock = <4>;
  137. };
  138. };
  139. cpm_pic:interrupt-controller@10c00 {
  140. #address-cells = <0>;
  141. #interrupt-cells = <2>;
  142. interrupt-controller;
  143. reg = <10c00 80>;
  144. device_type = "cpm-pic";
  145. compatible = "CPM2";
  146. };
  147. pci@0500 {
  148. #interrupt-cells = <1>;
  149. #size-cells = <2>;
  150. #address-cells = <3>;
  151. compatible = "8272";
  152. device_type = "pci";
  153. reg = <10430 4dc>;
  154. clock-frequency = <3f940aa>;
  155. interrupt-map-mask = <f800 0 0 7>;
  156. interrupt-map = <
  157. /* IDSEL 0x16 */
  158. b000 0 0 1 f8200000 40 8
  159. b000 0 0 2 f8200000 41 8
  160. b000 0 0 3 f8200000 42 8
  161. b000 0 0 4 f8200000 43 8
  162. /* IDSEL 0x17 */
  163. b800 0 0 1 f8200000 43 8
  164. b800 0 0 2 f8200000 40 8
  165. b800 0 0 3 f8200000 41 8
  166. b800 0 0 4 f8200000 42 8
  167. /* IDSEL 0x18 */
  168. c000 0 0 1 f8200000 42 8
  169. c000 0 0 2 f8200000 43 8
  170. c000 0 0 3 f8200000 40 8
  171. c000 0 0 4 f8200000 41 8>;
  172. interrupt-parent = <&Cpm_pic>;
  173. interrupts = <14 8>;
  174. bus-range = <0 0>;
  175. ranges = <02000000 0 80000000 80000000 0 40000000
  176. 01000000 0 00000000 f6000000 0 02000000>;
  177. };
  178. /* May need to remove if on a part without crypto engine */
  179. crypto@30000 {
  180. device_type = "crypto";
  181. model = "SEC2";
  182. compatible = "talitos";
  183. reg = <30000 10000>;
  184. interrupts = <b 2>;
  185. interrupt-parent = <&Cpm_pic>;
  186. num-channels = <4>;
  187. channel-fifo-len = <18>;
  188. exec-units-mask = <0000007e>;
  189. /* desc mask is for rev1.x, we need runtime fixup for >=2.x */
  190. descriptor-types-mask = <01010ebf>;
  191. };
  192. };
  193. };