tqm8xx.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /*
  2. * TQM8XX Device Tree Source
  3. *
  4. * Heiko Schocher <hs@denx.de>
  5. * 2010 DENX Software Engineering GmbH
  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 = "TQM8xx";
  15. compatible = "tqc,tqm8xx";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. aliases {
  19. ethernet0 = &eth0;
  20. ethernet1 = &eth1;
  21. mdio1 = &phy1;
  22. serial0 = &smc1;
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. PowerPC,860@0 {
  28. device_type = "cpu";
  29. reg = <0x0>;
  30. d-cache-line-size = <16>; // 16 bytes
  31. i-cache-line-size = <16>; // 16 bytes
  32. d-cache-size = <0x1000>; // L1, 4K
  33. i-cache-size = <0x1000>; // L1, 4K
  34. timebase-frequency = <0>;
  35. bus-frequency = <0>;
  36. clock-frequency = <0>;
  37. interrupts = <15 2>; // decrementer interrupt
  38. interrupt-parent = <&PIC>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <0x0 0x2000000>;
  44. };
  45. localbus@fff00100 {
  46. compatible = "fsl,mpc860-localbus", "fsl,pq1-localbus";
  47. #address-cells = <2>;
  48. #size-cells = <1>;
  49. reg = <0xfff00100 0x40>;
  50. ranges = <
  51. 0x0 0x0 0x40000000 0x800000
  52. 0x3 0x0 0xc0000000 0x200
  53. >;
  54. flash@0,0 {
  55. compatible = "cfi-flash";
  56. reg = <0 0 0x800000>;
  57. #address-cells = <1>;
  58. #size-cells = <1>;
  59. bank-width = <4>;
  60. device-width = <2>;
  61. };
  62. /* Note: CAN support needs be enabled in U-Boot */
  63. can@3,0 {
  64. compatible = "intc,82527";
  65. reg = <3 0x0 0x80>;
  66. interrupts = <8 1>;
  67. interrupt-parent = <&PIC>;
  68. bosch,external-clock-frequency = <16000000>;
  69. bosch,disconnect-rx1-input;
  70. bosch,disconnect-tx1-output;
  71. bosch,iso-low-speed-mux;
  72. bosch,clock-out-frequency = <16000000>;
  73. };
  74. can@3,100 {
  75. compatible = "intc,82527";
  76. reg = <3 0x100 0x80>;
  77. interrupts = <8 1>;
  78. interrupt-parent = <&PIC>;
  79. bosch,external-clock-frequency = <16000000>;
  80. bosch,disconnect-rx1-input;
  81. bosch,disconnect-tx1-output;
  82. bosch,iso-low-speed-mux;
  83. };
  84. };
  85. soc@fff00000 {
  86. #address-cells = <1>;
  87. #size-cells = <1>;
  88. device_type = "soc";
  89. ranges = <0x0 0xfff00000 0x00004000>;
  90. phy1: mdio@e00 {
  91. compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
  92. reg = <0xe00 0x188>;
  93. #address-cells = <1>;
  94. #size-cells = <0>;
  95. PHY: ethernet-phy@f {
  96. reg = <0xf>;
  97. };
  98. };
  99. eth1: ethernet@e00 {
  100. device_type = "network";
  101. compatible = "fsl,mpc866-fec-enet",
  102. "fsl,pq1-fec-enet";
  103. reg = <0xe00 0x188>;
  104. interrupts = <3 1>;
  105. interrupt-parent = <&PIC>;
  106. phy-handle = <&PHY>;
  107. linux,network-index = <1>;
  108. };
  109. PIC: pic@0 {
  110. interrupt-controller;
  111. #interrupt-cells = <2>;
  112. reg = <0x0 0x24>;
  113. compatible = "fsl,mpc860-pic", "fsl,pq1-pic";
  114. };
  115. cpm@9c0 {
  116. #address-cells = <1>;
  117. #size-cells = <1>;
  118. compatible = "fsl,mpc860-cpm", "fsl,cpm1";
  119. ranges;
  120. reg = <0x9c0 0x40>;
  121. brg-frequency = <0>;
  122. interrupts = <0 2>; // cpm error interrupt
  123. interrupt-parent = <&CPM_PIC>;
  124. muram@2000 {
  125. #address-cells = <1>;
  126. #size-cells = <1>;
  127. ranges = <0x0 0x2000 0x2000>;
  128. data@0 {
  129. compatible = "fsl,cpm-muram-data";
  130. reg = <0x0 0x2000>;
  131. };
  132. };
  133. brg@9f0 {
  134. compatible = "fsl,mpc860-brg",
  135. "fsl,cpm1-brg",
  136. "fsl,cpm-brg";
  137. reg = <0x9f0 0x10>;
  138. clock-frequency = <0>;
  139. };
  140. CPM_PIC: pic@930 {
  141. interrupt-controller;
  142. #address-cells = <0>;
  143. #interrupt-cells = <1>;
  144. interrupts = <5 2 0 2>;
  145. interrupt-parent = <&PIC>;
  146. reg = <0x930 0x20>;
  147. compatible = "fsl,mpc860-cpm-pic",
  148. "fsl,cpm1-pic";
  149. };
  150. smc1: serial@a80 {
  151. device_type = "serial";
  152. compatible = "fsl,mpc860-smc-uart",
  153. "fsl,cpm1-smc-uart";
  154. reg = <0xa80 0x10 0x3e80 0x40>;
  155. interrupts = <4>;
  156. interrupt-parent = <&CPM_PIC>;
  157. fsl,cpm-brg = <1>;
  158. fsl,cpm-command = <0x90>;
  159. };
  160. eth0: ethernet@a00 {
  161. device_type = "network";
  162. compatible = "fsl,mpc860-scc-enet",
  163. "fsl,cpm1-scc-enet";
  164. reg = <0xa00 0x18 0x3c00 0x100>;
  165. interrupts = <30>;
  166. interrupt-parent = <&CPM_PIC>;
  167. fsl,cpm-command = <0000>;
  168. linux,network-index = <0>;
  169. fixed-link = <0 0 10 0 0>;
  170. };
  171. };
  172. };
  173. };