I'm also interested in doing this. I am following this 1wire temperature sensor tutorial, and I have a DS18B20 wired up to my La Frite. But sudo modprobe w1-therm fails (modprobe: FATAL: Module w1-therm not found in directory /lib/modules/4.19.64+).
1wire is not supported via a hardware controller but easy enough to emulate using gpios. The mainline kernel module for 1w is w1-gpio. You have to bind the module to the GPIO in the device tree. Basically all of the low speed protocols (I2C, UART, 1W, etc) can be emulated using GPIO if the pin is not attached to a hardware controller with that functionality. Timing may not be perfect but it is good enough for most cases. You can reference this: https://linux-sunxi.org/1-Wire
There's two way to drive the 1wire protocol. Kernel space or user space. Kernel space is the module I mentioned earlier with modifications to the device tree and the kernel (not hardware) will handle toggling the GPIO as if it were 1wire protocol. User space is through a python program that toggles the GPIO as if it were the 1wire protocol.
Comments
You can reference this: https://linux-sunxi.org/1-Wire