summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts62
1 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts
new file mode 100644
index 000000000000..9f995fd1c42a
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts
@@ -0,0 +1,62 @@
+/*
+ * Copyright (c) 2017 Theobroma Systemd Design und Consulting GmbH
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+
+
+/*
+ * Theobroma Systems RK3399-Q7 "Puma" with EDP enabled instead of HDMI
+ */
+#include "rk3399-puma.dts"
+
+/ {
+ edp_panel: edp_panel {
+ // simple-panel does not define any timings - they are read from the monitor EDID.
+ compatible = "simple-panel";
+ // The enable gpio is used to switch the hardware multiplexer (U29) to DisplayPort.
+ enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; // GPIO2_A2 = SEL_EDP_1V8
+ ports {
+ panel_in_edp: endpoint {
+ remote-endpoint = <&edp_out_panel>;
+ };
+ };
+ };
+};
+
+&vopl {
+ status = "okay";
+};
+&vopl_mmu {
+ status = "okay";
+};
+
+&edp {
+ status = "okay";
+ force-hpd;
+ /delete-property/ pinctrl-0;
+ ports {
+ edp_out: port@1 {
+ reg = <1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ edp_out_panel: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&panel_in_edp>;
+ };
+ };
+ };
+};
+
+&hdmi {
+ status = "disabled";
+};
+
+&route_hdmi {
+ status = "disabled";
+};
+
+&route_edp {
+ status = "okay";
+};