~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/renesas/r8a774c0-ek874-idk-2121wr.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree Source for the Silicon Linux RZ/G2E evaluation kit (EK874),
  4  * connected to an Advantech IDK-2121WR 21.5" LVDS panel
  5  *
  6  * Copyright (C) 2019 Renesas Electronics Corp.
  7  */
  8 
  9 #include "r8a774c0-ek874.dts"
 10 
 11 / {
 12         backlight: backlight {
 13                 compatible = "pwm-backlight";
 14                 pwms = <&pwm5 0 50000>;
 15 
 16                 brightness-levels = <0 4 8 16 32 64 128 255>;
 17                 default-brightness-level = <6>;
 18 
 19                 power-supply = <&reg_12p0v>;
 20                 enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
 21         };
 22 
 23         panel-lvds {
 24                 compatible = "advantech,idk-2121wr", "panel-lvds";
 25 
 26                 width-mm = <476>;
 27                 height-mm = <268>;
 28 
 29                 data-mapping = "vesa-24";
 30 
 31                 panel-timing {
 32                         clock-frequency = <148500000>;
 33                         hactive = <1920>;
 34                         vactive = <1080>;
 35                         hsync-len = <44>;
 36                         hfront-porch = <88>;
 37                         hback-porch = <148>;
 38                         vfront-porch = <4>;
 39                         vback-porch = <36>;
 40                         vsync-len = <5>;
 41                 };
 42 
 43                 ports {
 44                         #address-cells = <1>;
 45                         #size-cells = <0>;
 46 
 47                         port@0 {
 48                                 reg = <0>;
 49                                 dual-lvds-odd-pixels;
 50                                 panel_in0: endpoint {
 51                                         remote-endpoint = <&lvds0_out>;
 52                                 };
 53                         };
 54 
 55                         port@1 {
 56                                 reg = <1>;
 57                                 dual-lvds-even-pixels;
 58                                 panel_in1: endpoint {
 59                                         remote-endpoint = <&lvds1_out>;
 60                                 };
 61                         };
 62                 };
 63         };
 64 };
 65 
 66 &gpio0 {
 67         /*
 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
 70          */
 71         lvds-connector-en-hog {
 72                 gpio-hog;
 73                 gpios = <17 GPIO_ACTIVE_HIGH>;
 74                 output-low;
 75                 line-name = "lvds-connector-en-gpio";
 76         };
 77 };
 78 
 79 &lvds0 {
 80         ports {
 81                 port@1 {
 82                         lvds0_out: endpoint {
 83                                 remote-endpoint = <&panel_in0>;
 84                         };
 85                 };
 86         };
 87 };
 88 
 89 &lvds1 {
 90         status = "okay";
 91 
 92         clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
 93         clock-names = "fck", "dclkin.0", "extal";
 94 
 95         ports {
 96                 port@1 {
 97                         lvds1_out: endpoint {
 98                                 remote-endpoint = <&panel_in1>;
 99                         };
100                 };
101         };
102 };
103 
104 &pfc {
105         pwm5_pins: pwm5 {
106                 groups = "pwm5_a";
107                 function = "pwm5";
108         };
109 };
110 
111 &pwm5 {
112         pinctrl-0 = <&pwm5_pins>;
113         pinctrl-names = "default";
114 
115         status = "okay";
116 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php