p2020ds.dtsi 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /*
  2. * P2020DS 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,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. };
  118. mdio@24520 {
  119. phy0: ethernet-phy@0 {
  120. interrupts = <3 1 0 0>;
  121. reg = <0x0>;
  122. };
  123. phy1: ethernet-phy@1 {
  124. interrupts = <3 1 0 0>;
  125. reg = <0x1>;
  126. };
  127. phy2: ethernet-phy@2 {
  128. interrupts = <3 1 0 0>;
  129. reg = <0x2>;
  130. };
  131. tbi0: tbi-phy@11 {
  132. reg = <0x11>;
  133. device_type = "tbi-phy";
  134. };
  135. };
  136. mdio@25520 {
  137. tbi1: tbi-phy@11 {
  138. reg = <0x11>;
  139. device_type = "tbi-phy";
  140. };
  141. };
  142. mdio@26520 {
  143. tbi2: tbi-phy@11 {
  144. reg = <0x11>;
  145. device_type = "tbi-phy";
  146. };
  147. };
  148. ptp_clock@24e00 {
  149. fsl,tclk-period = <5>;
  150. fsl,tmr-prsc = <200>;
  151. fsl,tmr-add = <0xCCCCCCCD>;
  152. fsl,tmr-fiper1 = <0x3B9AC9FB>;
  153. fsl,tmr-fiper2 = <0x0001869B>;
  154. fsl,max-adj = <249999999>;
  155. };
  156. enet0: ethernet@24000 {
  157. tbi-handle = <&tbi0>;
  158. phy-handle = <&phy0>;
  159. phy-connection-type = "rgmii-id";
  160. };
  161. enet1: ethernet@25000 {
  162. tbi-handle = <&tbi1>;
  163. phy-handle = <&phy1>;
  164. phy-connection-type = "rgmii-id";
  165. };
  166. enet2: ethernet@26000 {
  167. tbi-handle = <&tbi2>;
  168. phy-handle = <&phy2>;
  169. phy-connection-type = "rgmii-id";
  170. };
  171. };
  172. &board_pci1 {
  173. pcie@0 {
  174. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  175. interrupt-map = <
  176. // IDSEL 0x11 func 0 - PCI slot 1
  177. 0x8800 0x0 0x0 0x1 &i8259 0x9 0x2
  178. 0x8800 0x0 0x0 0x2 &i8259 0xa 0x2
  179. // IDSEL 0x11 func 1 - PCI slot 1
  180. 0x8900 0x0 0x0 0x1 &i8259 0x9 0x2
  181. 0x8900 0x0 0x0 0x2 &i8259 0xa 0x2
  182. // IDSEL 0x11 func 2 - PCI slot 1
  183. 0x8a00 0x0 0x0 0x1 &i8259 0x9 0x2
  184. 0x8a00 0x0 0x0 0x2 &i8259 0xa 0x2
  185. // IDSEL 0x11 func 3 - PCI slot 1
  186. 0x8b00 0x0 0x0 0x1 &i8259 0x9 0x2
  187. 0x8b00 0x0 0x0 0x2 &i8259 0xa 0x2
  188. // IDSEL 0x11 func 4 - PCI slot 1
  189. 0x8c00 0x0 0x0 0x1 &i8259 0x9 0x2
  190. 0x8c00 0x0 0x0 0x2 &i8259 0xa 0x2
  191. // IDSEL 0x11 func 5 - PCI slot 1
  192. 0x8d00 0x0 0x0 0x1 &i8259 0x9 0x2
  193. 0x8d00 0x0 0x0 0x2 &i8259 0xa 0x2
  194. // IDSEL 0x11 func 6 - PCI slot 1
  195. 0x8e00 0x0 0x0 0x1 &i8259 0x9 0x2
  196. 0x8e00 0x0 0x0 0x2 &i8259 0xa 0x2
  197. // IDSEL 0x11 func 7 - PCI slot 1
  198. 0x8f00 0x0 0x0 0x1 &i8259 0x9 0x2
  199. 0x8f00 0x0 0x0 0x2 &i8259 0xa 0x2
  200. // IDSEL 0x1d Audio
  201. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  202. // IDSEL 0x1e Legacy
  203. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  204. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  205. // IDSEL 0x1f IDE/SATA
  206. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  207. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  208. >;
  209. uli1575@0 {
  210. reg = <0x0 0x0 0x0 0x0 0x0>;
  211. #size-cells = <2>;
  212. #address-cells = <3>;
  213. ranges = <0x2000000 0x0 0xa0000000
  214. 0x2000000 0x0 0xa0000000
  215. 0x0 0x20000000
  216. 0x1000000 0x0 0x0
  217. 0x1000000 0x0 0x0
  218. 0x0 0x10000>;
  219. isa@1e {
  220. device_type = "isa";
  221. #interrupt-cells = <2>;
  222. #size-cells = <1>;
  223. #address-cells = <2>;
  224. reg = <0xf000 0x0 0x0 0x0 0x0>;
  225. ranges = <0x1 0x0 0x1000000 0x0 0x0
  226. 0x1000>;
  227. interrupt-parent = <&i8259>;
  228. i8259: interrupt-controller@20 {
  229. reg = <0x1 0x20 0x2
  230. 0x1 0xa0 0x2
  231. 0x1 0x4d0 0x2>;
  232. interrupt-controller;
  233. device_type = "interrupt-controller";
  234. #address-cells = <0>;
  235. #interrupt-cells = <2>;
  236. compatible = "chrp,iic";
  237. interrupts = <4 1 0 0>;
  238. interrupt-parent = <&mpic>;
  239. };
  240. i8042@60 {
  241. #size-cells = <0>;
  242. #address-cells = <1>;
  243. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  244. interrupts = <1 3 12 3>;
  245. interrupt-parent =
  246. <&i8259>;
  247. keyboard@0 {
  248. reg = <0x0>;
  249. compatible = "pnpPNP,303";
  250. };
  251. mouse@1 {
  252. reg = <0x1>;
  253. compatible = "pnpPNP,f03";
  254. };
  255. };
  256. rtc@70 {
  257. compatible = "pnpPNP,b00";
  258. reg = <0x1 0x70 0x2>;
  259. };
  260. gpio@400 {
  261. reg = <0x1 0x400 0x80>;
  262. };
  263. };
  264. };
  265. };
  266. };