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"; | ||||
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame^] | 9 | smbus_mux@$Name { |
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 10 | compatible = "nxp,pca9545"; |
11 | reg = <$address>; | ||||
12 | #address-cells = <1>; | ||||
13 | #size-cells = <0>; | ||||
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame^] | 14 | oemname1 = "$Name"; |
15 | $Name_0: $Name@0 { | ||||
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 16 | #address-cells = <1>; |
17 | #size-cells = <0>; | ||||
18 | reg = <0>; | ||||
19 | }; | ||||
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame^] | 20 | $Name_1: $Name@1 { |
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 21 | #address-cells = <1>; |
22 | #size-cells = <0>; | ||||
23 | reg = <1>; | ||||
24 | }; | ||||
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame^] | 25 | $Name_2: $Name@2{ |
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 26 | #address-cells = <1>; |
27 | #size-cells = <0>; | ||||
28 | reg = <2>; | ||||
29 | }; | ||||
James Feist | d63d18a | 2018-07-19 15:23:45 -0700 | [diff] [blame^] | 30 | $Name_3: $Name@3{ |
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 31 | #address-cells = <1>; |
32 | #size-cells = <0>; | ||||
33 | reg = <3>; | ||||
34 | }; | ||||
35 | }; | ||||
36 | }; | ||||
37 | |||||
38 | }; | ||||
39 | }; |