pcm032.dts 3.6 KB

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