xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/aistarvision-mipi-adapter-2.1.dtsi (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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		clocks = <&osc25250_clk>;
69		clock-frequency = <24000000>;
70		vdddo-supply = <&ov5645_vdddo_1v8>;
71		vdda-supply = <&ov5645_vdda_2v8>;
72		vddd-supply = <&ov5645_vddd_1v5>;
73
74		port {
75			ov5645_ep: endpoint {
76			};
77		};
78	};
79};
80
81&MIPI_IMX219_PARENT_I2C {
82	imx219: imx219@10 {
83		compatible = "sony,imx219";
84		reg = <0x10>;
85		clocks = <&osc25250_clk>;
86		VANA-supply = <&imx219_vana_2v8>;
87		VDIG-supply = <&imx219_vdig_1v8>;
88		VDDL-supply = <&imx219_vddl_1v2>;
89
90		port {
91			imx219_ep: endpoint {
92			};
93		};
94	};
95};
96