-
Notifications
You must be signed in to change notification settings - Fork 845
/
rpi-addi9036-overlay.dts
140 lines (120 loc) · 2.16 KB
/
rpi-addi9036-overlay.dts
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
// Definitions for ADDI9036 camera module
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2708";
fragment@0 {
target = <&i2c_vc>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
camera_front@64 {
compatible = "adi,addi9036";
reg = <0x64>;
reset-gpios = <&gpio 41 1>;
port {
addi9036_ep: endpoint {
remote-endpoint = <&csi1_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
};
};
fragment@1 {
target = <&csi1>;
__overlay__ {
status = "okay";
port {
csi1_ep: endpoint {
remote-endpoint = <&addi9036_ep>;
};
};
};
};
fragment@2 {
target = <&i2c0_pins>;
__overlay__ {
brcm,pins = <44 45>;
brcm,function = <5>; /* alt1 */
};
};
fragment@3 {
target = <&i2c_vc>;
__overlay__ {
status = "okay";
};
};
fragment@4 {
target = <&i2c1>;
__dormant__ {
pinctrl-0 = <&i2c1_pins>;
status = "okay";
};
};
/* Fragment valid only for ADI ToF REV B */
fragment@5 {
target = <&i2c1>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
eeprom_i2c1: eeprom@56 {
compatible = "atmel,24c1024";
reg = <0x56>;
pagesize = <32>;
};
};
};
/* Fragment valid only for ADI ToF REV C */
fragment@6 {
target = <&i2c_vc>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
eeprom_i2c_vc: eeprom@56 {
compatible = "atmel,24c1024";
reg = <0x56>;
pagesize = <32>;
};
};
};
fragment@7 {
target = <&i2c1_pins>;
__dormant__ {
brcm,pins = <2 3>;
brcm,function = <4>; /* alt 0 */
};
};
/* Fragment valid only for Chicony */
fragment@8 {
target = <&i2c_vc>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
tmp102_i2c_vc: temp@48 {
compatible = "ti,tmp102";
reg = <0x48>;
};
};
};
/* Fragment valid only for Foxconn */
fragment@9 {
target = <&i2c_vc>;
__dormant__ {
#address-cells = <1>;
#size-cells = <0>;
tmp103_i2c_vc: temp@73 {
compatible = "ti,tmp103";
reg = <0x73>;
};
};
};
__overrides__ {
revb = <0>,"+4+5-6+7-8-9";
revc = <0>,"-4-5+6-7-8-9";
chicony = <0>,"-4-5+6-7+8-9";
foxconn = <0>,"-4-5+6-7-8+9";
};
};