imx28-cfa10049.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. spi3_pins_cfa10049: spi3-cfa10049@0 {
  23. reg = <0>;
  24. fsl,pinmux-ids = <
  25. 0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
  26. 0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
  27. 0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */
  28. 0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */
  29. >;
  30. fsl,drive-strength = <1>;
  31. fsl,voltage = <1>;
  32. fsl,pull-up = <1>;
  33. };
  34. };
  35. ssp3: ssp@80016000 {
  36. compatible = "fsl,imx28-spi";
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&spi3_pins_cfa10049>;
  39. status = "okay";
  40. gpio5: gpio5@0 {
  41. compatible = "fairchild,74hc595";
  42. gpio-controller;
  43. #gpio-cells = <2>;
  44. reg = <0>;
  45. registers-number = <2>;
  46. spi-max-frequency = <100000>;
  47. };
  48. gpio6: gpio6@1 {
  49. compatible = "fairchild,74hc595";
  50. gpio-controller;
  51. #gpio-cells = <2>;
  52. reg = <1>;
  53. registers-number = <4>;
  54. spi-max-frequency = <100000>;
  55. };
  56. };
  57. };
  58. apbx@80040000 {
  59. i2c1: i2c@8005a000 {
  60. pinctrl-names = "default";
  61. pinctrl-0 = <&i2c1_pins_a>;
  62. status = "okay";
  63. };
  64. i2cmux {
  65. compatible = "i2c-mux-gpio";
  66. #address-cells = <1>;
  67. #size-cells = <0>;
  68. mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
  69. i2c-parent = <&i2c1>;
  70. i2c@0 {
  71. reg = <0>;
  72. };
  73. i2c@1 {
  74. reg = <1>;
  75. };
  76. i2c@2 {
  77. reg = <2>;
  78. };
  79. i2c@3 {
  80. reg = <3>;
  81. };
  82. };
  83. usbphy1: usbphy@8007e000 {
  84. status = "okay";
  85. };
  86. };
  87. };
  88. ahb@80080000 {
  89. usb1: usb@80090000 {
  90. vbus-supply = <&reg_usb1_vbus>;
  91. pinctrl-0 = <&usbphy1_pins_a>;
  92. pinctrl-names = "default";
  93. status = "okay";
  94. };
  95. };
  96. regulators {
  97. compatible = "simple-bus";
  98. reg_usb1_vbus: usb1_vbus {
  99. compatible = "regulator-fixed";
  100. regulator-name = "usb1_vbus";
  101. regulator-min-microvolt = <5000000>;
  102. regulator-max-microvolt = <5000000>;
  103. gpio = <&gpio0 7 1>;
  104. };
  105. };
  106. };