imx28-cfa10049.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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: hog-10049@0 {
  25. reg = <0>;
  26. fsl,pinmux-ids = <
  27. 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
  28. 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
  29. 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
  30. 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
  31. >;
  32. fsl,drive-strength = <0>;
  33. fsl,voltage = <1>;
  34. fsl,pull-up = <0>;
  35. };
  36. spi3_pins_cfa10049: spi3-cfa10049@0 {
  37. reg = <0>;
  38. fsl,pinmux-ids = <
  39. 0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
  40. 0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
  41. 0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */
  42. 0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */
  43. 0x01b2 /* MX28_PAD_GPMI_CLE__SSP3_D5 */
  44. >;
  45. fsl,drive-strength = <1>;
  46. fsl,voltage = <1>;
  47. fsl,pull-up = <1>;
  48. };
  49. };
  50. ssp3: ssp@80016000 {
  51. compatible = "fsl,imx28-spi";
  52. pinctrl-names = "default";
  53. pinctrl-0 = <&spi3_pins_cfa10049>;
  54. status = "okay";
  55. gpio5: gpio5@0 {
  56. compatible = "fairchild,74hc595";
  57. gpio-controller;
  58. #gpio-cells = <2>;
  59. reg = <0>;
  60. registers-number = <2>;
  61. spi-max-frequency = <100000>;
  62. };
  63. gpio6: gpio6@1 {
  64. compatible = "fairchild,74hc595";
  65. gpio-controller;
  66. #gpio-cells = <2>;
  67. reg = <1>;
  68. registers-number = <4>;
  69. spi-max-frequency = <100000>;
  70. };
  71. dac0: dh2228@2 {
  72. compatible = "rohm,dh2228fv";
  73. reg = <2>;
  74. spi-max-frequency = <100000>;
  75. };
  76. };
  77. };
  78. apbx@80040000 {
  79. i2c1: i2c@8005a000 {
  80. pinctrl-names = "default";
  81. pinctrl-0 = <&i2c1_pins_a>;
  82. status = "okay";
  83. };
  84. i2cmux {
  85. compatible = "i2c-mux-gpio";
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
  89. i2c-parent = <&i2c1>;
  90. i2c@0 {
  91. reg = <0>;
  92. };
  93. i2c@1 {
  94. reg = <1>;
  95. };
  96. i2c@2 {
  97. reg = <2>;
  98. };
  99. i2c@3 {
  100. reg = <3>;
  101. };
  102. };
  103. usbphy1: usbphy@8007e000 {
  104. status = "okay";
  105. };
  106. };
  107. };
  108. ahb@80080000 {
  109. usb1: usb@80090000 {
  110. vbus-supply = <&reg_usb1_vbus>;
  111. pinctrl-0 = <&usbphy1_pins_a>;
  112. pinctrl-names = "default";
  113. status = "okay";
  114. };
  115. };
  116. regulators {
  117. compatible = "simple-bus";
  118. reg_usb1_vbus: usb1_vbus {
  119. compatible = "regulator-fixed";
  120. regulator-name = "usb1_vbus";
  121. regulator-min-microvolt = <5000000>;
  122. regulator-max-microvolt = <5000000>;
  123. gpio = <&gpio0 7 1>;
  124. };
  125. };
  126. ahb@80080000 {
  127. mac0: ethernet@800f0000 {
  128. phy-mode = "rmii";
  129. pinctrl-names = "default";
  130. pinctrl-0 = <&mac0_pins_a>;
  131. phy-reset-gpios = <&gpio2 21 0>;
  132. phy-reset-duration = <100>;
  133. status = "okay";
  134. };
  135. };
  136. };