imx27-phytec-phycore.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. /*
  2. * Copyright 2012 Sascha Hauer, Pengutronix
  3. *
  4. * The code contained herein is licensed under the GNU General Public
  5. * License. You may obtain a copy of the GNU General Public License
  6. * Version 2 or later at the following locations:
  7. *
  8. * http://www.opensource.org/licenses/gpl-license.html
  9. * http://www.gnu.org/copyleft/gpl.html
  10. */
  11. /dts-v1/;
  12. #include "imx27.dtsi"
  13. / {
  14. model = "Phytec pcm038";
  15. compatible = "phytec,imx27-pcm038", "fsl,imx27";
  16. memory {
  17. reg = <0x0 0x0>;
  18. };
  19. soc {
  20. aipi@10000000 { /* aipi1 */
  21. serial@1000a000 {
  22. fsl,uart-has-rtscts;
  23. status = "okay";
  24. };
  25. serial@1000b000 {
  26. fsl,uart-has-rtscts;
  27. status = "okay";
  28. };
  29. serial@1000c000 {
  30. fsl,uart-has-rtscts;
  31. status = "okay";
  32. };
  33. i2c@1001d000 {
  34. clock-frequency = <400000>;
  35. status = "okay";
  36. at24@52 {
  37. compatible = "at,24c32";
  38. pagesize = <32>;
  39. reg = <0x52>;
  40. };
  41. pcf8563@51 {
  42. compatible = "nxp,pcf8563";
  43. reg = <0x51>;
  44. };
  45. lm75@4a {
  46. compatible = "national,lm75";
  47. reg = <0x4a>;
  48. };
  49. };
  50. };
  51. aipi@10020000 { /* aipi2 */
  52. ethernet@1002b000 {
  53. phy-reset-gpios = <&gpio3 30 0>;
  54. status = "okay";
  55. };
  56. };
  57. };
  58. nor_flash@c0000000 {
  59. compatible = "cfi-flash";
  60. bank-width = <2>;
  61. reg = <0xc0000000 0x02000000>;
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. };
  65. };
  66. &cspi1 {
  67. fsl,spi-num-chipselects = <1>;
  68. cs-gpios = <&gpio4 28 0>;
  69. status = "okay";
  70. pmic: mc13783@0 {
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. compatible = "fsl,mc13783";
  74. spi-max-frequency = <20000000>;
  75. reg = <0>;
  76. interrupt-parent = <&gpio2>;
  77. interrupts = <23 0x4>;
  78. fsl,mc13xxx-uses-adc;
  79. fsl,mc13xxx-uses-rtc;
  80. regulators {
  81. sw1a_reg: sw1a {
  82. regulator-min-microvolt = <1200000>;
  83. regulator-max-microvolt = <1200000>;
  84. regulator-always-on;
  85. regulator-boot-on;
  86. };
  87. sw1b_reg: sw1b {
  88. regulator-min-microvolt = <1200000>;
  89. regulator-max-microvolt = <1200000>;
  90. regulator-always-on;
  91. regulator-boot-on;
  92. };
  93. sw2a_reg: sw2a {
  94. regulator-min-microvolt = <1800000>;
  95. regulator-max-microvolt = <1800000>;
  96. regulator-always-on;
  97. regulator-boot-on;
  98. };
  99. sw2b_reg: sw2b {
  100. regulator-min-microvolt = <1800000>;
  101. regulator-max-microvolt = <1800000>;
  102. regulator-always-on;
  103. regulator-boot-on;
  104. };
  105. sw3_reg: sw3 {
  106. regulator-min-microvolt = <5000000>;
  107. regulator-max-microvolt = <5000000>;
  108. regulator-always-on;
  109. regulator-boot-on;
  110. };
  111. vaudio_reg: vaudio {
  112. regulator-always-on;
  113. regulator-boot-on;
  114. };
  115. violo_reg: violo {
  116. regulator-min-microvolt = <1800000>;
  117. regulator-max-microvolt = <1800000>;
  118. regulator-always-on;
  119. regulator-boot-on;
  120. };
  121. viohi_reg: viohi {
  122. regulator-always-on;
  123. regulator-boot-on;
  124. };
  125. vgen_reg: vgen {
  126. regulator-min-microvolt = <1500000>;
  127. regulator-max-microvolt = <1500000>;
  128. regulator-always-on;
  129. regulator-boot-on;
  130. };
  131. vcam_reg: vcam {
  132. regulator-min-microvolt = <2800000>;
  133. regulator-max-microvolt = <2800000>;
  134. };
  135. vrf1_reg: vrf1 {
  136. regulator-min-microvolt = <2775000>;
  137. regulator-max-microvolt = <2775000>;
  138. regulator-always-on;
  139. regulator-boot-on;
  140. };
  141. vrf2_reg: vrf2 {
  142. regulator-min-microvolt = <2775000>;
  143. regulator-max-microvolt = <2775000>;
  144. regulator-always-on;
  145. regulator-boot-on;
  146. };
  147. vmmc1_reg: vmmc1 {
  148. regulator-min-microvolt = <1600000>;
  149. regulator-max-microvolt = <3000000>;
  150. };
  151. gpo1_reg: gpo1 { };
  152. pwgt1spi_reg: pwgt1spi {
  153. regulator-always-on;
  154. };
  155. };
  156. };
  157. };
  158. &nfc {
  159. nand-bus-width = <8>;
  160. nand-ecc-mode = "hw";
  161. status = "okay";
  162. };