This is my first attempt a writing a DTO file, so I welcome any cleanup / fixes that need to be made. In particular I'm not sure I used the best name for pin 11 when enabling the pull-up, and the '20' on the interrupts line is magic to me. The AML version used a symbol from a header, but no such header currently exists for the rockchip boards (as far as I can tell).
I chose pin 11 for the tach arbitrarily (it was the first one that worked). If there's a better pin that can send interrupts and is less likely to interfere with other GPIO uses, let me know, and I can change it.
Based on the Le Potato implementation at https://github.com/libre-computer-project/libretech-wiring-tool/blob/master/libre-computer/aml-s905x-cc/dt/pwm-a-fan.dts and adapted to the Renegade
This is my first attempt a writing a DTO file, so I welcome any cleanup / fixes that need to be made. In particular I'm not sure I used the best name for pin 11 when enabling the pull-up, and the '20' on the interrupts line is magic to me. The AML version used a symbol from a header, but no such header currently exists for the rockchip boards (as far as I can tell).
I chose pin 11 for the tach arbitrarily (it was the first one that worked). If there's a better pin that can send interrupts and is less likely to interfere with other GPIO uses, let me know, and I can change it.