b4qds.dtsi 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /*
  2. * B4420DS Device Tree Source
  3. *
  4. * Copyright 2012 - 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
  32. * this software, even if advised of the possibility of such damage.
  33. */
  34. / {
  35. model = "fsl,B4QDS";
  36. compatible = "fsl,B4QDS";
  37. #address-cells = <2>;
  38. #size-cells = <2>;
  39. interrupt-parent = <&mpic>;
  40. aliases {
  41. phy_sgmii_10 = &phy_sgmii_10;
  42. phy_sgmii_11 = &phy_sgmii_11;
  43. phy_sgmii_1c = &phy_sgmii_1c;
  44. phy_sgmii_1d = &phy_sgmii_1d;
  45. };
  46. ifc: localbus@ffe124000 {
  47. reg = <0xf 0xfe124000 0 0x2000>;
  48. ranges = <0 0 0xf 0xe8000000 0x08000000
  49. 2 0 0xf 0xff800000 0x00010000
  50. 3 0 0xf 0xffdf0000 0x00008000>;
  51. nor@0,0 {
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. compatible = "cfi-flash";
  55. reg = <0x0 0x0 0x8000000>;
  56. bank-width = <2>;
  57. device-width = <1>;
  58. };
  59. nand@2,0 {
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. compatible = "fsl,ifc-nand";
  63. reg = <0x2 0x0 0x10000>;
  64. partition@0 {
  65. /* This location must not be altered */
  66. /* 1MB for u-boot Bootloader Image */
  67. reg = <0x0 0x00100000>;
  68. label = "NAND U-Boot Image";
  69. read-only;
  70. };
  71. partition@100000 {
  72. /* 1MB for DTB Image */
  73. reg = <0x00100000 0x00100000>;
  74. label = "NAND DTB Image";
  75. };
  76. partition@200000 {
  77. /* 10MB for Linux Kernel Image */
  78. reg = <0x00200000 0x00A00000>;
  79. label = "NAND Linux Kernel Image";
  80. };
  81. partition@c00000 {
  82. /* 500MB for Root file System Image */
  83. reg = <0x00c00000 0x1F400000>;
  84. label = "NAND RFS Image";
  85. };
  86. };
  87. board-control@3,0 {
  88. compatible = "fsl,b4qds-fpga", "fsl,fpga-qixis";
  89. reg = <3 0 0x300>;
  90. };
  91. };
  92. memory {
  93. device_type = "memory";
  94. };
  95. reserved-memory {
  96. #address-cells = <2>;
  97. #size-cells = <2>;
  98. ranges;
  99. bman_fbpr: bman-fbpr {
  100. size = <0 0x1000000>;
  101. alignment = <0 0x1000000>;
  102. };
  103. qman_fqd: qman-fqd {
  104. size = <0 0x400000>;
  105. alignment = <0 0x400000>;
  106. };
  107. qman_pfdr: qman-pfdr {
  108. size = <0 0x2000000>;
  109. alignment = <0 0x2000000>;
  110. };
  111. };
  112. dcsr: dcsr@f00000000 {
  113. ranges = <0x00000000 0xf 0x00000000 0x01052000>;
  114. };
  115. bportals: bman-portals@ff4000000 {
  116. ranges = <0x0 0xf 0xf4000000 0x2000000>;
  117. };
  118. qportals: qman-portals@ff6000000 {
  119. ranges = <0x0 0xf 0xf6000000 0x2000000>;
  120. };
  121. soc: soc@ffe000000 {
  122. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  123. reg = <0xf 0xfe000000 0 0x00001000>;
  124. spi@110000 {
  125. flash@0 {
  126. #address-cells = <1>;
  127. #size-cells = <1>;
  128. compatible = "sst,sst25wf040", "jedec,spi-nor";
  129. reg = <0>;
  130. spi-max-frequency = <40000000>; /* input clock */
  131. };
  132. };
  133. sdhc@114000 {
  134. /*Disabled as there is no sdhc connector on B4420QDS board*/
  135. status = "disabled";
  136. };
  137. i2c@118000 {
  138. mux@77 {
  139. compatible = "nxp,pca9547";
  140. reg = <0x77>;
  141. #address-cells = <1>;
  142. #size-cells = <0>;
  143. i2c@0 {
  144. #address-cells = <1>;
  145. #size-cells = <0>;
  146. reg = <0>;
  147. eeprom@50 {
  148. compatible = "at24,24c64";
  149. reg = <0x50>;
  150. };
  151. eeprom@51 {
  152. compatible = "at24,24c256";
  153. reg = <0x51>;
  154. };
  155. eeprom@53 {
  156. compatible = "at24,24c256";
  157. reg = <0x53>;
  158. };
  159. eeprom@57 {
  160. compatible = "at24,24c256";
  161. reg = <0x57>;
  162. };
  163. rtc@68 {
  164. compatible = "dallas,ds3232";
  165. reg = <0x68>;
  166. };
  167. };
  168. i2c@2 {
  169. #address-cells = <1>;
  170. #size-cells = <0>;
  171. reg = <0x2>;
  172. ina220@40 {
  173. compatible = "ti,ina220";
  174. reg = <0x40>;
  175. shunt-resistor = <1000>;
  176. };
  177. };
  178. i2c@3 {
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. reg = <0x3>;
  182. adt7461@4c {
  183. compatible = "adi,adt7461";
  184. reg = <0x4c>;
  185. };
  186. };
  187. };
  188. };
  189. usb@210000 {
  190. dr_mode = "host";
  191. phy_type = "ulpi";
  192. };
  193. fman@400000 {
  194. ethernet@e0000 {
  195. phy-handle = <&phy_sgmii_10>;
  196. phy-connection-type = "sgmii";
  197. };
  198. ethernet@e2000 {
  199. phy-handle = <&phy_sgmii_11>;
  200. phy-connection-type = "sgmii";
  201. };
  202. ethernet@e4000 {
  203. phy-handle = <&phy_sgmii_1c>;
  204. phy-connection-type = "sgmii";
  205. };
  206. ethernet@e6000 {
  207. phy-handle = <&phy_sgmii_1d>;
  208. phy-connection-type = "sgmii";
  209. };
  210. mdio@fc000 {
  211. phy_sgmii_10: ethernet-phy@10 {
  212. reg = <0x10>;
  213. };
  214. phy_sgmii_11: ethernet-phy@11 {
  215. reg = <0x11>;
  216. };
  217. phy_sgmii_1c: ethernet-phy@1c {
  218. reg = <0x1c>;
  219. status = "disabled";
  220. };
  221. phy_sgmii_1d: ethernet-phy@1d {
  222. reg = <0x1d>;
  223. status = "disabled";
  224. };
  225. };
  226. };
  227. };
  228. pci0: pcie@ffe200000 {
  229. reg = <0xf 0xfe200000 0 0x10000>;
  230. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  231. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  232. pcie@0 {
  233. ranges = <0x02000000 0 0xe0000000
  234. 0x02000000 0 0xe0000000
  235. 0 0x20000000
  236. 0x01000000 0 0x00000000
  237. 0x01000000 0 0x00000000
  238. 0 0x00010000>;
  239. };
  240. };
  241. };
  242. /include/ "b4si-post.dtsi"