imx28-cfa10049.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. 0x01b2 /* MX28_PAD_GPMI_CLE__SSP3_D5 */
  30. >;
  31. fsl,drive-strength = <1>;
  32. fsl,voltage = <1>;
  33. fsl,pull-up = <1>;
  34. };
  35. };
  36. ssp3: ssp@80016000 {
  37. compatible = "fsl,imx28-spi";
  38. pinctrl-names = "default";
  39. pinctrl-0 = <&spi3_pins_cfa10049>;
  40. status = "okay";
  41. gpio5: gpio5@0 {
  42. compatible = "fairchild,74hc595";
  43. gpio-controller;
  44. #gpio-cells = <2>;
  45. reg = <0>;
  46. registers-number = <2>;
  47. spi-max-frequency = <100000>;
  48. };
  49. gpio6: gpio6@1 {
  50. compatible = "fairchild,74hc595";
  51. gpio-controller;
  52. #gpio-cells = <2>;
  53. reg = <1>;
  54. registers-number = <4>;
  55. spi-max-frequency = <100000>;
  56. };
  57. dac0: dh2228@2 {
  58. compatible = "rohm,dh2228fv";
  59. reg = <2>;
  60. spi-max-frequency = <100000>;
  61. };
  62. };
  63. };
  64. apbx@80040000 {
  65. i2c1: i2c@8005a000 {
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&i2c1_pins_a>;
  68. status = "okay";
  69. };
  70. usbphy1: usbphy@8007e000 {
  71. status = "okay";
  72. };
  73. };
  74. };
  75. ahb@80080000 {
  76. usb1: usb@80090000 {
  77. vbus-supply = <&reg_usb1_vbus>;
  78. pinctrl-0 = <&usbphy1_pins_a>;
  79. pinctrl-names = "default";
  80. status = "okay";
  81. };
  82. };
  83. regulators {
  84. compatible = "simple-bus";
  85. reg_usb1_vbus: usb1_vbus {
  86. compatible = "regulator-fixed";
  87. regulator-name = "usb1_vbus";
  88. regulator-min-microvolt = <5000000>;
  89. regulator-max-microvolt = <5000000>;
  90. gpio = <&gpio0 7 1>;
  91. };
  92. };
  93. ahb@80080000 {
  94. mac0: ethernet@800f0000 {
  95. phy-mode = "rmii";
  96. pinctrl-names = "default";
  97. pinctrl-0 = <&mac0_pins_a>;
  98. phy-reset-gpios = <&gpio2 21 0>;
  99. phy-reset-duration = <100>;
  100. status = "okay";
  101. };
  102. };
  103. };