tqm8xx.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. >;
  53. flash@0,0 {
  54. compatible = "cfi-flash";
  55. reg = <0 0 0x800000>;
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. bank-width = <4>;
  59. device-width = <2>;
  60. };
  61. };
  62. soc@fff00000 {
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. device_type = "soc";
  66. ranges = <0x0 0xfff00000 0x00004000>;
  67. phy1: mdio@e00 {
  68. compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
  69. reg = <0xe00 0x188>;
  70. #address-cells = <1>;
  71. #size-cells = <0>;
  72. PHY: ethernet-phy@f {
  73. reg = <0xf>;
  74. device_type = "ethernet-phy";
  75. };
  76. };
  77. eth1: ethernet@e00 {
  78. device_type = "network";
  79. compatible = "fsl,mpc866-fec-enet",
  80. "fsl,pq1-fec-enet";
  81. reg = <0xe00 0x188>;
  82. interrupts = <3 1>;
  83. interrupt-parent = <&PIC>;
  84. phy-handle = <&PHY>;
  85. linux,network-index = <1>;
  86. };
  87. PIC: pic@0 {
  88. interrupt-controller;
  89. #interrupt-cells = <2>;
  90. reg = <0x0 0x24>;
  91. compatible = "fsl,mpc860-pic", "fsl,pq1-pic";
  92. };
  93. cpm@9c0 {
  94. #address-cells = <1>;
  95. #size-cells = <1>;
  96. compatible = "fsl,mpc860-cpm", "fsl,cpm1";
  97. ranges;
  98. reg = <0x9c0 0x40>;
  99. brg-frequency = <0>;
  100. interrupts = <0 2>; // cpm error interrupt
  101. interrupt-parent = <&CPM_PIC>;
  102. muram@2000 {
  103. #address-cells = <1>;
  104. #size-cells = <1>;
  105. ranges = <0x0 0x2000 0x2000>;
  106. data@0 {
  107. compatible = "fsl,cpm-muram-data";
  108. reg = <0x0 0x2000>;
  109. };
  110. };
  111. brg@9f0 {
  112. compatible = "fsl,mpc860-brg",
  113. "fsl,cpm1-brg",
  114. "fsl,cpm-brg";
  115. reg = <0x9f0 0x10>;
  116. clock-frequency = <0>;
  117. };
  118. CPM_PIC: pic@930 {
  119. interrupt-controller;
  120. #address-cells = <0>;
  121. #interrupt-cells = <1>;
  122. interrupts = <5 2 0 2>;
  123. interrupt-parent = <&PIC>;
  124. reg = <0x930 0x20>;
  125. compatible = "fsl,mpc860-cpm-pic",
  126. "fsl,cpm1-pic";
  127. };
  128. smc1: serial@a80 {
  129. device_type = "serial";
  130. compatible = "fsl,mpc860-smc-uart",
  131. "fsl,cpm1-smc-uart";
  132. reg = <0xa80 0x10 0x3e80 0x40>;
  133. interrupts = <4>;
  134. interrupt-parent = <&CPM_PIC>;
  135. fsl,cpm-brg = <1>;
  136. fsl,cpm-command = <0x90>;
  137. };
  138. eth0: ethernet@a00 {
  139. device_type = "network";
  140. compatible = "fsl,mpc860-scc-enet",
  141. "fsl,cpm1-scc-enet";
  142. reg = <0xa00 0x18 0x3c00 0x100>;
  143. interrupts = <30>;
  144. interrupt-parent = <&CPM_PIC>;
  145. fsl,cpm-command = <0000>;
  146. linux,network-index = <0>;
  147. fixed-link = <0 0 10 0 0>;
  148. };
  149. };
  150. };
  151. };