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