GL-MT300nv2 Device Tree for 1-Wire support

I need to enable 1-wire support using openwrt v21.02 however kmod-w1-gpio-custom is no longer supported in openwrt v21.02

The new method is to change device tree.

What entries need to be added to openwrt/mt7628an_glinet_gl-mt300n-v2.dts at openwrt-21.02.0 · gl-inet/openwrt · GitHub

to enable 1-wire support on e.g GPIO4 ?

We also haven’t used this kernel module on 21.02, so we need to check.

hello,You can take a look at my documentation to do it (143.3 KB)

1 Like

Thanks a lot, confirmed working!