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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
  4. */
  5. #include "imx25-eukrea-mbimxsd25-baseboard.dts"
  6. / {
  7. model = "Eukrea MBIMXSD25 with the CMO-QVGA Display";
  8. compatible = "eukrea,mbimxsd25-baseboard-cmo-qvga", "eukrea,mbimxsd25-baseboard", "eukrea,cpuimx25", "fsl,imx25";
  9. cmo_qvga: display {
  10. model = "CMO-QVGA";
  11. bits-per-pixel = <16>;
  12. fsl,pcr = <0xcad08b80>;
  13. bus-width = <18>;
  14. display-timings {
  15. native-mode = <&qvga_timings>;
  16. qvga_timings: 320x240 {
  17. clock-frequency = <6500000>;
  18. hactive = <320>;
  19. vactive = <240>;
  20. hback-porch = <30>;
  21. hfront-porch = <38>;
  22. vback-porch = <20>;
  23. vfront-porch = <3>;
  24. hsync-len = <15>;
  25. vsync-len = <4>;
  26. };
  27. };
  28. };
  29. regulators {
  30. compatible = "simple-bus";
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. reg_lcd_3v3: regulator@0 {
  34. compatible = "regulator-fixed";
  35. reg = <0>;
  36. pinctrl-names = "default";
  37. pinctrl-0 = <&pinctrl_reg_lcd_3v3>;
  38. regulator-name = "lcd-3v3";
  39. regulator-min-microvolt = <3300000>;
  40. regulator-max-microvolt = <3300000>;
  41. gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>;
  42. enable-active-high;
  43. };
  44. };
  45. };
  46. &iomuxc {
  47. imx25-eukrea-mbimxsd25-baseboard-cmo-qvga {
  48. pinctrl_reg_lcd_3v3: reg_lcd_3v3 {
  49. fsl,pins = <MX25_PAD_PWM__GPIO_1_26 0x80000000>;
  50. };
  51. };
  52. };
  53. &lcdc {
  54. display = <&cmo_qvga>;
  55. fsl,lpccr = <0x00a903ff>;
  56. lcd-supply = <&reg_lcd_3v3>;
  57. status = "okay";
  58. };