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 = <&pwm_tacho>; | ||||
7 | __overlay__{ | ||||
8 | #address-cells = <1>; | ||||
9 | #size-cells = <0>; | ||||
10 | status = "okay"; | ||||
11 | oemname$pwm = "$name"; | ||||
12 | fan@$pwm { | ||||
13 | reg = <$pwm>; | ||||
14 | aspeed,fan-tach-ch = /bits/ 8 <$tachs>; | ||||
15 | }; | ||||
16 | }; | ||||
17 | |||||
18 | }; | ||||
19 | }; |