p1010rdb.dtsi 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. /*
  2. * P1010 RDB 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_ifc {
  35. nor@0,0 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. compatible = "cfi-flash";
  39. reg = <0x0 0x0 0x2000000>;
  40. bank-width = <2>;
  41. device-width = <1>;
  42. partition@40000 {
  43. /* 256KB for DTB Image */
  44. reg = <0x00040000 0x00040000>;
  45. label = "NOR DTB Image";
  46. };
  47. partition@80000 {
  48. /* 7 MB for Linux Kernel Image */
  49. reg = <0x00080000 0x00700000>;
  50. label = "NOR Linux Kernel Image";
  51. };
  52. partition@800000 {
  53. /* 20MB for JFFS2 based Root file System */
  54. reg = <0x00800000 0x01400000>;
  55. label = "NOR JFFS2 Root File System";
  56. };
  57. partition@1f00000 {
  58. /* This location must not be altered */
  59. /* 512KB for u-boot Bootloader Image */
  60. /* 512KB for u-boot Environment Variables */
  61. reg = <0x01f00000 0x00100000>;
  62. label = "NOR U-Boot Image";
  63. read-only;
  64. };
  65. };
  66. ifc_nand: nand@1,0 {
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. compatible = "fsl,ifc-nand";
  70. reg = <0x1 0x0 0x10000>;
  71. };
  72. cpld@3,0 {
  73. #address-cells = <1>;
  74. #size-cells = <1>;
  75. compatible = "fsl,p1010rdb-cpld";
  76. reg = <0x3 0x0 0x0000020>;
  77. bank-width = <1>;
  78. device-width = <1>;
  79. };
  80. };
  81. &board_soc {
  82. i2c@3000 {
  83. eeprom@50 {
  84. compatible = "st,24c256", "atmel,24c256";
  85. reg = <0x50>;
  86. };
  87. rtc@68 {
  88. compatible = "pericom,pt7c4338";
  89. reg = <0x68>;
  90. };
  91. };
  92. i2c@3100 {
  93. eeprom@52 {
  94. compatible = "atmel,24c01";
  95. reg = <0x52>;
  96. };
  97. };
  98. spi@7000 {
  99. flash@0 {
  100. #address-cells = <1>;
  101. #size-cells = <1>;
  102. compatible = "spansion,s25sl12801", "jedec,spi-nor";
  103. reg = <0>;
  104. spi-max-frequency = <40000000>;
  105. partition@0 {
  106. /* 1MB for u-boot Bootloader Image */
  107. /* 1MB for Environment */
  108. reg = <0x0 0x00100000>;
  109. label = "SPI Flash U-Boot Image";
  110. read-only;
  111. };
  112. partition@100000 {
  113. /* 512KB for DTB Image */
  114. reg = <0x00100000 0x00080000>;
  115. label = "SPI Flash DTB Image";
  116. };
  117. partition@180000 {
  118. /* 4MB for Linux Kernel Image */
  119. reg = <0x00180000 0x00400000>;
  120. label = "SPI Flash Linux Kernel Image";
  121. };
  122. partition@580000 {
  123. /* 4MB for Compressed RFS Image */
  124. reg = <0x00580000 0x00400000>;
  125. label = "SPI Flash Compressed RFSImage";
  126. };
  127. partition@980000 {
  128. /* 6.5MB for JFFS2 based RFS */
  129. reg = <0x00980000 0x00680000>;
  130. label = "SPI Flash JFFS2 RFS";
  131. };
  132. };
  133. };
  134. usb@22000 {
  135. phy_type = "utmi";
  136. dr_mode = "host";
  137. };
  138. mdio@24000 {
  139. phy0: ethernet-phy@0 {
  140. reg = <0x1>;
  141. };
  142. phy1: ethernet-phy@1 {
  143. reg = <0x0>;
  144. };
  145. phy2: ethernet-phy@2 {
  146. reg = <0x2>;
  147. };
  148. tbi-phy@3 {
  149. device_type = "tbi-phy";
  150. reg = <0x3>;
  151. };
  152. };
  153. mdio@25000 {
  154. tbi0: tbi-phy@11 {
  155. reg = <0x11>;
  156. device_type = "tbi-phy";
  157. };
  158. };
  159. mdio@26000 {
  160. tbi1: tbi-phy@11 {
  161. reg = <0x11>;
  162. device_type = "tbi-phy";
  163. };
  164. };
  165. ptp_clock@b0e00 {
  166. compatible = "fsl,etsec-ptp";
  167. reg = <0xb0e00 0xb0>;
  168. interrupts = <68 2 0 0 69 2 0 0>;
  169. fsl,tclk-period = <10>;
  170. fsl,tmr-prsc = <2>;
  171. fsl,tmr-add = <0x80000016>;
  172. fsl,tmr-fiper1 = <999999990>;
  173. fsl,tmr-fiper2 = <99990>;
  174. fsl,max-adj = <199999999>;
  175. };
  176. enet0: ethernet@b0000 {
  177. phy-handle = <&phy0>;
  178. phy-connection-type = "rgmii-id";
  179. };
  180. enet1: ethernet@b1000 {
  181. phy-handle = <&phy1>;
  182. tbi-handle = <&tbi0>;
  183. phy-connection-type = "sgmii";
  184. };
  185. enet2: ethernet@b2000 {
  186. phy-handle = <&phy2>;
  187. tbi-handle = <&tbi1>;
  188. phy-connection-type = "sgmii";
  189. };
  190. };
  191. &pci0 {
  192. pcie@0 {
  193. interrupt-map = <
  194. /* IDSEL 0x0 */
  195. /*
  196. *irq[4:5] are active-high
  197. *irq[6:7] are active-low
  198. */
  199. 0000 0x0 0x0 0x1 &mpic 0x4 0x2 0x0 0x0
  200. 0000 0x0 0x0 0x2 &mpic 0x5 0x2 0x0 0x0
  201. 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
  202. 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
  203. >;
  204. };
  205. };