p1010rdb.dtsi 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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. rtc@68 {
  116. compatible = "pericom,pt7c4338";
  117. reg = <0x68>;
  118. };
  119. };
  120. spi@7000 {
  121. flash@0 {
  122. #address-cells = <1>;
  123. #size-cells = <1>;
  124. compatible = "spansion,s25sl12801";
  125. reg = <0>;
  126. spi-max-frequency = <40000000>;
  127. partition@0 {
  128. /* 1MB for u-boot Bootloader Image */
  129. /* 1MB for Environment */
  130. reg = <0x0 0x00100000>;
  131. label = "SPI Flash U-Boot Image";
  132. read-only;
  133. };
  134. partition@100000 {
  135. /* 512KB for DTB Image */
  136. reg = <0x00100000 0x00080000>;
  137. label = "SPI Flash DTB Image";
  138. };
  139. partition@180000 {
  140. /* 4MB for Linux Kernel Image */
  141. reg = <0x00180000 0x00400000>;
  142. label = "SPI Flash Linux Kernel Image";
  143. };
  144. partition@580000 {
  145. /* 4MB for Compressed RFS Image */
  146. reg = <0x00580000 0x00400000>;
  147. label = "SPI Flash Compressed RFSImage";
  148. };
  149. partition@980000 {
  150. /* 6.5MB for JFFS2 based RFS */
  151. reg = <0x00980000 0x00680000>;
  152. label = "SPI Flash JFFS2 RFS";
  153. };
  154. };
  155. };
  156. usb@22000 {
  157. phy_type = "utmi";
  158. dr_mode = "host";
  159. };
  160. mdio@24000 {
  161. phy0: ethernet-phy@0 {
  162. interrupts = <3 1 0 0>;
  163. reg = <0x1>;
  164. };
  165. phy1: ethernet-phy@1 {
  166. interrupts = <2 1 0 0>;
  167. reg = <0x0>;
  168. };
  169. phy2: ethernet-phy@2 {
  170. interrupts = <2 1 0 0>;
  171. reg = <0x2>;
  172. };
  173. tbi-phy@3 {
  174. device_type = "tbi-phy";
  175. reg = <0x3>;
  176. };
  177. };
  178. mdio@25000 {
  179. tbi0: tbi-phy@11 {
  180. reg = <0x11>;
  181. device_type = "tbi-phy";
  182. };
  183. };
  184. mdio@26000 {
  185. tbi1: tbi-phy@11 {
  186. reg = <0x11>;
  187. device_type = "tbi-phy";
  188. };
  189. };
  190. enet0: ethernet@b0000 {
  191. phy-handle = <&phy0>;
  192. phy-connection-type = "rgmii-id";
  193. };
  194. enet1: ethernet@b1000 {
  195. phy-handle = <&phy1>;
  196. tbi-handle = <&tbi0>;
  197. phy-connection-type = "sgmii";
  198. };
  199. enet2: ethernet@b2000 {
  200. phy-handle = <&phy2>;
  201. tbi-handle = <&tbi1>;
  202. phy-connection-type = "sgmii";
  203. };
  204. };