imx28-cfa10058.dts 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /*
  2. * Copyright 2013 Crystalfontz America, Inc.
  3. * Copyright 2013 Free Electrons
  4. *
  5. * The code contained herein is licensed under the GNU General Public
  6. * License. You may obtain a copy of the GNU General Public License
  7. * Version 2 or later at the following locations:
  8. *
  9. * http://www.opensource.org/licenses/gpl-license.html
  10. * http://www.gnu.org/copyleft/gpl.html
  11. */
  12. /*
  13. * The CFA-10058 is an expansion board for the CFA-10036 module, thus we
  14. * need to include the CFA-10036 DTS.
  15. */
  16. /include/ "imx28-cfa10036.dts"
  17. / {
  18. model = "Crystalfontz CFA-10058 Board";
  19. compatible = "crystalfontz,cfa10058", "crystalfontz,cfa10036", "fsl,imx28";
  20. apb@80000000 {
  21. apbh@80000000 {
  22. pinctrl@80018000 {
  23. usb_pins_cfa10058: usb-10058@0 {
  24. reg = <0>;
  25. fsl,pinmux-ids = <
  26. 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
  27. >;
  28. fsl,drive-strength = <0>;
  29. fsl,voltage = <1>;
  30. fsl,pull-up = <0>;
  31. };
  32. lcdif_pins_cfa10058: lcdif-10058@0 {
  33. reg = <0>;
  34. fsl,pinmux-ids = <
  35. 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
  36. 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
  37. 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
  38. 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
  39. >;
  40. fsl,drive-strength = <0>;
  41. fsl,voltage = <1>;
  42. fsl,pull-up = <0>;
  43. };
  44. };
  45. lcdif@80030000 {
  46. pinctrl-names = "default";
  47. pinctrl-0 = <&lcdif_24bit_pins_a
  48. &lcdif_pins_cfa10058>;
  49. display = <&display>;
  50. status = "okay";
  51. display: display {
  52. bits-per-pixel = <32>;
  53. bus-width = <24>;
  54. display-timings {
  55. native-mode = <&timing0>;
  56. timing0: timing0 {
  57. clock-frequency = <30000000>;
  58. hactive = <800>;
  59. vactive = <480>;
  60. hback-porch = <40>;
  61. hfront-porch = <40>;
  62. vback-porch = <13>;
  63. vfront-porch = <29>;
  64. hsync-len = <8>;
  65. vsync-len = <8>;
  66. hsync-active = <0>;
  67. vsync-active = <0>;
  68. de-active = <1>;
  69. pixelclk-active = <1>;
  70. };
  71. };
  72. };
  73. };
  74. };
  75. apbx@80040000 {
  76. lradc@80050000 {
  77. fsl,lradc-touchscreen-wires = <4>;
  78. status = "okay";
  79. };
  80. pwm: pwm@80064000 {
  81. pinctrl-names = "default";
  82. pinctrl-0 = <&pwm3_pins_b>;
  83. status = "okay";
  84. };
  85. usbphy1: usbphy@8007e000 {
  86. status = "okay";
  87. };
  88. };
  89. };
  90. ahb@80080000 {
  91. usb1: usb@80090000 {
  92. vbus-supply = <&reg_usb1_vbus>;
  93. pinctrl-0 = <&usbphy1_pins_a>;
  94. pinctrl-names = "default";
  95. status = "okay";
  96. };
  97. };
  98. regulators {
  99. compatible = "simple-bus";
  100. reg_usb1_vbus: usb1_vbus {
  101. pinctrl-names = "default";
  102. pinctrl-0 = <&usb_pins_cfa10058>;
  103. compatible = "regulator-fixed";
  104. regulator-name = "usb1_vbus";
  105. regulator-min-microvolt = <5000000>;
  106. regulator-max-microvolt = <5000000>;
  107. gpio = <&gpio0 7 1>;
  108. };
  109. };
  110. ahb@80080000 {
  111. mac0: ethernet@800f0000 {
  112. phy-mode = "rmii";
  113. pinctrl-names = "default";
  114. pinctrl-0 = <&mac0_pins_a>;
  115. phy-reset-gpios = <&gpio2 21 0>;
  116. phy-reset-duration = <100>;
  117. status = "okay";
  118. };
  119. };
  120. backlight {
  121. compatible = "pwm-backlight";
  122. pwms = <&pwm 3 5000000>;
  123. brightness-levels = <0 4 8 16 32 64 128 255>;
  124. default-brightness-level = <6>;
  125. };
  126. };