Hello.
I am trying to have the 1-wire working on Rockpi4B+ on pin GPIO4_D6 (= number 158).
I have this /boot/armbianEnv.txt:
verbosity=1
bootlogo=true
overlay_prefix=rockchip
fdtfile=rockchip/rk3399-rock-pi-4b.dtb
rootdev=UUID=aa1f4e9a-bad9-4760-87c5-511247ef7227
rootfstype=ext4
overlays=w1-gpio
param_w1_pin=GPIO4_D6
param_w1_pin_int_pullup=1
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
but when I check on my board:
sudo cat /sys/kernel/debug/gpio
GPIOs 0-31, platform/pinctrl, gpio0:
gpio-4 ( |bt_default_wake_host) in lo
gpio-9 ( |bt_default_reset ) out hi
gpio-10 ( |reset ) out hi
GPIOs 32-63, platform/pinctrl, gpio1:
gpio-35 ( |vcc5v0_otg ) out hi
gpio-36 ( |w1 ) in lo
gpio-46 ( |vsel ) out lo
gpio-49 ( |vsel ) out lo
GPIOs 64-95, platform/pinctrl, gpio2:
gpio-83 ( |bt_default_rts ) out hi
gpio-90 ( |vcc3v3_pcie ) out hi
gpio-91 ( |bt_default_wake ) out hi
GPIOs 96-127, platform/pinctrl, gpio3:
gpio-124 ( |? ) out lo
gpio-125 ( |? ) out lo
GPIOs 128-159, platform/pinctrl, gpio4:
gpio-153 ( |vcc5v0_host ) out hi
and if I check the dtb file:
It appears than the w1-gpio is connected to GPIO1_A5 (= number 36)
I guess something went wrong in the configuration of 1-wire pin, but what ?