James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 1 | /dts-v1/; |
2 | /plugin/; | ||||
3 | / { | ||||
4 | compatible = "$platform"; | ||||
5 | fragment@0{ | ||||
6 | target = <&i2c$bus>; | ||||
7 | __overlay__{ | ||||
8 | status = "okay"; | ||||
9 | smbus_mux@$name { | ||||
10 | compatible = "nxp,pca9545"; | ||||
11 | reg = <$address>; | ||||
12 | #address-cells = <1>; | ||||
13 | #size-cells = <0>; | ||||
14 | oemname1 = "$name"; | ||||
15 | $name_0: $name@0 { | ||||
16 | #address-cells = <1>; | ||||
17 | #size-cells = <0>; | ||||
18 | reg = <0>; | ||||
19 | }; | ||||
20 | $name_1: $name@1 { | ||||
21 | #address-cells = <1>; | ||||
22 | #size-cells = <0>; | ||||
23 | reg = <1>; | ||||
24 | }; | ||||
25 | $name_2: $name@2{ | ||||
26 | #address-cells = <1>; | ||||
27 | #size-cells = <0>; | ||||
28 | reg = <2>; | ||||
29 | }; | ||||
30 | $name_3: $name@3{ | ||||
31 | #address-cells = <1>; | ||||
32 | #size-cells = <0>; | ||||
33 | reg = <3>; | ||||
34 | }; | ||||
35 | }; | ||||
36 | }; | ||||
37 | |||||
38 | }; | ||||
39 | }; |