summaryrefslogtreecommitdiff
path: root/overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2022-10-11 13:44:18 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2022-10-12 16:27:15 +0200
commitbc523efdf8fe4be85aa9b3b1642bc1f55527633a (patch)
tree4c82bc7c26e10af3bfbe7a3948474023c6f1cd77 /overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts
parent9741ca20e8deff34d4e5060a7a06d71790a5a6d7 (diff)
verdin-imx8mp: convert mezzanine overlaystoradex_5.15-2.0.x-imx
Related-to: ELB-4838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts')
-rw-r--r--overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts89
1 files changed, 0 insertions, 89 deletions
diff --git a/overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts b/overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts
deleted file mode 100644
index d94dc2e..0000000
--- a/overlays/verdin-imx8mp_mezzanine-ov5640-2_overlay.dts
+++ /dev/null
@@ -1,89 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/*
- * Copyright 2021 Toradex
- */
-
-// Verdin iMX8M Plus Mezzanine orderable at Toradex.
-// CSI Camera Module 5MP OV5640 previously orderable at Toradex.
-
-// Note: Uses the same Verdin GPIO2 as used for the Atmel MXT Touchscreen
-// and the same I2C bus as used for DSI display adapters!
-
-/dts-v1/;
-/plugin/;
-
-#include <dt-bindings/clock/imx8mp-clock.h>
-#include <dt-bindings/gpio/gpio.h>
-
-/ {
- compatible = "toradex,verdin-imx8mp";
-};
-
-&cameradev {
- status = "okay";
-};
-
-/* Verdin I2C_2_DSI (JP3 2-3, JP4 2-3) */
-&i2c2 {
- #address-cells = <1>;
- #size-cells = <0>;
- status = "okay";
-
- ov5640_mipi@3c {
- assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
- assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
- assigned-clock-rates = <24000000>;
- AVDD-supply = <&reg_3p3v>;
- compatible = "ovti,ov5640";
- clock-names = "xclk";
- clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
- csi_id = <1>;
- DOVDD-supply = <&reg_3p3v>;
- DVDD-supply = <&reg_3p3v>;
- mclk = <24000000>;
- mclk_source = <0>;
- mipi_csi;
- pinctrl-names = "default";
- /* Verdin GPIO2 (JP6 1-2) */
- powerdown-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
- PVDD-supply = <&reg_3p3v>;
- reg = <0x3c>;
- /* Verdin GPIO1 (JP5 1-2) */
- reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
- status = "okay";
-
- port {
- ov5640_mipi_1_ep: endpoint {
- clock-lanes = <0>;
- data-lanes = <1 2>;
- remote-endpoint = <&mipi_csi1_ep>;
- };
- };
- };
-};
-
-&isi_1 {
- status = "okay";
-
- cap_device {
- status = "okay";
- };
-};
-
-&mipi_csi_1 {
- #address-cells = <1>;
- #size-cells = <0>;
- status = "okay";
-
- port@1 {
- reg = <1>;
-
- mipi_csi1_ep: endpoint {
- csis-hs-settle = <13>;
- csis-clk-settle = <2>;
- csis-wclk;
- data-lanes = <2>;
- remote-endpoint = <&ov5640_mipi_1_ep>;
- };
- };
-};