imx28-cfa10049.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. /*
  2. * Copyright 2012 Free Electrons
  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. /*
  12. * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
  13. * need to include the CFA-10036 DTS.
  14. */
  15. /include/ "imx28-cfa10036.dts"
  16. / {
  17. model = "Crystalfontz CFA-10049 Board";
  18. compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
  19. apb@80000000 {
  20. apbh@80000000 {
  21. pinctrl@80018000 {
  22. pinctrl-names = "default", "default";
  23. pinctrl-1 = <&hog_pins_cfa10049
  24. &hog_pins_cfa10049_pullup>;
  25. hog_pins_cfa10049: hog-10049@0 {
  26. reg = <0>;
  27. fsl,pinmux-ids = <
  28. 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
  29. 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
  30. 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
  31. 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
  32. >;
  33. fsl,drive-strength = <0>;
  34. fsl,voltage = <1>;
  35. fsl,pull-up = <0>;
  36. };
  37. hog_pins_cfa10049_pullup: hog-10049-pullup@0 {
  38. reg = <0>;
  39. fsl,pinmux-ids = <
  40. 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
  41. >;
  42. fsl,drive-strength = <0>;
  43. fsl,voltage = <1>;
  44. fsl,pull-up = <1>;
  45. };
  46. spi3_pins_cfa10049: spi3-cfa10049@0 {
  47. reg = <0>;
  48. fsl,pinmux-ids = <
  49. 0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
  50. 0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
  51. 0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */
  52. 0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */
  53. 0x01b2 /* MX28_PAD_GPMI_CLE__SSP3_D5 */
  54. >;
  55. fsl,drive-strength = <1>;
  56. fsl,voltage = <1>;
  57. fsl,pull-up = <1>;
  58. };
  59. };
  60. ssp3: ssp@80016000 {
  61. compatible = "fsl,imx28-spi";
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&spi3_pins_cfa10049>;
  64. status = "okay";
  65. gpio5: gpio5@0 {
  66. compatible = "fairchild,74hc595";
  67. gpio-controller;
  68. #gpio-cells = <2>;
  69. reg = <0>;
  70. registers-number = <2>;
  71. spi-max-frequency = <100000>;
  72. };
  73. gpio6: gpio6@1 {
  74. compatible = "fairchild,74hc595";
  75. gpio-controller;
  76. #gpio-cells = <2>;
  77. reg = <1>;
  78. registers-number = <4>;
  79. spi-max-frequency = <100000>;
  80. };
  81. dac0: dh2228@2 {
  82. compatible = "rohm,dh2228fv";
  83. reg = <2>;
  84. spi-max-frequency = <100000>;
  85. };
  86. };
  87. };
  88. apbx@80040000 {
  89. i2c1: i2c@8005a000 {
  90. pinctrl-names = "default";
  91. pinctrl-0 = <&i2c1_pins_a>;
  92. status = "okay";
  93. };
  94. i2cmux {
  95. compatible = "i2c-mux-gpio";
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
  99. i2c-parent = <&i2c1>;
  100. i2c@0 {
  101. reg = <0>;
  102. };
  103. i2c@1 {
  104. reg = <1>;
  105. };
  106. i2c@2 {
  107. reg = <2>;
  108. };
  109. i2c@3 {
  110. reg = <3>;
  111. #address-cells = <1>;
  112. #size-cells = <0>;
  113. pca9555: pca9555@20 {
  114. compatible = "nxp,pca9555";
  115. interrupt-parent = <&gpio2>;
  116. interrupts = <19 0x2>;
  117. gpio-controller;
  118. #gpio-cells = <2>;
  119. interrupt-controller;
  120. #interrupt-cells = <2>;
  121. reg = <0x20>;
  122. };
  123. };
  124. };
  125. usbphy1: usbphy@8007e000 {
  126. status = "okay";
  127. };
  128. };
  129. };
  130. ahb@80080000 {
  131. usb1: usb@80090000 {
  132. vbus-supply = <&reg_usb1_vbus>;
  133. pinctrl-0 = <&usbphy1_pins_a>;
  134. pinctrl-names = "default";
  135. status = "okay";
  136. };
  137. };
  138. regulators {
  139. compatible = "simple-bus";
  140. reg_usb1_vbus: usb1_vbus {
  141. compatible = "regulator-fixed";
  142. regulator-name = "usb1_vbus";
  143. regulator-min-microvolt = <5000000>;
  144. regulator-max-microvolt = <5000000>;
  145. gpio = <&gpio0 7 1>;
  146. };
  147. };
  148. ahb@80080000 {
  149. mac0: ethernet@800f0000 {
  150. phy-mode = "rmii";
  151. pinctrl-names = "default";
  152. pinctrl-0 = <&mac0_pins_a>;
  153. phy-reset-gpios = <&gpio2 21 0>;
  154. phy-reset-duration = <100>;
  155. status = "okay";
  156. };
  157. };
  158. };