mpc8572ds.dtsi 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. /*
  2. * MPC8572DS Device Tree Source stub (no addresses or top-level ranges)
  3. *
  4. * Copyright 2011 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 0x8000000>;
  40. bank-width = <2>;
  41. device-width = <1>;
  42. ramdisk@0 {
  43. reg = <0x0 0x03000000>;
  44. read-only;
  45. };
  46. diagnostic@3000000 {
  47. reg = <0x03000000 0x00e00000>;
  48. read-only;
  49. };
  50. dink@3e00000 {
  51. reg = <0x03e00000 0x00200000>;
  52. read-only;
  53. };
  54. kernel@4000000 {
  55. reg = <0x04000000 0x00400000>;
  56. read-only;
  57. };
  58. jffs2@4400000 {
  59. reg = <0x04400000 0x03b00000>;
  60. };
  61. dtb@7f00000 {
  62. reg = <0x07f00000 0x00080000>;
  63. read-only;
  64. };
  65. u-boot@7f80000 {
  66. reg = <0x07f80000 0x00080000>;
  67. read-only;
  68. };
  69. };
  70. nand@2,0 {
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. compatible = "fsl,mpc8572-fcm-nand",
  74. "fsl,elbc-fcm-nand";
  75. reg = <0x2 0x0 0x40000>;
  76. u-boot@0 {
  77. reg = <0x0 0x02000000>;
  78. read-only;
  79. };
  80. jffs2@2000000 {
  81. reg = <0x02000000 0x10000000>;
  82. };
  83. ramdisk@12000000 {
  84. reg = <0x12000000 0x08000000>;
  85. read-only;
  86. };
  87. kernel@1a000000 {
  88. reg = <0x1a000000 0x04000000>;
  89. };
  90. dtb@1e000000 {
  91. reg = <0x1e000000 0x01000000>;
  92. read-only;
  93. };
  94. empty@1f000000 {
  95. reg = <0x1f000000 0x21000000>;
  96. };
  97. };
  98. nand@4,0 {
  99. compatible = "fsl,mpc8572-fcm-nand",
  100. "fsl,elbc-fcm-nand";
  101. reg = <0x4 0x0 0x40000>;
  102. };
  103. nand@5,0 {
  104. compatible = "fsl,mpc8572-fcm-nand",
  105. "fsl,elbc-fcm-nand";
  106. reg = <0x5 0x0 0x40000>;
  107. };
  108. nand@6,0 {
  109. compatible = "fsl,mpc8572-fcm-nand",
  110. "fsl,elbc-fcm-nand";
  111. reg = <0x6 0x0 0x40000>;
  112. };
  113. };
  114. &board_soc {
  115. enet0: ethernet@24000 {
  116. tbi-handle = <&tbi0>;
  117. phy-handle = <&phy0>;
  118. phy-connection-type = "rgmii-id";
  119. };
  120. mdio@24520 {
  121. phy0: ethernet-phy@0 {
  122. interrupts = <10 1 0 0>;
  123. reg = <0x0>;
  124. };
  125. phy1: ethernet-phy@1 {
  126. interrupts = <10 1 0 0>;
  127. reg = <0x1>;
  128. };
  129. phy2: ethernet-phy@2 {
  130. interrupts = <10 1 0 0>;
  131. reg = <0x2>;
  132. };
  133. phy3: ethernet-phy@3 {
  134. interrupts = <10 1 0 0>;
  135. reg = <0x3>;
  136. };
  137. tbi0: tbi-phy@11 {
  138. reg = <0x11>;
  139. device_type = "tbi-phy";
  140. };
  141. };
  142. ptp_clock@24e00 {
  143. fsl,tclk-period = <5>;
  144. fsl,tmr-prsc = <200>;
  145. fsl,tmr-add = <0xAAAAAAAB>;
  146. fsl,tmr-fiper1 = <0x3B9AC9FB>;
  147. fsl,tmr-fiper2 = <0x3B9AC9FB>;
  148. fsl,max-adj = <499999999>;
  149. };
  150. enet1: ethernet@25000 {
  151. tbi-handle = <&tbi1>;
  152. phy-handle = <&phy1>;
  153. phy-connection-type = "rgmii-id";
  154. };
  155. mdio@25520 {
  156. tbi1: tbi-phy@11 {
  157. reg = <0x11>;
  158. device_type = "tbi-phy";
  159. };
  160. };
  161. enet2: ethernet@26000 {
  162. tbi-handle = <&tbi2>;
  163. phy-handle = <&phy2>;
  164. phy-connection-type = "rgmii-id";
  165. };
  166. mdio@26520 {
  167. tbi2: tbi-phy@11 {
  168. reg = <0x11>;
  169. device_type = "tbi-phy";
  170. };
  171. };
  172. enet3: ethernet@27000 {
  173. tbi-handle = <&tbi3>;
  174. phy-handle = <&phy3>;
  175. phy-connection-type = "rgmii-id";
  176. };
  177. mdio@27520 {
  178. tbi3: tbi-phy@11 {
  179. reg = <0x11>;
  180. device_type = "tbi-phy";
  181. };
  182. };
  183. };
  184. &board_pci0 {
  185. pcie@0 {
  186. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  187. interrupt-map = <
  188. /* IDSEL 0x11 func 0 - PCI slot 1 */
  189. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  190. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  191. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  192. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  193. /* IDSEL 0x11 func 1 - PCI slot 1 */
  194. 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  195. 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  196. 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  197. 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  198. /* IDSEL 0x11 func 2 - PCI slot 1 */
  199. 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  200. 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  201. 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  202. 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  203. /* IDSEL 0x11 func 3 - PCI slot 1 */
  204. 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  205. 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  206. 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  207. 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  208. /* IDSEL 0x11 func 4 - PCI slot 1 */
  209. 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  210. 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  211. 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  212. 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  213. /* IDSEL 0x11 func 5 - PCI slot 1 */
  214. 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  215. 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  216. 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  217. 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  218. /* IDSEL 0x11 func 6 - PCI slot 1 */
  219. 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  220. 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  221. 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  222. 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  223. /* IDSEL 0x11 func 7 - PCI slot 1 */
  224. 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  225. 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  226. 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  227. 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  228. /* IDSEL 0x12 func 0 - PCI slot 2 */
  229. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  230. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  231. 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  232. 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  233. /* IDSEL 0x12 func 1 - PCI slot 2 */
  234. 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  235. 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  236. 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  237. 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  238. /* IDSEL 0x12 func 2 - PCI slot 2 */
  239. 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  240. 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  241. 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  242. 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  243. /* IDSEL 0x12 func 3 - PCI slot 2 */
  244. 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  245. 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  246. 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  247. 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  248. /* IDSEL 0x12 func 4 - PCI slot 2 */
  249. 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  250. 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  251. 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  252. 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  253. /* IDSEL 0x12 func 5 - PCI slot 2 */
  254. 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  255. 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  256. 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  257. 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  258. /* IDSEL 0x12 func 6 - PCI slot 2 */
  259. 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  260. 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  261. 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  262. 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  263. /* IDSEL 0x12 func 7 - PCI slot 2 */
  264. 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  265. 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  266. 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  267. 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  268. // IDSEL 0x1c USB
  269. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  270. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  271. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  272. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  273. // IDSEL 0x1d Audio
  274. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  275. // IDSEL 0x1e Legacy
  276. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  277. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  278. // IDSEL 0x1f IDE/SATA
  279. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  280. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  281. >;
  282. uli1575@0 {
  283. reg = <0x0 0x0 0x0 0x0 0x0>;
  284. #size-cells = <2>;
  285. #address-cells = <3>;
  286. ranges = <0x2000000 0x0 0x80000000
  287. 0x2000000 0x0 0x80000000
  288. 0x0 0x20000000
  289. 0x1000000 0x0 0x0
  290. 0x1000000 0x0 0x0
  291. 0x0 0x10000>;
  292. isa@1e {
  293. device_type = "isa";
  294. #interrupt-cells = <2>;
  295. #size-cells = <1>;
  296. #address-cells = <2>;
  297. reg = <0xf000 0x0 0x0 0x0 0x0>;
  298. ranges = <0x1 0x0 0x1000000 0x0 0x0
  299. 0x1000>;
  300. interrupt-parent = <&i8259>;
  301. i8259: interrupt-controller@20 {
  302. reg = <0x1 0x20 0x2
  303. 0x1 0xa0 0x2
  304. 0x1 0x4d0 0x2>;
  305. interrupt-controller;
  306. device_type = "interrupt-controller";
  307. #address-cells = <0>;
  308. #interrupt-cells = <2>;
  309. compatible = "chrp,iic";
  310. interrupts = <9 2 0 0>;
  311. interrupt-parent = <&mpic>;
  312. };
  313. i8042@60 {
  314. #size-cells = <0>;
  315. #address-cells = <1>;
  316. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  317. interrupts = <1 3 12 3>;
  318. interrupt-parent =
  319. <&i8259>;
  320. keyboard@0 {
  321. reg = <0x0>;
  322. compatible = "pnpPNP,303";
  323. };
  324. mouse@1 {
  325. reg = <0x1>;
  326. compatible = "pnpPNP,f03";
  327. };
  328. };
  329. rtc@70 {
  330. compatible = "pnpPNP,b00";
  331. reg = <0x1 0x70 0x2>;
  332. };
  333. gpio@400 {
  334. reg = <0x1 0x400 0x80>;
  335. };
  336. };
  337. };
  338. };
  339. };