1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright 2022 Gateworks Corporation
6 #include <dt-bindings/gpio/gpio.h>
8 #include "imx8mm-pinfunc.h"
14 compatible = "gw,imx8mm-gw72xx-0x", "fsl,imx8mm";
16 reg_cam: regulator-cam {
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_reg_cam>;
19 compatible = "regulator-fixed";
20 regulator-name = "reg_cam";
21 gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
23 regulator-min-microvolt = <1800000>;
24 regulator-max-microvolt = <1800000>;
28 compatible = "fixed-clock";
30 clock-frequency = <24000000>;
31 clock-output-names = "cam24m";
44 compatible = "sony,imx219";
47 VDIG-supply = <®_cam>;
50 /* MIPI CSI-2 bus endpoint */
51 imx219_to_mipi_csi2: endpoint {
52 remote-endpoint = <&imx8mm_mipi_csi_in>;
55 link-frequencies = /bits/ 64 <456000000>;
71 imx8mm_mipi_csi_in: endpoint {
72 remote-endpoint = <&imx219_to_mipi_csi2>;
80 imx8mm_mipi_csi_out: endpoint {
81 remote-endpoint = <&csi_in>;
88 pinctrl_reg_cam: regcamgrp {
90 MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x41