tqm5200.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /*
  2. * TQM5200 board Device Tree Source
  3. *
  4. * Copyright (C) 2007 Semihalf
  5. * Marian Balakowicz <m8@semihalf.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 = "tqc,tqm5200";
  15. compatible = "tqc,tqm5200";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. interrupt-parent = <&mpc5200_pic>;
  19. cpus {
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. PowerPC,5200@0 {
  23. device_type = "cpu";
  24. reg = <0>;
  25. d-cache-line-size = <32>;
  26. i-cache-line-size = <32>;
  27. d-cache-size = <0x4000>; // L1, 16K
  28. i-cache-size = <0x4000>; // L1, 16K
  29. timebase-frequency = <0>; // from bootloader
  30. bus-frequency = <0>; // from bootloader
  31. clock-frequency = <0>; // from bootloader
  32. };
  33. };
  34. memory {
  35. device_type = "memory";
  36. reg = <0x00000000 0x04000000>; // 64MB
  37. };
  38. soc5200@f0000000 {
  39. #address-cells = <1>;
  40. #size-cells = <1>;
  41. compatible = "fsl,mpc5200-immr";
  42. ranges = <0 0xf0000000 0x0000c000>;
  43. reg = <0xf0000000 0x00000100>;
  44. bus-frequency = <0>; // from bootloader
  45. system-frequency = <0>; // from bootloader
  46. cdm@200 {
  47. compatible = "fsl,mpc5200-cdm";
  48. reg = <0x200 0x38>;
  49. };
  50. mpc5200_pic: interrupt-controller@500 {
  51. // 5200 interrupts are encoded into two levels;
  52. interrupt-controller;
  53. #interrupt-cells = <3>;
  54. compatible = "fsl,mpc5200-pic";
  55. reg = <0x500 0x80>;
  56. };
  57. timer@600 { // General Purpose Timer
  58. compatible = "fsl,mpc5200-gpt";
  59. reg = <0x600 0x10>;
  60. interrupts = <1 9 0>;
  61. fsl,has-wdt;
  62. };
  63. can@900 {
  64. compatible = "fsl,mpc5200-mscan";
  65. interrupts = <2 17 0>;
  66. reg = <0x900 0x80>;
  67. };
  68. can@980 {
  69. compatible = "fsl,mpc5200-mscan";
  70. interrupts = <2 18 0>;
  71. reg = <0x980 0x80>;
  72. };
  73. gpio_simple: gpio@b00 {
  74. compatible = "fsl,mpc5200-gpio";
  75. reg = <0xb00 0x40>;
  76. interrupts = <1 7 0>;
  77. gpio-controller;
  78. #gpio-cells = <2>;
  79. };
  80. usb@1000 {
  81. compatible = "fsl,mpc5200-ohci","ohci-be";
  82. reg = <0x1000 0xff>;
  83. interrupts = <2 6 0>;
  84. };
  85. dma-controller@1200 {
  86. compatible = "fsl,mpc5200-bestcomm";
  87. reg = <0x1200 0x80>;
  88. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  89. 3 4 0 3 5 0 3 6 0 3 7 0
  90. 3 8 0 3 9 0 3 10 0 3 11 0
  91. 3 12 0 3 13 0 3 14 0 3 15 0>;
  92. };
  93. xlb@1f00 {
  94. compatible = "fsl,mpc5200-xlb";
  95. reg = <0x1f00 0x100>;
  96. };
  97. serial@2000 { // PSC1
  98. compatible = "fsl,mpc5200-psc-uart";
  99. reg = <0x2000 0x100>;
  100. interrupts = <2 1 0>;
  101. };
  102. serial@2200 { // PSC2
  103. compatible = "fsl,mpc5200-psc-uart";
  104. reg = <0x2200 0x100>;
  105. interrupts = <2 2 0>;
  106. };
  107. serial@2400 { // PSC3
  108. compatible = "fsl,mpc5200-psc-uart";
  109. reg = <0x2400 0x100>;
  110. interrupts = <2 3 0>;
  111. };
  112. ethernet@3000 {
  113. compatible = "fsl,mpc5200-fec";
  114. reg = <0x3000 0x400>;
  115. local-mac-address = [ 00 00 00 00 00 00 ];
  116. interrupts = <2 5 0>;
  117. phy-handle = <&phy0>;
  118. };
  119. mdio@3000 {
  120. #address-cells = <1>;
  121. #size-cells = <0>;
  122. compatible = "fsl,mpc5200-mdio";
  123. reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
  124. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  125. phy0: ethernet-phy@0 {
  126. reg = <0>;
  127. };
  128. };
  129. ata@3a00 {
  130. compatible = "fsl,mpc5200-ata";
  131. reg = <0x3a00 0x100>;
  132. interrupts = <2 7 0>;
  133. };
  134. i2c@3d40 {
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  138. reg = <0x3d40 0x40>;
  139. interrupts = <2 16 0>;
  140. rtc@68 {
  141. compatible = "dallas,ds1307";
  142. reg = <0x68>;
  143. };
  144. };
  145. sram@8000 {
  146. compatible = "fsl,mpc5200-sram";
  147. reg = <0x8000 0x4000>;
  148. };
  149. };
  150. localbus {
  151. compatible = "fsl,mpc5200-lpb","simple-bus";
  152. #address-cells = <2>;
  153. #size-cells = <1>;
  154. ranges = <0 0 0xfc000000 0x02000000>;
  155. flash@0,0 {
  156. compatible = "cfi-flash";
  157. reg = <0 0 0x02000000>;
  158. bank-width = <4>;
  159. device-width = <2>;
  160. #size-cells = <1>;
  161. #address-cells = <1>;
  162. };
  163. };
  164. pci@f0000d00 {
  165. #interrupt-cells = <1>;
  166. #size-cells = <2>;
  167. #address-cells = <3>;
  168. device_type = "pci";
  169. compatible = "fsl,mpc5200-pci";
  170. reg = <0xf0000d00 0x100>;
  171. interrupt-map-mask = <0xf800 0 0 7>;
  172. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
  173. 0xc000 0 0 2 &mpc5200_pic 0 0 3
  174. 0xc000 0 0 3 &mpc5200_pic 0 0 3
  175. 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
  176. clock-frequency = <0>; // From boot loader
  177. interrupts = <2 8 0 2 9 0 2 10 0>;
  178. bus-range = <0 0>;
  179. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
  180. 0x02000000 0 0x90000000 0x90000000 0 0x10000000
  181. 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
  182. };
  183. };