p4080ds.dts 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. /*
  2. * P4080DS Device Tree Source
  3. *
  4. * Copyright 2009 - 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/ "p4080si-pre.dtsi"
  35. / {
  36. model = "fsl,P4080DS";
  37. compatible = "fsl,P4080DS";
  38. #address-cells = <2>;
  39. #size-cells = <2>;
  40. interrupt-parent = <&mpic>;
  41. aliases {
  42. phy_rgmii = &phyrgmii;
  43. phy5_slot3 = &phy5slot3;
  44. phy6_slot3 = &phy6slot3;
  45. phy7_slot3 = &phy7slot3;
  46. phy8_slot3 = &phy8slot3;
  47. emi1_slot3 = &p4080mdio2;
  48. emi1_slot4 = &p4080mdio1;
  49. emi1_slot5 = &p4080mdio3;
  50. emi1_rgmii = &p4080mdio0;
  51. emi2_slot4 = &p4080xmdio1;
  52. emi2_slot5 = &p4080xmdio3;
  53. };
  54. memory {
  55. device_type = "memory";
  56. };
  57. reserved-memory {
  58. #address-cells = <2>;
  59. #size-cells = <2>;
  60. ranges;
  61. bman_fbpr: bman-fbpr {
  62. size = <0 0x1000000>;
  63. alignment = <0 0x1000000>;
  64. };
  65. qman_fqd: qman-fqd {
  66. size = <0 0x400000>;
  67. alignment = <0 0x400000>;
  68. };
  69. qman_pfdr: qman-pfdr {
  70. size = <0 0x2000000>;
  71. alignment = <0 0x2000000>;
  72. };
  73. };
  74. dcsr: dcsr@f00000000 {
  75. ranges = <0x00000000 0xf 0x00000000 0x01008000>;
  76. };
  77. bportals: bman-portals@ff4000000 {
  78. ranges = <0x0 0xf 0xf4000000 0x200000>;
  79. };
  80. qportals: qman-portals@ff4200000 {
  81. ranges = <0x0 0xf 0xf4200000 0x200000>;
  82. };
  83. soc: soc@ffe000000 {
  84. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  85. reg = <0xf 0xfe000000 0 0x00001000>;
  86. spi@110000 {
  87. flash@0 {
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. compatible = "spansion,s25sl12801", "jedec,spi-nor";
  91. reg = <0>;
  92. spi-max-frequency = <40000000>; /* input clock */
  93. partition@u-boot {
  94. label = "u-boot";
  95. reg = <0x00000000 0x00100000>;
  96. read-only;
  97. };
  98. partition@kernel {
  99. label = "kernel";
  100. reg = <0x00100000 0x00500000>;
  101. read-only;
  102. };
  103. partition@dtb {
  104. label = "dtb";
  105. reg = <0x00600000 0x00100000>;
  106. read-only;
  107. };
  108. partition@fs {
  109. label = "file system";
  110. reg = <0x00700000 0x00900000>;
  111. };
  112. };
  113. };
  114. i2c@118100 {
  115. eeprom@51 {
  116. compatible = "atmel,spd";
  117. reg = <0x51>;
  118. };
  119. eeprom@52 {
  120. compatible = "atmel,spd";
  121. reg = <0x52>;
  122. };
  123. rtc@68 {
  124. compatible = "dallas,ds3232";
  125. reg = <0x68>;
  126. interrupts = <0x1 0x1 0 0>;
  127. };
  128. adt7461@4c {
  129. compatible = "adi,adt7461";
  130. reg = <0x4c>;
  131. };
  132. };
  133. i2c@118000 {
  134. zl2006@21 {
  135. compatible = "zl2006";
  136. reg = <0x21>;
  137. };
  138. zl2006@22 {
  139. compatible = "zl2006";
  140. reg = <0x22>;
  141. };
  142. zl2006@23 {
  143. compatible = "zl2006";
  144. reg = <0x23>;
  145. };
  146. zl2006@24 {
  147. compatible = "zl2006";
  148. reg = <0x24>;
  149. };
  150. eeprom@50 {
  151. compatible = "atmel,24c64";
  152. reg = <0x50>;
  153. };
  154. eeprom@55 {
  155. compatible = "atmel,24c64";
  156. reg = <0x55>;
  157. };
  158. eeprom@56 {
  159. compatible = "atmel,24c64";
  160. reg = <0x56>;
  161. };
  162. eeprom@57 {
  163. compatible = "atmel,24c02";
  164. reg = <0x57>;
  165. };
  166. };
  167. i2c@119100 {
  168. /* 0x6E: ICS9FG108 */
  169. };
  170. usb0: usb@210000 {
  171. phy_type = "ulpi";
  172. };
  173. usb1: usb@211000 {
  174. dr_mode = "host";
  175. phy_type = "ulpi";
  176. };
  177. fman@400000 {
  178. ethernet@e0000 {
  179. phy-handle = <&phy0>;
  180. phy-connection-type = "sgmii";
  181. };
  182. ethernet@e2000 {
  183. phy-handle = <&phy1>;
  184. phy-connection-type = "sgmii";
  185. };
  186. ethernet@e4000 {
  187. phy-handle = <&phy2>;
  188. phy-connection-type = "sgmii";
  189. };
  190. ethernet@e6000 {
  191. phy-handle = <&phy3>;
  192. phy-connection-type = "sgmii";
  193. };
  194. ethernet@f0000 {
  195. phy-handle = <&phy10>;
  196. phy-connection-type = "xgmii";
  197. };
  198. };
  199. fman@500000 {
  200. ethernet@e0000 {
  201. phy-handle = <&phy5>;
  202. phy-connection-type = "sgmii";
  203. };
  204. ethernet@e2000 {
  205. phy-handle = <&phy6>;
  206. phy-connection-type = "sgmii";
  207. };
  208. ethernet@e4000 {
  209. phy-handle = <&phy7>;
  210. phy-connection-type = "sgmii";
  211. };
  212. ethernet@e6000 {
  213. phy-handle = <&phy8>;
  214. phy-connection-type = "sgmii";
  215. };
  216. ethernet@f0000 {
  217. phy-handle = <&phy11>;
  218. phy-connection-type = "xgmii";
  219. };
  220. };
  221. };
  222. rio: rapidio@ffe0c0000 {
  223. reg = <0xf 0xfe0c0000 0 0x11000>;
  224. port1 {
  225. ranges = <0 0 0xc 0x20000000 0 0x10000000>;
  226. };
  227. port2 {
  228. ranges = <0 0 0xc 0x30000000 0 0x10000000>;
  229. };
  230. };
  231. lbc: localbus@ffe124000 {
  232. reg = <0xf 0xfe124000 0 0x1000>;
  233. ranges = <0 0 0xf 0xe8000000 0x08000000
  234. 3 0 0xf 0xffdf0000 0x00008000>;
  235. flash@0,0 {
  236. compatible = "cfi-flash";
  237. reg = <0 0 0x08000000>;
  238. bank-width = <2>;
  239. device-width = <2>;
  240. };
  241. board-control@3,0 {
  242. compatible = "fsl,p4080ds-fpga", "fsl,fpga-ngpixis";
  243. reg = <3 0 0x30>;
  244. };
  245. };
  246. pci0: pcie@ffe200000 {
  247. reg = <0xf 0xfe200000 0 0x1000>;
  248. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  249. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  250. pcie@0 {
  251. ranges = <0x02000000 0 0xe0000000
  252. 0x02000000 0 0xe0000000
  253. 0 0x20000000
  254. 0x01000000 0 0x00000000
  255. 0x01000000 0 0x00000000
  256. 0 0x00010000>;
  257. };
  258. };
  259. pci1: pcie@ffe201000 {
  260. reg = <0xf 0xfe201000 0 0x1000>;
  261. ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
  262. 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
  263. pcie@0 {
  264. ranges = <0x02000000 0 0xe0000000
  265. 0x02000000 0 0xe0000000
  266. 0 0x20000000
  267. 0x01000000 0 0x00000000
  268. 0x01000000 0 0x00000000
  269. 0 0x00010000>;
  270. };
  271. };
  272. pci2: pcie@ffe202000 {
  273. reg = <0xf 0xfe202000 0 0x1000>;
  274. ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
  275. 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
  276. pcie@0 {
  277. ranges = <0x02000000 0 0xe0000000
  278. 0x02000000 0 0xe0000000
  279. 0 0x20000000
  280. 0x01000000 0 0x00000000
  281. 0x01000000 0 0x00000000
  282. 0 0x00010000>;
  283. };
  284. };
  285. mdio-mux-emi1 {
  286. #address-cells = <1>;
  287. #size-cells = <0>;
  288. compatible = "mdio-mux-gpio", "mdio-mux";
  289. mdio-parent-bus = <&mdio0>;
  290. gpios = <&gpio0 1 0>, <&gpio0 0 0>;
  291. p4080mdio0: mdio@0 {
  292. #address-cells = <1>;
  293. #size-cells = <0>;
  294. reg = <0>;
  295. phyrgmii: ethernet-phy@0 {
  296. reg = <0x0>;
  297. };
  298. };
  299. p4080mdio1: mdio@1 {
  300. #address-cells = <1>;
  301. #size-cells = <0>;
  302. reg = <1>;
  303. phy5: ethernet-phy@1c {
  304. reg = <0x1c>;
  305. };
  306. phy6: ethernet-phy@1d {
  307. reg = <0x1d>;
  308. };
  309. phy7: ethernet-phy@1e {
  310. reg = <0x1e>;
  311. };
  312. phy8: ethernet-phy@1f {
  313. reg = <0x1f>;
  314. };
  315. };
  316. p4080mdio2: mdio@2 {
  317. #address-cells = <1>;
  318. #size-cells = <0>;
  319. reg = <2>;
  320. status = "disabled";
  321. phy5slot3: ethernet-phy@1c {
  322. reg = <0x1c>;
  323. };
  324. phy6slot3: ethernet-phy@1d {
  325. reg = <0x1d>;
  326. };
  327. phy7slot3: ethernet-phy@1e {
  328. reg = <0x1e>;
  329. };
  330. phy8slot3: ethernet-phy@1f {
  331. reg = <0x1f>;
  332. };
  333. };
  334. p4080mdio3: mdio@3 {
  335. #address-cells = <1>;
  336. #size-cells = <0>;
  337. reg = <3>;
  338. phy0: ethernet-phy@1c {
  339. reg = <0x1c>;
  340. };
  341. phy1: ethernet-phy@1d {
  342. reg = <0x1d>;
  343. };
  344. phy2: ethernet-phy@1e {
  345. reg = <0x1e>;
  346. };
  347. phy3: ethernet-phy@1f {
  348. reg = <0x1f>;
  349. };
  350. };
  351. };
  352. mdio-mux-emi2 {
  353. #address-cells = <1>;
  354. #size-cells = <0>;
  355. compatible = "mdio-mux-gpio", "mdio-mux";
  356. mdio-parent-bus = <&xmdio0>;
  357. gpios = <&gpio0 3 0>, <&gpio0 2 0>;
  358. p4080xmdio1: mdio@1 {
  359. #address-cells = <1>;
  360. #size-cells = <0>;
  361. reg = <1>;
  362. phy11: ethernet-phy@0 {
  363. compatible = "ethernet-phy-ieee802.3-c45";
  364. reg = <0x0>;
  365. };
  366. };
  367. p4080xmdio3: mdio@3 {
  368. #address-cells = <1>;
  369. #size-cells = <0>;
  370. reg = <3>;
  371. phy10: ethernet-phy@4 {
  372. compatible = "ethernet-phy-ieee802.3-c45";
  373. reg = <0x4>;
  374. };
  375. };
  376. };
  377. };
  378. /include/ "p4080si-post.dtsi"