p2041rdb.dts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. /*
  2. * P2041RDB Device Tree Source
  3. *
  4. * Copyright 2011 - 2015 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. /include/ "p2041si-pre.dtsi"
  35. / {
  36. model = "fsl,P2041RDB";
  37. compatible = "fsl,P2041RDB";
  38. #address-cells = <2>;
  39. #size-cells = <2>;
  40. interrupt-parent = <&mpic>;
  41. aliases {
  42. phy_rgmii_0 = &phy_rgmii_0;
  43. phy_rgmii_1 = &phy_rgmii_1;
  44. phy_sgmii_2 = &phy_sgmii_2;
  45. phy_sgmii_3 = &phy_sgmii_3;
  46. phy_sgmii_4 = &phy_sgmii_4;
  47. phy_sgmii_1c = &phy_sgmii_1c;
  48. phy_sgmii_1d = &phy_sgmii_1d;
  49. phy_sgmii_1e = &phy_sgmii_1e;
  50. phy_sgmii_1f = &phy_sgmii_1f;
  51. phy_xgmii_2 = &phy_xgmii_2;
  52. };
  53. memory {
  54. device_type = "memory";
  55. };
  56. reserved-memory {
  57. #address-cells = <2>;
  58. #size-cells = <2>;
  59. ranges;
  60. bman_fbpr: bman-fbpr {
  61. size = <0 0x1000000>;
  62. alignment = <0 0x1000000>;
  63. };
  64. qman_fqd: qman-fqd {
  65. size = <0 0x400000>;
  66. alignment = <0 0x400000>;
  67. };
  68. qman_pfdr: qman-pfdr {
  69. size = <0 0x2000000>;
  70. alignment = <0 0x2000000>;
  71. };
  72. };
  73. dcsr: dcsr@f00000000 {
  74. ranges = <0x00000000 0xf 0x00000000 0x01008000>;
  75. };
  76. bportals: bman-portals@ff4000000 {
  77. ranges = <0x0 0xf 0xf4000000 0x200000>;
  78. };
  79. qportals: qman-portals@ff4200000 {
  80. ranges = <0x0 0xf 0xf4200000 0x200000>;
  81. };
  82. soc: soc@ffe000000 {
  83. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  84. reg = <0xf 0xfe000000 0 0x00001000>;
  85. spi@110000 {
  86. flash@0 {
  87. #address-cells = <1>;
  88. #size-cells = <1>;
  89. compatible = "spansion,s25sl12801", "jedec,spi-nor";
  90. reg = <0>;
  91. spi-max-frequency = <40000000>; /* input clock */
  92. partition@u-boot {
  93. label = "u-boot";
  94. reg = <0x00000000 0x00100000>;
  95. read-only;
  96. };
  97. partition@kernel {
  98. label = "kernel";
  99. reg = <0x00100000 0x00500000>;
  100. read-only;
  101. };
  102. partition@dtb {
  103. label = "dtb";
  104. reg = <0x00600000 0x00100000>;
  105. read-only;
  106. };
  107. partition@fs {
  108. label = "file system";
  109. reg = <0x00700000 0x00900000>;
  110. };
  111. };
  112. };
  113. i2c@118000 {
  114. lm75b@48 {
  115. compatible = "nxp,lm75a";
  116. reg = <0x48>;
  117. };
  118. eeprom@50 {
  119. compatible = "at24,24c256";
  120. reg = <0x50>;
  121. };
  122. rtc@68 {
  123. compatible = "pericom,pt7c4338";
  124. reg = <0x68>;
  125. };
  126. adt7461@4c {
  127. compatible = "adi,adt7461";
  128. reg = <0x4c>;
  129. };
  130. };
  131. i2c@118100 {
  132. eeprom@50 {
  133. compatible = "at24,24c256";
  134. reg = <0x50>;
  135. };
  136. };
  137. usb1: usb@211000 {
  138. dr_mode = "host";
  139. };
  140. fman@400000 {
  141. ethernet@e0000 {
  142. phy-handle = <&phy_sgmii_2>;
  143. phy-connection-type = "sgmii";
  144. };
  145. mdio@e1120 {
  146. phy_rgmii_0: ethernet-phy@0 {
  147. reg = <0x0>;
  148. };
  149. phy_rgmii_1: ethernet-phy@1 {
  150. reg = <0x1>;
  151. };
  152. phy_sgmii_2: ethernet-phy@2 {
  153. reg = <0x2>;
  154. };
  155. phy_sgmii_3: ethernet-phy@3 {
  156. reg = <0x3>;
  157. };
  158. phy_sgmii_4: ethernet-phy@4 {
  159. reg = <0x4>;
  160. };
  161. phy_sgmii_1c: ethernet-phy@1c {
  162. reg = <0x1c>;
  163. };
  164. phy_sgmii_1d: ethernet-phy@1d {
  165. reg = <0x1d>;
  166. };
  167. phy_sgmii_1e: ethernet-phy@1e {
  168. reg = <0x1e>;
  169. };
  170. phy_sgmii_1f: ethernet-phy@1f {
  171. reg = <0x1f>;
  172. };
  173. };
  174. ethernet@e2000 {
  175. phy-handle = <&phy_sgmii_3>;
  176. phy-connection-type = "sgmii";
  177. };
  178. ethernet@e4000 {
  179. phy-handle = <&phy_sgmii_4>;
  180. phy-connection-type = "sgmii";
  181. };
  182. ethernet@e6000 {
  183. phy-handle = <&phy_rgmii_1>;
  184. phy-connection-type = "rgmii";
  185. };
  186. ethernet@e8000 {
  187. phy-handle = <&phy_rgmii_0>;
  188. phy-connection-type = "rgmii";
  189. };
  190. ethernet@f0000 {
  191. phy-handle = <&phy_xgmii_2>;
  192. phy-connection-type = "xgmii";
  193. };
  194. mdio@f1000 {
  195. phy_xgmii_2: ethernet-phy@0 {
  196. compatible = "ethernet-phy-ieee802.3-c45";
  197. reg = <0x0>;
  198. };
  199. };
  200. };
  201. };
  202. rio: rapidio@ffe0c0000 {
  203. reg = <0xf 0xfe0c0000 0 0x11000>;
  204. port1 {
  205. ranges = <0 0 0xc 0x20000000 0 0x10000000>;
  206. };
  207. port2 {
  208. ranges = <0 0 0xc 0x30000000 0 0x10000000>;
  209. };
  210. };
  211. lbc: localbus@ffe124000 {
  212. reg = <0xf 0xfe124000 0 0x1000>;
  213. ranges = <0 0 0xf 0xe8000000 0x08000000
  214. 1 0 0xf 0xffa00000 0x00040000>;
  215. flash@0,0 {
  216. compatible = "cfi-flash";
  217. reg = <0 0 0x08000000>;
  218. bank-width = <2>;
  219. device-width = <2>;
  220. };
  221. nand@1,0 {
  222. #address-cells = <1>;
  223. #size-cells = <1>;
  224. compatible = "fsl,elbc-fcm-nand";
  225. reg = <0x1 0x0 0x40000>;
  226. partition@0 {
  227. label = "NAND U-Boot Image";
  228. reg = <0x0 0x02000000>;
  229. read-only;
  230. };
  231. partition@2000000 {
  232. label = "NAND Root File System";
  233. reg = <0x02000000 0x10000000>;
  234. };
  235. partition@12000000 {
  236. label = "NAND Compressed RFS Image";
  237. reg = <0x12000000 0x08000000>;
  238. };
  239. partition@1a000000 {
  240. label = "NAND Linux Kernel Image";
  241. reg = <0x1a000000 0x04000000>;
  242. };
  243. partition@1e000000 {
  244. label = "NAND DTB Image";
  245. reg = <0x1e000000 0x01000000>;
  246. };
  247. partition@1f000000 {
  248. label = "NAND Writable User area";
  249. reg = <0x1f000000 0x01000000>;
  250. };
  251. };
  252. };
  253. pci0: pcie@ffe200000 {
  254. reg = <0xf 0xfe200000 0 0x1000>;
  255. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  256. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  257. pcie@0 {
  258. ranges = <0x02000000 0 0xe0000000
  259. 0x02000000 0 0xe0000000
  260. 0 0x20000000
  261. 0x01000000 0 0x00000000
  262. 0x01000000 0 0x00000000
  263. 0 0x00010000>;
  264. };
  265. };
  266. pci1: pcie@ffe201000 {
  267. reg = <0xf 0xfe201000 0 0x1000>;
  268. ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
  269. 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
  270. pcie@0 {
  271. ranges = <0x02000000 0 0xe0000000
  272. 0x02000000 0 0xe0000000
  273. 0 0x20000000
  274. 0x01000000 0 0x00000000
  275. 0x01000000 0 0x00000000
  276. 0 0x00010000>;
  277. };
  278. };
  279. pci2: pcie@ffe202000 {
  280. reg = <0xf 0xfe202000 0 0x1000>;
  281. ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
  282. 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
  283. pcie@0 {
  284. ranges = <0x02000000 0 0xe0000000
  285. 0x02000000 0 0xe0000000
  286. 0 0x20000000
  287. 0x01000000 0 0x00000000
  288. 0x01000000 0 0x00000000
  289. 0 0x00010000>;
  290. };
  291. };
  292. };
  293. /include/ "p2041si-post.dtsi"