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