blob: 9da50a5982020d00678567cc82e3994030a0f517 [file] [log] [blame]
James Feistc95cb142018-02-26 10:41:42 -08001/dts-v1/;
2/plugin/;
3/ {
4 compatible = "$platform";
5 fragment@0{
6 target = <&i2c$bus>;
7 __overlay__{
8 status = "okay";
James Feistd63d18a2018-07-19 15:23:45 -07009 smbus_mux@$Name {
James Feistc95cb142018-02-26 10:41:42 -080010 compatible = "nxp,pca9545";
11 reg = <$address>;
12 #address-cells = <1>;
13 #size-cells = <0>;
James Feistd63d18a2018-07-19 15:23:45 -070014 oemname1 = "$Name";
15 $Name_0: $Name@0 {
James Feistc95cb142018-02-26 10:41:42 -080016 #address-cells = <1>;
17 #size-cells = <0>;
18 reg = <0>;
19 };
James Feistd63d18a2018-07-19 15:23:45 -070020 $Name_1: $Name@1 {
James Feistc95cb142018-02-26 10:41:42 -080021 #address-cells = <1>;
22 #size-cells = <0>;
23 reg = <1>;
24 };
James Feistd63d18a2018-07-19 15:23:45 -070025 $Name_2: $Name@2{
James Feistc95cb142018-02-26 10:41:42 -080026 #address-cells = <1>;
27 #size-cells = <0>;
28 reg = <2>;
29 };
James Feistd63d18a2018-07-19 15:23:45 -070030 $Name_3: $Name@3{
James Feistc95cb142018-02-26 10:41:42 -080031 #address-cells = <1>;
32 #size-cells = <0>;
33 reg = <3>;
34 };
35 };
36 };
37
38 };
39};