Turns out the RK3566 has a different value in the GPIO_VER_ID register
authorkettenis <kettenis@openbsd.org>
Sat, 4 Mar 2023 22:54:35 +0000 (22:54 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 4 Mar 2023 22:54:35 +0000 (22:54 +0000)
commit755066eb6e1a31603b02d79f75c44d5f5ab0a078
treeb5bb744b32542ca8ac97fd5ecca90ccce507c309
parentd3127e5135bfa71f8f17a8cec424bcb5daa72539
Turns out the RK3566 has a different value in the GPIO_VER_ID register
than advertised in the RK3568.  This value is present in the Linux
driver and implies the new register layout.  So handle both values.
This makes GPIOs on the RK3566 actually work.

ok patrick@
sys/dev/fdt/rkgpio.c