xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/rz-smarc-du-adv7513.dtsi (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1*cc49fcd0SBiju Das// SPDX-License-Identifier: GPL-2.0
2*cc49fcd0SBiju Das/*
3*cc49fcd0SBiju Das * Common Device Tree for the RZ/G2UL SMARC EVK (and alike EVKs) with
4*cc49fcd0SBiju Das * ADV7513 transmitter connected to DU enabled.
5*cc49fcd0SBiju Das *
6*cc49fcd0SBiju Das * Copyright (C) 2024 Renesas Electronics Corp.
7*cc49fcd0SBiju Das */
8*cc49fcd0SBiju Das
9*cc49fcd0SBiju Das&{/} {
10*cc49fcd0SBiju Das	hdmi-out {
11*cc49fcd0SBiju Das		compatible = "hdmi-connector";
12*cc49fcd0SBiju Das		type = "d";
13*cc49fcd0SBiju Das
14*cc49fcd0SBiju Das		port {
15*cc49fcd0SBiju Das			hdmi_con_out: endpoint {
16*cc49fcd0SBiju Das				remote-endpoint = <&adv7513_out>;
17*cc49fcd0SBiju Das			};
18*cc49fcd0SBiju Das		};
19*cc49fcd0SBiju Das	};
20*cc49fcd0SBiju Das};
21*cc49fcd0SBiju Das
22*cc49fcd0SBiju Das&du {
23*cc49fcd0SBiju Das	pinctrl-0 = <&du_pins>;
24*cc49fcd0SBiju Das	pinctrl-names = "default";
25*cc49fcd0SBiju Das
26*cc49fcd0SBiju Das	status = "okay";
27*cc49fcd0SBiju Das
28*cc49fcd0SBiju Das	ports {
29*cc49fcd0SBiju Das		port@0 {
30*cc49fcd0SBiju Das			du_out_rgb: endpoint {
31*cc49fcd0SBiju Das				remote-endpoint = <&adv7513_in>;
32*cc49fcd0SBiju Das			};
33*cc49fcd0SBiju Das		};
34*cc49fcd0SBiju Das	};
35*cc49fcd0SBiju Das};
36*cc49fcd0SBiju Das
37*cc49fcd0SBiju Das&ADV7513_PARENT_I2C {
38*cc49fcd0SBiju Das	#address-cells = <1>;
39*cc49fcd0SBiju Das	#size-cells = <0>;
40*cc49fcd0SBiju Das
41*cc49fcd0SBiju Das	adv7513: adv7513@39 {
42*cc49fcd0SBiju Das		compatible = "adi,adv7513";
43*cc49fcd0SBiju Das		reg = <0x39>;
44*cc49fcd0SBiju Das
45*cc49fcd0SBiju Das		adi,input-depth = <8>;
46*cc49fcd0SBiju Das		adi,input-colorspace = "rgb";
47*cc49fcd0SBiju Das		adi,input-clock = "1x";
48*cc49fcd0SBiju Das
49*cc49fcd0SBiju Das		avdd-supply = <&reg_1p8v>;
50*cc49fcd0SBiju Das		dvdd-supply = <&reg_1p8v>;
51*cc49fcd0SBiju Das		pvdd-supply = <&reg_1p8v>;
52*cc49fcd0SBiju Das		dvdd-3v-supply = <&reg_3p3v>;
53*cc49fcd0SBiju Das		bgvdd-supply = <&reg_1p8v>;
54*cc49fcd0SBiju Das
55*cc49fcd0SBiju Das		ports {
56*cc49fcd0SBiju Das			#address-cells = <1>;
57*cc49fcd0SBiju Das			#size-cells = <0>;
58*cc49fcd0SBiju Das
59*cc49fcd0SBiju Das			port@0 {
60*cc49fcd0SBiju Das				reg = <0>;
61*cc49fcd0SBiju Das
62*cc49fcd0SBiju Das				adv7513_in: endpoint {
63*cc49fcd0SBiju Das					remote-endpoint = <&du_out_rgb>;
64*cc49fcd0SBiju Das				};
65*cc49fcd0SBiju Das			};
66*cc49fcd0SBiju Das
67*cc49fcd0SBiju Das			port@1 {
68*cc49fcd0SBiju Das				reg = <1>;
69*cc49fcd0SBiju Das
70*cc49fcd0SBiju Das				adv7513_out: endpoint {
71*cc49fcd0SBiju Das					remote-endpoint = <&hdmi_con_out>;
72*cc49fcd0SBiju Das				};
73*cc49fcd0SBiju Das			};
74*cc49fcd0SBiju Das		};
75*cc49fcd0SBiju Das	};
76*cc49fcd0SBiju Das};
77