imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #include "imx25-eukrea-mbimxsd25-baseboard.dts"
  14. / {
  15. model = "Eukrea MBIMXSD25 with the CMO-QVGA Display";
  16. compatible = "eukrea,mbimxsd25-baseboard-cmo-qvga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25";
  17. cmo_qvga: display {
  18. model = "CMO-QVGA";
  19. bits-per-pixel = <16>;
  20. fsl,pcr = <0xcad08b80>;
  21. bus-width = <18>;
  22. native-mode = <&qvga_timings>;
  23. display-timings {
  24. qvga_timings: 320x240 {
  25. clock-frequency = <6500000>;
  26. hactive = <320>;
  27. vactive = <240>;
  28. hback-porch = <30>;
  29. hfront-porch = <38>;
  30. vback-porch = <20>;
  31. vfront-porch = <3>;
  32. hsync-len = <15>;
  33. vsync-len = <4>;
  34. };
  35. };
  36. };
  37. regulators {
  38. compatible = "simple-bus";
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. reg_lcd_3v3: regulator@0 {
  42. compatible = "regulator-fixed";
  43. reg = <0>;
  44. pinctrl-names = "default";
  45. pinctrl-0 = <&pinctrl_reg_lcd_3v3>;
  46. regulator-name = "lcd-3v3";
  47. regulator-min-microvolt = <3300000>;
  48. regulator-max-microvolt = <3300000>;
  49. gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>;
  50. enable-active-high;
  51. };
  52. };
  53. };
  54. &iomuxc {
  55. imx25-eukrea-mbimxsd25-baseboard-cmo-qvga {
  56. pinctrl_reg_lcd_3v3: reg_lcd_3v3 {
  57. fsl,pins = <MX25_PAD_PWM__GPIO_1_26 0x80000000>;
  58. };
  59. };
  60. };
  61. &lcdc {
  62. display = <&cmo_qvga>;
  63. fsl,lpccr = <0x00a903ff>;
  64. lcd-supply = <&reg_lcd_3v3>;
  65. status = "okay";
  66. };