Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree Source for the RZ/G2[MN] HiHope sub board LVDS common parts
0004  *
0005  * Copyright (C) 2020 Renesas Electronics Corp.
0006  */
0007 
0008 / {
0009         backlight {
0010                 compatible = "pwm-backlight";
0011                 pwms = <&pwm0 0 50000>;
0012 
0013                 brightness-levels = <0 2 8 16 32 64 128 255>;
0014                 default-brightness-level = <6>;
0015         };
0016 };
0017 
0018 &gpio1 {
0019         /*
0020          * When GP1_20 is LOW LVDS0 is connected to the LVDS connector
0021          * When GP1_20 is HIGH LVDS0 is connected to the LT8918L
0022          */
0023         lvds-connector-en-hog {
0024                 gpio-hog;
0025                 gpios = <20 GPIO_ACTIVE_HIGH>;
0026                 output-low;
0027                 line-name = "lvds-connector-en-gpio";
0028         };
0029 };
0030 
0031 &lvds0 {
0032         ports {
0033                 port@1 {
0034                         lvds_connector: endpoint {
0035                         };
0036                 };
0037         };
0038 };
0039 
0040 &pfc {
0041         pwm0_pins: pwm0 {
0042                 groups = "pwm0";
0043                 function = "pwm0";
0044         };
0045 };
0046 
0047 &pwm0 {
0048         pinctrl-0 = <&pwm0_pins>;
0049         pinctrl-names = "default";
0050 
0051         status = "okay";
0052 };