Linux Audio

Check our new training course

Loading...
v5.9
 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};
v4.17
 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	fragment@0 {
12		target-path = "/";
13		__overlay__ {
14			#address-cells = <2>;
15			#size-cells = <2>;
16
17			lvds@feb90000 {
18				compatible = "renesas,r8a7790-lvds";
19				reg = <0 0xfeb90000 0 0x1c>;
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			lvds@feb94000 {
39				compatible = "renesas,r8a7790-lvds";
40				reg = <0 0xfeb94000 0 0x1c>;
41
42				ports {
43					#address-cells = <1>;
44					#size-cells = <0>;
45
46					port@0 {
47						reg = <0>;
48						lvds1_input: endpoint {
49						};
50					};
51					port@1 {
52						reg = <1>;
53						lvds1_out: endpoint {
54						};
55					};
56				};
57			};
58		};
59	};
60
61	fragment@1 {
62		target-path = "/display@feb00000/ports";
63		__overlay__ {
64			port@1 {
65				endpoint {
66					remote-endpoint = <&lvds0_input>;
 
 
 
 
 
67				};
68			};
69			port@2 {
70				endpoint {
71					remote-endpoint = <&lvds1_input>;
72				};
73			};
 
 
 
 
 
 
 
 
 
 
 
 
 
74		};
75	};
76};