imx28-cfa10037.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright 2012 Free Electrons
  4. */
  5. /*
  6. * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
  7. * need to include the CFA-10036 DTS.
  8. */
  9. #include "imx28-cfa10036.dts"
  10. / {
  11. model = "Crystalfontz CFA-10037 Board";
  12. compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
  13. apb@80000000 {
  14. apbh@80000000 {
  15. pinctrl@80018000 {
  16. usb_pins_cfa10037: usb-10037@0 {
  17. reg = <0>;
  18. fsl,pinmux-ids = <
  19. MX28_PAD_GPMI_D07__GPIO_0_7
  20. >;
  21. fsl,drive-strength = <MXS_DRIVE_4mA>;
  22. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  23. fsl,pull-up = <MXS_PULL_DISABLE>;
  24. };
  25. mac0_pins_cfa10037: mac0-10037@0 {
  26. reg = <0>;
  27. fsl,pinmux-ids = <
  28. MX28_PAD_SSP2_SS2__GPIO_2_21
  29. >;
  30. fsl,drive-strength = <MXS_DRIVE_4mA>;
  31. fsl,voltage = <MXS_VOLTAGE_HIGH>;
  32. fsl,pull-up = <MXS_PULL_DISABLE>;
  33. };
  34. };
  35. };
  36. apbx@80040000 {
  37. usbphy1: usbphy@8007e000 {
  38. status = "okay";
  39. };
  40. };
  41. };
  42. ahb@80080000 {
  43. usb1: usb@80090000 {
  44. vbus-supply = <&reg_usb1_vbus>;
  45. pinctrl-0 = <&usb1_pins_a>;
  46. pinctrl-names = "default";
  47. status = "okay";
  48. };
  49. mac0: ethernet@800f0000 {
  50. phy-mode = "rmii";
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&mac0_pins_a
  53. &mac0_pins_cfa10037>;
  54. phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
  55. phy-reset-duration = <100>;
  56. status = "okay";
  57. };
  58. };
  59. regulators {
  60. compatible = "simple-bus";
  61. #address-cells = <1>;
  62. #size-cells = <0>;
  63. reg_usb1_vbus: regulator@0 {
  64. compatible = "regulator-fixed";
  65. reg = <0>;
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&usb_pins_cfa10037>;
  68. regulator-name = "usb1_vbus";
  69. regulator-min-microvolt = <5000000>;
  70. regulator-max-microvolt = <5000000>;
  71. gpio = <&gpio0 7 1>;
  72. };
  73. };
  74. };