mpc8536ds.dtsi 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. /*
  2. * MPC8536DS 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. &lbc {
  35. nor@0,0 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. compatible = "cfi-flash";
  39. reg = <0x0 0x0 0x8000000>;
  40. bank-width = <2>;
  41. device-width = <1>;
  42. partition@0 {
  43. reg = <0x0 0x03000000>;
  44. label = "ramdisk-nor";
  45. };
  46. partition@3000000 {
  47. reg = <0x03000000 0x00e00000>;
  48. label = "diagnostic-nor";
  49. read-only;
  50. };
  51. partition@3e00000 {
  52. reg = <0x03e00000 0x00200000>;
  53. label = "dink-nor";
  54. read-only;
  55. };
  56. partition@4000000 {
  57. reg = <0x04000000 0x00400000>;
  58. label = "kernel-nor";
  59. };
  60. partition@4400000 {
  61. reg = <0x04400000 0x03b00000>;
  62. label = "fs-nor";
  63. };
  64. partition@7f00000 {
  65. reg = <0x07f00000 0x00080000>;
  66. label = "dtb-nor";
  67. };
  68. partition@7f80000 {
  69. reg = <0x07f80000 0x00080000>;
  70. label = "u-boot-nor";
  71. read-only;
  72. };
  73. };
  74. nand@2,0 {
  75. #address-cells = <1>;
  76. #size-cells = <1>;
  77. compatible = "fsl,mpc8536-fcm-nand",
  78. "fsl,elbc-fcm-nand";
  79. reg = <0x2 0x0 0x40000>;
  80. partition@0 {
  81. reg = <0x0 0x02000000>;
  82. label = "u-boot-nand";
  83. read-only;
  84. };
  85. partition@2000000 {
  86. reg = <0x02000000 0x10000000>;
  87. label = "fs-nand";
  88. };
  89. partition@12000000 {
  90. reg = <0x12000000 0x08000000>;
  91. label = "ramdisk-nand";
  92. };
  93. partition@1a000000 {
  94. reg = <0x1a000000 0x04000000>;
  95. label = "kernel-nand";
  96. };
  97. partition@1e000000 {
  98. reg = <0x1e000000 0x01000000>;
  99. label = "dtb-nand";
  100. };
  101. partition@1f000000 {
  102. reg = <0x1f000000 0x21000000>;
  103. label = "empty-nand";
  104. };
  105. };
  106. board-control@3,0 {
  107. compatible = "fsl,mpc8536ds-fpga-pixis";
  108. reg = <0x3 0x0 0x8000>;
  109. };
  110. };
  111. &board_soc {
  112. i2c@3100 {
  113. rtc@68 {
  114. compatible = "dallas,ds3232";
  115. reg = <0x68>;
  116. interrupts = <0 0x1 0 0>;
  117. };
  118. };
  119. spi@7000 {
  120. flash@0 {
  121. #address-cells = <1>;
  122. #size-cells = <1>;
  123. compatible = "spansion,s25sl12801";
  124. reg = <0>;
  125. spi-max-frequency = <40000000>;
  126. partition@u-boot {
  127. label = "u-boot";
  128. reg = <0x00000000 0x00100000>;
  129. read-only;
  130. };
  131. partition@kernel {
  132. label = "kernel";
  133. reg = <0x00100000 0x00500000>;
  134. read-only;
  135. };
  136. partition@dtb {
  137. label = "dtb";
  138. reg = <0x00600000 0x00100000>;
  139. read-only;
  140. };
  141. partition@fs {
  142. label = "file system";
  143. reg = <0x00700000 0x00900000>;
  144. };
  145. };
  146. flash@1 {
  147. compatible = "spansion,s25sl12801";
  148. reg = <1>;
  149. spi-max-frequency = <40000000>;
  150. };
  151. flash@2 {
  152. compatible = "spansion,s25sl12801";
  153. reg = <2>;
  154. spi-max-frequency = <40000000>;
  155. };
  156. flash@3 {
  157. compatible = "spansion,s25sl12801";
  158. reg = <3>;
  159. spi-max-frequency = <40000000>;
  160. };
  161. };
  162. usb@22000 {
  163. phy_type = "ulpi";
  164. };
  165. usb@23000 {
  166. phy_type = "ulpi";
  167. };
  168. enet0: ethernet@24000 {
  169. tbi-handle = <&tbi0>;
  170. phy-handle = <&phy1>;
  171. phy-connection-type = "rgmii-id";
  172. };
  173. mdio@24520 {
  174. phy0: ethernet-phy@0 {
  175. interrupts = <10 0x1 0 0>;
  176. reg = <0>;
  177. device_type = "ethernet-phy";
  178. };
  179. phy1: ethernet-phy@1 {
  180. interrupts = <10 0x1 0 0>;
  181. reg = <1>;
  182. device_type = "ethernet-phy";
  183. };
  184. tbi0: tbi-phy@11 {
  185. reg = <0x11>;
  186. device_type = "tbi-phy";
  187. };
  188. };
  189. enet2: ethernet@26000 {
  190. tbi-handle = <&tbi1>;
  191. phy-handle = <&phy0>;
  192. phy-connection-type = "rgmii-id";
  193. };
  194. mdio@26520 {
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. compatible = "fsl,gianfar-tbi";
  198. reg = <0x26520 0x20>;
  199. tbi1: tbi-phy@11 {
  200. reg = <0x11>;
  201. device_type = "tbi-phy";
  202. };
  203. };
  204. usb@2b000 {
  205. dr_mode = "peripheral";
  206. phy_type = "ulpi";
  207. };
  208. };