ep88xc.dts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /*
  2. * EP88xC Device Tree Source
  3. *
  4. * Copyright 2006 MontaVista Software, Inc.
  5. * Copyright 2007 Freescale Semiconductor, Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. / {
  13. model = "EP88xC";
  14. compatible = "fsl,ep88xc";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. cpus {
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. PowerPC,885@0 {
  21. device_type = "cpu";
  22. reg = <0>;
  23. d-cache-line-size = <d#16>;
  24. i-cache-line-size = <d#16>;
  25. d-cache-size = <d#8192>;
  26. i-cache-size = <d#8192>;
  27. timebase-frequency = <0>;
  28. bus-frequency = <0>;
  29. clock-frequency = <0>;
  30. interrupts = <f 2>; // decrementer interrupt
  31. interrupt-parent = <&PIC>;
  32. };
  33. };
  34. memory {
  35. device_type = "memory";
  36. reg = <0 0>;
  37. };
  38. localbus@fa200100 {
  39. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
  40. #address-cells = <2>;
  41. #size-cells = <1>;
  42. reg = <fa200100 40>;
  43. ranges = <
  44. 0 0 fc000000 04000000
  45. 3 0 fa000000 01000000
  46. >;
  47. flash@0,2000000 {
  48. compatible = "cfi-flash";
  49. reg = <0 2000000 2000000>;
  50. bank-width = <4>;
  51. device-width = <2>;
  52. };
  53. board-control@3,400000 {
  54. reg = <3 400000 10>;
  55. compatible = "fsl,ep88xc-bcsr";
  56. };
  57. };
  58. soc@fa200000 {
  59. compatible = "fsl,mpc885", "fsl,pq1-soc";
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. device_type = "soc";
  63. ranges = <0 fa200000 00004000>;
  64. bus-frequency = <0>;
  65. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  66. reg = <fa200000 4000>;
  67. mdio@e00 {
  68. compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
  69. reg = <e00 188>;
  70. #address-cells = <1>;
  71. #size-cells = <0>;
  72. PHY0: ethernet-phy@0 {
  73. reg = <0>;
  74. device_type = "ethernet-phy";
  75. };
  76. PHY1: ethernet-phy@1 {
  77. reg = <1>;
  78. device_type = "ethernet-phy";
  79. };
  80. };
  81. ethernet@e00 {
  82. device_type = "network";
  83. compatible = "fsl,mpc885-fec-enet",
  84. "fsl,pq1-fec-enet";
  85. reg = <e00 188>;
  86. local-mac-address = [ 00 00 00 00 00 00 ];
  87. interrupts = <3 1>;
  88. interrupt-parent = <&PIC>;
  89. phy-handle = <&PHY0>;
  90. linux,network-index = <0>;
  91. };
  92. ethernet@1e00 {
  93. device_type = "network";
  94. compatible = "fsl,mpc885-fec-enet",
  95. "fsl,pq1-fec-enet";
  96. reg = <1e00 188>;
  97. local-mac-address = [ 00 00 00 00 00 00 ];
  98. interrupts = <7 1>;
  99. interrupt-parent = <&PIC>;
  100. phy-handle = <&PHY1>;
  101. linux,network-index = <1>;
  102. };
  103. PIC: interrupt-controller@0 {
  104. interrupt-controller;
  105. #interrupt-cells = <2>;
  106. reg = <0 24>;
  107. compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
  108. };
  109. pcmcia@80 {
  110. #address-cells = <3>;
  111. #interrupt-cells = <1>;
  112. #size-cells = <2>;
  113. compatible = "fsl,pq-pcmcia";
  114. device_type = "pcmcia";
  115. reg = <80 80>;
  116. interrupt-parent = <&PIC>;
  117. interrupts = <d 1>;
  118. };
  119. cpm@9c0 {
  120. #address-cells = <1>;
  121. #size-cells = <1>;
  122. compatible = "fsl,mpc885-cpm", "fsl,cpm1";
  123. command-proc = <9c0>;
  124. interrupts = <0>; // cpm error interrupt
  125. interrupt-parent = <&CPM_PIC>;
  126. reg = <9c0 40 2000 1c00>;
  127. ranges;
  128. brg@9f0 {
  129. compatible = "fsl,mpc885-brg",
  130. "fsl,cpm1-brg",
  131. "fsl,cpm-brg";
  132. reg = <9f0 10>;
  133. };
  134. CPM_PIC: interrupt-controller@930 {
  135. interrupt-controller;
  136. #interrupt-cells = <1>;
  137. interrupts = <5 2 0 2>;
  138. interrupt-parent = <&PIC>;
  139. reg = <930 20>;
  140. compatible = "fsl,mpc885-cpm-pic",
  141. "fsl,cpm1-pic";
  142. };
  143. // MON-1
  144. serial@a80 {
  145. device_type = "serial";
  146. compatible = "fsl,mpc885-smc-uart",
  147. "fsl,cpm1-smc-uart";
  148. reg = <a80 10 3e80 40>;
  149. interrupts = <4>;
  150. interrupt-parent = <&CPM_PIC>;
  151. fsl,cpm-brg = <1>;
  152. fsl,cpm-command = <0090>;
  153. linux,planetcore-label = "SMC1";
  154. };
  155. // SER-1
  156. serial@a20 {
  157. device_type = "serial";
  158. compatible = "fsl,mpc885-scc-uart",
  159. "fsl,cpm1-scc-uart";
  160. reg = <a20 20 3d00 80>;
  161. interrupts = <1d>;
  162. interrupt-parent = <&CPM_PIC>;
  163. fsl,cpm-brg = <2>;
  164. fsl,cpm-command = <0040>;
  165. linux,planetcore-label = "SCC2";
  166. };
  167. usb@a00 {
  168. #address-cells = <1>;
  169. #size-cells = <0>;
  170. compatible = "fsl,mpc885-usb",
  171. "fsl,cpm1-usb";
  172. reg = <a00 18 1c00 80>;
  173. interrupt-parent = <&CPM_PIC>;
  174. interrupts = <1e>;
  175. fsl,cpm-command = <0000>;
  176. };
  177. };
  178. };
  179. };