mpc8572ds.dtsi 10 KB

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