1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the AISTARVISION MIPI Adapter V2.1
4 *
5 * Copyright (C) 2020 Renesas Electronics Corp.
6 */
7
8/ {
9	ov5645_vdddo_1v8: 1p8v {
10		compatible = "regulator-fixed";
11		regulator-name = "camera_vdddo";
12		regulator-min-microvolt = <1800000>;
13		regulator-max-microvolt = <1800000>;
14		regulator-always-on;
15	};
16
17	ov5645_vdda_2v8: 2p8v {
18		compatible = "regulator-fixed";
19		regulator-name = "camera_vdda";
20		regulator-min-microvolt = <2800000>;
21		regulator-max-microvolt = <2800000>;
22		regulator-always-on;
23	};
24
25	ov5645_vddd_1v5: 1p5v {
26		compatible = "regulator-fixed";
27		regulator-name = "camera_vddd";
28		regulator-min-microvolt = <1500000>;
29		regulator-max-microvolt = <1500000>;
30		regulator-always-on;
31	};
32
33	imx219_vana_2v8: 2p8v {
34		compatible = "regulator-fixed";
35		regulator-name = "camera_vana";
36		regulator-min-microvolt = <2800000>;
37		regulator-max-microvolt = <2800000>;
38		regulator-always-on;
39	};
40
41	imx219_vdig_1v8: 1p8v {
42		compatible = "regulator-fixed";
43		regulator-name = "camera_vdig";
44		regulator-min-microvolt = <1500000>;
45		regulator-max-microvolt = <1500000>;
46		regulator-always-on;
47	};
48
49	imx219_vddl_1v2: 1p2v {
50		compatible = "regulator-fixed";
51		regulator-name = "camera_vddl";
52		regulator-min-microvolt = <1200000>;
53		regulator-max-microvolt = <1200000>;
54		regulator-always-on;
55	};
56
57	osc25250_clk: osc25250_clk {
58		compatible = "fixed-clock";
59		#clock-cells = <0>;
60		clock-frequency = <24000000>;
61	};
62};
63
64&MIPI_OV5645_PARENT_I2C {
65	ov5645: ov5645@3c {
66		compatible = "ovti,ov5645";
67		reg = <0x3c>;
68		clock-names = "xclk";
69		clocks = <&osc25250_clk>;
70		clock-frequency = <24000000>;
71		vdddo-supply = <&ov5645_vdddo_1v8>;
72		vdda-supply = <&ov5645_vdda_2v8>;
73		vddd-supply = <&ov5645_vddd_1v5>;
74
75		port {
76			ov5645_ep: endpoint {
77			};
78		};
79	};
80};
81
82&MIPI_IMX219_PARENT_I2C {
83	imx219: imx219@10 {
84		compatible = "sony,imx219";
85		reg = <0x10>;
86		clocks = <&osc25250_clk>;
87		VANA-supply = <&imx219_vana_2v8>;
88		VDIG-supply = <&imx219_vdig_1v8>;
89		VDDL-supply = <&imx219_vddl_1v2>;
90
91		port {
92			imx219_ep: endpoint {
93			};
94		};
95	};
96};
97