p1010rdb.dtsi 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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. nand@1,0 {
  67. #address-cells = <1>;
  68. #size-cells = <1>;
  69. compatible = "fsl,ifc-nand";
  70. reg = <0x1 0x0 0x10000>;
  71. partition@0 {
  72. /* This location must not be altered */
  73. /* 1MB for u-boot Bootloader Image */
  74. reg = <0x0 0x00100000>;
  75. label = "NAND U-Boot Image";
  76. read-only;
  77. };
  78. partition@100000 {
  79. /* 1MB for DTB Image */
  80. reg = <0x00100000 0x00100000>;
  81. label = "NAND DTB Image";
  82. };
  83. partition@200000 {
  84. /* 4MB for Linux Kernel Image */
  85. reg = <0x00200000 0x00400000>;
  86. label = "NAND Linux Kernel Image";
  87. };
  88. partition@600000 {
  89. /* 4MB for Compressed Root file System Image */
  90. reg = <0x00600000 0x00400000>;
  91. label = "NAND Compressed RFS Image";
  92. };
  93. partition@a00000 {
  94. /* 15MB for JFFS2 based Root file System */
  95. reg = <0x00a00000 0x00f00000>;
  96. label = "NAND JFFS2 Root File System";
  97. };
  98. partition@1900000 {
  99. /* 7MB for User Area */
  100. reg = <0x01900000 0x00700000>;
  101. label = "NAND User area";
  102. };
  103. };
  104. cpld@3,0 {
  105. #address-cells = <1>;
  106. #size-cells = <1>;
  107. compatible = "fsl,p1010rdb-cpld";
  108. reg = <0x3 0x0 0x0000020>;
  109. bank-width = <1>;
  110. device-width = <1>;
  111. };
  112. };
  113. &board_soc {
  114. i2c@3000 {
  115. eeprom@50 {
  116. compatible = "st,24c256";
  117. reg = <0x50>;
  118. };
  119. rtc@68 {
  120. compatible = "pericom,pt7c4338";
  121. reg = <0x68>;
  122. };
  123. };
  124. i2c@3100 {
  125. eeprom@52 {
  126. compatible = "atmel,24c01";
  127. reg = <0x52>;
  128. };
  129. };
  130. spi@7000 {
  131. flash@0 {
  132. #address-cells = <1>;
  133. #size-cells = <1>;
  134. compatible = "spansion,s25sl12801";
  135. reg = <0>;
  136. spi-max-frequency = <40000000>;
  137. partition@0 {
  138. /* 1MB for u-boot Bootloader Image */
  139. /* 1MB for Environment */
  140. reg = <0x0 0x00100000>;
  141. label = "SPI Flash U-Boot Image";
  142. read-only;
  143. };
  144. partition@100000 {
  145. /* 512KB for DTB Image */
  146. reg = <0x00100000 0x00080000>;
  147. label = "SPI Flash DTB Image";
  148. };
  149. partition@180000 {
  150. /* 4MB for Linux Kernel Image */
  151. reg = <0x00180000 0x00400000>;
  152. label = "SPI Flash Linux Kernel Image";
  153. };
  154. partition@580000 {
  155. /* 4MB for Compressed RFS Image */
  156. reg = <0x00580000 0x00400000>;
  157. label = "SPI Flash Compressed RFSImage";
  158. };
  159. partition@980000 {
  160. /* 6.5MB for JFFS2 based RFS */
  161. reg = <0x00980000 0x00680000>;
  162. label = "SPI Flash JFFS2 RFS";
  163. };
  164. };
  165. };
  166. usb@22000 {
  167. phy_type = "utmi";
  168. dr_mode = "host";
  169. };
  170. mdio@24000 {
  171. phy0: ethernet-phy@0 {
  172. interrupts = <3 1 0 0>;
  173. reg = <0x1>;
  174. };
  175. phy1: ethernet-phy@1 {
  176. interrupts = <2 1 0 0>;
  177. reg = <0x0>;
  178. };
  179. phy2: ethernet-phy@2 {
  180. interrupts = <2 1 0 0>;
  181. reg = <0x2>;
  182. };
  183. tbi-phy@3 {
  184. device_type = "tbi-phy";
  185. reg = <0x3>;
  186. };
  187. };
  188. mdio@25000 {
  189. tbi0: tbi-phy@11 {
  190. reg = <0x11>;
  191. device_type = "tbi-phy";
  192. };
  193. };
  194. mdio@26000 {
  195. tbi1: tbi-phy@11 {
  196. reg = <0x11>;
  197. device_type = "tbi-phy";
  198. };
  199. };
  200. enet0: ethernet@b0000 {
  201. phy-handle = <&phy0>;
  202. phy-connection-type = "rgmii-id";
  203. };
  204. enet1: ethernet@b1000 {
  205. phy-handle = <&phy1>;
  206. tbi-handle = <&tbi0>;
  207. phy-connection-type = "sgmii";
  208. };
  209. enet2: ethernet@b2000 {
  210. phy-handle = <&phy2>;
  211. tbi-handle = <&tbi1>;
  212. phy-connection-type = "sgmii";
  213. };
  214. };