summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts
new file mode 100644
index 000000000000..cc05ed117c35
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+edp.dts
@@ -0,0 +1,44 @@
+/*
+ * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
+ * Copyright (c) 2017 Theobroma Systemd Design und Consulting GmbH
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+
+/*
+ * Theobroma Systems RK3399-Q7 "Puma" with EDP and HDMI enabled
+ */
+#include "rk3399-puma-edp.dts"
+
+// Bind HDMI<->VOPB and DP<->VOPL by dropping the other paths
+//
+// Drop the HDMI<->VOPL path
+&vopl_out {
+ /delete-node/ endpoint@2; // vopl_out_hdmi
+};
+&hdmi_in {
+ /delete-node/ endpoint@1; // hdmi_in_vopl
+};
+// Drop the DP<->VOPB path
+&vopb_out {
+ /delete-node/ endpoint@0; // vopb_out_edp
+};
+&edp_in {
+ /delete-node/ endpoint@0; // edp_in_vopb
+};
+// Fix display_subsystem routes that refer to nodes that were deleted above
+&route_edp {
+ connect = <&vopl_out_edp>;
+};
+&route_hdmi {
+ connect = <&vopb_out_hdmi>;
+};
+
+// Enable HDMI
+&hdmi {
+ status = "okay";
+};
+
+&route_hdmi {
+ status = "okay";
+};