I'm comfortable with git. Should I put in a git pull request to modify the GL-MT300N-V2.dts? The above noted change makes unused gpio pins 4 5 45 46 available for dev.
/sys/class/gpio works for pins 4 5 45 46. I can toggle 3.3v and 0.0v on all 4 pins.
After commenting out the default mirror and adding my own based on compiled packages I can now get 1-wire bus working.
opkg update
opkg install kmod-w1 kmod-w1-master-gpio kmod-w1-gpio-custom
insmod w1-gpio-custom bus0=0,4,0
opkg install kmod-w1-slave-therm
cat /sys/devices/w1_bus_master1/28*/w1_slave
5e 01 4b 46 7f ff 0c 10 51 : crc=51 YES
5e 01 4b 46 7f ff 0c 10 51 t=21875
That's a win: 21.875C
# dmesg
[ 713.465074] Driver for 1-wire Dallas network protocol.
[ 713.474398] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 752.284902] Custom GPIO-based W1 driver version 0.1.1
[ 762.781993] w1_master_driver w1_bus_master1: Attaching one wire slave 28.041621a09cff crc 6f
[ 762.818252] w1_master_driver w1_bus_master1: Family 28 for 28.041621a09cff.6f is not registered.
[ 814.737967] kmodloader: loading kernel modules from /etc/modules.d/*
[ 814.748228] w1_master_driver w1_bus_master1: Attaching one wire slave 28.041621a09cff crc 6f
gpio pins & 1-Wire bus works. I've installed ds18b20 temperature module on pin4 with a 4k7 pull-up resistor on the data pin.