Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / i2c-sensor-overlay.dts
1 // Definitions for I2C based sensors using the Industrial IO or HWMON interface.
2 /dts-v1/;
3 /plugin/;
4
5 #include "i2c-sensor-common.dtsi"
6
7 / {
8         frag100: fragment@100 {
9                 target = <&i2c_arm>;
10                 i2cbus: __overlay__ {
11                         status = "okay";
12                 };
13         };
14
15         fragment@101 {
16                 target = <&i2c0if>;
17                 __dormant__ {
18                         status = "okay";
19                 };
20         };
21
22         fragment@102 {
23                 target = <&i2c0mux>;
24                 __dormant__ {
25                         status = "okay";
26                 };
27         };
28
29         __overrides__ {
30                 i2c0 = <&frag100>, "target:0=",<&i2c0>;
31                 i2c_csi_dsi = <&frag100>, "target:0=",<&i2c_csi_dsi>,
32                               <0>,"+101+102";
33                 i2c3 = <&frag100>, "target?=0",
34                        <&frag100>, "target-path=i2c3";
35                 i2c4 = <&frag100>, "target?=0",
36                        <&frag100>, "target-path=i2c4";
37                 i2c5 = <&frag100>, "target?=0",
38                        <&frag100>, "target-path=i2c5";
39                 i2c6 = <&frag100>, "target?=0",
40                        <&frag100>, "target-path=i2c6";
41         };
42 };