rk3288-veyron-tiger.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Google Veyron Tiger Rev 0+ board device tree source
  4. *
  5. * Copyright 2016 Google, Inc
  6. */
  7. /dts-v1/;
  8. #include "rk3288-veyron-fievel.dts"
  9. #include "rk3288-veyron-edp.dtsi"
  10. / {
  11. model = "Google Tiger";
  12. compatible = "google,veyron-tiger-rev8", "google,veyron-tiger-rev7",
  13. "google,veyron-tiger-rev6", "google,veyron-tiger-rev5",
  14. "google,veyron-tiger-rev4", "google,veyron-tiger-rev3",
  15. "google,veyron-tiger-rev2", "google,veyron-tiger-rev1",
  16. "google,veyron-tiger-rev0", "google,veyron-tiger",
  17. "google,veyron", "rockchip,rk3288";
  18. /delete-node/ vcc18-lcd;
  19. };
  20. &backlight {
  21. /* Tiger panel PWM must be >= 1%, so start non-zero brightness at 3 */
  22. brightness-levels = <3 255>;
  23. num-interpolated-steps = <252>;
  24. };
  25. &backlight_regulator {
  26. vin-supply = <&vccsys>;
  27. };
  28. &i2c3 {
  29. status = "okay";
  30. clock-frequency = <400000>;
  31. i2c-scl-falling-time-ns = <50>;
  32. i2c-scl-rising-time-ns = <300>;
  33. touchscreen@10 {
  34. compatible = "elan,ekth3500";
  35. reg = <0x10>;
  36. interrupt-parent = <&gpio2>;
  37. interrupts = <RK_PB6 IRQ_TYPE_EDGE_FALLING>;
  38. pinctrl-names = "default";
  39. pinctrl-0 = <&touch_int &touch_rst>;
  40. reset-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_LOW>;
  41. vcc33-supply = <&vcc33_io>;
  42. vccio-supply = <&vcc33_io>;
  43. wakeup-source;
  44. };
  45. };
  46. &panel {
  47. compatible = "auo,b101ean01";
  48. /delete-node/ panel-timing;
  49. panel-timing {
  50. clock-frequency = <66666667>;
  51. hactive = <1280>;
  52. hfront-porch = <18>;
  53. hback-porch = <21>;
  54. hsync-len = <32>;
  55. vactive = <800>;
  56. vfront-porch = <4>;
  57. vback-porch = <8>;
  58. vsync-len = <18>;
  59. };
  60. };
  61. &pinctrl {
  62. lcd {
  63. /delete-node/ avdd-1v8-disp-en;
  64. };
  65. touchscreen {
  66. touch_int: touch-int {
  67. rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
  68. };
  69. touch_rst: touch-rst {
  70. rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
  71. };
  72. };
  73. };