xref: /openbmc/linux/arch/arm64/boot/dts/renesas/aistarvision-mipi-adapter-2.1.dtsi (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
10e36587cSLad Prabhakar// SPDX-License-Identifier: GPL-2.0
20e36587cSLad Prabhakar/*
30e36587cSLad Prabhakar * Device Tree Source for the AISTARVISION MIPI Adapter V2.1
40e36587cSLad Prabhakar *
50e36587cSLad Prabhakar * Copyright (C) 2020 Renesas Electronics Corp.
60e36587cSLad Prabhakar */
70e36587cSLad Prabhakar
80e36587cSLad Prabhakar/ {
90e36587cSLad Prabhakar	ov5645_vdddo_1v8: 1p8v {
100e36587cSLad Prabhakar		compatible = "regulator-fixed";
110e36587cSLad Prabhakar		regulator-name = "camera_vdddo";
120e36587cSLad Prabhakar		regulator-min-microvolt = <1800000>;
130e36587cSLad Prabhakar		regulator-max-microvolt = <1800000>;
140e36587cSLad Prabhakar		regulator-always-on;
150e36587cSLad Prabhakar	};
160e36587cSLad Prabhakar
170e36587cSLad Prabhakar	ov5645_vdda_2v8: 2p8v {
180e36587cSLad Prabhakar		compatible = "regulator-fixed";
190e36587cSLad Prabhakar		regulator-name = "camera_vdda";
200e36587cSLad Prabhakar		regulator-min-microvolt = <2800000>;
210e36587cSLad Prabhakar		regulator-max-microvolt = <2800000>;
220e36587cSLad Prabhakar		regulator-always-on;
230e36587cSLad Prabhakar	};
240e36587cSLad Prabhakar
250e36587cSLad Prabhakar	ov5645_vddd_1v5: 1p5v {
260e36587cSLad Prabhakar		compatible = "regulator-fixed";
270e36587cSLad Prabhakar		regulator-name = "camera_vddd";
280e36587cSLad Prabhakar		regulator-min-microvolt = <1500000>;
290e36587cSLad Prabhakar		regulator-max-microvolt = <1500000>;
300e36587cSLad Prabhakar		regulator-always-on;
310e36587cSLad Prabhakar	};
320e36587cSLad Prabhakar
330e36587cSLad Prabhakar	imx219_vana_2v8: 2p8v {
340e36587cSLad Prabhakar		compatible = "regulator-fixed";
350e36587cSLad Prabhakar		regulator-name = "camera_vana";
360e36587cSLad Prabhakar		regulator-min-microvolt = <2800000>;
370e36587cSLad Prabhakar		regulator-max-microvolt = <2800000>;
380e36587cSLad Prabhakar		regulator-always-on;
390e36587cSLad Prabhakar	};
400e36587cSLad Prabhakar
410e36587cSLad Prabhakar	imx219_vdig_1v8: 1p8v {
420e36587cSLad Prabhakar		compatible = "regulator-fixed";
430e36587cSLad Prabhakar		regulator-name = "camera_vdig";
440e36587cSLad Prabhakar		regulator-min-microvolt = <1500000>;
450e36587cSLad Prabhakar		regulator-max-microvolt = <1500000>;
460e36587cSLad Prabhakar		regulator-always-on;
470e36587cSLad Prabhakar	};
480e36587cSLad Prabhakar
490e36587cSLad Prabhakar	imx219_vddl_1v2: 1p2v {
500e36587cSLad Prabhakar		compatible = "regulator-fixed";
510e36587cSLad Prabhakar		regulator-name = "camera_vddl";
520e36587cSLad Prabhakar		regulator-min-microvolt = <1200000>;
530e36587cSLad Prabhakar		regulator-max-microvolt = <1200000>;
540e36587cSLad Prabhakar		regulator-always-on;
550e36587cSLad Prabhakar	};
560e36587cSLad Prabhakar
570e36587cSLad Prabhakar	osc25250_clk: osc25250_clk {
580e36587cSLad Prabhakar		compatible = "fixed-clock";
590e36587cSLad Prabhakar		#clock-cells = <0>;
600e36587cSLad Prabhakar		clock-frequency = <24000000>;
610e36587cSLad Prabhakar	};
620e36587cSLad Prabhakar};
630e36587cSLad Prabhakar
64*622007d1SLad Prabhakar&MIPI_OV5645_PARENT_I2C {
650e36587cSLad Prabhakar	ov5645: ov5645@3c {
660e36587cSLad Prabhakar		compatible = "ovti,ov5645";
670e36587cSLad Prabhakar		reg = <0x3c>;
680e36587cSLad Prabhakar		clocks = <&osc25250_clk>;
690e36587cSLad Prabhakar		clock-frequency = <24000000>;
700e36587cSLad Prabhakar		vdddo-supply = <&ov5645_vdddo_1v8>;
710e36587cSLad Prabhakar		vdda-supply = <&ov5645_vdda_2v8>;
720e36587cSLad Prabhakar		vddd-supply = <&ov5645_vddd_1v5>;
730e36587cSLad Prabhakar
740e36587cSLad Prabhakar		port {
750e36587cSLad Prabhakar			ov5645_ep: endpoint {
760e36587cSLad Prabhakar			};
770e36587cSLad Prabhakar		};
780e36587cSLad Prabhakar	};
79*622007d1SLad Prabhakar};
800e36587cSLad Prabhakar
81*622007d1SLad Prabhakar&MIPI_IMX219_PARENT_I2C {
820e36587cSLad Prabhakar	imx219: imx219@10 {
830e36587cSLad Prabhakar		compatible = "sony,imx219";
840e36587cSLad Prabhakar		reg = <0x10>;
850e36587cSLad Prabhakar		clocks = <&osc25250_clk>;
860e36587cSLad Prabhakar		VANA-supply = <&imx219_vana_2v8>;
870e36587cSLad Prabhakar		VDIG-supply = <&imx219_vdig_1v8>;
880e36587cSLad Prabhakar		VDDL-supply = <&imx219_vddl_1v2>;
890e36587cSLad Prabhakar
900e36587cSLad Prabhakar		port {
910e36587cSLad Prabhakar			imx219_ep: endpoint {
920e36587cSLad Prabhakar			};
930e36587cSLad Prabhakar		};
940e36587cSLad Prabhakar	};
950e36587cSLad Prabhakar};
96