imx28-cfa10049.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. 0x0183 /* MX28_PAD_GPMI_RDN__GPIO_0_24 */
  50. 0x01c3 /* MX28_PAD_GPMI_RESETN__GPIO_0_28 */
  51. 0x0113 /* MX28_PAD_GPMI_CE1N__GPIO_0_17 */
  52. 0x01a3 /* MX28_PAD_GPMI_ALE__GPIO_0_26 */
  53. 0x01b3 /* MX28_PAD_GPMI_CLE__GPIO_0_27 */
  54. >;
  55. fsl,drive-strength = <1>;
  56. fsl,voltage = <1>;
  57. fsl,pull-up = <1>;
  58. };
  59. };
  60. };
  61. apbx@80040000 {
  62. i2c1: i2c@8005a000 {
  63. pinctrl-names = "default";
  64. pinctrl-0 = <&i2c1_pins_a>;
  65. status = "okay";
  66. };
  67. i2cmux {
  68. compatible = "i2c-mux-gpio";
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
  72. i2c-parent = <&i2c1>;
  73. i2c@0 {
  74. reg = <0>;
  75. };
  76. i2c@1 {
  77. reg = <1>;
  78. };
  79. i2c@2 {
  80. reg = <2>;
  81. };
  82. i2c@3 {
  83. reg = <3>;
  84. #address-cells = <1>;
  85. #size-cells = <0>;
  86. pca9555: pca9555@20 {
  87. compatible = "nxp,pca9555";
  88. interrupt-parent = <&gpio2>;
  89. interrupts = <19 0x2>;
  90. gpio-controller;
  91. #gpio-cells = <2>;
  92. interrupt-controller;
  93. #interrupt-cells = <2>;
  94. reg = <0x20>;
  95. };
  96. };
  97. };
  98. usbphy1: usbphy@8007e000 {
  99. status = "okay";
  100. };
  101. };
  102. };
  103. ahb@80080000 {
  104. usb1: usb@80090000 {
  105. vbus-supply = <&reg_usb1_vbus>;
  106. pinctrl-0 = <&usbphy1_pins_a>;
  107. pinctrl-names = "default";
  108. status = "okay";
  109. };
  110. };
  111. regulators {
  112. compatible = "simple-bus";
  113. reg_usb1_vbus: usb1_vbus {
  114. compatible = "regulator-fixed";
  115. regulator-name = "usb1_vbus";
  116. regulator-min-microvolt = <5000000>;
  117. regulator-max-microvolt = <5000000>;
  118. gpio = <&gpio0 7 1>;
  119. };
  120. };
  121. ahb@80080000 {
  122. mac0: ethernet@800f0000 {
  123. phy-mode = "rmii";
  124. pinctrl-names = "default";
  125. pinctrl-0 = <&mac0_pins_a>;
  126. phy-reset-gpios = <&gpio2 21 0>;
  127. phy-reset-duration = <100>;
  128. status = "okay";
  129. };
  130. };
  131. spi3 {
  132. compatible = "spi-gpio";
  133. pinctrl-names = "default";
  134. pinctrl-0 = <&spi3_pins_cfa10049>;
  135. status = "okay";
  136. gpio-sck = <&gpio0 24 0>;
  137. gpio-mosi = <&gpio0 28 0>;
  138. cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
  139. num-chipselects = <3>;
  140. #address-cells = <1>;
  141. #size-cells = <0>;
  142. gpio5: gpio5@0 {
  143. compatible = "fairchild,74hc595";
  144. gpio-controller;
  145. #gpio-cells = <2>;
  146. reg = <0>;
  147. registers-number = <2>;
  148. spi-max-frequency = <100000>;
  149. };
  150. gpio6: gpio6@1 {
  151. compatible = "fairchild,74hc595";
  152. gpio-controller;
  153. #gpio-cells = <2>;
  154. reg = <1>;
  155. registers-number = <4>;
  156. spi-max-frequency = <100000>;
  157. };
  158. dac0: dh2228@2 {
  159. compatible = "rohm,dh2228fv";
  160. reg = <2>;
  161. spi-max-frequency = <100000>;
  162. };
  163. };
  164. };