p1024rdb.dtsi 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. /*
  2. * P1024 RDB Device Tree Source stub (no addresses or top-level ranges)
  3. *
  4. * Copyright 2012 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. &lbc {
  35. nor@0,0 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. compatible = "cfi-flash";
  39. reg = <0x0 0x0 0x1000000>;
  40. bank-width = <2>;
  41. device-width = <1>;
  42. partition@0 {
  43. /* This location must not be altered */
  44. /* 256KB for Vitesse 7385 Switch firmware */
  45. reg = <0x0 0x00040000>;
  46. label = "NOR Vitesse-7385 Firmware";
  47. read-only;
  48. };
  49. partition@40000 {
  50. /* 256KB for DTB Image */
  51. reg = <0x00040000 0x00040000>;
  52. label = "NOR DTB Image";
  53. };
  54. partition@80000 {
  55. /* 3.5 MB for Linux Kernel Image */
  56. reg = <0x00080000 0x00380000>;
  57. label = "NOR Linux Kernel Image";
  58. };
  59. partition@400000 {
  60. /* 11MB for JFFS2 based Root file System */
  61. reg = <0x00400000 0x00b00000>;
  62. label = "NOR JFFS2 Root File System";
  63. };
  64. partition@f00000 {
  65. /* This location must not be altered */
  66. /* 512KB for u-boot Bootloader Image */
  67. /* 512KB for u-boot Environment Variables */
  68. reg = <0x00f00000 0x00100000>;
  69. label = "NOR U-Boot Image";
  70. read-only;
  71. };
  72. };
  73. nand@1,0 {
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. compatible = "fsl,p1020-fcm-nand",
  77. "fsl,elbc-fcm-nand";
  78. reg = <0x1 0x0 0x40000>;
  79. partition@0 {
  80. /* This location must not be altered */
  81. /* 1MB for u-boot Bootloader Image */
  82. reg = <0x0 0x00100000>;
  83. label = "NAND U-Boot Image";
  84. read-only;
  85. };
  86. partition@100000 {
  87. /* 1MB for DTB Image */
  88. reg = <0x00100000 0x00100000>;
  89. label = "NAND DTB Image";
  90. };
  91. partition@200000 {
  92. /* 4MB for Linux Kernel Image */
  93. reg = <0x00200000 0x00400000>;
  94. label = "NAND Linux Kernel Image";
  95. };
  96. partition@600000 {
  97. /* 4MB for Compressed Root file System Image */
  98. reg = <0x00600000 0x00400000>;
  99. label = "NAND Compressed RFS Image";
  100. };
  101. partition@a00000 {
  102. /* 15MB for JFFS2 based Root file System */
  103. reg = <0x00a00000 0x00f00000>;
  104. label = "NAND JFFS2 Root File System";
  105. };
  106. partition@1900000 {
  107. /* 7MB for User Writable Area */
  108. reg = <0x01900000 0x00700000>;
  109. label = "NAND Writable User area";
  110. };
  111. };
  112. };
  113. &soc {
  114. spi@7000 {
  115. flash@0 {
  116. #address-cells = <1>;
  117. #size-cells = <1>;
  118. compatible = "spansion,m25p80", "jedec,spi-nor";
  119. reg = <0>;
  120. spi-max-frequency = <40000000>;
  121. partition@0 {
  122. /* 512KB for u-boot Bootloader Image */
  123. reg = <0x0 0x00080000>;
  124. label = "SPI U-Boot Image";
  125. read-only;
  126. };
  127. partition@80000 {
  128. /* 512KB for DTB Image */
  129. reg = <0x00080000 0x00080000>;
  130. label = "SPI DTB Image";
  131. };
  132. partition@100000 {
  133. /* 4MB for Linux Kernel Image */
  134. reg = <0x00100000 0x00400000>;
  135. label = "SPI Linux Kernel Image";
  136. };
  137. partition@500000 {
  138. /* 4MB for Compressed RFS Image */
  139. reg = <0x00500000 0x00400000>;
  140. label = "SPI Compressed RFS Image";
  141. };
  142. partition@900000 {
  143. /* 7MB for JFFS2 based RFS */
  144. reg = <0x00900000 0x00700000>;
  145. label = "SPI JFFS2 RFS";
  146. };
  147. };
  148. };
  149. i2c@3000 {
  150. rtc@68 {
  151. compatible = "dallas,ds1339";
  152. reg = <0x68>;
  153. };
  154. };
  155. usb@22000 {
  156. phy_type = "ulpi";
  157. };
  158. usb@23000 {
  159. status = "disabled";
  160. };
  161. mdio@24000 {
  162. phy0: ethernet-phy@0 {
  163. interrupts = <3 1 0 0>;
  164. reg = <0x0>;
  165. };
  166. phy1: ethernet-phy@1 {
  167. interrupts = <2 1 0 0>;
  168. reg = <0x1>;
  169. };
  170. phy2: ethernet-phy@2 {
  171. interrupts = <1 1 0 0>;
  172. reg = <0x2>;
  173. };
  174. };
  175. mdio@25000 {
  176. tbi0: tbi-phy@11 {
  177. reg = <0x11>;
  178. device_type = "tbi-phy";
  179. };
  180. };
  181. mdio@26000 {
  182. tbi1: tbi-phy@11 {
  183. reg = <0x11>;
  184. device_type = "tbi-phy";
  185. };
  186. };
  187. ethernet@b0000 {
  188. phy-handle = <&phy2>;
  189. phy-connection-type = "rgmii-id";
  190. };
  191. ethernet@b1000 {
  192. phy-handle = <&phy0>;
  193. tbi-handle = <&tbi0>;
  194. phy-connection-type = "sgmii";
  195. };
  196. ethernet@b2000 {
  197. phy-handle = <&phy1>;
  198. phy-connection-type = "rgmii-id";
  199. };
  200. };