mpc885ads.dts 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC885 ADS Device Tree Source
  4. *
  5. * Copyright 2006 MontaVista Software, Inc.
  6. * Copyright 2007,2008 Freescale Semiconductor, Inc.
  7. */
  8. /dts-v1/;
  9. / {
  10. model = "MPC885ADS";
  11. compatible = "fsl,mpc885ads";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. PowerPC,885@0 {
  18. device_type = "cpu";
  19. reg = <0x0>;
  20. d-cache-line-size = <16>;
  21. i-cache-line-size = <16>;
  22. d-cache-size = <8192>;
  23. i-cache-size = <8192>;
  24. timebase-frequency = <0>;
  25. bus-frequency = <0>;
  26. clock-frequency = <0>;
  27. interrupts = <15 2>; // decrementer interrupt
  28. interrupt-parent = <&PIC>;
  29. };
  30. };
  31. memory {
  32. device_type = "memory";
  33. reg = <0x0 0x0>;
  34. };
  35. localbus@ff000100 {
  36. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
  37. #address-cells = <2>;
  38. #size-cells = <1>;
  39. reg = <0xff000100 0x40>;
  40. ranges = <
  41. 0x0 0x0 0xfe000000 0x800000
  42. 0x1 0x0 0xff080000 0x8000
  43. 0x5 0x0 0xff0a0000 0x8000
  44. >;
  45. flash@0,0 {
  46. compatible = "jedec-flash";
  47. reg = <0x0 0x0 0x800000>;
  48. bank-width = <4>;
  49. device-width = <1>;
  50. };
  51. board-control@1,0 {
  52. reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
  53. compatible = "fsl,mpc885ads-bcsr";
  54. };
  55. };
  56. soc@ff000000 {
  57. compatible = "fsl,mpc885", "fsl,pq1-soc";
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. device_type = "soc";
  61. ranges = <0x0 0xff000000 0x28000>;
  62. bus-frequency = <0>;
  63. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  64. reg = <0xff000000 0x4000>;
  65. mdio@e00 {
  66. compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
  67. reg = <0xe00 0x188>;
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. PHY0: ethernet-phy@0 {
  71. reg = <0x0>;
  72. };
  73. PHY1: ethernet-phy@1 {
  74. reg = <0x1>;
  75. };
  76. PHY2: ethernet-phy@2 {
  77. reg = <0x2>;
  78. };
  79. };
  80. ethernet@e00 {
  81. device_type = "network";
  82. compatible = "fsl,mpc885-fec-enet",
  83. "fsl,pq1-fec-enet";
  84. reg = <0xe00 0x188>;
  85. local-mac-address = [ 00 00 00 00 00 00 ];
  86. interrupts = <3 1>;
  87. interrupt-parent = <&PIC>;
  88. phy-handle = <&PHY0>;
  89. linux,network-index = <0>;
  90. };
  91. ethernet@1e00 {
  92. device_type = "network";
  93. compatible = "fsl,mpc885-fec-enet",
  94. "fsl,pq1-fec-enet";
  95. reg = <0x1e00 0x188>;
  96. local-mac-address = [ 00 00 00 00 00 00 ];
  97. interrupts = <7 1>;
  98. interrupt-parent = <&PIC>;
  99. phy-handle = <&PHY1>;
  100. linux,network-index = <1>;
  101. };
  102. PIC: interrupt-controller@0 {
  103. interrupt-controller;
  104. #interrupt-cells = <2>;
  105. reg = <0x0 0x24>;
  106. compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
  107. };
  108. pcmcia@80 {
  109. #address-cells = <3>;
  110. #interrupt-cells = <1>;
  111. #size-cells = <2>;
  112. compatible = "fsl,pq-pcmcia";
  113. device_type = "pcmcia";
  114. reg = <0x80 0x80>;
  115. interrupt-parent = <&PIC>;
  116. interrupts = <13 1>;
  117. };
  118. cpm@9c0 {
  119. #address-cells = <1>;
  120. #size-cells = <1>;
  121. compatible = "fsl,mpc885-cpm", "fsl,cpm1";
  122. command-proc = <0x9c0>;
  123. interrupts = <0>; // cpm error interrupt
  124. interrupt-parent = <&CPM_PIC>;
  125. reg = <0x9c0 0x40>;
  126. ranges;
  127. muram@2000 {
  128. #address-cells = <1>;
  129. #size-cells = <1>;
  130. ranges = <0x0 0x2000 0x2000>;
  131. data@0 {
  132. compatible = "fsl,cpm-muram-data";
  133. reg = <0x0 0x1c00>;
  134. };
  135. };
  136. brg@9f0 {
  137. compatible = "fsl,mpc885-brg",
  138. "fsl,cpm1-brg",
  139. "fsl,cpm-brg";
  140. clock-frequency = <0>;
  141. reg = <0x9f0 0x10>;
  142. };
  143. CPM_PIC: interrupt-controller@930 {
  144. interrupt-controller;
  145. #interrupt-cells = <1>;
  146. interrupts = <5 2 0 2>;
  147. interrupt-parent = <&PIC>;
  148. reg = <0x930 0x20>;
  149. compatible = "fsl,mpc885-cpm-pic",
  150. "fsl,cpm1-pic";
  151. };
  152. serial@a80 {
  153. device_type = "serial";
  154. compatible = "fsl,mpc885-smc-uart",
  155. "fsl,cpm1-smc-uart";
  156. reg = <0xa80 0x10 0x3e80 0x40>;
  157. interrupts = <4>;
  158. interrupt-parent = <&CPM_PIC>;
  159. fsl,cpm-brg = <1>;
  160. fsl,cpm-command = <0x90>;
  161. };
  162. serial@a90 {
  163. device_type = "serial";
  164. compatible = "fsl,mpc885-smc-uart",
  165. "fsl,cpm1-smc-uart";
  166. reg = <0xa90 0x10 0x3f80 0x40>;
  167. interrupts = <3>;
  168. interrupt-parent = <&CPM_PIC>;
  169. fsl,cpm-brg = <2>;
  170. fsl,cpm-command = <0xd0>;
  171. };
  172. ethernet@a40 {
  173. device_type = "network";
  174. compatible = "fsl,mpc885-scc-enet",
  175. "fsl,cpm1-scc-enet";
  176. reg = <0xa40 0x18 0x3e00 0x100>;
  177. local-mac-address = [ 00 00 00 00 00 00 ];
  178. interrupts = <28>;
  179. interrupt-parent = <&CPM_PIC>;
  180. phy-handle = <&PHY2>;
  181. fsl,cpm-command = <0x80>;
  182. linux,network-index = <2>;
  183. };
  184. i2c@860 {
  185. compatible = "fsl,mpc885-i2c",
  186. "fsl,cpm1-i2c";
  187. reg = <0x860 0x20 0x3c80 0x30>;
  188. interrupts = <16>;
  189. interrupt-parent = <&CPM_PIC>;
  190. fsl,cpm-command = <0x10>;
  191. #address-cells = <1>;
  192. #size-cells = <0>;
  193. };
  194. };
  195. crypto@20000 {
  196. compatible = "fsl,sec1.2", "fsl,sec1.0";
  197. reg = <0x20000 0x8000>;
  198. interrupts = <1 1>;
  199. interrupt-parent = <&PIC>;
  200. fsl,num-channels = <1>;
  201. fsl,channel-fifo-len = <24>;
  202. fsl,exec-units-mask = <0x4c>;
  203. fsl,descriptor-types-mask = <0x05000154>;
  204. };
  205. };
  206. chosen {
  207. stdout-path = "/soc/cpm/serial@a80";
  208. };
  209. };