charon.dts 5.0 KB

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