James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | /plugin/; |
| 3 | / { |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 4 | compatible = "$Platform"; |
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 5 | fragment@0{ |
| 6 | target = <&pwm_tacho>; |
| 7 | __overlay__{ |
| 8 | #address-cells = <1>; |
| 9 | #size-cells = <0>; |
| 10 | status = "okay"; |
James Feist | 1e3e698 | 2018-08-03 16:09:28 -0700 | [diff] [blame] | 11 | oemname$Pwm = "$Name"; |
| 12 | fan@$Pwm { |
| 13 | reg = <$Pwm>; |
| 14 | aspeed,fan-tach-ch = /bits/ 8 <$Tachs>; |
James Feist | c95cb14 | 2018-02-26 10:41:42 -0800 | [diff] [blame] | 15 | }; |
| 16 | }; |
| 17 | |
| 18 | }; |
| 19 | }; |