1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright 2023 Gateworks Corporation
6 #include <dt-bindings/gpio/gpio.h>
8 #include "imx8mp-pinfunc.h"
14 compatible = "gw,imx8mp-gw74xx", "fsl,imx8mp";
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 4 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";
40 compatible = "sony,imx219";
43 VDIG-supply = <®_cam>;
46 /* MIPI CSI-2 bus endpoint */
47 imx219_to_mipi_csi2: endpoint {
48 remote-endpoint = <&mipi_csi_0_in>;
51 link-frequencies = /bits/ 64 <456000000>;
66 mipi_csi_0_in: endpoint {
67 remote-endpoint = <&imx219_to_mipi_csi2>;
75 pinctrl_reg_cam: regcamgrp {
77 MX8MP_IOMUXC_GPIO1_IO04__GPIO1_IO04 0x41