mpc866ads.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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. device_type = "ethernet-phy";
  68. };
  69. };
  70. ethernet@e00 {
  71. device_type = "network";
  72. compatible = "fsl,mpc866-fec-enet",
  73. "fsl,pq1-fec-enet";
  74. reg = <0xe00 0x188>;
  75. local-mac-address = [ 00 00 00 00 00 00 ];
  76. interrupts = <3 1>;
  77. interrupt-parent = <&PIC>;
  78. phy-handle = <&PHY>;
  79. linux,network-index = <0>;
  80. };
  81. PIC: pic@0 {
  82. interrupt-controller;
  83. #interrupt-cells = <2>;
  84. reg = <0x0 0x24>;
  85. compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
  86. };
  87. cpm@9c0 {
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. compatible = "fsl,mpc866-cpm", "fsl,cpm1";
  91. ranges;
  92. reg = <0x9c0 0x40>;
  93. brg-frequency = <0>;
  94. interrupts = <0 2>; // cpm error interrupt
  95. interrupt-parent = <&CPM_PIC>;
  96. muram@2000 {
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. ranges = <0x0 0x2000 0x2000>;
  100. data@0 {
  101. compatible = "fsl,cpm-muram-data";
  102. reg = <0x0 0x1c00>;
  103. };
  104. };
  105. brg@9f0 {
  106. compatible = "fsl,mpc866-brg",
  107. "fsl,cpm1-brg",
  108. "fsl,cpm-brg";
  109. reg = <0x9f0 0x10>;
  110. clock-frequency = <0>;
  111. };
  112. CPM_PIC: pic@930 {
  113. interrupt-controller;
  114. #address-cells = <0>;
  115. #interrupt-cells = <1>;
  116. interrupts = <5 2 0 2>;
  117. interrupt-parent = <&PIC>;
  118. reg = <0x930 0x20>;
  119. compatible = "fsl,mpc866-cpm-pic",
  120. "fsl,cpm1-pic";
  121. };
  122. serial@a80 {
  123. device_type = "serial";
  124. compatible = "fsl,mpc866-smc-uart",
  125. "fsl,cpm1-smc-uart";
  126. reg = <0xa80 0x10 0x3e80 0x40>;
  127. interrupts = <4>;
  128. interrupt-parent = <&CPM_PIC>;
  129. fsl,cpm-brg = <1>;
  130. fsl,cpm-command = <0x90>;
  131. };
  132. serial@a90 {
  133. device_type = "serial";
  134. compatible = "fsl,mpc866-smc-uart",
  135. "fsl,cpm1-smc-uart";
  136. reg = <0xa90 0x10 0x3f80 0x40>;
  137. interrupts = <3>;
  138. interrupt-parent = <&CPM_PIC>;
  139. fsl,cpm-brg = <2>;
  140. fsl,cpm-command = <0xd0>;
  141. };
  142. ethernet@a00 {
  143. device_type = "network";
  144. compatible = "fsl,mpc866-scc-enet",
  145. "fsl,cpm1-scc-enet";
  146. reg = <0xa00 0x18 0x3c00 0x100>;
  147. local-mac-address = [ 00 00 00 00 00 00 ];
  148. interrupts = <30>;
  149. interrupt-parent = <&CPM_PIC>;
  150. fsl,cpm-command = <0000>;
  151. linux,network-index = <1>;
  152. };
  153. i2c@860 {
  154. compatible = "fsl,mpc866-i2c",
  155. "fsl,cpm1-i2c";
  156. reg = <0x860 0x20 0x3c80 0x30>;
  157. interrupts = <16>;
  158. interrupt-parent = <&CPM_PIC>;
  159. fsl,cpm-command = <0x10>;
  160. #address-cells = <1>;
  161. #size-cells = <0>;
  162. };
  163. };
  164. };
  165. chosen {
  166. linux,stdout-path = "/soc/cpm/serial@a80";
  167. };
  168. };