1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Silicon Linux RZ/G2E evaluation kit (EK874),
4 * connected to an Advantech IDK-2121WR 21.5" LVDS panel
6 * Copyright (C) 2019 Renesas Electronics Corp.
9 #include "r8a774c0-ek874.dts"
12 backlight: backlight {
13 compatible = "pwm-backlight";
14 pwms = <&pwm5 0 50000>;
16 brightness-levels = <0 4 8 16 32 64 128 255>;
17 default-brightness-level = <6>;
19 power-supply = <®_12p0v>;
20 enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
24 compatible = "advantech,idk-2121wr", "panel-lvds";
29 data-mapping = "vesa-24";
32 clock-frequency = <148500000>;
51 remote-endpoint = <&lvds0_out>;
57 dual-lvds-even-pixels;
59 remote-endpoint = <&lvds1_out>;
68 * When GP0_17 is low LVDS[01] are connected to the LVDS connector
69 * When GP0_17 is high LVDS[01] are connected to the LT8918L
71 lvds-connector-en-gpio{
73 gpios = <17 GPIO_ACTIVE_HIGH>;
75 line-name = "lvds-connector-en-gpio";
83 remote-endpoint = <&panel_in0>;
92 clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
93 clock-names = "fck", "dclkin.0", "extal";
98 remote-endpoint = <&panel_in1>;
112 pinctrl-0 = <&pwm5_pins>;
113 pinctrl-names = "default";