Merge branch 'for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad...
[linux-2.6-microblaze.git] / drivers / gpu / drm / rcar-du / rcar_du_of_lvds_r8a7790.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * rcar_du_of_lvds_r8a7790.dts - Legacy LVDS DT bindings conversion for R8A7790
4  *
5  * Copyright (C) 2018 Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6  */
7
8 /dts-v1/;
9 /plugin/;
10
11 &{/} {
12         #address-cells = <2>;
13         #size-cells = <2>;
14
15         lvds@feb90000 {
16                 compatible = "renesas,r8a7790-lvds";
17                 reg = <0 0xfeb90000 0 0x1c>;
18
19                 ports {
20                         #address-cells = <1>;
21                         #size-cells = <0>;
22
23                         port@0 {
24                                 reg = <0>;
25                                 lvds0_input: endpoint {
26                                 };
27                         };
28                         port@1 {
29                                 reg = <1>;
30                                 lvds0_out: endpoint {
31                                 };
32                         };
33                 };
34         };
35
36         lvds@feb94000 {
37                 compatible = "renesas,r8a7790-lvds";
38                 reg = <0 0xfeb94000 0 0x1c>;
39
40                 ports {
41                         #address-cells = <1>;
42                         #size-cells = <0>;
43
44                         port@0 {
45                                 reg = <0>;
46                                 lvds1_input: endpoint {
47                                 };
48                         };
49                         port@1 {
50                                 reg = <1>;
51                                 lvds1_out: endpoint {
52                                 };
53                         };
54                 };
55         };
56 };
57
58 &{/display@feb00000/ports} {
59         port@1 {
60                 endpoint {
61                         remote-endpoint = <&lvds0_input>;
62                 };
63         };
64         port@2 {
65                 endpoint {
66                         remote-endpoint = <&lvds1_input>;
67                 };
68         };
69 };