summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+mipidsi.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+mipidsi.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+mipidsi.dts40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+mipidsi.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+mipidsi.dts
new file mode 100644
index 000000000000..2e10eaf46f24
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-hdmi+mipidsi.dts
@@ -0,0 +1,40 @@
+/*
+ * 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 MIPI-DSI and HDMI enabled
+ */
+#include "rk3399-puma-mipidsi.dts"
+
+// Swap the order so MIPI-DSI gets VOPL, HDMI gets VOPB
+&display_subsystem {
+ ports = <&vopl_out>, <&vopb_out>;
+};
+
+// Enable HDMI on VOPB
+&hdmi {
+ status = "okay";
+ ports { port { /delete-node/ endpoint@1; }; };
+};
+&route_hdmi {
+ // defined in rk3399-puma.dts: connect = <&vopb_out_hdmi>;
+ status = "okay";
+};
+
+// Enable VOPL and move MIPI-DSI there
+&vopl {
+ status = "okay";
+ port { /delete-node/ endpoint@2; };
+};
+&vopl_mmu {
+ status = "okay";
+};
+
+&route_dsi {
+ // default in rk3399-linux.dtsi: connect = <&vopb_out_dsi>;
+ connect = <&vopl_out_dsi>;
+};