![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
DESCRIPTIONThe Bit banging a pin on a gpiobus(4) is the only supported controller. Both standard and overdrive transfer timings are implemented. Strong pull-up functionality needed to support parasitic mode is not implemented. To enable 1-Wire for FDT systems requires modifying the DTS for your board to add something like: / { ... onewire { compatible = "w1-gpio"; gpios = <&gpio 4 1>; }; ... }; The gpios property describes the GPIO pin the 1-Wire bus is connected to. For more details about the gpios property, please consult /usr/src/sys/dts/bindings-gpio.txt. On a
device.hints(5)
based system these values are required for the
SEE ALSOLEGAL1-Wire is a registered trademark of Maxim Integrated Products, Inc. HISTORYThe AUTHORSThe CAVEATSThe gpio driver implements timing by busy waiting, which can cause a high load on slower systems. BUGSOverdrive mode has not actually been tested.
|