imx28-cfa10037.dts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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-10037 Board";
  18. compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
  19. apb@80000000 {
  20. apbh@80000000 {
  21. pinctrl@80018000 {
  22. usb_pins_cfa10037: usb-10037@0 {
  23. reg = <0>;
  24. fsl,pinmux-ids = <
  25. 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
  26. >;
  27. fsl,drive-strength = <0>;
  28. fsl,voltage = <1>;
  29. fsl,pull-up = <0>;
  30. };
  31. mac0_pins_cfa10037: mac0-10037@0 {
  32. reg = <0>;
  33. fsl,pinmux-ids = <
  34. 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
  35. >;
  36. fsl,drive-strength = <0>;
  37. fsl,voltage = <1>;
  38. fsl,pull-up = <0>;
  39. };
  40. };
  41. };
  42. apbx@80040000 {
  43. usbphy1: usbphy@8007e000 {
  44. status = "okay";
  45. };
  46. };
  47. };
  48. ahb@80080000 {
  49. usb1: usb@80090000 {
  50. vbus-supply = <&reg_usb1_vbus>;
  51. pinctrl-0 = <&usbphy1_pins_a>;
  52. pinctrl-names = "default";
  53. status = "okay";
  54. };
  55. mac0: ethernet@800f0000 {
  56. phy-mode = "rmii";
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&mac0_pins_a
  59. &mac0_pins_cfa10037>;
  60. phy-reset-gpios = <&gpio2 21 0>;
  61. phy-reset-duration = <100>;
  62. status = "okay";
  63. };
  64. };
  65. regulators {
  66. compatible = "simple-bus";
  67. reg_usb1_vbus: usb1_vbus {
  68. compatible = "regulator-fixed";
  69. pinctrl-names = "default";
  70. pinctrl-0 = <&usb_pins_cfa10037>;
  71. regulator-name = "usb1_vbus";
  72. regulator-min-microvolt = <5000000>;
  73. regulator-max-microvolt = <5000000>;
  74. gpio = <&gpio0 7 1>;
  75. };
  76. };
  77. };