pq2fads.dts 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. /*
  2. * Device Tree for the PQ2FADS-ZU board with an MPC8280 chip.
  3. *
  4. * Copyright 2007 Freescale Semiconductor Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. / {
  12. model = "pq2fads";
  13. compatible = "fsl,pq2fads";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. cpu@0 {
  20. device_type = "cpu";
  21. reg = <0>;
  22. d-cache-line-size = <d#32>;
  23. i-cache-line-size = <d#32>;
  24. d-cache-size = <d#16384>;
  25. i-cache-size = <d#16384>;
  26. timebase-frequency = <0>;
  27. clock-frequency = <0>;
  28. };
  29. };
  30. memory {
  31. device_type = "memory";
  32. reg = <0 0>;
  33. };
  34. localbus@f0010100 {
  35. compatible = "fsl,mpc8280-localbus",
  36. "fsl,pq2-localbus";
  37. #address-cells = <2>;
  38. #size-cells = <1>;
  39. reg = <f0010100 60>;
  40. ranges = <0 0 fe000000 00800000
  41. 1 0 f4500000 00008000
  42. 8 0 f8200000 00008000>;
  43. flash@0,0 {
  44. compatible = "jedec-flash";
  45. reg = <0 0 800000>;
  46. bank-width = <4>;
  47. device-width = <1>;
  48. };
  49. bcsr@1,0 {
  50. reg = <1 0 20>;
  51. compatible = "fsl,pq2fads-bcsr";
  52. };
  53. PCI_PIC: pic@8,0 {
  54. #interrupt-cells = <1>;
  55. interrupt-controller;
  56. reg = <8 0 8>;
  57. compatible = "fsl,pq2ads-pci-pic";
  58. interrupt-parent = <&PIC>;
  59. interrupts = <18 8>;
  60. };
  61. };
  62. pci@f0010800 {
  63. device_type = "pci";
  64. reg = <f0010800 10c f00101ac 8 f00101c4 8>;
  65. compatible = "fsl,mpc8280-pci", "fsl,pq2-pci";
  66. #interrupt-cells = <1>;
  67. #size-cells = <2>;
  68. #address-cells = <3>;
  69. clock-frequency = <d#66000000>;
  70. interrupt-map-mask = <f800 0 0 7>;
  71. interrupt-map = <
  72. /* IDSEL 0x16 */
  73. b000 0 0 1 &PCI_PIC 0
  74. b000 0 0 2 &PCI_PIC 1
  75. b000 0 0 3 &PCI_PIC 2
  76. b000 0 0 4 &PCI_PIC 3
  77. /* IDSEL 0x17 */
  78. b800 0 0 1 &PCI_PIC 4
  79. b800 0 0 2 &PCI_PIC 5
  80. b800 0 0 3 &PCI_PIC 6
  81. b800 0 0 4 &PCI_PIC 7
  82. /* IDSEL 0x18 */
  83. c000 0 0 1 &PCI_PIC 8
  84. c000 0 0 2 &PCI_PIC 9
  85. c000 0 0 3 &PCI_PIC a
  86. c000 0 0 4 &PCI_PIC b>;
  87. interrupt-parent = <&PIC>;
  88. interrupts = <12 8>;
  89. ranges = <42000000 0 80000000 80000000 0 20000000
  90. 02000000 0 a0000000 a0000000 0 20000000
  91. 01000000 0 00000000 f6000000 0 02000000>;
  92. };
  93. soc@f0000000 {
  94. #address-cells = <1>;
  95. #size-cells = <1>;
  96. device_type = "soc";
  97. compatible = "fsl,mpc8280", "fsl,pq2-soc";
  98. ranges = <00000000 f0000000 00053000>;
  99. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  100. reg = <f0000000 00053000>;
  101. cpm@119c0 {
  102. #address-cells = <1>;
  103. #size-cells = <1>;
  104. #interrupt-cells = <2>;
  105. compatible = "fsl,mpc8280-cpm", "fsl,cpm2";
  106. reg = <119c0 30>;
  107. ranges;
  108. muram@0 {
  109. #address-cells = <1>;
  110. #size-cells = <1>;
  111. ranges = <0 0 10000>;
  112. data@0 {
  113. compatible = "fsl,cpm-muram-data";
  114. reg = <0 2000 9800 800>;
  115. };
  116. };
  117. brg@119f0 {
  118. compatible = "fsl,mpc8280-brg",
  119. "fsl,cpm2-brg",
  120. "fsl,cpm-brg";
  121. reg = <119f0 10 115f0 10>;
  122. };
  123. serial@11a00 {
  124. device_type = "serial";
  125. compatible = "fsl,mpc8280-scc-uart",
  126. "fsl,cpm2-scc-uart";
  127. reg = <11a00 20 8000 100>;
  128. interrupts = <28 8>;
  129. interrupt-parent = <&PIC>;
  130. fsl,cpm-brg = <1>;
  131. fsl,cpm-command = <00800000>;
  132. };
  133. serial@11a20 {
  134. device_type = "serial";
  135. compatible = "fsl,mpc8280-scc-uart",
  136. "fsl,cpm2-scc-uart";
  137. reg = <11a20 20 8100 100>;
  138. interrupts = <29 8>;
  139. interrupt-parent = <&PIC>;
  140. fsl,cpm-brg = <2>;
  141. fsl,cpm-command = <04a00000>;
  142. };
  143. ethernet@11320 {
  144. device_type = "network";
  145. compatible = "fsl,mpc8280-fcc-enet",
  146. "fsl,cpm2-fcc-enet";
  147. reg = <11320 20 8500 100 113b0 1>;
  148. interrupts = <21 8>;
  149. interrupt-parent = <&PIC>;
  150. phy-handle = <&PHY0>;
  151. linux,network-index = <0>;
  152. fsl,cpm-command = <16200300>;
  153. };
  154. ethernet@11340 {
  155. device_type = "network";
  156. compatible = "fsl,mpc8280-fcc-enet",
  157. "fsl,cpm2-fcc-enet";
  158. reg = <11340 20 8600 100 113d0 1>;
  159. interrupts = <22 8>;
  160. interrupt-parent = <&PIC>;
  161. phy-handle = <&PHY1>;
  162. linux,network-index = <1>;
  163. fsl,cpm-command = <1a400300>;
  164. local-mac-address = [00 e0 0c 00 79 01];
  165. };
  166. mdio@10d40 {
  167. device_type = "mdio";
  168. compatible = "fsl,pq2fads-mdio-bitbang",
  169. "fsl,mpc8280-mdio-bitbang",
  170. "fsl,cpm2-mdio-bitbang";
  171. #address-cells = <1>;
  172. #size-cells = <0>;
  173. reg = <10d40 14>;
  174. fsl,mdio-pin = <9>;
  175. fsl,mdc-pin = <a>;
  176. PHY0: ethernet-phy@0 {
  177. interrupt-parent = <&PIC>;
  178. interrupts = <19 2>;
  179. reg = <0>;
  180. device_type = "ethernet-phy";
  181. };
  182. PHY1: ethernet-phy@1 {
  183. interrupt-parent = <&PIC>;
  184. interrupts = <19 2>;
  185. reg = <3>;
  186. device_type = "ethernet-phy";
  187. };
  188. };
  189. usb@11b60 {
  190. #address-cells = <1>;
  191. #size-cells = <0>;
  192. compatible = "fsl,mpc8280-usb",
  193. "fsl,cpm2-usb";
  194. reg = <11b60 18 8b00 100>;
  195. interrupt-parent = <&PIC>;
  196. interrupts = <b 8>;
  197. fsl,cpm-command = <2e600000>;
  198. };
  199. };
  200. PIC: interrupt-controller@10c00 {
  201. #interrupt-cells = <2>;
  202. interrupt-controller;
  203. reg = <10c00 80>;
  204. compatible = "fsl,mpc8280-pic", "fsl,cpm2-pic";
  205. };
  206. };
  207. chosen {
  208. linux,stdout-path = "/soc/cpm/serial@11a00";
  209. };
  210. };