pcm032.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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. &gpt0 { fsl,has-wdt; };
  16. &gpt2 { gpio-controller; };
  17. &gpt3 { gpio-controller; };
  18. &gpt4 { gpio-controller; };
  19. &gpt5 { gpio-controller; };
  20. &gpt6 { gpio-controller; };
  21. &gpt7 { gpio-controller; };
  22. / {
  23. model = "phytec,pcm032";
  24. compatible = "phytec,pcm032";
  25. memory {
  26. reg = <0x00000000 0x08000000>; // 128MB
  27. };
  28. soc5200@f0000000 {
  29. psc@2000 { /* PSC1 is ac97 */
  30. compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
  31. cell-index = <0>;
  32. };
  33. /* PSC2 port is used by CAN1/2 */
  34. psc@2200 {
  35. status = "disabled";
  36. };
  37. psc@2400 { /* PSC3 in UART mode */
  38. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  39. };
  40. /* PSC4 is ??? */
  41. psc@2600 {
  42. status = "disabled";
  43. };
  44. /* PSC5 is ??? */
  45. psc@2800 {
  46. status = "disabled";
  47. };
  48. psc@2c00 { /* PSC6 in UART mode */
  49. compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
  50. };
  51. ethernet@3000 {
  52. phy-handle = <&phy0>;
  53. };
  54. mdio@3000 {
  55. phy0: ethernet-phy@0 {
  56. reg = <0>;
  57. };
  58. };
  59. i2c@3d40 {
  60. rtc@51 {
  61. compatible = "nxp,pcf8563";
  62. reg = <0x51>;
  63. };
  64. eeprom@52 {
  65. compatible = "catalyst,24c32";
  66. reg = <0x52>;
  67. pagesize = <32>;
  68. };
  69. };
  70. };
  71. pci@f0000d00 {
  72. interrupt-map-mask = <0xf800 0 0 7>;
  73. interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
  74. 0xc000 0 0 2 &mpc5200_pic 1 1 3
  75. 0xc000 0 0 3 &mpc5200_pic 1 2 3
  76. 0xc000 0 0 4 &mpc5200_pic 1 3 3
  77. 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
  78. 0xc800 0 0 2 &mpc5200_pic 1 2 3
  79. 0xc800 0 0 3 &mpc5200_pic 1 3 3
  80. 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
  81. ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
  82. 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
  83. 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
  84. };
  85. localbus {
  86. ranges = <0 0 0xfe000000 0x02000000
  87. 1 0 0xfc000000 0x02000000
  88. 2 0 0xfbe00000 0x00200000
  89. 3 0 0xf9e00000 0x02000000
  90. 4 0 0xf7e00000 0x02000000
  91. 5 0 0xe6000000 0x02000000
  92. 6 0 0xe8000000 0x02000000
  93. 7 0 0xea000000 0x02000000>;
  94. flash@0,0 {
  95. compatible = "cfi-flash";
  96. reg = <0 0 0x02000000>;
  97. bank-width = <4>;
  98. #size-cells = <1>;
  99. #address-cells = <1>;
  100. partition@0 {
  101. label = "ubootl";
  102. reg = <0x00000000 0x00040000>;
  103. };
  104. partition@40000 {
  105. label = "kernel";
  106. reg = <0x00040000 0x001c0000>;
  107. };
  108. partition@200000 {
  109. label = "jffs2";
  110. reg = <0x00200000 0x01d00000>;
  111. };
  112. partition@1f00000 {
  113. label = "uboot";
  114. reg = <0x01f00000 0x00040000>;
  115. };
  116. partition@1f40000 {
  117. label = "env";
  118. reg = <0x01f40000 0x00040000>;
  119. };
  120. partition@1f80000 {
  121. label = "oftree";
  122. reg = <0x01f80000 0x00040000>;
  123. };
  124. partition@1fc0000 {
  125. label = "space";
  126. reg = <0x01fc0000 0x00040000>;
  127. };
  128. };
  129. sram@2,0 {
  130. compatible = "mtd-ram";
  131. reg = <2 0 0x00200000>;
  132. bank-width = <2>;
  133. };
  134. /*
  135. * example snippets for FPGA
  136. *
  137. * fpga@3,0 {
  138. * compatible = "fpga_driver";
  139. * reg = <3 0 0x02000000>;
  140. * bank-width = <4>;
  141. * };
  142. *
  143. * fpga@4,0 {
  144. * compatible = "fpga_driver";
  145. * reg = <4 0 0x02000000>;
  146. * bank-width = <4>;
  147. * };
  148. */
  149. /*
  150. * example snippets for free chipselects
  151. *
  152. * device@5,0 {
  153. * compatible = "custom_driver";
  154. * reg = <5 0 0x02000000>;
  155. * };
  156. *
  157. * device@6,0 {
  158. * compatible = "custom_driver";
  159. * reg = <6 0 0x02000000>;
  160. * };
  161. *
  162. * device@7,0 {
  163. * compatible = "custom_driver";
  164. * reg = <7 0 0x02000000>;
  165. * };
  166. */
  167. };
  168. };