pcm032.dts 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /*
  2. * phyCORE-MPC5200B-IO (pcm032) board Device Tree Source
  3. *
  4. * Copyright (C) 2006-2009 Pengutronix
  5. * Sascha Hauer <s.hauer@pengutronix.de>
  6. * Juergen Beisert <j.beisert@pengutronix.de>
  7. * Wolfram Sang <w.sang@pengutronix.de>
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms of the GNU General Public License as published by the
  11. * Free Software Foundation; either version 2 of the License, or (at your
  12. * option) any later version.
  13. */
  14. /include/ "mpc5200b.dtsi"
  15. / {
  16. model = "phytec,pcm032";
  17. compatible = "phytec,pcm032";
  18. memory {
  19. reg = <0x00000000 0x08000000>; // 128MB
  20. };
  21. soc5200@f0000000 {
  22. timer@600 { // General Purpose Timer
  23. fsl,has-wdt;
  24. };
  25. gpt2: timer@620 { // General Purpose Timer in GPIO mode
  26. gpio-controller;
  27. #gpio-cells = <2>;
  28. };
  29. gpt3: timer@630 { // General Purpose Timer in GPIO mode
  30. gpio-controller;
  31. #gpio-cells = <2>;
  32. };
  33. gpt4: timer@640 { // General Purpose Timer in GPIO mode
  34. gpio-controller;
  35. #gpio-cells = <2>;
  36. };
  37. gpt5: timer@650 { // General Purpose Timer in GPIO mode
  38. gpio-controller;
  39. #gpio-cells = <2>;
  40. };
  41. gpt6: timer@660 { // General Purpose Timer in GPIO mode
  42. compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
  43. reg = <0x660 0x10>;
  44. interrupts = <1 15 0>;
  45. gpio-controller;
  46. #gpio-cells = <2>;
  47. };
  48. gpt7: timer@670 { // General Purpose Timer in GPIO mode
  49. gpio-controller;
  50. #gpio-cells = <2>;
  51. };
  52. psc@2000 { /* PSC1 is ac97 */
  53. compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
  54. cell-index = <0>;
  55. };
  56. /* PSC2 port is used by CAN1/2 */
  57. psc@2200 {
  58. status = "disabled";
  59. };
  60. psc@2400 { /* PSC3 in UART mode */
  61. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  62. };
  63. /* PSC4 is ??? */
  64. psc@2600 {
  65. status = "disabled";
  66. };
  67. /* PSC5 is ??? */
  68. psc@2800 {
  69. status = "disabled";
  70. };
  71. psc@2c00 { /* PSC6 in UART mode */
  72. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  73. };
  74. ethernet@3000 {
  75. phy-handle = <&phy0>;
  76. };
  77. mdio@3000 {
  78. phy0: ethernet-phy@0 {
  79. reg = <0>;
  80. };
  81. };
  82. i2c@3d40 {
  83. rtc@51 {
  84. compatible = "nxp,pcf8563";
  85. reg = <0x51>;
  86. };
  87. eeprom@52 {
  88. compatible = "catalyst,24c32";
  89. reg = <0x52>;
  90. pagesize = <32>;
  91. };
  92. };
  93. };
  94. pci@f0000d00 {
  95. interrupt-map-mask = <0xf800 0 0 7>;
  96. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
  97. 0xc000 0 0 2 &mpc5200_pic 1 1 3
  98. 0xc000 0 0 3 &mpc5200_pic 1 2 3
  99. 0xc000 0 0 4 &mpc5200_pic 1 3 3
  100. 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
  101. 0xc800 0 0 2 &mpc5200_pic 1 2 3
  102. 0xc800 0 0 3 &mpc5200_pic 1 3 3
  103. 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
  104. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  105. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  106. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  107. };
  108. localbus {
  109. ranges = <0 0 0xfe000000 0x02000000
  110. 1 0 0xfc000000 0x02000000
  111. 2 0 0xfbe00000 0x00200000
  112. 3 0 0xf9e00000 0x02000000
  113. 4 0 0xf7e00000 0x02000000
  114. 5 0 0xe6000000 0x02000000
  115. 6 0 0xe8000000 0x02000000
  116. 7 0 0xea000000 0x02000000>;
  117. flash@0,0 {
  118. compatible = "cfi-flash";
  119. reg = <0 0 0x02000000>;
  120. bank-width = <4>;
  121. #size-cells = <1>;
  122. #address-cells = <1>;
  123. partition@0 {
  124. label = "ubootl";
  125. reg = <0x00000000 0x00040000>;
  126. };
  127. partition@40000 {
  128. label = "kernel";
  129. reg = <0x00040000 0x001c0000>;
  130. };
  131. partition@200000 {
  132. label = "jffs2";
  133. reg = <0x00200000 0x01d00000>;
  134. };
  135. partition@1f00000 {
  136. label = "uboot";
  137. reg = <0x01f00000 0x00040000>;
  138. };
  139. partition@1f40000 {
  140. label = "env";
  141. reg = <0x01f40000 0x00040000>;
  142. };
  143. partition@1f80000 {
  144. label = "oftree";
  145. reg = <0x01f80000 0x00040000>;
  146. };
  147. partition@1fc0000 {
  148. label = "space";
  149. reg = <0x01fc0000 0x00040000>;
  150. };
  151. };
  152. sram@2,0 {
  153. compatible = "mtd-ram";
  154. reg = <2 0 0x00200000>;
  155. bank-width = <2>;
  156. };
  157. /*
  158. * example snippets for FPGA
  159. *
  160. * fpga@3,0 {
  161. * compatible = "fpga_driver";
  162. * reg = <3 0 0x02000000>;
  163. * bank-width = <4>;
  164. * };
  165. *
  166. * fpga@4,0 {
  167. * compatible = "fpga_driver";
  168. * reg = <4 0 0x02000000>;
  169. * bank-width = <4>;
  170. * };
  171. */
  172. /*
  173. * example snippets for free chipselects
  174. *
  175. * device@5,0 {
  176. * compatible = "custom_driver";
  177. * reg = <5 0 0x02000000>;
  178. * };
  179. *
  180. * device@6,0 {
  181. * compatible = "custom_driver";
  182. * reg = <6 0 0x02000000>;
  183. * };
  184. *
  185. * device@7,0 {
  186. * compatible = "custom_driver";
  187. * reg = <7 0 0x02000000>;
  188. * };
  189. */
  190. };
  191. };