-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtegra234-antmicro-job-i2c-buses.dtsi
More file actions
59 lines (53 loc) · 1.23 KB
/
tegra234-antmicro-job-i2c-buses.dtsi
File metadata and controls
59 lines (53 loc) · 1.23 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
/*
* Copyright (c) 2023 Antmicro <www.antmicro.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
&cam_i2c {
job_cam_i2c_mux: pca9548@70 {
compatible = "nxp,pca9548";
status = "okay";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
job_cam0_i2c: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
};
job_cam1_i2c: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
};
job_cam2_i2c: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
};
job_cam3_i2c: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
};
};
};
/ {
/*
* Assign fixed I2C bus numbers (visible as /dev/i2c-*)
* to muxed CAM I2C interfaces
*/
aliases {
i2c16 = &job_cam0_i2c;
i2c17 = &job_cam1_i2c;
i2c18 = &job_cam2_i2c;
i2c19 = &job_cam3_i2c;
};
};