summaryrefslogtreecommitdiff
path: root/overlays/display-vga-640x480_overlay.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/display-vga-640x480_overlay.dtsi')
-rw-r--r--overlays/display-vga-640x480_overlay.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/overlays/display-vga-640x480_overlay.dtsi b/overlays/display-vga-640x480_overlay.dtsi
new file mode 100644
index 0000000..4f4556e
--- /dev/null
+++ b/overlays/display-vga-640x480_overlay.dtsi
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/*
+ * Copyright 2022 Toradex
+ */
+
+// VGA Signal 640x480@60Hz Industry standard timing
+
+&panel_dpi {
+ compatible = "panel-dpi";
+ status = "okay";
+
+ /* for 0.3mm pixels */
+ width-mm = <192>;
+ height-mm = <144>;
+
+ panel-timing {
+ clock-frequency = <25175000>;
+ hactive = <640>;
+ vactive = <480>;
+ hsync-len = <96>;
+ hfront-porch = <16>;
+ hback-porch = <48>;
+ vsync-len = <2>;
+ vfront-porch = <10>;
+ vback-porch = <33>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ };
+};