blob: d66d17e34694c871c8ad35d66f91a8556b2bd24f [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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/ {
9 backlight {
10 compatible = "pwm-backlight";
11 pwms = <&pwm0 0 50000>;
12
13 brightness-levels = <0 2 8 16 32 64 128 255>;
14 default-brightness-level = <6>;
15 };
16};
17
18&gpio1 {
19 /*
20 * When GP1_20 is LOW LVDS0 is connected to the LVDS connector
21 * When GP1_20 is HIGH LVDS0 is connected to the LT8918L
22 */
23 lvds-connector-en-hog {
24 gpio-hog;
25 gpios = <20 GPIO_ACTIVE_HIGH>;
26 output-low;
27 line-name = "lvds-connector-en-gpio";
28 };
29};
30
31&lvds0 {
32 ports {
33 port@1 {
34 lvds_connector: endpoint {
35 };
36 };
37 };
38};
39
40&pfc {
41 pwm0_pins: pwm0 {
42 groups = "pwm0";
43 function = "pwm0";
44 };
45};
46
47&pwm0 {
48 pinctrl-0 = <&pwm0_pins>;
49 pinctrl-names = "default";
50
51 status = "okay";
52};