-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdb410c-d3-rear-ov5640.dts
More file actions
93 lines (79 loc) · 1.94 KB
/
db410c-d3-rear-ov5640.dts
File metadata and controls
93 lines (79 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,gcc-msm8916.h>
#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "qcom,msm8916";
fragment@0 {
target-path = "/soc";
__overlay__ {
camera_rear_vdddo: fixedregulator_camera_rear@0 {
compatible = "regulator-fixed";
regulator-name = "camera_rear_vdddo";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
camera_rear_vdda: fixedregulator_camera_rear@1 {
compatible = "regulator-fixed";
regulator-name = "camera_rear_vdda";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
};
camera_rear_vddd: fixedregulator_camera_rear@2 {
compatible = "regulator-fixed";
regulator-name = "camera_rear_vddd";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
};
};
};
fragment@1 {
target-path = "/soc/cci@1b0c000";
__overlay__ {
status = "ok";
camera_rear@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
powerdown-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>;
reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&camera_rear_default>;
clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
clock-names = "xclk";
DOVDD-supply = <&camera_rear_vdddo>;
AVDD-supply = <&camera_rear_vdda>;
DVDD-supply = <&camera_rear_vddd>;
status = "ok";
port {
camera_rear_ep: endpoint {
clock-lanes = <0>;
data-lanes = <1 2>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
};
fragment@2 {
target-path = "/soc/camss@1b00000";
__overlay__ {
status = "ok";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csiphy0_ep: endpoint {
clock-lanes = <1>;
data-lanes = <0 2>;
remote-endpoint = <&camera_rear_ep>;
status = "ok";
};
};
};
};
};
};