imx27-phytec-phycore-som.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  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. status = "okay";
  23. };
  24. i2c@1001d000 {
  25. clock-frequency = <400000>;
  26. status = "okay";
  27. at24@52 {
  28. compatible = "at,24c32";
  29. pagesize = <32>;
  30. reg = <0x52>;
  31. };
  32. pcf8563@51 {
  33. compatible = "nxp,pcf8563";
  34. reg = <0x51>;
  35. };
  36. lm75@4a {
  37. compatible = "national,lm75";
  38. reg = <0x4a>;
  39. };
  40. };
  41. };
  42. aipi@10020000 { /* aipi2 */
  43. ethernet@1002b000 {
  44. phy-reset-gpios = <&gpio3 30 0>;
  45. status = "okay";
  46. };
  47. };
  48. };
  49. nor_flash@c0000000 {
  50. compatible = "cfi-flash";
  51. bank-width = <2>;
  52. reg = <0xc0000000 0x02000000>;
  53. linux,mtd-name = "physmap-flash.0";
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. };
  57. };
  58. &cspi1 {
  59. fsl,spi-num-chipselects = <1>;
  60. cs-gpios = <&gpio4 28 0>;
  61. status = "okay";
  62. pmic: mc13783@0 {
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. compatible = "fsl,mc13783";
  66. spi-max-frequency = <20000000>;
  67. reg = <0>;
  68. interrupt-parent = <&gpio2>;
  69. interrupts = <23 0x4>;
  70. fsl,mc13xxx-uses-adc;
  71. fsl,mc13xxx-uses-rtc;
  72. regulators {
  73. sw1a_reg: sw1a {
  74. regulator-min-microvolt = <1200000>;
  75. regulator-max-microvolt = <1200000>;
  76. regulator-always-on;
  77. regulator-boot-on;
  78. };
  79. sw1b_reg: sw1b {
  80. regulator-min-microvolt = <1200000>;
  81. regulator-max-microvolt = <1200000>;
  82. regulator-always-on;
  83. regulator-boot-on;
  84. };
  85. sw2a_reg: sw2a {
  86. regulator-min-microvolt = <1800000>;
  87. regulator-max-microvolt = <1800000>;
  88. regulator-always-on;
  89. regulator-boot-on;
  90. };
  91. sw2b_reg: sw2b {
  92. regulator-min-microvolt = <1800000>;
  93. regulator-max-microvolt = <1800000>;
  94. regulator-always-on;
  95. regulator-boot-on;
  96. };
  97. sw3_reg: sw3 {
  98. regulator-min-microvolt = <5000000>;
  99. regulator-max-microvolt = <5000000>;
  100. regulator-always-on;
  101. regulator-boot-on;
  102. };
  103. vaudio_reg: vaudio {
  104. regulator-always-on;
  105. regulator-boot-on;
  106. };
  107. violo_reg: violo {
  108. regulator-min-microvolt = <1800000>;
  109. regulator-max-microvolt = <1800000>;
  110. regulator-always-on;
  111. regulator-boot-on;
  112. };
  113. viohi_reg: viohi {
  114. regulator-always-on;
  115. regulator-boot-on;
  116. };
  117. vgen_reg: vgen {
  118. regulator-min-microvolt = <1500000>;
  119. regulator-max-microvolt = <1500000>;
  120. regulator-always-on;
  121. regulator-boot-on;
  122. };
  123. vcam_reg: vcam {
  124. regulator-min-microvolt = <2800000>;
  125. regulator-max-microvolt = <2800000>;
  126. };
  127. vrf1_reg: vrf1 {
  128. regulator-min-microvolt = <2775000>;
  129. regulator-max-microvolt = <2775000>;
  130. regulator-always-on;
  131. regulator-boot-on;
  132. };
  133. vrf2_reg: vrf2 {
  134. regulator-min-microvolt = <2775000>;
  135. regulator-max-microvolt = <2775000>;
  136. regulator-always-on;
  137. regulator-boot-on;
  138. };
  139. vmmc1_reg: vmmc1 {
  140. regulator-min-microvolt = <1600000>;
  141. regulator-max-microvolt = <3000000>;
  142. };
  143. gpo1_reg: gpo1 { };
  144. pwgt1spi_reg: pwgt1spi {
  145. regulator-always-on;
  146. };
  147. };
  148. };
  149. };
  150. &nfc {
  151. nand-bus-width = <8>;
  152. nand-ecc-mode = "hw";
  153. status = "okay";
  154. };