mpc8548cds.dtsi 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. /*
  2. * MPC8548CDS Device Tree Source stub (no addresses or top-level ranges)
  3. *
  4. * Copyright 2012 Freescale Semiconductor Inc.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions are met:
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in the
  12. * documentation and/or other materials provided with the distribution.
  13. * * Neither the name of Freescale Semiconductor nor the
  14. * names of its contributors may be used to endorse or promote products
  15. * derived from this software without specific prior written permission.
  16. *
  17. *
  18. * ALTERNATIVELY, this software may be distributed under the terms of the
  19. * GNU General Public License ("GPL") as published by the Free Software
  20. * Foundation, either version 2 of that License or (at your option) any
  21. * later version.
  22. *
  23. * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
  24. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  25. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  26. * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
  27. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  28. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  29. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  30. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  32. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. */
  34. &board_lbc {
  35. nor@0,0 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. compatible = "cfi-flash";
  39. reg = <0x0 0x0 0x01000000>;
  40. bank-width = <2>;
  41. device-width = <2>;
  42. partition@0 {
  43. reg = <0x0 0x0b00000>;
  44. label = "ramdisk-nor";
  45. };
  46. partition@300000 {
  47. reg = <0x0b00000 0x0400000>;
  48. label = "kernel-nor";
  49. };
  50. partition@700000 {
  51. reg = <0x0f00000 0x060000>;
  52. label = "dtb-nor";
  53. };
  54. partition@760000 {
  55. reg = <0x0f60000 0x020000>;
  56. label = "env-nor";
  57. read-only;
  58. };
  59. partition@780000 {
  60. reg = <0x0f80000 0x080000>;
  61. label = "u-boot-nor";
  62. read-only;
  63. };
  64. };
  65. board-control@1,0 {
  66. compatible = "fsl,mpc8548cds-fpga";
  67. reg = <0x1 0x0 0x1000>;
  68. };
  69. };
  70. &board_soc {
  71. i2c@3000 {
  72. eeprom@50 {
  73. compatible = "atmel,24c64";
  74. reg = <0x50>;
  75. };
  76. eeprom@56 {
  77. compatible = "atmel,24c64";
  78. reg = <0x56>;
  79. };
  80. eeprom@57 {
  81. compatible = "atmel,24c64";
  82. reg = <0x57>;
  83. };
  84. };
  85. i2c@3100 {
  86. eeprom@50 {
  87. compatible = "atmel,24c64";
  88. reg = <0x50>;
  89. };
  90. };
  91. enet0: ethernet@24000 {
  92. tbi-handle = <&tbi0>;
  93. phy-handle = <&phy0>;
  94. };
  95. mdio@24520 {
  96. phy0: ethernet-phy@0 {
  97. interrupts = <5 1 0 0>;
  98. reg = <0x0>;
  99. };
  100. phy1: ethernet-phy@1 {
  101. interrupts = <5 1 0 0>;
  102. reg = <0x1>;
  103. };
  104. phy2: ethernet-phy@2 {
  105. interrupts = <5 1 0 0>;
  106. reg = <0x2>;
  107. };
  108. phy3: ethernet-phy@3 {
  109. interrupts = <5 1 0 0>;
  110. reg = <0x3>;
  111. };
  112. tbi0: tbi-phy@11 {
  113. reg = <0x11>;
  114. device_type = "tbi-phy";
  115. };
  116. };
  117. enet1: ethernet@25000 {
  118. tbi-handle = <&tbi1>;
  119. phy-handle = <&phy1>;
  120. };
  121. mdio@25520 {
  122. tbi1: tbi-phy@11 {
  123. reg = <0x11>;
  124. device_type = "tbi-phy";
  125. };
  126. };
  127. enet2: ethernet@26000 {
  128. tbi-handle = <&tbi2>;
  129. phy-handle = <&phy2>;
  130. };
  131. mdio@26520 {
  132. tbi2: tbi-phy@11 {
  133. reg = <0x11>;
  134. device_type = "tbi-phy";
  135. };
  136. };
  137. enet3: ethernet@27000 {
  138. tbi-handle = <&tbi3>;
  139. phy-handle = <&phy3>;
  140. };
  141. mdio@27520 {
  142. tbi3: tbi-phy@11 {
  143. reg = <0x11>;
  144. device_type = "tbi-phy";
  145. };
  146. };
  147. };
  148. &board_pci0 {
  149. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  150. interrupt-map = <
  151. /* IDSEL 0x4 (PCIX Slot 2) */
  152. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  153. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  154. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  155. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  156. /* IDSEL 0x5 (PCIX Slot 3) */
  157. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0
  158. 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1 0 0
  159. 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1 0 0
  160. 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1 0 0
  161. /* IDSEL 0x6 (PCIX Slot 4) */
  162. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  163. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  164. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
  165. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  166. /* IDSEL 0x8 (PCIX Slot 5) */
  167. 0x4000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  168. 0x4000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  169. 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  170. 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  171. /* IDSEL 0xC (Tsi310 bridge) */
  172. 0x6000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  173. 0x6000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  174. 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  175. 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  176. /* IDSEL 0x14 (Slot 2) */
  177. 0xa000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  178. 0xa000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  179. 0xa000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  180. 0xa000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  181. /* IDSEL 0x15 (Slot 3) */
  182. 0xa800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0
  183. 0xa800 0x0 0x0 0x2 &mpic 0x2 0x1 0 0
  184. 0xa800 0x0 0x0 0x3 &mpic 0x3 0x1 0 0
  185. 0xa800 0x0 0x0 0x4 &mpic 0x0 0x1 0 0
  186. /* IDSEL 0x16 (Slot 4) */
  187. 0xb000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  188. 0xb000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  189. 0xb000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
  190. 0xb000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  191. /* IDSEL 0x18 (Slot 5) */
  192. 0xc000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  193. 0xc000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  194. 0xc000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  195. 0xc000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  196. /* IDSEL 0x1C (Tsi310 bridge PCI primary) */
  197. 0xe000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  198. 0xe000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  199. 0xe000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  200. 0xe000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0>;
  201. pci_bridge@1c {
  202. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  203. interrupt-map = <
  204. /* IDSEL 0x00 (PrPMC Site) */
  205. 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  206. 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  207. 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  208. 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  209. /* IDSEL 0x04 (VIA chip) */
  210. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  211. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  212. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  213. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  214. /* IDSEL 0x05 (8139) */
  215. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0
  216. /* IDSEL 0x06 (Slot 6) */
  217. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  218. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  219. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
  220. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  221. /* IDESL 0x07 (Slot 7) */
  222. 0x3800 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  223. 0x3800 0x0 0x0 0x2 &mpic 0x0 0x1 0 0
  224. 0x3800 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  225. 0x3800 0x0 0x0 0x4 &mpic 0x2 0x1 0 0>;
  226. reg = <0xe000 0x0 0x0 0x0 0x0>;
  227. #interrupt-cells = <1>;
  228. #size-cells = <2>;
  229. #address-cells = <3>;
  230. ranges = <0x2000000 0x0 0x80000000
  231. 0x2000000 0x0 0x80000000
  232. 0x0 0x20000000
  233. 0x1000000 0x0 0x0
  234. 0x1000000 0x0 0x0
  235. 0x0 0x80000>;
  236. clock-frequency = <33333333>;
  237. isa@4 {
  238. device_type = "isa";
  239. #interrupt-cells = <2>;
  240. #size-cells = <1>;
  241. #address-cells = <2>;
  242. reg = <0x2000 0x0 0x0 0x0 0x0>;
  243. ranges = <0x1 0x0 0x1000000 0x0 0x0 0x1000>;
  244. interrupt-parent = <&i8259>;
  245. i8259: interrupt-controller@20 {
  246. interrupt-controller;
  247. device_type = "interrupt-controller";
  248. reg = <0x1 0x20 0x2
  249. 0x1 0xa0 0x2
  250. 0x1 0x4d0 0x2>;
  251. #address-cells = <0>;
  252. #interrupt-cells = <2>;
  253. compatible = "chrp,iic";
  254. interrupts = <0 1 0 0>;
  255. interrupt-parent = <&mpic>;
  256. };
  257. rtc@70 {
  258. compatible = "pnpPNP,b00";
  259. reg = <0x1 0x70 0x2>;
  260. };
  261. };
  262. };
  263. };