mpc7448hpc2.dts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /*
  2. * MPC7448HPC2 (Taiga) board Device Tree Source
  3. *
  4. * Copyright 2006, 2008 Freescale Semiconductor Inc.
  5. * 2006 Roy Zang <Roy Zang at freescale.com>.
  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 = "mpc7448hpc2";
  15. compatible = "mpc74xx";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. aliases {
  19. ethernet0 = &enet0;
  20. ethernet1 = &enet1;
  21. serial0 = &serial0;
  22. serial1 = &serial1;
  23. pci0 = &pci0;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells =<0>;
  28. PowerPC,7448@0 {
  29. device_type = "cpu";
  30. reg = <0x0>;
  31. d-cache-line-size = <32>; // 32 bytes
  32. i-cache-line-size = <32>; // 32 bytes
  33. d-cache-size = <0x8000>; // L1, 32K bytes
  34. i-cache-size = <0x8000>; // L1, 32K bytes
  35. timebase-frequency = <0>; // 33 MHz, from uboot
  36. clock-frequency = <0>; // From U-Boot
  37. bus-frequency = <0>; // From U-Boot
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0x0 0x20000000 // DDR2 512M at 0
  43. >;
  44. };
  45. tsi108@c0000000 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. device_type = "tsi-bridge";
  49. ranges = <0x0 0xc0000000 0x10000>;
  50. reg = <0xc0000000 0x10000>;
  51. bus-frequency = <0>;
  52. i2c@7000 {
  53. interrupt-parent = <&mpic>;
  54. interrupts = <14 0>;
  55. reg = <0x7000 0x400>;
  56. device_type = "i2c";
  57. compatible = "tsi108-i2c";
  58. };
  59. MDIO: mdio@6000 {
  60. device_type = "mdio";
  61. compatible = "tsi108-mdio";
  62. reg = <0x6000 0x50>;
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. phy8: ethernet-phy@8 {
  66. interrupt-parent = <&mpic>;
  67. interrupts = <2 1>;
  68. reg = <0x8>;
  69. };
  70. phy9: ethernet-phy@9 {
  71. interrupt-parent = <&mpic>;
  72. interrupts = <2 1>;
  73. reg = <0x9>;
  74. };
  75. };
  76. enet0: ethernet@6200 {
  77. linux,network-index = <0>;
  78. #size-cells = <0>;
  79. device_type = "network";
  80. compatible = "tsi108-ethernet";
  81. reg = <0x6000 0x200>;
  82. address = [ 00 06 D2 00 00 01 ];
  83. interrupts = <16 2>;
  84. interrupt-parent = <&mpic>;
  85. mdio-handle = <&MDIO>;
  86. phy-handle = <&phy8>;
  87. };
  88. enet1: ethernet@6600 {
  89. linux,network-index = <1>;
  90. #address-cells = <1>;
  91. #size-cells = <0>;
  92. device_type = "network";
  93. compatible = "tsi108-ethernet";
  94. reg = <0x6400 0x200>;
  95. address = [ 00 06 D2 00 00 02 ];
  96. interrupts = <17 2>;
  97. interrupt-parent = <&mpic>;
  98. mdio-handle = <&MDIO>;
  99. phy-handle = <&phy9>;
  100. };
  101. serial0: serial@7808 {
  102. device_type = "serial";
  103. compatible = "ns16550";
  104. reg = <0x7808 0x200>;
  105. clock-frequency = <1064000000>;
  106. interrupts = <12 0>;
  107. interrupt-parent = <&mpic>;
  108. };
  109. serial1: serial@7c08 {
  110. device_type = "serial";
  111. compatible = "ns16550";
  112. reg = <0x7c08 0x200>;
  113. clock-frequency = <1064000000>;
  114. interrupts = <13 0>;
  115. interrupt-parent = <&mpic>;
  116. };
  117. mpic: pic@7400 {
  118. interrupt-controller;
  119. #address-cells = <0>;
  120. #interrupt-cells = <2>;
  121. reg = <0x7400 0x400>;
  122. compatible = "chrp,open-pic";
  123. device_type = "open-pic";
  124. };
  125. pci0: pci@1000 {
  126. compatible = "tsi108-pci";
  127. device_type = "pci";
  128. #interrupt-cells = <1>;
  129. #size-cells = <2>;
  130. #address-cells = <3>;
  131. reg = <0x1000 0x1000>;
  132. bus-range = <0 0>;
  133. ranges = <0x2000000 0x0 0xe0000000 0xe0000000 0x0 0x1a000000
  134. 0x1000000 0x0 0x0 0xfa000000 0x0 0x10000>;
  135. clock-frequency = <133333332>;
  136. interrupt-parent = <&mpic>;
  137. interrupts = <23 2>;
  138. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  139. interrupt-map = <
  140. /* IDSEL 0x11 */
  141. 0x800 0x0 0x0 0x1 &RT0 0x24 0x0
  142. 0x800 0x0 0x0 0x2 &RT0 0x25 0x0
  143. 0x800 0x0 0x0 0x3 &RT0 0x26 0x0
  144. 0x800 0x0 0x0 0x4 &RT0 0x27 0x0
  145. /* IDSEL 0x12 */
  146. 0x1000 0x0 0x0 0x1 &RT0 0x25 0x0
  147. 0x1000 0x0 0x0 0x2 &RT0 0x26 0x0
  148. 0x1000 0x0 0x0 0x3 &RT0 0x27 0x0
  149. 0x1000 0x0 0x0 0x4 &RT0 0x24 0x0
  150. /* IDSEL 0x13 */
  151. 0x1800 0x0 0x0 0x1 &RT0 0x26 0x0
  152. 0x1800 0x0 0x0 0x2 &RT0 0x27 0x0
  153. 0x1800 0x0 0x0 0x3 &RT0 0x24 0x0
  154. 0x1800 0x0 0x0 0x4 &RT0 0x25 0x0
  155. /* IDSEL 0x14 */
  156. 0x2000 0x0 0x0 0x1 &RT0 0x27 0x0
  157. 0x2000 0x0 0x0 0x2 &RT0 0x24 0x0
  158. 0x2000 0x0 0x0 0x3 &RT0 0x25 0x0
  159. 0x2000 0x0 0x0 0x4 &RT0 0x26 0x0
  160. >;
  161. RT0: router@1180 {
  162. clock-frequency = <0>;
  163. interrupt-controller;
  164. device_type = "pic-router";
  165. #address-cells = <0>;
  166. #interrupt-cells = <2>;
  167. big-endian;
  168. interrupts = <23 2>;
  169. interrupt-parent = <&mpic>;
  170. };
  171. };
  172. };
  173. };