charon.dts 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. /*
  2. * charon board Device Tree Source
  3. *
  4. * Copyright (C) 2007 Semihalf
  5. * Marian Balakowicz <m8@semihalf.com>
  6. *
  7. * Copyright (C) 2010 DENX Software Engineering GmbH
  8. * Heiko Schocher <hs@denx.de>
  9. *
  10. * This program is free software; you can redistribute it and/or modify it
  11. * under the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the License, or (at your
  13. * option) any later version.
  14. */
  15. /dts-v1/;
  16. / {
  17. model = "anon,charon";
  18. compatible = "anon,charon";
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. interrupt-parent = <&mpc5200_pic>;
  22. cpus {
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. PowerPC,5200@0 {
  26. device_type = "cpu";
  27. reg = <0>;
  28. d-cache-line-size = <32>;
  29. i-cache-line-size = <32>;
  30. d-cache-size = <0x4000>; // L1, 16K
  31. i-cache-size = <0x4000>; // L1, 16K
  32. timebase-frequency = <0>; // from bootloader
  33. bus-frequency = <0>; // from bootloader
  34. clock-frequency = <0>; // from bootloader
  35. };
  36. };
  37. memory {
  38. device_type = "memory";
  39. reg = <0x00000000 0x08000000>; // 128MB
  40. };
  41. soc5200@f0000000 {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. compatible = "fsl,mpc5200-immr";
  45. ranges = <0 0xf0000000 0x0000c000>;
  46. reg = <0xf0000000 0x00000100>;
  47. bus-frequency = <0>; // from bootloader
  48. system-frequency = <0>; // from bootloader
  49. cdm@200 {
  50. compatible = "fsl,mpc5200-cdm";
  51. reg = <0x200 0x38>;
  52. };
  53. mpc5200_pic: interrupt-controller@500 {
  54. // 5200 interrupts are encoded into two levels;
  55. interrupt-controller;
  56. #interrupt-cells = <3>;
  57. compatible = "fsl,mpc5200-pic";
  58. reg = <0x500 0x80>;
  59. };
  60. timer@600 { // General Purpose Timer
  61. compatible = "fsl,mpc5200-gpt";
  62. reg = <0x600 0x10>;
  63. interrupts = <1 9 0>;
  64. fsl,has-wdt;
  65. };
  66. can@900 {
  67. compatible = "fsl,mpc5200-mscan";
  68. interrupts = <2 17 0>;
  69. reg = <0x900 0x80>;
  70. };
  71. can@980 {
  72. compatible = "fsl,mpc5200-mscan";
  73. interrupts = <2 18 0>;
  74. reg = <0x980 0x80>;
  75. };
  76. gpio_simple: gpio@b00 {
  77. compatible = "fsl,mpc5200-gpio";
  78. reg = <0xb00 0x40>;
  79. interrupts = <1 7 0>;
  80. gpio-controller;
  81. #gpio-cells = <2>;
  82. };
  83. usb@1000 {
  84. compatible = "fsl,mpc5200-ohci","ohci-be";
  85. reg = <0x1000 0xff>;
  86. interrupts = <2 6 0>;
  87. };
  88. dma-controller@1200 {
  89. device_type = "dma-controller";
  90. compatible = "fsl,mpc5200-bestcomm";
  91. reg = <0x1200 0x80>;
  92. interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
  93. 3 4 0 3 5 0 3 6 0 3 7 0
  94. 3 8 0 3 9 0 3 10 0 3 11 0
  95. 3 12 0 3 13 0 3 14 0 3 15 0>;
  96. };
  97. xlb@1f00 {
  98. compatible = "fsl,mpc5200-xlb";
  99. reg = <0x1f00 0x100>;
  100. };
  101. serial@2000 { // PSC1
  102. compatible = "fsl,mpc5200-psc-uart";
  103. reg = <0x2000 0x100>;
  104. interrupts = <2 1 0>;
  105. };
  106. serial@2400 { // PSC3
  107. compatible = "fsl,mpc5200-psc-uart";
  108. reg = <0x2400 0x100>;
  109. interrupts = <2 3 0>;
  110. };
  111. ethernet@3000 {
  112. compatible = "fsl,mpc5200-fec";
  113. reg = <0x3000 0x400>;
  114. local-mac-address = [ 00 00 00 00 00 00 ];
  115. interrupts = <2 5 0>;
  116. fixed-link = <1 1 100 0 0>;
  117. };
  118. mdio@3000 {
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. compatible = "fsl,mpc5200-mdio";
  122. reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
  123. interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
  124. };
  125. ata@3a00 {
  126. compatible = "fsl,mpc5200-ata";
  127. reg = <0x3a00 0x100>;
  128. interrupts = <2 7 0>;
  129. };
  130. i2c@3d00 {
  131. #address-cells = <1>;
  132. #size-cells = <0>;
  133. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  134. reg = <0x3d00 0x40>;
  135. interrupts = <2 15 0>;
  136. };
  137. i2c@3d40 {
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. compatible = "fsl,mpc5200-i2c","fsl-i2c";
  141. reg = <0x3d40 0x40>;
  142. interrupts = <2 16 0>;
  143. dtt@28 {
  144. compatible = "national,lm80";
  145. reg = <0x28>;
  146. };
  147. rtc@68 {
  148. compatible = "dallas,ds1374";
  149. reg = <0x68>;
  150. };
  151. };
  152. sram@8000 {
  153. compatible = "fsl,mpc5200-sram";
  154. reg = <0x8000 0x4000>;
  155. };
  156. };
  157. localbus {
  158. compatible = "fsl,mpc5200-lpb","simple-bus";
  159. #address-cells = <2>;
  160. #size-cells = <1>;
  161. ranges = < 0 0 0xfc000000 0x02000000
  162. 1 0 0xe0000000 0x04000000 // CS1 range, SM501
  163. 3 0 0xe8000000 0x00080000>;
  164. flash@0,0 {
  165. compatible = "cfi-flash";
  166. reg = <0 0 0x02000000>;
  167. bank-width = <4>;
  168. device-width = <2>;
  169. #size-cells = <1>;
  170. #address-cells = <1>;
  171. };
  172. display@1,0 {
  173. compatible = "smi,sm501";
  174. reg = <1 0x00000000 0x00800000
  175. 1 0x03e00000 0x00200000>;
  176. mode = "640x480-32@60";
  177. interrupts = <1 1 3>;
  178. little-endian;
  179. };
  180. mram0@3,0 {
  181. compatible = "mtd-ram";
  182. reg = <3 0x00000 0x80000>;
  183. bank-width = <1>;
  184. };
  185. };
  186. pci@f0000d00 {
  187. #interrupt-cells = <1>;
  188. #size-cells = <2>;
  189. #address-cells = <3>;
  190. device_type = "pci";
  191. compatible = "fsl,mpc5200-pci";
  192. reg = <0xf0000d00 0x100>;
  193. interrupt-map-mask = <0xf800 0 0 7>;
  194. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
  195. 0xc000 0 0 2 &mpc5200_pic 0 0 3
  196. 0xc000 0 0 3 &mpc5200_pic 0 0 3
  197. 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
  198. clock-frequency = <0>; // From boot loader
  199. interrupts = <2 8 0 2 9 0 2 10 0>;
  200. bus-range = <0 0>;
  201. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x10000000
  202. 0x02000000 0 0x90000000 0x90000000 0 0x10000000
  203. 0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
  204. };
  205. };