]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: renesas: r9a09g056n48-rzv2n-evk: Enable DU and DSI
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Mon, 3 Nov 2025 20:03:49 +0000 (20:03 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 5 Jan 2026 13:37:17 +0000 (14:37 +0100)
Enable DU, DSI and adv7535 HDMI encoder on RZ/V2N Evaluation Kit.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251103200349.62087-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g056n48-rzv2n-evk.dts

index 066e66b5d51a2ceb75c55a1633a93215aef3deab..4445bebd96c97b6c1af8a91132280bfd2e68f128 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       hdmi-out {
+               compatible = "hdmi-connector";
+               type = "d";
+
+               port {
+                       hdmi_con_out: endpoint {
+                               remote-endpoint = <&adv7535_out>;
+                       };
+               };
+       };
+
        memory@48000000 {
                device_type = "memory";
                /* first 128MB is reserved for secure area. */
                #clock-cells = <0>;
                clock-frequency = <32768>;
        };
+
+       /* 12MHz oscillator for ADV7535 */
+       y1: y1-clock {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <12000000>;
+       };
 };
 
 &audio_extal_clk {
        clock-frequency = <22579200>;
 };
 
+&dsi {
+       status = "okay";
+
+       ports {
+               port@1 {
+                       dsi_out: endpoint {
+                               data-lanes = <1 2 3 4>;
+                               remote-endpoint = <&adv7535_in>;
+                       };
+               };
+       };
+};
+
+&du {
+       status = "okay";
+};
+
 &ehci0 {
        dr_mode = "otg";
        status = "okay";
        pinctrl-names = "default";
        clock-frequency = <400000>;
        status = "okay";
+
+       adv7535: hdmi@3d {
+               compatible = "adi,adv7535";
+               reg = <0x3d>, <0x3f>, <0x3c>, <0x38>;
+               reg-names = "main", "edid", "cec", "packet";
+               clocks = <&y1>;
+               clock-names = "cec";
+               avdd-supply = <&reg_1p8v>;
+               dvdd-supply = <&reg_1p8v>;
+               pvdd-supply = <&reg_1p8v>;
+               a2vdd-supply = <&reg_1p8v>;
+               v3p3-supply = <&reg_3p3v>;
+               v1p2-supply = <&reg_1p8v>;
+               adi,dsi-lanes = <4>;
+
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
+                               adv7535_in: endpoint {
+                                       remote-endpoint = <&dsi_out>;
+                               };
+                       };
+
+                       port@1 {
+                               reg = <1>;
+                               adv7535_out: endpoint {
+                                       remote-endpoint = <&hdmi_con_out>;
+                               };
+                       };
+               };
+       };
 };
 
 &i2c6 {