ruiching-lcd-mipi-7-1024x600.dtsi 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. &i2c1 {
  2. status = "okay";
  3. pinctrl-names = "default";
  4. goodix_ts: goodix_ts@14 {
  5. status = "okay";
  6. compatible = "goodix,gt9xx";
  7. reg = <0x14>;
  8. gtp_resolution_x = <1024>;
  9. gtp_resolution_y = <600>;
  10. gtp_int_tarigger = <1>;
  11. gtp_change_x2y = <0>;
  12. gtp_overturn_x = <1>;
  13. gtp_overturn_y = <1>;
  14. gtp_send_cfg = <0>;
  15. gtp_touch_wakeup = <1>;
  16. goodix_rst_gpio = <&gpio0 162 GPIO_ACTIVE_HIGH>;
  17. goodix_irq_gpio = <&gpio0 RK_PC0 IRQ_TYPE_EDGE_FALLING>;
  18. };
  19. };
  20. &backlight {
  21. pwms = <&pwm0_4ch_2 0 500000 0>;
  22. };
  23. &pwm0_4ch_2 {
  24. status = "okay";
  25. };
  26. &display_subsystem {
  27. status = "okay";
  28. };
  29. &dsi_panel {
  30. status = "okay";
  31. prepare-delay-ms = <20>;
  32. reset-delay-ms = <80>;
  33. init-delay-ms = <240>;
  34. panel-init-sequence = [
  35. 15 00 02 b2 10
  36. 15 00 02 80 ac
  37. 15 00 02 81 b8
  38. 15 00 02 82 09
  39. 15 00 02 83 78
  40. 15 00 02 84 7f
  41. 15 00 02 85 bb
  42. 15 00 02 86 70
  43. ];
  44. };
  45. &dsi_timing0 {
  46. clock-frequency = <51200000>;
  47. hactive = <1024>;
  48. vactive = <600>;
  49. hback-porch = <90>;
  50. hfront-porch = <160>;
  51. vback-porch = <23>;
  52. vfront-porch = <12>;
  53. hsync-len = <70>;
  54. vsync-len = <10>;
  55. };