Answer the question
In order to leave comments, you need to log in
How to enable 1-wire support on orange pi on ~4.13 kernel?
On new Linux kernels, OS Armbian uses Device Tree .
The official manual, as well as the Armbian forum for the Mainline kernel, suggests enabling (or configuring) the 1-wire driver by editing DTB files.
Device Tree - turned out to be a dark forest, in general, little was found about it:
https://linux-sunxi.org/1-Wire
https://forum.armbian.com/topic/4040-enable-1-wire...
https ://habrahabr.ru/company/metrotek/blog/271983/
I myself have an Orange PI Zero, I try to enable 1-wire according to the manuals, the driver is activated, the device is created, but I don’t understand which pin is assigned to:
The instructions assume that the pin is set by the directive in DTS file:
gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question