p5040ds.dts 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /*
  2. * P5040DS Device Tree Source
  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. /include/ "fsl/p5040si-pre.dtsi"
  35. / {
  36. model = "fsl,P5040DS";
  37. compatible = "fsl,P5040DS";
  38. #address-cells = <2>;
  39. #size-cells = <2>;
  40. interrupt-parent = <&mpic>;
  41. memory {
  42. device_type = "memory";
  43. };
  44. dcsr: dcsr@f00000000 {
  45. ranges = <0x00000000 0xf 0x00000000 0x01008000>;
  46. };
  47. soc: soc@ffe000000 {
  48. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  49. reg = <0xf 0xfe000000 0 0x00001000>;
  50. spi@110000 {
  51. flash@0 {
  52. #address-cells = <1>;
  53. #size-cells = <1>;
  54. compatible = "spansion,s25sl12801";
  55. reg = <0>;
  56. spi-max-frequency = <40000000>; /* input clock */
  57. partition@u-boot {
  58. label = "u-boot";
  59. reg = <0x00000000 0x00100000>;
  60. };
  61. partition@kernel {
  62. label = "kernel";
  63. reg = <0x00100000 0x00500000>;
  64. };
  65. partition@dtb {
  66. label = "dtb";
  67. reg = <0x00600000 0x00100000>;
  68. };
  69. partition@fs {
  70. label = "file system";
  71. reg = <0x00700000 0x00900000>;
  72. };
  73. };
  74. };
  75. i2c@118100 {
  76. eeprom@51 {
  77. compatible = "at24,24c256";
  78. reg = <0x51>;
  79. };
  80. eeprom@52 {
  81. compatible = "at24,24c256";
  82. reg = <0x52>;
  83. };
  84. };
  85. i2c@119100 {
  86. rtc@68 {
  87. compatible = "dallas,ds3232";
  88. reg = <0x68>;
  89. interrupts = <0x1 0x1 0 0>;
  90. };
  91. adt7461@4c {
  92. compatible = "adi,adt7461";
  93. reg = <0x4c>;
  94. };
  95. };
  96. };
  97. lbc: localbus@ffe124000 {
  98. reg = <0xf 0xfe124000 0 0x1000>;
  99. ranges = <0 0 0xf 0xe8000000 0x08000000
  100. 2 0 0xf 0xffa00000 0x00040000
  101. 3 0 0xf 0xffdf0000 0x00008000>;
  102. flash@0,0 {
  103. compatible = "cfi-flash";
  104. reg = <0 0 0x08000000>;
  105. bank-width = <2>;
  106. device-width = <2>;
  107. };
  108. nand@2,0 {
  109. #address-cells = <1>;
  110. #size-cells = <1>;
  111. compatible = "fsl,elbc-fcm-nand";
  112. reg = <0x2 0x0 0x40000>;
  113. partition@0 {
  114. label = "NAND U-Boot Image";
  115. reg = <0x0 0x02000000>;
  116. };
  117. partition@2000000 {
  118. label = "NAND Root File System";
  119. reg = <0x02000000 0x10000000>;
  120. };
  121. partition@12000000 {
  122. label = "NAND Compressed RFS Image";
  123. reg = <0x12000000 0x08000000>;
  124. };
  125. partition@1a000000 {
  126. label = "NAND Linux Kernel Image";
  127. reg = <0x1a000000 0x04000000>;
  128. };
  129. partition@1e000000 {
  130. label = "NAND DTB Image";
  131. reg = <0x1e000000 0x01000000>;
  132. };
  133. partition@1f000000 {
  134. label = "NAND Writable User area";
  135. reg = <0x1f000000 0x01000000>;
  136. };
  137. };
  138. board-control@3,0 {
  139. compatible = "fsl,p5040ds-fpga", "fsl,fpga-ngpixis";
  140. reg = <3 0 0x40>;
  141. };
  142. };
  143. pci0: pcie@ffe200000 {
  144. reg = <0xf 0xfe200000 0 0x1000>;
  145. ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
  146. 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
  147. pcie@0 {
  148. ranges = <0x02000000 0 0xe0000000
  149. 0x02000000 0 0xe0000000
  150. 0 0x20000000
  151. 0x01000000 0 0x00000000
  152. 0x01000000 0 0x00000000
  153. 0 0x00010000>;
  154. };
  155. };
  156. pci1: pcie@ffe201000 {
  157. reg = <0xf 0xfe201000 0 0x1000>;
  158. ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
  159. 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
  160. pcie@0 {
  161. ranges = <0x02000000 0 0xe0000000
  162. 0x02000000 0 0xe0000000
  163. 0 0x20000000
  164. 0x01000000 0 0x00000000
  165. 0x01000000 0 0x00000000
  166. 0 0x00010000>;
  167. };
  168. };
  169. pci2: pcie@ffe202000 {
  170. reg = <0xf 0xfe202000 0 0x1000>;
  171. ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
  172. 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
  173. pcie@0 {
  174. ranges = <0x02000000 0 0xe0000000
  175. 0x02000000 0 0xe0000000
  176. 0 0x20000000
  177. 0x01000000 0 0x00000000
  178. 0x01000000 0 0x00000000
  179. 0 0x00010000>;
  180. };
  181. };
  182. };
  183. /include/ "fsl/p5040si-post.dtsi"