pdm360ng.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /*
  2. * Device Tree Source for IFM PDM360NG.
  3. *
  4. * Copyright 2009 - 2010 DENX Software Engineering.
  5. * Anatolij Gustschin <agust@denx.de>
  6. *
  7. * Based on MPC5121E ADS dts.
  8. * Copyright 2008 Freescale Semiconductor Inc.
  9. *
  10. * This program is free software; you can redistribute it and/or modify it
  11. * under the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the License, or (at your
  13. * option) any later version.
  14. */
  15. #include <mpc5121.dtsi>
  16. / {
  17. model = "pdm360ng";
  18. compatible = "ifm,pdm360ng", "fsl,mpc5121";
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. interrupt-parent = <&ipic>;
  22. memory {
  23. device_type = "memory";
  24. reg = <0x00000000 0x20000000>; // 512MB at 0
  25. };
  26. nfc@40000000 {
  27. bank-width = <0x1>;
  28. chips = <0x1>;
  29. partition@0 {
  30. label = "nand0";
  31. reg = <0x0 0x40000000>;
  32. };
  33. };
  34. localbus@80000020 {
  35. ranges = <0x0 0x0 0xf0000000 0x10000000 /* Flash */
  36. 0x2 0x0 0x50040000 0x00020000>; /* CS2: MRAM */
  37. flash@0,0 {
  38. compatible = "amd,s29gl01gp", "cfi-flash";
  39. reg = <0 0x00000000 0x08000000
  40. 0 0x08000000 0x08000000>;
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. bank-width = <4>;
  44. device-width = <2>;
  45. partition@0 {
  46. label = "u-boot";
  47. reg = <0x00000000 0x00080000>;
  48. read-only;
  49. };
  50. partition@80000 {
  51. label = "environment";
  52. reg = <0x00080000 0x00080000>;
  53. read-only;
  54. };
  55. partition@100000 {
  56. label = "splash-image";
  57. reg = <0x00100000 0x00080000>;
  58. read-only;
  59. };
  60. partition@180000 {
  61. label = "device-tree";
  62. reg = <0x00180000 0x00040000>;
  63. };
  64. partition@1c0000 {
  65. label = "kernel";
  66. reg = <0x001c0000 0x00500000>;
  67. };
  68. partition@6c0000 {
  69. label = "filesystem";
  70. reg = <0x006c0000 0x07940000>;
  71. };
  72. };
  73. mram0@2,0 {
  74. compatible = "mtd-ram";
  75. reg = <2 0x00000 0x10000>;
  76. bank-width = <2>;
  77. };
  78. mram1@2,10000 {
  79. compatible = "mtd-ram";
  80. reg = <2 0x010000 0x10000>;
  81. bank-width = <2>;
  82. };
  83. };
  84. soc@80000000 {
  85. i2c@1700 {
  86. fsl,preserve-clocking;
  87. eeprom@50 {
  88. compatible = "at,24c01";
  89. reg = <0x50>;
  90. };
  91. rtc@68 {
  92. compatible = "st,m41t00";
  93. reg = <0x68>;
  94. };
  95. };
  96. i2c@1720 {
  97. status = "disabled";
  98. };
  99. i2c@1740 {
  100. fsl,preserve-clocking;
  101. };
  102. ethernet@2800 {
  103. phy-handle = <&phy0>;
  104. };
  105. mdio@2800 {
  106. phy0: ethernet-phy@1f {
  107. compatible = "smsc,lan8700";
  108. reg = <0x1f>;
  109. };
  110. };
  111. /* USB1 using external ULPI PHY */
  112. usb@3000 {
  113. dr_mode = "host";
  114. };
  115. /* USB0 using internal UTMI PHY */
  116. usb@4000 {
  117. fsl,invert-pwr-fault;
  118. };
  119. psc@11000 {
  120. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  121. };
  122. psc@11100 {
  123. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  124. };
  125. psc@11200 {
  126. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  127. };
  128. psc@11300 {
  129. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  130. };
  131. psc@11400 {
  132. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  133. };
  134. psc@11500 {
  135. status = "disabled";
  136. };
  137. psc@11600 {
  138. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  139. };
  140. psc@11700 {
  141. status = "disabled";
  142. };
  143. psc@11800 {
  144. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  145. };
  146. psc@11900 {
  147. compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc";
  148. #address-cells = <1>;
  149. #size-cells = <0>;
  150. /* ADS7845 touch screen controller */
  151. ts@0 {
  152. compatible = "ti,ads7846";
  153. reg = <0x0>;
  154. spi-max-frequency = <3000000>;
  155. /* pen irq is GPIO25 */
  156. interrupts = <78 0x8>;
  157. };
  158. };
  159. psc@11a00 {
  160. status = "disabled";
  161. };
  162. psc@11b00 {
  163. compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
  164. };
  165. };
  166. };