hihope-rzg2-ex-lvds.dtsi 845 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts
  4. *
  5. * Copyright (C) 2020 Renesas Electronics Corp.
  6. */
  7. / {
  8. backlight {
  9. compatible = "pwm-backlight";
  10. pwms = <&pwm0 0 50000>;
  11. brightness-levels = <0 2 8 16 32 64 128 255>;
  12. default-brightness-level = <6>;
  13. };
  14. };
  15. &gpio1 {
  16. /*
  17. * When GP1_20 is LOW LVDS0 is connected to the LVDS connector
  18. * When GP1_20 is HIGH LVDS0 is connected to the LT8918L
  19. */
  20. lvds-connector-en-hog {
  21. gpio-hog;
  22. gpios = <20 GPIO_ACTIVE_HIGH>;
  23. output-low;
  24. line-name = "lvds-connector-en-gpio";
  25. };
  26. };
  27. &lvds0 {
  28. ports {
  29. port@1 {
  30. lvds_connector: endpoint {
  31. };
  32. };
  33. };
  34. };
  35. &pfc {
  36. pwm0_pins: pwm0 {
  37. groups = "pwm0";
  38. function = "pwm0";
  39. };
  40. };
  41. &pwm0 {
  42. pinctrl-0 = <&pwm0_pins>;
  43. pinctrl-names = "default";
  44. status = "okay";
  45. };