imx28-cfa10049.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. usbphy1: usbphy@8007e000 {
  65. status = "okay";
  66. };
  67. };
  68. };
  69. ahb@80080000 {
  70. usb1: usb@80090000 {
  71. vbus-supply = <&reg_usb1_vbus>;
  72. pinctrl-0 = <&usbphy1_pins_a>;
  73. pinctrl-names = "default";
  74. status = "okay";
  75. };
  76. };
  77. regulators {
  78. compatible = "simple-bus";
  79. reg_usb1_vbus: usb1_vbus {
  80. compatible = "regulator-fixed";
  81. regulator-name = "usb1_vbus";
  82. regulator-min-microvolt = <5000000>;
  83. regulator-max-microvolt = <5000000>;
  84. gpio = <&gpio0 7 1>;
  85. };
  86. };
  87. };