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