p2020ds.dtsi 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. /*
  2. * P2020DS Device Tree Source stub (no addresses or top-level ranges)
  3. *
  4. * Copyright 2011-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 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,elbc-fcm-nand";
  74. reg = <0x2 0x0 0x40000>;
  75. u-boot@0 {
  76. reg = <0x0 0x02000000>;
  77. read-only;
  78. };
  79. jffs2@2000000 {
  80. reg = <0x02000000 0x10000000>;
  81. };
  82. ramdisk@12000000 {
  83. reg = <0x12000000 0x08000000>;
  84. read-only;
  85. };
  86. kernel@1a000000 {
  87. reg = <0x1a000000 0x04000000>;
  88. };
  89. dtb@1e000000 {
  90. reg = <0x1e000000 0x01000000>;
  91. read-only;
  92. };
  93. empty@1f000000 {
  94. reg = <0x1f000000 0x21000000>;
  95. };
  96. };
  97. board-control@3,0 {
  98. compatible = "fsl,p2020ds-fpga", "fsl,fpga-ngpixis";
  99. reg = <0x3 0x0 0x30>;
  100. };
  101. nand@4,0 {
  102. compatible = "fsl,elbc-fcm-nand";
  103. reg = <0x4 0x0 0x40000>;
  104. };
  105. nand@5,0 {
  106. compatible = "fsl,elbc-fcm-nand";
  107. reg = <0x5 0x0 0x40000>;
  108. };
  109. nand@6,0 {
  110. compatible = "fsl,elbc-fcm-nand";
  111. reg = <0x6 0x0 0x40000>;
  112. };
  113. };
  114. &board_soc {
  115. usb@22000 {
  116. phy_type = "ulpi";
  117. dr_mode = "host";
  118. };
  119. mdio@24520 {
  120. phy0: ethernet-phy@0 {
  121. interrupts = <3 1 0 0>;
  122. reg = <0x0>;
  123. };
  124. phy1: ethernet-phy@1 {
  125. interrupts = <3 1 0 0>;
  126. reg = <0x1>;
  127. };
  128. phy2: ethernet-phy@2 {
  129. interrupts = <3 1 0 0>;
  130. reg = <0x2>;
  131. };
  132. sgmii_phy1: sgmii-phy@1 {
  133. interrupts = <5 1 0 0>;
  134. reg = <0x1c>;
  135. };
  136. sgmii_phy2: sgmii-phy@2 {
  137. interrupts = <5 1 0 0>;
  138. reg = <0x1d>;
  139. };
  140. tbi0: tbi-phy@11 {
  141. reg = <0x11>;
  142. device_type = "tbi-phy";
  143. };
  144. };
  145. mdio@25520 {
  146. tbi1: tbi-phy@11 {
  147. reg = <0x11>;
  148. device_type = "tbi-phy";
  149. };
  150. };
  151. mdio@26520 {
  152. tbi2: tbi-phy@11 {
  153. reg = <0x11>;
  154. device_type = "tbi-phy";
  155. };
  156. };
  157. ptp_clock@24e00 {
  158. fsl,tclk-period = <5>;
  159. fsl,tmr-prsc = <200>;
  160. fsl,tmr-add = <0xCCCCCCCD>;
  161. fsl,tmr-fiper1 = <0x3B9AC9FB>;
  162. fsl,tmr-fiper2 = <0x0001869B>;
  163. fsl,max-adj = <249999999>;
  164. };
  165. enet0: ethernet@24000 {
  166. tbi-handle = <&tbi0>;
  167. phy-handle = <&phy0>;
  168. phy-connection-type = "rgmii-id";
  169. };
  170. enet1: ethernet@25000 {
  171. tbi-handle = <&tbi1>;
  172. phy-handle = <&phy1>;
  173. phy-connection-type = "rgmii-id";
  174. };
  175. enet2: ethernet@26000 {
  176. tbi-handle = <&tbi2>;
  177. phy-handle = <&phy2>;
  178. phy-connection-type = "rgmii-id";
  179. };
  180. };
  181. &board_pci1 {
  182. pcie@0 {
  183. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  184. interrupt-map = <
  185. // IDSEL 0x11 func 0 - PCI slot 1
  186. 0x8800 0x0 0x0 0x1 &i8259 0x9 0x2
  187. 0x8800 0x0 0x0 0x2 &i8259 0xa 0x2
  188. // IDSEL 0x11 func 1 - PCI slot 1
  189. 0x8900 0x0 0x0 0x1 &i8259 0x9 0x2
  190. 0x8900 0x0 0x0 0x2 &i8259 0xa 0x2
  191. // IDSEL 0x11 func 2 - PCI slot 1
  192. 0x8a00 0x0 0x0 0x1 &i8259 0x9 0x2
  193. 0x8a00 0x0 0x0 0x2 &i8259 0xa 0x2
  194. // IDSEL 0x11 func 3 - PCI slot 1
  195. 0x8b00 0x0 0x0 0x1 &i8259 0x9 0x2
  196. 0x8b00 0x0 0x0 0x2 &i8259 0xa 0x2
  197. // IDSEL 0x11 func 4 - PCI slot 1
  198. 0x8c00 0x0 0x0 0x1 &i8259 0x9 0x2
  199. 0x8c00 0x0 0x0 0x2 &i8259 0xa 0x2
  200. // IDSEL 0x11 func 5 - PCI slot 1
  201. 0x8d00 0x0 0x0 0x1 &i8259 0x9 0x2
  202. 0x8d00 0x0 0x0 0x2 &i8259 0xa 0x2
  203. // IDSEL 0x11 func 6 - PCI slot 1
  204. 0x8e00 0x0 0x0 0x1 &i8259 0x9 0x2
  205. 0x8e00 0x0 0x0 0x2 &i8259 0xa 0x2
  206. // IDSEL 0x11 func 7 - PCI slot 1
  207. 0x8f00 0x0 0x0 0x1 &i8259 0x9 0x2
  208. 0x8f00 0x0 0x0 0x2 &i8259 0xa 0x2
  209. // IDSEL 0x1d Audio
  210. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  211. // IDSEL 0x1e Legacy
  212. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  213. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  214. // IDSEL 0x1f IDE/SATA
  215. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  216. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  217. >;
  218. uli1575@0 {
  219. reg = <0x0 0x0 0x0 0x0 0x0>;
  220. #size-cells = <2>;
  221. #address-cells = <3>;
  222. ranges = <0x2000000 0x0 0xa0000000
  223. 0x2000000 0x0 0xa0000000
  224. 0x0 0x20000000
  225. 0x1000000 0x0 0x0
  226. 0x1000000 0x0 0x0
  227. 0x0 0x10000>;
  228. isa@1e {
  229. device_type = "isa";
  230. #interrupt-cells = <2>;
  231. #size-cells = <1>;
  232. #address-cells = <2>;
  233. reg = <0xf000 0x0 0x0 0x0 0x0>;
  234. ranges = <0x1 0x0 0x1000000 0x0 0x0
  235. 0x1000>;
  236. interrupt-parent = <&i8259>;
  237. i8259: interrupt-controller@20 {
  238. reg = <0x1 0x20 0x2
  239. 0x1 0xa0 0x2
  240. 0x1 0x4d0 0x2>;
  241. interrupt-controller;
  242. device_type = "interrupt-controller";
  243. #address-cells = <0>;
  244. #interrupt-cells = <2>;
  245. compatible = "chrp,iic";
  246. interrupts = <4 1 0 0>;
  247. interrupt-parent = <&mpic>;
  248. };
  249. i8042@60 {
  250. #size-cells = <0>;
  251. #address-cells = <1>;
  252. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  253. interrupts = <1 3 12 3>;
  254. interrupt-parent =
  255. <&i8259>;
  256. keyboard@0 {
  257. reg = <0x0>;
  258. compatible = "pnpPNP,303";
  259. };
  260. mouse@1 {
  261. reg = <0x1>;
  262. compatible = "pnpPNP,f03";
  263. };
  264. };
  265. rtc@70 {
  266. compatible = "pnpPNP,b00";
  267. reg = <0x1 0x70 0x2>;
  268. };
  269. gpio@400 {
  270. reg = <0x1 0x400 0x80>;
  271. };
  272. };
  273. };
  274. };
  275. };