Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree Source for the AISTARVISION MIPI Adapter V2.1
0004  *
0005  * Copyright (C) 2020 Renesas Electronics Corp.
0006  */
0007 
0008 / {
0009         ov5645_vdddo_1v8: 1p8v {
0010                 compatible = "regulator-fixed";
0011                 regulator-name = "camera_vdddo";
0012                 regulator-min-microvolt = <1800000>;
0013                 regulator-max-microvolt = <1800000>;
0014                 regulator-always-on;
0015         };
0016 
0017         ov5645_vdda_2v8: 2p8v {
0018                 compatible = "regulator-fixed";
0019                 regulator-name = "camera_vdda";
0020                 regulator-min-microvolt = <2800000>;
0021                 regulator-max-microvolt = <2800000>;
0022                 regulator-always-on;
0023         };
0024 
0025         ov5645_vddd_1v5: 1p5v {
0026                 compatible = "regulator-fixed";
0027                 regulator-name = "camera_vddd";
0028                 regulator-min-microvolt = <1500000>;
0029                 regulator-max-microvolt = <1500000>;
0030                 regulator-always-on;
0031         };
0032 
0033         imx219_vana_2v8: 2p8v {
0034                 compatible = "regulator-fixed";
0035                 regulator-name = "camera_vana";
0036                 regulator-min-microvolt = <2800000>;
0037                 regulator-max-microvolt = <2800000>;
0038                 regulator-always-on;
0039         };
0040 
0041         imx219_vdig_1v8: 1p8v {
0042                 compatible = "regulator-fixed";
0043                 regulator-name = "camera_vdig";
0044                 regulator-min-microvolt = <1500000>;
0045                 regulator-max-microvolt = <1500000>;
0046                 regulator-always-on;
0047         };
0048 
0049         imx219_vddl_1v2: 1p2v {
0050                 compatible = "regulator-fixed";
0051                 regulator-name = "camera_vddl";
0052                 regulator-min-microvolt = <1200000>;
0053                 regulator-max-microvolt = <1200000>;
0054                 regulator-always-on;
0055         };
0056 
0057         osc25250_clk: osc25250_clk {
0058                 compatible = "fixed-clock";
0059                 #clock-cells = <0>;
0060                 clock-frequency = <24000000>;
0061         };
0062 };
0063 
0064 &MIPI_OV5645_PARENT_I2C {
0065         ov5645: ov5645@3c {
0066                 compatible = "ovti,ov5645";
0067                 reg = <0x3c>;
0068                 clock-names = "xclk";
0069                 clocks = <&osc25250_clk>;
0070                 clock-frequency = <24000000>;
0071                 vdddo-supply = <&ov5645_vdddo_1v8>;
0072                 vdda-supply = <&ov5645_vdda_2v8>;
0073                 vddd-supply = <&ov5645_vddd_1v5>;
0074 
0075                 port {
0076                         ov5645_ep: endpoint {
0077                         };
0078                 };
0079         };
0080 };
0081 
0082 &MIPI_IMX219_PARENT_I2C {
0083         imx219: imx219@10 {
0084                 compatible = "sony,imx219";
0085                 reg = <0x10>;
0086                 clocks = <&osc25250_clk>;
0087                 VANA-supply = <&imx219_vana_2v8>;
0088                 VDIG-supply = <&imx219_vdig_1v8>;
0089                 VDDL-supply = <&imx219_vddl_1v2>;
0090 
0091                 port {
0092                         imx219_ep: endpoint {
0093                         };
0094                 };
0095         };
0096 };