p1021rdb-pc.dtsi 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. /*
  2. * P1021 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. /* 10.75MB for JFFS2 based Root file System */
  61. reg = <0x00400000 0x00ac0000>;
  62. label = "NOR JFFS2 Root File System";
  63. };
  64. partition@ec0000 {
  65. /* This location must not be altered */
  66. /* 256KB for QE ucode firmware*/
  67. reg = <0x00ec0000 0x00040000>;
  68. label = "NOR QE microcode firmware";
  69. read-only;
  70. };
  71. partition@f00000 {
  72. /* This location must not be altered */
  73. /* 512KB for u-boot Bootloader Image */
  74. /* 512KB for u-boot Environment Variables */
  75. reg = <0x00f00000 0x00100000>;
  76. label = "NOR U-Boot Image";
  77. };
  78. };
  79. nand@1,0 {
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. compatible = "fsl,p1021-fcm-nand",
  83. "fsl,elbc-fcm-nand";
  84. reg = <0x1 0x0 0x40000>;
  85. partition@0 {
  86. /* This location must not be altered */
  87. /* 1MB for u-boot Bootloader Image */
  88. reg = <0x0 0x00100000>;
  89. label = "NAND U-Boot Image";
  90. read-only;
  91. };
  92. partition@100000 {
  93. /* 1MB for DTB Image */
  94. reg = <0x00100000 0x00100000>;
  95. label = "NAND DTB Image";
  96. };
  97. partition@200000 {
  98. /* 4MB for Linux Kernel Image */
  99. reg = <0x00200000 0x00400000>;
  100. label = "NAND Linux Kernel Image";
  101. };
  102. partition@600000 {
  103. /* 4MB for Compressed Root file System Image */
  104. reg = <0x00600000 0x00400000>;
  105. label = "NAND Compressed RFS Image";
  106. };
  107. partition@a00000 {
  108. /* 7MB for JFFS2 based Root file System */
  109. reg = <0x00a00000 0x00700000>;
  110. label = "NAND JFFS2 Root File System";
  111. };
  112. partition@1100000 {
  113. /* 15MB for User Writable Area */
  114. reg = <0x01100000 0x00f00000>;
  115. label = "NAND Writable User area";
  116. };
  117. };
  118. L2switch@2,0 {
  119. #address-cells = <1>;
  120. #size-cells = <1>;
  121. compatible = "vitesse-7385";
  122. reg = <0x2 0x0 0x20000>;
  123. };
  124. };
  125. &soc {
  126. i2c@3000 {
  127. rtc@68 {
  128. compatible = "pericom,pt7c4338";
  129. reg = <0x68>;
  130. };
  131. };
  132. spi@7000 {
  133. flash@0 {
  134. #address-cells = <1>;
  135. #size-cells = <1>;
  136. compatible = "spansion,s25sl12801", "jedec,spi-nor";
  137. reg = <0>;
  138. spi-max-frequency = <40000000>; /* input clock */
  139. partition@u-boot {
  140. /* 512KB for u-boot Bootloader Image */
  141. reg = <0x0 0x00080000>;
  142. label = "SPI Flash U-Boot Image";
  143. read-only;
  144. };
  145. partition@dtb {
  146. /* 512KB for DTB Image */
  147. reg = <0x00080000 0x00080000>;
  148. label = "SPI Flash DTB Image";
  149. };
  150. partition@kernel {
  151. /* 4MB for Linux Kernel Image */
  152. reg = <0x00100000 0x00400000>;
  153. label = "SPI Flash Linux Kernel Image";
  154. };
  155. partition@fs {
  156. /* 4MB for Compressed RFS Image */
  157. reg = <0x00500000 0x00400000>;
  158. label = "SPI Flash Compressed RFSImage";
  159. };
  160. partition@jffs-fs {
  161. /* 7MB for JFFS2 based RFS */
  162. reg = <0x00900000 0x00700000>;
  163. label = "SPI Flash JFFS2 RFS";
  164. };
  165. };
  166. };
  167. usb@22000 {
  168. phy_type = "ulpi";
  169. };
  170. mdio@24000 {
  171. phy0: ethernet-phy@0 {
  172. interrupt-parent = <&mpic>;
  173. interrupts = <3 1 0 0>;
  174. reg = <0x0>;
  175. };
  176. phy1: ethernet-phy@1 {
  177. interrupt-parent = <&mpic>;
  178. interrupts = <2 1 0 0>;
  179. reg = <0x1>;
  180. };
  181. tbi0: tbi-phy@11 {
  182. reg = <0x11>;
  183. device_type = "tbi-phy";
  184. };
  185. };
  186. mdio@25000 {
  187. tbi1: tbi-phy@11 {
  188. reg = <0x11>;
  189. device_type = "tbi-phy";
  190. };
  191. };
  192. mdio@26000 {
  193. tbi2: tbi-phy@11 {
  194. reg = <0x11>;
  195. device_type = "tbi-phy";
  196. };
  197. };
  198. ptp_clock@b0e00 {
  199. compatible = "fsl,etsec-ptp";
  200. reg = <0xb0e00 0xb0>;
  201. interrupts = <68 2 0 0 69 2 0 0>;
  202. fsl,tclk-period = <10>;
  203. fsl,tmr-prsc = <2>;
  204. fsl,tmr-add = <0x80000016>;
  205. fsl,tmr-fiper1 = <999999990>;
  206. fsl,tmr-fiper2 = <99990>;
  207. fsl,max-adj = <199999999>;
  208. };
  209. enet0: ethernet@b0000 {
  210. fixed-link = <1 1 1000 0 0>;
  211. phy-connection-type = "rgmii-id";
  212. };
  213. enet1: ethernet@b1000 {
  214. phy-handle = <&phy0>;
  215. tbi-handle = <&tbi1>;
  216. phy-connection-type = "sgmii";
  217. };
  218. enet2: ethernet@b2000 {
  219. phy-handle = <&phy1>;
  220. tbi-handle = <&tbi2>;
  221. phy-connection-type = "rgmii-id";
  222. };
  223. };