summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7790.dts
blob: 8bee4e787a0ab4eb06646b56f0ddff92cad130b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// SPDX-License-Identifier: GPL-2.0
/*
 * rcar_du_of_lvds_r8a7790.dts - Legacy LVDS DT bindings conversion for R8A7790
 *
 * Copyright (C) 2018 Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 */

/dts-v1/;
/plugin/;

&{/} {
	#address-cells = <2>;
	#size-cells = <2>;

	lvds@feb90000 {
		compatible = "renesas,r8a7790-lvds";
		reg = <0 0xfeb90000 0 0x1c>;

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				lvds0_input: endpoint {
				};
			};
			port@1 {
				reg = <1>;
				lvds0_out: endpoint {
				};
			};
		};
	};

	lvds@feb94000 {
		compatible = "renesas,r8a7790-lvds";
		reg = <0 0xfeb94000 0 0x1c>;

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;
				lvds1_input: endpoint {
				};
			};
			port@1 {
				reg = <1>;
				lvds1_out: endpoint {
				};
			};
		};
	};
};

&{/display@feb00000/ports} {
	port@1 {
		endpoint {
			remote-endpoint = <&lvds0_input>;
		};
	};
	port@2 {
		endpoint {
			remote-endpoint = <&lvds1_input>;
		};
	};
};