GNU Linux-libre 4.19.207-gnu1
[releases.git] / drivers / gpu / drm / rcar-du / rcar_du_of_lvds_r8a7796.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * rcar_du_of_lvds_r8a7796.dts - Legacy LVDS DT bindings conversion for R8A7796
4  *
5  * Copyright (C) 2018 Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6  */
7
8 /dts-v1/;
9 /plugin/;
10 / {
11         fragment@0 {
12                 target-path = "/soc";
13                 __overlay__ {
14                         #address-cells = <2>;
15                         #size-cells = <2>;
16
17                         lvds@feb90000 {
18                                 compatible = "renesas,r8a7796-lvds";
19                                 reg = <0 0xfeb90000 0 0x14>;
20
21                                 ports {
22                                         #address-cells = <1>;
23                                         #size-cells = <0>;
24
25                                         port@0 {
26                                                 reg = <0>;
27                                                 lvds0_input: endpoint {
28                                                 };
29                                         };
30                                         port@1 {
31                                                 reg = <1>;
32                                                 lvds0_out: endpoint {
33                                                 };
34                                         };
35                                 };
36                         };
37                 };
38         };
39
40         fragment@1 {
41                 target-path = "/soc/display@feb00000/ports";
42                 __overlay__ {
43                         port@3 {
44                                 endpoint {
45                                         remote-endpoint = <&lvds0_input>;
46                                 };
47                         };
48                 };
49         };
50 };