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