blob: 7108b80ccc4371e9278de1334eea5c527ca7da03 [file] [log] [blame]
James Feistc95cb142018-02-26 10:41:42 -08001/dts-v1/;
2/plugin/;
3/ {
James Feist1e3e6982018-08-03 16:09:28 -07004 compatible = "$Platform";
James Feistc95cb142018-02-26 10:41:42 -08005 fragment@0{
James Feist1e3e6982018-08-03 16:09:28 -07006 target = <&i2c$Bus>;
James Feistc95cb142018-02-26 10:41:42 -08007 __overlay__{
8 status = "okay";
James Feist1e3e6982018-08-03 16:09:28 -07009 $Name: smbus_mux@$Address {
James Feistc95cb142018-02-26 10:41:42 -080010 compatible = "nxp,pca9545";
James Feist1e3e6982018-08-03 16:09:28 -070011 reg = <0x$Address>;
James Feistc95cb142018-02-26 10:41:42 -080012 #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};