p1022ds.dts 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. /*
  2. * P1022 DS 36Bit Physical Address Map Device Tree Source
  3. *
  4. * Copyright 2010 Freescale Semiconductor, Inc.
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. /include/ "fsl/p1022si-pre.dtsi"
  11. / {
  12. model = "fsl,P1022DS";
  13. compatible = "fsl,P1022DS";
  14. memory {
  15. device_type = "memory";
  16. };
  17. lbc: localbus@fffe05000 {
  18. reg = <0xf 0xffe05000 0 0x1000>;
  19. ranges = <0x0 0x0 0xf 0xe8000000 0x08000000
  20. 0x1 0x0 0xf 0xe0000000 0x08000000
  21. 0x2 0x0 0xf 0xff800000 0x00040000
  22. 0x3 0x0 0xf 0xffdf0000 0x00008000>;
  23. /*
  24. * This node is used to access the pixis via "indirect" mode,
  25. * which is done by writing the pixis register index to chip
  26. * select 0 and the value to/from chip select 1. Indirect
  27. * mode is the only way to access the pixis when DIU video
  28. * is enabled. Note that this assumes that the first column
  29. * of the 'ranges' property above is the chip select number.
  30. */
  31. board-control@0,0 {
  32. compatible = "fsl,p1022ds-indirect-pixis";
  33. reg = <0x0 0x0 1 /* CS0 */
  34. 0x1 0x0 1>; /* CS1 */
  35. };
  36. nor@0,0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "cfi-flash";
  40. reg = <0x0 0x0 0x8000000>;
  41. bank-width = <2>;
  42. device-width = <1>;
  43. partition@0 {
  44. reg = <0x0 0x03000000>;
  45. label = "ramdisk-nor";
  46. read-only;
  47. };
  48. partition@3000000 {
  49. reg = <0x03000000 0x00e00000>;
  50. label = "diagnostic-nor";
  51. read-only;
  52. };
  53. partition@3e00000 {
  54. reg = <0x03e00000 0x00200000>;
  55. label = "dink-nor";
  56. read-only;
  57. };
  58. partition@4000000 {
  59. reg = <0x04000000 0x00400000>;
  60. label = "kernel-nor";
  61. read-only;
  62. };
  63. partition@4400000 {
  64. reg = <0x04400000 0x03b00000>;
  65. label = "jffs2-nor";
  66. };
  67. partition@7f00000 {
  68. reg = <0x07f00000 0x00080000>;
  69. label = "dtb-nor";
  70. read-only;
  71. };
  72. partition@7f80000 {
  73. reg = <0x07f80000 0x00080000>;
  74. label = "u-boot-nor";
  75. read-only;
  76. };
  77. };
  78. nand@2,0 {
  79. #address-cells = <1>;
  80. #size-cells = <1>;
  81. compatible = "fsl,elbc-fcm-nand";
  82. reg = <0x2 0x0 0x40000>;
  83. partition@0 {
  84. reg = <0x0 0x02000000>;
  85. label = "u-boot-nand";
  86. read-only;
  87. };
  88. partition@2000000 {
  89. reg = <0x02000000 0x10000000>;
  90. label = "jffs2-nand";
  91. };
  92. partition@12000000 {
  93. reg = <0x12000000 0x10000000>;
  94. label = "ramdisk-nand";
  95. read-only;
  96. };
  97. partition@22000000 {
  98. reg = <0x22000000 0x04000000>;
  99. label = "kernel-nand";
  100. };
  101. partition@26000000 {
  102. reg = <0x26000000 0x01000000>;
  103. label = "dtb-nand";
  104. read-only;
  105. };
  106. partition@27000000 {
  107. reg = <0x27000000 0x19000000>;
  108. label = "reserved-nand";
  109. };
  110. };
  111. board-control@3,0 {
  112. compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
  113. reg = <3 0 0x30>;
  114. interrupt-parent = <&mpic>;
  115. /*
  116. * IRQ8 is generated if the "EVENT" switch is pressed
  117. * and PX_CTL[EVESEL] is set to 00.
  118. */
  119. interrupts = <8 8 0 0>;
  120. };
  121. };
  122. soc: soc@fffe00000 {
  123. ranges = <0x0 0xf 0xffe00000 0x100000>;
  124. i2c@3100 {
  125. wm8776:codec@1a {
  126. compatible = "wlf,wm8776";
  127. reg = <0x1a>;
  128. /*
  129. * clock-frequency will be set by U-Boot if
  130. * the clock is enabled.
  131. */
  132. };
  133. };
  134. spi@7000 {
  135. flash@0 {
  136. #address-cells = <1>;
  137. #size-cells = <1>;
  138. compatible = "spansion,s25sl12801";
  139. reg = <0>;
  140. spi-max-frequency = <40000000>; /* input clock */
  141. partition@0 {
  142. label = "u-boot-spi";
  143. reg = <0x00000000 0x00100000>;
  144. read-only;
  145. };
  146. partition@100000 {
  147. label = "kernel-spi";
  148. reg = <0x00100000 0x00500000>;
  149. read-only;
  150. };
  151. partition@600000 {
  152. label = "dtb-spi";
  153. reg = <0x00600000 0x00100000>;
  154. read-only;
  155. };
  156. partition@700000 {
  157. label = "file system-spi";
  158. reg = <0x00700000 0x00900000>;
  159. };
  160. };
  161. };
  162. ssi@15000 {
  163. fsl,mode = "i2s-slave";
  164. codec-handle = <&wm8776>;
  165. fsl,ssi-asynchronous;
  166. };
  167. usb@22000 {
  168. phy_type = "ulpi";
  169. };
  170. usb@23000 {
  171. status = "disabled";
  172. };
  173. mdio@24000 {
  174. phy0: ethernet-phy@0 {
  175. interrupts = <3 1 0 0>;
  176. reg = <0x1>;
  177. };
  178. phy1: ethernet-phy@1 {
  179. interrupts = <9 1 0 0>;
  180. reg = <0x2>;
  181. };
  182. tbi-phy@2 {
  183. device_type = "tbi-phy";
  184. reg = <0x2>;
  185. };
  186. };
  187. ethernet@b0000 {
  188. phy-handle = <&phy0>;
  189. phy-connection-type = "rgmii-id";
  190. };
  191. ethernet@b1000 {
  192. phy-handle = <&phy1>;
  193. phy-connection-type = "rgmii-id";
  194. };
  195. };
  196. pci0: pcie@fffe09000 {
  197. reg = <0xf 0xffe09000 0 0x1000>;
  198. ranges = <0x2000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
  199. 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>;
  200. pcie@0 {
  201. ranges = <0x2000000 0x0 0xe0000000
  202. 0x2000000 0x0 0xe0000000
  203. 0x0 0x20000000
  204. 0x1000000 0x0 0x0
  205. 0x1000000 0x0 0x0
  206. 0x0 0x100000>;
  207. };
  208. };
  209. pci1: pcie@fffe0a000 {
  210. reg = <0xf 0xffe0a000 0 0x1000>;
  211. ranges = <0x2000000 0x0 0xe0000000 0xc 0x40000000 0x0 0x20000000
  212. 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>;
  213. pcie@0 {
  214. reg = <0x0 0x0 0x0 0x0 0x0>;
  215. ranges = <0x2000000 0x0 0xe0000000
  216. 0x2000000 0x0 0xe0000000
  217. 0x0 0x20000000
  218. 0x1000000 0x0 0x0
  219. 0x1000000 0x0 0x0
  220. 0x0 0x100000>;
  221. };
  222. };
  223. pci2: pcie@fffe0b000 {
  224. reg = <0xf 0xffe0b000 0 0x1000>;
  225. ranges = <0x2000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  226. 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;
  227. pcie@0 {
  228. ranges = <0x2000000 0x0 0xe0000000
  229. 0x2000000 0x0 0xe0000000
  230. 0x0 0x20000000
  231. 0x1000000 0x0 0x0
  232. 0x1000000 0x0 0x0
  233. 0x0 0x100000>;
  234. };
  235. };
  236. };
  237. /include/ "fsl/p1022si-post.dtsi"