at91sam9x5dm.dtsi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
  4. *
  5. * Copyright (C) 2014 Atmel,
  6. * 2014 Free Electrons
  7. *
  8. * Author: Boris Brezillon <[email protected]>
  9. */
  10. / {
  11. backlight: backlight {
  12. compatible = "pwm-backlight";
  13. pwms = <&hlcdc_pwm 0 50000 0>;
  14. brightness-levels = <0 4 8 16 32 64 128 255>;
  15. default-brightness-level = <6>;
  16. power-supply = <&bl_reg>;
  17. status = "disabled";
  18. };
  19. bl_reg: backlight_regulator {
  20. compatible = "regulator-fixed";
  21. regulator-name = "backlight-power-supply";
  22. regulator-min-microvolt = <5000000>;
  23. regulator-max-microvolt = <5000000>;
  24. status = "disabled";
  25. };
  26. panel: panel {
  27. compatible = "foxlink,fl500wvr00-a0t";
  28. backlight = <&backlight>;
  29. power-supply = <&panel_reg>;
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. status = "disabled";
  33. port@0 {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. panel_input: endpoint@0 {
  37. reg = <0>;
  38. remote-endpoint = <&hlcdc_panel_output>;
  39. };
  40. };
  41. };
  42. panel_reg: panel_regulator {
  43. compatible = "regulator-fixed";
  44. regulator-name = "panel-power-supply";
  45. regulator-min-microvolt = <3300000>;
  46. regulator-max-microvolt = <3300000>;
  47. status = "disabled";
  48. };
  49. };
  50. &adc0 {
  51. atmel,adc-ts-wires = <4>;
  52. atmel,adc-ts-pressure-threshold = <10000>;
  53. status = "okay";
  54. };
  55. &i2c0 {
  56. keyboard@1b {
  57. compatible = "qt1070";
  58. reg = <0x1b>;
  59. interrupt-parent = <&pioA>;
  60. interrupts = <7 0x0>;
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&pinctrl_qt1070_irq>;
  63. wakeup-source;
  64. };
  65. };
  66. &hlcdc {
  67. hlcdc-display-controller {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
  70. port@0 {
  71. hlcdc_panel_output: endpoint@0 {
  72. reg = <0>;
  73. remote-endpoint = <&panel_input>;
  74. };
  75. };
  76. };
  77. };
  78. &pinctrl {
  79. board {
  80. pinctrl_qt1070_irq: qt1070_irq {
  81. atmel,pins =
  82. <AT91_PIOA 7 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>;
  83. };
  84. };
  85. };