Skip to content
Permalink
Browse files
arm64: dts: rockchip: rk3568-bpi-r2pro: Enable VOP2 and hdmi
This enabled the VOP2 display controller along with hdmi and the
required port routes which is enough to get a picture out of the
hdmi port of the board.

Changes since v3:
- Fix HDMI connector type

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
  • Loading branch information
saschahauer authored and frank-w committed Feb 11, 2022
1 parent d04cbe9 commit 5c05743b10937babcd3faa9a2abf22d67d72398b
Showing 1 changed file with 47 additions and 0 deletions.
@@ -8,6 +8,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/soc/rockchip,vop2.h>
#include "rk3568.dtsi"

/ {
@@ -54,6 +55,17 @@
regulator-max-microvolt = <12000000>;
};

hdmi-con {
compatible = "hdmi-connector";
type = "a";

port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};

vcc3v3_sys: vcc3v3-sys {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_sys";
@@ -179,6 +191,12 @@
};
};

&hdmi {
avdd-0v9-supply = <&vdda0v9_image>;
avdd-1v8-supply = <&vcca1v8_image>;
status = "okay";
};

&i2c0 {
status = "okay";

@@ -630,3 +648,32 @@
status = "okay";
};

&vop {
assigned-clocks = <&cru DCLK_VOP0>, <&cru DCLK_VOP1>;
assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;
status = "okay";
};

&vop_mmu {
status = "okay";
};

&hdmi_in {
hdmi_in_vp0: endpoint@0 {
reg = <0>;
remote-endpoint = <&vp0_out_hdmi>;
};
};

&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};

&vp0 {
vp0_out_hdmi: endpoint@RK3568_VOP2_EP_HDMI {
reg = <RK3568_VOP2_EP_HDMI>;
remote-endpoint = <&hdmi_in_vp0>;
};
};

0 comments on commit 5c05743

Please sign in to comment.