mpc8572ds.dtsi 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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. tbi0: tbi-phy@11 {
  151. reg = <0x11>;
  152. device_type = "tbi-phy";
  153. };
  154. };
  155. ptp_clock@24e00 {
  156. fsl,tclk-period = <5>;
  157. fsl,tmr-prsc = <200>;
  158. fsl,tmr-add = <0xAAAAAAAB>;
  159. fsl,tmr-fiper1 = <0x3B9AC9FB>;
  160. fsl,tmr-fiper2 = <0x3B9AC9FB>;
  161. fsl,max-adj = <499999999>;
  162. };
  163. enet1: ethernet@25000 {
  164. tbi-handle = <&tbi1>;
  165. phy-handle = <&phy1>;
  166. phy-connection-type = "rgmii-id";
  167. };
  168. mdio@25520 {
  169. tbi1: tbi-phy@11 {
  170. reg = <0x11>;
  171. device_type = "tbi-phy";
  172. };
  173. };
  174. enet2: ethernet@26000 {
  175. tbi-handle = <&tbi2>;
  176. phy-handle = <&phy2>;
  177. phy-connection-type = "rgmii-id";
  178. };
  179. mdio@26520 {
  180. tbi2: tbi-phy@11 {
  181. reg = <0x11>;
  182. device_type = "tbi-phy";
  183. };
  184. };
  185. enet3: ethernet@27000 {
  186. tbi-handle = <&tbi3>;
  187. phy-handle = <&phy3>;
  188. phy-connection-type = "rgmii-id";
  189. };
  190. mdio@27520 {
  191. tbi3: tbi-phy@11 {
  192. reg = <0x11>;
  193. device_type = "tbi-phy";
  194. };
  195. };
  196. };
  197. &board_pci0 {
  198. pcie@0 {
  199. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  200. interrupt-map = <
  201. /* IDSEL 0x11 func 0 - PCI slot 1 */
  202. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  203. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  204. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  205. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  206. /* IDSEL 0x11 func 1 - PCI slot 1 */
  207. 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  208. 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  209. 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  210. 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  211. /* IDSEL 0x11 func 2 - PCI slot 1 */
  212. 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  213. 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  214. 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  215. 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  216. /* IDSEL 0x11 func 3 - PCI slot 1 */
  217. 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  218. 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  219. 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  220. 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  221. /* IDSEL 0x11 func 4 - PCI slot 1 */
  222. 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  223. 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  224. 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  225. 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  226. /* IDSEL 0x11 func 5 - PCI slot 1 */
  227. 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  228. 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  229. 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  230. 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  231. /* IDSEL 0x11 func 6 - PCI slot 1 */
  232. 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  233. 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  234. 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  235. 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  236. /* IDSEL 0x11 func 7 - PCI slot 1 */
  237. 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  238. 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  239. 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1 0 0
  240. 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  241. /* IDSEL 0x12 func 0 - PCI slot 2 */
  242. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  243. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  244. 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  245. 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  246. /* IDSEL 0x12 func 1 - PCI slot 2 */
  247. 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  248. 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  249. 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  250. 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  251. /* IDSEL 0x12 func 2 - PCI slot 2 */
  252. 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  253. 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  254. 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  255. 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  256. /* IDSEL 0x12 func 3 - PCI slot 2 */
  257. 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  258. 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  259. 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  260. 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  261. /* IDSEL 0x12 func 4 - PCI slot 2 */
  262. 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  263. 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  264. 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  265. 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  266. /* IDSEL 0x12 func 5 - PCI slot 2 */
  267. 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  268. 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  269. 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  270. 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  271. /* IDSEL 0x12 func 6 - PCI slot 2 */
  272. 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  273. 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  274. 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  275. 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  276. /* IDSEL 0x12 func 7 - PCI slot 2 */
  277. 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  278. 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1 0 0
  279. 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  280. 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1 0 0
  281. // IDSEL 0x1c USB
  282. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  283. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  284. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  285. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  286. // IDSEL 0x1d Audio
  287. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  288. // IDSEL 0x1e Legacy
  289. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  290. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  291. // IDSEL 0x1f IDE/SATA
  292. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  293. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  294. >;
  295. uli1575@0 {
  296. reg = <0x0 0x0 0x0 0x0 0x0>;
  297. #size-cells = <2>;
  298. #address-cells = <3>;
  299. ranges = <0x2000000 0x0 0x80000000
  300. 0x2000000 0x0 0x80000000
  301. 0x0 0x20000000
  302. 0x1000000 0x0 0x0
  303. 0x1000000 0x0 0x0
  304. 0x0 0x10000>;
  305. isa@1e {
  306. device_type = "isa";
  307. #interrupt-cells = <2>;
  308. #size-cells = <1>;
  309. #address-cells = <2>;
  310. reg = <0xf000 0x0 0x0 0x0 0x0>;
  311. ranges = <0x1 0x0 0x1000000 0x0 0x0
  312. 0x1000>;
  313. interrupt-parent = <&i8259>;
  314. i8259: interrupt-controller@20 {
  315. reg = <0x1 0x20 0x2
  316. 0x1 0xa0 0x2
  317. 0x1 0x4d0 0x2>;
  318. interrupt-controller;
  319. device_type = "interrupt-controller";
  320. #address-cells = <0>;
  321. #interrupt-cells = <2>;
  322. compatible = "chrp,iic";
  323. interrupts = <9 2 0 0>;
  324. interrupt-parent = <&mpic>;
  325. };
  326. i8042@60 {
  327. #size-cells = <0>;
  328. #address-cells = <1>;
  329. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  330. interrupts = <1 3 12 3>;
  331. interrupt-parent =
  332. <&i8259>;
  333. keyboard@0 {
  334. reg = <0x0>;
  335. compatible = "pnpPNP,303";
  336. };
  337. mouse@1 {
  338. reg = <0x1>;
  339. compatible = "pnpPNP,f03";
  340. };
  341. };
  342. rtc@70 {
  343. compatible = "pnpPNP,b00";
  344. reg = <0x1 0x70 0x2>;
  345. };
  346. gpio@400 {
  347. reg = <0x1 0x400 0x80>;
  348. };
  349. };
  350. };
  351. };
  352. };