Did you read about the Libre Wiring Tool ?
Libre Computer Wiring Tool - Hardware - Libre Computer Hub
Normally you can just enable the Overlay using the tool and you don’t have to mess with any other configuration.
There does appear to be a w1-gpio overlay, which I suspect Michael used but he can comment further !!