p1022ds.dtsi 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. /*
  2. * P1022 DS 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. &board_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. read-only;
  46. };
  47. partition@3000000 {
  48. reg = <0x03000000 0x00e00000>;
  49. label = "diagnostic-nor";
  50. read-only;
  51. };
  52. partition@3e00000 {
  53. reg = <0x03e00000 0x00200000>;
  54. label = "dink-nor";
  55. read-only;
  56. };
  57. partition@4000000 {
  58. reg = <0x04000000 0x00400000>;
  59. label = "kernel-nor";
  60. read-only;
  61. };
  62. partition@4400000 {
  63. reg = <0x04400000 0x03b00000>;
  64. label = "jffs2-nor";
  65. };
  66. partition@7f00000 {
  67. reg = <0x07f00000 0x00080000>;
  68. label = "dtb-nor";
  69. read-only;
  70. };
  71. partition@7f80000 {
  72. reg = <0x07f80000 0x00080000>;
  73. label = "u-boot-nor";
  74. read-only;
  75. };
  76. };
  77. nand@2,0 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "fsl,elbc-fcm-nand";
  81. reg = <0x2 0x0 0x40000>;
  82. partition@0 {
  83. reg = <0x0 0x02000000>;
  84. label = "u-boot-nand";
  85. read-only;
  86. };
  87. partition@2000000 {
  88. reg = <0x02000000 0x10000000>;
  89. label = "jffs2-nand";
  90. };
  91. partition@12000000 {
  92. reg = <0x12000000 0x10000000>;
  93. label = "ramdisk-nand";
  94. read-only;
  95. };
  96. partition@22000000 {
  97. reg = <0x22000000 0x04000000>;
  98. label = "kernel-nand";
  99. };
  100. partition@26000000 {
  101. reg = <0x26000000 0x01000000>;
  102. label = "dtb-nand";
  103. read-only;
  104. };
  105. partition@27000000 {
  106. reg = <0x27000000 0x19000000>;
  107. label = "reserved-nand";
  108. };
  109. };
  110. board-control@3,0 {
  111. compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
  112. reg = <3 0 0x30>;
  113. interrupt-parent = <&mpic>;
  114. /*
  115. * IRQ8 is generated if the "EVENT" switch is pressed
  116. * and PX_CTL[EVESEL] is set to 00.
  117. */
  118. interrupts = <8 0 0 0>;
  119. };
  120. };
  121. &board_soc {
  122. i2c@3100 {
  123. wm8776:codec@1a {
  124. compatible = "wlf,wm8776";
  125. reg = <0x1a>;
  126. /*
  127. * clock-frequency will be set by U-Boot if
  128. * the clock is enabled.
  129. */
  130. };
  131. rtc@68 {
  132. compatible = "dallas,ds1339";
  133. reg = <0x68>;
  134. };
  135. adt7461@4c {
  136. compatible = "adi,adt7461";
  137. reg = <0x4c>;
  138. };
  139. };
  140. spi@7000 {
  141. flash@0 {
  142. #address-cells = <1>;
  143. #size-cells = <1>;
  144. compatible = "spansion,s25sl12801";
  145. reg = <0>;
  146. spi-max-frequency = <40000000>; /* input clock */
  147. partition@0 {
  148. label = "u-boot-spi";
  149. reg = <0x00000000 0x00100000>;
  150. read-only;
  151. };
  152. partition@100000 {
  153. label = "kernel-spi";
  154. reg = <0x00100000 0x00500000>;
  155. read-only;
  156. };
  157. partition@600000 {
  158. label = "dtb-spi";
  159. reg = <0x00600000 0x00100000>;
  160. read-only;
  161. };
  162. partition@700000 {
  163. label = "file system-spi";
  164. reg = <0x00700000 0x00900000>;
  165. };
  166. };
  167. };
  168. ssi@15000 {
  169. fsl,mode = "i2s-slave";
  170. codec-handle = <&wm8776>;
  171. fsl,ssi-asynchronous;
  172. };
  173. usb@22000 {
  174. phy_type = "ulpi";
  175. };
  176. usb@23000 {
  177. status = "disabled";
  178. };
  179. mdio@24000 {
  180. phy0: ethernet-phy@0 {
  181. interrupts = <3 1 0 0>;
  182. reg = <0x1>;
  183. };
  184. phy1: ethernet-phy@1 {
  185. interrupts = <9 1 0 0>;
  186. reg = <0x2>;
  187. };
  188. tbi-phy@2 {
  189. device_type = "tbi-phy";
  190. reg = <0x2>;
  191. };
  192. };
  193. ethernet@b0000 {
  194. phy-handle = <&phy0>;
  195. phy-connection-type = "rgmii-id";
  196. };
  197. ethernet@b1000 {
  198. phy-handle = <&phy1>;
  199. phy-connection-type = "rgmii-id";
  200. };
  201. };