imx28-cfa10049.dts 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. usbphy1: usbphy@8007e000 {
  85. status = "okay";
  86. };
  87. };
  88. };
  89. ahb@80080000 {
  90. usb1: usb@80090000 {
  91. vbus-supply = <&reg_usb1_vbus>;
  92. pinctrl-0 = <&usbphy1_pins_a>;
  93. pinctrl-names = "default";
  94. status = "okay";
  95. };
  96. };
  97. regulators {
  98. compatible = "simple-bus";
  99. reg_usb1_vbus: usb1_vbus {
  100. compatible = "regulator-fixed";
  101. regulator-name = "usb1_vbus";
  102. regulator-min-microvolt = <5000000>;
  103. regulator-max-microvolt = <5000000>;
  104. gpio = <&gpio0 7 1>;
  105. };
  106. };
  107. ahb@80080000 {
  108. mac0: ethernet@800f0000 {
  109. phy-mode = "rmii";
  110. pinctrl-names = "default";
  111. pinctrl-0 = <&mac0_pins_a>;
  112. phy-reset-gpios = <&gpio2 21 0>;
  113. phy-reset-duration = <100>;
  114. status = "okay";
  115. };
  116. };
  117. };