mpc866ads.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. /*
  2. * MPC866 ADS Device Tree Source
  3. *
  4. * Copyright 2006 MontaVista Software, Inc.
  5. * Copyright 2008 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. /dts-v1/;
  13. / {
  14. model = "MPC866ADS";
  15. compatible = "fsl,mpc866ads";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. cpus {
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. PowerPC,866@0 {
  22. device_type = "cpu";
  23. reg = <0x0>;
  24. d-cache-line-size = <16>; // 16 bytes
  25. i-cache-line-size = <16>; // 16 bytes
  26. d-cache-size = <0x2000>; // L1, 8K
  27. i-cache-size = <0x4000>; // L1, 16K
  28. timebase-frequency = <0>;
  29. bus-frequency = <0>;
  30. clock-frequency = <0>;
  31. interrupts = <15 2>; // decrementer interrupt
  32. interrupt-parent = <&PIC>;
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0x0 0x800000>;
  38. };
  39. localbus@ff000100 {
  40. compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
  41. #address-cells = <2>;
  42. #size-cells = <1>;
  43. reg = <0xff000100 0x40>;
  44. ranges = <
  45. 0x1 0x0 0xff080000 0x8000
  46. 0x5 0x0 0xff0a0000 0x8000
  47. >;
  48. board-control@1,0 {
  49. reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
  50. compatible = "fsl,mpc866ads-bcsr";
  51. };
  52. };
  53. soc@ff000000 {
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. device_type = "soc";
  57. ranges = <0x0 0xff000000 0x100000>;
  58. reg = <0xff000000 0x200>;
  59. bus-frequency = <0>;
  60. mdio@e00 {
  61. compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
  62. reg = <0xe00 0x188>;
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. PHY: ethernet-phy@f {
  66. reg = <0xf>;
  67. };
  68. };
  69. ethernet@e00 {
  70. device_type = "network";
  71. compatible = "fsl,mpc866-fec-enet",
  72. "fsl,pq1-fec-enet";
  73. reg = <0xe00 0x188>;
  74. local-mac-address = [ 00 00 00 00 00 00 ];
  75. interrupts = <3 1>;
  76. interrupt-parent = <&PIC>;
  77. phy-handle = <&PHY>;
  78. linux,network-index = <0>;
  79. };
  80. PIC: pic@0 {
  81. interrupt-controller;
  82. #interrupt-cells = <2>;
  83. reg = <0x0 0x24>;
  84. compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
  85. };
  86. cpm@9c0 {
  87. #address-cells = <1>;
  88. #size-cells = <1>;
  89. compatible = "fsl,mpc866-cpm", "fsl,cpm1";
  90. ranges;
  91. reg = <0x9c0 0x40>;
  92. brg-frequency = <0>;
  93. interrupts = <0 2>; // cpm error interrupt
  94. interrupt-parent = <&CPM_PIC>;
  95. muram@2000 {
  96. #address-cells = <1>;
  97. #size-cells = <1>;
  98. ranges = <0x0 0x2000 0x2000>;
  99. data@0 {
  100. compatible = "fsl,cpm-muram-data";
  101. reg = <0x0 0x1c00>;
  102. };
  103. };
  104. brg@9f0 {
  105. compatible = "fsl,mpc866-brg",
  106. "fsl,cpm1-brg",
  107. "fsl,cpm-brg";
  108. reg = <0x9f0 0x10>;
  109. clock-frequency = <0>;
  110. };
  111. CPM_PIC: pic@930 {
  112. interrupt-controller;
  113. #address-cells = <0>;
  114. #interrupt-cells = <1>;
  115. interrupts = <5 2 0 2>;
  116. interrupt-parent = <&PIC>;
  117. reg = <0x930 0x20>;
  118. compatible = "fsl,mpc866-cpm-pic",
  119. "fsl,cpm1-pic";
  120. };
  121. serial@a80 {
  122. device_type = "serial";
  123. compatible = "fsl,mpc866-smc-uart",
  124. "fsl,cpm1-smc-uart";
  125. reg = <0xa80 0x10 0x3e80 0x40>;
  126. interrupts = <4>;
  127. interrupt-parent = <&CPM_PIC>;
  128. fsl,cpm-brg = <1>;
  129. fsl,cpm-command = <0x90>;
  130. };
  131. serial@a90 {
  132. device_type = "serial";
  133. compatible = "fsl,mpc866-smc-uart",
  134. "fsl,cpm1-smc-uart";
  135. reg = <0xa90 0x10 0x3f80 0x40>;
  136. interrupts = <3>;
  137. interrupt-parent = <&CPM_PIC>;
  138. fsl,cpm-brg = <2>;
  139. fsl,cpm-command = <0xd0>;
  140. };
  141. ethernet@a00 {
  142. device_type = "network";
  143. compatible = "fsl,mpc866-scc-enet",
  144. "fsl,cpm1-scc-enet";
  145. reg = <0xa00 0x18 0x3c00 0x100>;
  146. local-mac-address = [ 00 00 00 00 00 00 ];
  147. interrupts = <30>;
  148. interrupt-parent = <&CPM_PIC>;
  149. fsl,cpm-command = <0000>;
  150. linux,network-index = <1>;
  151. };
  152. i2c@860 {
  153. compatible = "fsl,mpc866-i2c",
  154. "fsl,cpm1-i2c";
  155. reg = <0x860 0x20 0x3c80 0x30>;
  156. interrupts = <16>;
  157. interrupt-parent = <&CPM_PIC>;
  158. fsl,cpm-command = <0x10>;
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. };
  162. };
  163. };
  164. chosen {
  165. linux,stdout-path = "/soc/cpm/serial@a80";
  166. };
  167. };