st7789v_tl019fqv01.overlay 936 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu>
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. &arduino_spi {
  7. status = "okay";
  8. cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
  9. st7789v@0 {
  10. compatible = "sitronix,st7789v";
  11. label = "ST7789V";
  12. spi-max-frequency = <20000000>;
  13. reg = <0>;
  14. cmd-data-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; /* D9 */
  15. reset-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
  16. width = <320>;
  17. height = <170>;
  18. x-offset = <0>;
  19. y-offset = <35>;
  20. vcom = <0x2b>;
  21. gctrl = <0x35>;
  22. vrhs = <0x0f>;
  23. vdvs = <0x20>;
  24. mdac = <0x60>;
  25. gamma = <0x01>;
  26. colmod = <0x55>;
  27. lcm = <0x2c>;
  28. porch-param = [0c 0c 00 33 33];
  29. cmd2en-param = [5a 69 02 01];
  30. pwctrl1-param = [52 a1];
  31. pvgam-param = [D0 00 02 07 0B 1A 31 54 40 29 12 12 12 17];
  32. nvgam-param = [D0 00 02 07 05 15 2D 44 44 1C 18 16 1C 1D];
  33. ram-param = [00 F8];
  34. rgb-param = [CD 08 14];
  35. };
  36. };