mpc866ads.dts 3.9 KB

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