No usb after soft boot - gpio errors

Aerohive AP330
No usb after soft boot.

Thought editing DTS to add gpiohog

https://forum.openwrt.org/t/setting-up-gpio-hog-for-usb-power/145503/3

enable-usb-power {
                gpio-hog;
                gpios = <11 GPIO_ACTIVE_HIGH>;
                output-high;
                line-name = "enable USB power";
        };

https://github.com/openwrt/openwrt/blob/main/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts

Checking the gpio between hard boot and soft boot, located debug logs.

root@OpenWrt:~# ubus call system board
{
        "kernel": "6.6.73",
        "hostname": "OpenWrt",
        "system": "e500v2",
        "model": "Aerohive HiveAP-330",
        "board_name": "aerohive,hiveap-330",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.0",
                "revision": "r28427-6df0e3d02a",
                "target": "mpc85xx/p1020",
                "description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
                "builddate": "1738624177"
        }
}
root@OpenWrt:~#

HARD BOOT Power off and on - usb is enabled.

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller
Bus 001 Device 002: ID 0457:0151  USB Mass Storage Device
root@OpenWrt:~#

Able to power on and off via uhubctl

https://github.com/mvp/uhubctl

root@OpenWrt:~# uhubctl
Current status for hub 1 [1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller fsl-ehci.0, USB 2.00, 1 ports, ppps]
  Port 1: 0503 power highspeed enable connect [0457:0151 USB Mass Storage Device 00000000000090]

root@OpenWrt:~# uhubctl -a off -p 1
Current status for hub 1 [1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller fsl-ehci.0, USB 2.00, 1 ports, ppps]
  Port 1: 0503 power highspeed enable connect [0457:0151 USB Mass Storage Device 00000000000090]
Sent power off request
New status for hub 1 [1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller fsl-ehci.0, USB 2.00, 1 ports, ppps]
  Port 1: 0000 off
  
root@OpenWrt:~# uhubctl -a on -p 1
Current status for hub 1 [1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller fsl-ehci.0, USB 2.00, 1 ports, ppps]
  Port 1: 0000 off
Sent power on request
New status for hub 1 [1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller fsl-ehci.0, USB 2.00, 1 ports, ppps]
  Port 1: 0503 power highspeed enable connect []
root@OpenWrt:~#


LOG:
root@OpenWrt:~# [  635.763953] usb 1-1: USB disconnect, device number 2
[  646.413755] usb 1-1: new high-speed USB device number 3 using fsl-ehci
[  646.726307] usb-storage 1-1:1.0: USB Mass Storage device detected
[  646.800151] usb-storage 1-1:1.0: Quirks match for vid 0457 pid 0151: 80
[  646.880454] scsi host0: usb-storage 1-1:1.0
[  647.995429] scsi 0:0:0:0: Direct-Access     UDISK    PDU01_2G 66A2.0  0.00 PQ: 0 ANSI: 2
[  648.232246] sd 0:0:0:0: [sda] 4030464 512-byte logical blocks: (2.06 GB/1.92 GiB)
[  648.322473] sd 0:0:0:0: [sda] Write Protect is off
[  648.379996] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
[  648.441100] sd 0:0:0:0: [sda] Asking for cache data failed
[  648.506954] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  648.783645]  sda: sda1
[  648.812350] sd 0:0:0:0: [sda] Attached SCSI removable disk

SOFT REBOOT reboot via cli - no usb

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller
root@OpenWrt:~# uhubctl
Current status for hub 1 [1d6b:0002 Linux 6.6.73 ehci_hcd Freescale On-Chip EHCI Host Controller fsl-ehci.0, USB 2.00, 1 ports, ppps]
  Port 1: 0100 power
root@OpenWrt:~#

TESTING

Checking the gpio between hard boot and soft boot, located debug logs.

root@OpenWrt:~# gpioinfo

root@OpenWrt:~# gpioinfo
gpiochip0 - 32 lines:
        line   0:       unnamed                 output
        line   1:       unnamed                 output
        line   2:       unnamed                 input
        line   3:       unnamed                 output
        line   4:       unnamed                 output
        line   5:       unnamed                 output
        line   6:       unnamed                 output
        line   7:       unnamed                 output
        line   8:       unnamed                 input active-low consumer=Reset button
        line   9:       unnamed                 output
        line  10:       unnamed                 input
        line  11:       unnamed                 input
        line  12:       unnamed                 input
        line  13:       unnamed                 output
        line  14:       unnamed                 output
        line  15:       unnamed                 output
        line  16:       unnamed                 input
        line  17:       unnamed                 input
        line  18:       unnamed                 input
        line  19:       unnamed                 input
        line  20:       unnamed                 input
        line  21:       unnamed                 input
        line  22:       unnamed                 input
        line  23:       unnamed                 input
        line  24:       unnamed                 input
        line  25:       unnamed                 input
        line  26:       unnamed                 input
        line  27:       unnamed                 input
        line  28:       unnamed                 input
        line  29:       unnamed                 input
        line  30:       unnamed                 input
        line  31:       unnamed                 input
gpiochip1 - 16 lines:
        line   0:       unnamed                 input
        line   1:       unnamed                 input
        line   2:       unnamed                 input
        line   3:       unnamed                 input
        line   4:       unnamed                 input
        line   5:       unnamed                 input
        line   6:       unnamed                 input
        line   7:       unnamed                 input
        line   8:       unnamed                 input
        line   9:       unnamed                 input
        line  10:       unnamed                 output consumer=ath9k-phy0
        line  11:       unnamed                 input
        line  12:       unnamed                 input
        line  13:       unnamed                 input
        line  14:       unnamed                 input
        line  15:       unnamed                 input
gpiochip2 - 16 lines:
        line   0:       unnamed                 input
        line   1:       unnamed                 input
        line   2:       unnamed                 input
        line   3:       unnamed                 input
        line   4:       unnamed                 input
        line   5:       unnamed                 input
        line   6:       unnamed                 input
        line   7:       unnamed                 input
        line   8:       unnamed                 input
        line   9:       unnamed                 input
        line  10:       unnamed                 output consumer=ath9k-phy1
        line  11:       unnamed                 input
        line  12:       unnamed                 input
        line  13:       unnamed                 input
        line  14:       unnamed                 input
        line  15:       unnamed                 input
root@OpenWrt:~#

gpioget -c gpiochip0 1 to gpioget -c gpiochip0 31
No Logs

root@OpenWrt:~# gpioget -c gpiochip1 8
"8"=active

root@OpenWrt:~# [  536.829448] ------------[ cut here ]------------
[  536.884692] WARNING: CPU: 1 PID: 3188 at backports-6.12.6/drivers/net/wireless/ath/ath9k/hw.c:2841 0xd5891c6c [ath9k_hw@e6425440+0x2b000]
[  537.032648] Modules linked in: ath9k(O) ath9k_common(O) pppoe ppp_async nft_fib_inet nf_flow_table_inet ath9k_hw(O) ath(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211(O) cfg80211(O) usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lm70 libcrc32c hwmon hid_generic crc_ccitt compat(O) hid evdev ledtrig_usbport ledtrig_tty oid_registry sha512_generic seqiv sha3_generic jitterentropy_rng drbg talitos hmac geniv des_generic libdes cmac usb_storage uleds input_leds ehci_pci sd_mod scsi_mod scsi_common ext4 mbcache jbd2 mux_gpio mux_core gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl tpm_i2c_atmel ehci_hcd button_hotplug(O)
[  537.033314]  input_core usbcore usb_common tpm crc32c_generic
[  538.177062] CPU: 1 PID: 3188 Comm: gpioget Tainted: G           O       6.6.73 #0
[  538.266670] Hardware name: Aerohive HiveAP-330 e500v2 0x80212051 P1020 RDB
[  538.348977] NIP:  d5891c6c LR: d591455c CTR: d591453c
[  538.409409] REGS: c20839f0 TRAP: 0700   Tainted: G           O        (6.6.73)
[  538.495887] MSR:  00029000 <CE,EE,ME>  CR: 88000202  XER: 00000000
[  538.569893]
[  538.569893] GPR00: c046ac04 c2083ae0 c23524e0 c3758018 00000008 00000000 d592f7fc 00000000
[  538.569893] GPR08: d5914528 000001c0 000000c0 00000004 44000208 00000000 10020000 10020000
[  538.569893] GPR16: 00000004 00000000 00000000 00000000 bfba3ed8 fffff000 00000001 c3362600
[  538.569893] GPR24: c2083b48 c3277418 00000000 c32773c0 00000000 00000000 00000008 c3758018
[  538.987823] Call Trace:
[  539.017001] [c2083ae0] [c046baec] 0xc046baec (unreliable)
[  539.081612] [c2083b00] [c208f9a8] 0xc208f9a8
[  539.132676] [c2083b10] [c046ac04] 0xc046ac04
[  539.183741] [c2083b30] [c0473d80] 0xc0473d80
[  539.234805] [c2083de0] [c0473f24] 0xc0473f24
[  539.285870] [c2083e60] [c0216ca0] 0xc0216ca0
[  539.336934] [c2083ee0] [c000dffc] 0xc000dffc
[  539.387999] [c2083f00] [c00110e8] 0xc00110e8
[  539.439063] --- interrupt: c00 at 0xb7bc43a8
[  539.490121] NIP:  b7bc43a8 LR: b7bc434c CTR: b7bc5b58
[  539.550553] REGS: c2083f10 TRAP: 0c00   Tainted: G           O        (6.6.73)
[  539.637025] MSR:  0002d000 <CE,EE,PR,ME>  CR: 20000202  XER: 00000000
[  539.714163]
[  539.714163] GPR00: 00000036 bfba3d10 b7c540c0 00000003 c250b407 bfba3ed8 bfba3ed4 00000000
[  539.714163] GPR08: 00000002 00000000 00000000 b7bc5b58 bfba3db8 00000000 10020000 10020000
[  539.714163] GPR16: b7c4b280 10020000 10020000 10020000 10020000 10020000 b7c4b6f8 00000001
[  539.714163] GPR24: b7c4dda0 00000000 b7b49c70 b7b49c70 bfba3ed8 00000003 b7c525e8 c250b407
[  540.132091] --- interrupt: c00
[  540.168562] Code: 813f03c0 7d29f430 71290001 4082009c 813f0358 28090300 41820030 552a062c 2c0a0400 41820024 28090600 4182001c <0fe00000> 83a10014 83c10018 83e1001c
[  540.344721] ---[ end trace 0000000000000000 ]---
[  540.402222] ------------[ cut here ]------------
[  540.457465] WARNING: CPU: 1 PID: 3188 at backports-6.12.6/drivers/net/wireless/ath/ath9k/hw.c:2896 0xd58920d0 [ath9k_hw@e6425440+0x2b000]
[  540.605421] Modules linked in: ath9k(O) ath9k_common(O) pppoe ppp_async nft_fib_inet nf_flow_table_inet ath9k_hw(O) ath(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211(O) cfg80211(O) usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lm70 libcrc32c hwmon hid_generic crc_ccitt compat(O) hid evdev ledtrig_usbport ledtrig_tty oid_registry sha512_generic seqiv sha3_generic jitterentropy_rng drbg talitos hmac geniv des_generic libdes cmac usb_storage uleds input_leds ehci_pci sd_mod scsi_mod scsi_common ext4 mbcache jbd2 mux_gpio mux_core gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl tpm_i2c_atmel ehci_hcd button_hotplug(O)
[  540.606073]  input_core usbcore usb_common tpm crc32c_generic
[  541.749815] CPU: 1 PID: 3188 Comm: gpioget Tainted: G        W  O       6.6.73 #0
[  541.839424] Hardware name: Aerohive HiveAP-330 e500v2 0x80212051 P1020 RDB
[  541.921730] NIP:  d58920d0 LR: c0469cec CTR: d5914528
[  541.982162] REGS: c2083be0 TRAP: 0700   Tainted: G        W  O        (6.6.73)
[  542.068641] MSR:  00029000 <CE,EE,ME>  CR: 20222202  XER: 20000000
[  542.142646]
[  542.142646] GPR00: c046d340 c2083cd0 c23524e0 c3758018 00000008 00000000 c3277424 00000008
[  542.142646] GPR08: c2083d30 00000000 00000100 00000004 20000202 00000000 10020000 10020000
[  542.142646] GPR16: 40000202 c3362a24 00000cc0 c2083d30 c2083d70 00000000 c3277424 00000001
[  542.142646] GPR24: 00000001 c2083d70 c2083d30 00000001 c2083d30 c2083d70 c3362a24 00000008
[  542.560576] Call Trace:
[  542.589754] [c2083cf0] [00000000] 0x0
[  542.633526] [c2083d20] [c046d340] 0xc046d340
[  542.684591] [c2083e00] [c0474bb4] 0xc0474bb4
[  542.735656] [c2083e60] [c0216ca0] 0xc0216ca0
[  542.786720] [c2083ee0] [c000dffc] 0xc000dffc
[  542.837784] [c2083f00] [c00110e8] 0xc00110e8
[  542.888849] --- interrupt: c00 at 0xb7bc43a8
[  542.939906] NIP:  b7bc43a8 LR: b7bc434c CTR: b7bc5b58
[  543.000339] REGS: c2083f10 TRAP: 0c00   Tainted: G        W  O        (6.6.73)
[  543.086812] MSR:  0002d000 <CE,EE,PR,ME>  CR: 20000202  XER: 00000000
[  543.163948]
[  543.163948] GPR00: 00000036 bfba3f60 b7c540c0 00000004 c010b40e bfba40f0 b7c4dd90 00000000
[  543.163948] GPR08: 00000002 00000000 00000000 b7bc5b58 bfba3db8 00000000 10020000 10020000
[  543.163948] GPR16: b7c4b280 10020000 10020000 10020000 10020000 10020000 b7c4b6f8 b7c49830
[  543.163948] GPR24: b7c4dda0 b7c4dd90 b7c49834 bfba40e0 bfba40f0 00000004 b7c525e8 c010b40e
[  543.581877] --- interrupt: c00
[  543.618347] Code: 7d2903a6 4e800421 80010024 7c7ff838 307fffff 7c63f910 7c0803a6 4800001c 812303c4 7d29fc30 71290001 4082006c <0fe00000> 38600001 83e1001c 38210020
[  543.794508] ---[ end trace 0000000000000000 ]---
[  546.675711] phy1-sta0: authenticate with 8c:83:94:35:6e:6b (local address=88:dc:96:0d:52:72)
[  546.776853] phy1-sta0: send auth to 8c:83:94:35:6e:6b (try 1/3)
[  546.960008] phy1-sta0: send auth to 8c:83:94:35:6e:6b (try 2/3)
[  547.033200] phy1-sta0: authenticated
[  547.080070] phy1-sta0: associate with 8c:83:94:35:6e:6b (try 1/3)
[  547.157696] phy1-sta0: RX AssocResp from 8c:83:94:35:6e:6b (capab=0x1511 status=0 aid=3)
[  547.255045] phy1-sta0: associated
[  547.381377] phy1-sta0: Limiting TX power to 27 (30 - 3) dBm as advertised by 8c:83:94:35:6e:6b

root@OpenWrt:~# gpioget -c gpiochip1 9
"9"=active

root@OpenWrt:~# [  594.489902] ------------[ cut here ]------------
[  594.545149] WARNING: CPU: 1 PID: 3428 at backports-6.12.6/drivers/net/wireless/ath/ath9k/hw.c:2841 0xd5891c6c [ath9k_hw@e6425440+0x2b000]
[  594.693106] Modules linked in: ath9k(O) ath9k_common(O) pppoe ppp_async nft_fib_inet nf_flow_table_inet ath9k_hw(O) ath(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211(O) cfg80211(O) usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lm70 libcrc32c hwmon hid_generic crc_ccitt compat(O) hid evdev ledtrig_usbport ledtrig_tty oid_registry sha512_generic seqiv sha3_generic jitterentropy_rng drbg talitos hmac geniv des_generic libdes cmac usb_storage uleds input_leds ehci_pci sd_mod scsi_mod scsi_common ext4 mbcache jbd2 mux_gpio mux_core gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl tpm_i2c_atmel ehci_hcd button_hotplug(O)
[  594.693780]  input_core usbcore usb_common tpm crc32c_generic
[  595.837526] CPU: 1 PID: 3428 Comm: gpioget Tainted: G        W  O       6.6.73 #0
[  595.927134] Hardware name: Aerohive HiveAP-330 e500v2 0x80212051 P1020 RDB
[  596.009441] NIP:  d5891c6c LR: d591455c CTR: d591453c
[  596.069873] REGS: c51059f0 TRAP: 0700   Tainted: G        W  O        (6.6.73)
[  596.156352] MSR:  00029000 <CE,EE,ME>  CR: 88000202  XER: 00000000
[  596.230363]
[  596.230363] GPR00: c046ac04 c5105ae0 c2320760 c3758018 00000009 00000000 d592f7fc 00000000
[  596.230363] GPR08: d5914528 000001c0 000000c0 00000004 48000208 00000000 10020000 10020000
[  596.230363] GPR16: 00000004 00000000 00000000 00000000 bfeb5bf8 fffff000 00000001 c3362600
[  596.230363] GPR24: c5105b48 c327c598 00000000 c327c540 00000000 00000000 00000009 c3758018
[  596.648299] Call Trace:
[  596.677478] [c5105ae0] [c046baec] 0xc046baec (unreliable)
[  596.742089] [c5105b00] [c208fdd0] 0xc208fdd0
[  596.793153] [c5105b10] [c046ac04] 0xc046ac04
[  596.844217] [c5105b30] [c0473d80] 0xc0473d80
[  596.895283] [c5105de0] [c0473f24] 0xc0473f24
[  596.946347] [c5105e60] [c0216ca0] 0xc0216ca0
[  596.997411] [c5105ee0] [c000dffc] 0xc000dffc
[  597.048476] [c5105f00] [c00110e8] 0xc00110e8
[  597.099540] --- interrupt: c00 at 0xb78e33a8
[  597.150598] NIP:  b78e33a8 LR: b78e334c CTR: b78e4b58
[  597.211030] REGS: c5105f10 TRAP: 0c00   Tainted: G        W  O        (6.6.73)
[  597.297503] MSR:  0002d000 <CE,EE,PR,ME>  CR: 20000202  XER: 00000000
[  597.374639]
[  597.374639] GPR00: 00000036 bfeb5a30 b79730c0 00000003 c250b407 bfeb5bf8 bfeb5bf4 00000000
[  597.374639] GPR08: 00000002 00000000 00000000 b78e4b58 bfeb5ad8 00000000 10020000 10020000
[  597.374639] GPR16: b796a280 10020000 10020000 10020000 10020000 10020000 b796a6f8 00000001
[  597.374639] GPR24: b796cda0 00000000 10020a80 10020a80 bfeb5bf8 00000003 b79715e8 c250b407
[  597.792574] --- interrupt: c00
[  597.829045] Code: 813f03c0 7d29f430 71290001 4082009c 813f0358 28090300 41820030 552a062c 2c0a0400 41820024 28090600 4182001c <0fe00000> 83a10014 83c10018 83e1001c
[  598.005205] ---[ end trace 0000000000000000 ]---
[  598.064452] ------------[ cut here ]------------
[  598.119699] WARNING: CPU: 1 PID: 3428 at backports-6.12.6/drivers/net/wireless/ath/ath9k/hw.c:2896 0xd58920d0 [ath9k_hw@e6425440+0x2b000]
[  598.267655] Modules linked in: ath9k(O) ath9k_common(O) pppoe ppp_async nft_fib_inet nf_flow_table_inet ath9k_hw(O) ath(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211(O) cfg80211(O) usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lm70 libcrc32c hwmon hid_generic crc_ccitt compat(O) hid evdev ledtrig_usbport ledtrig_tty oid_registry sha512_generic seqiv sha3_generic jitterentropy_rng drbg talitos hmac geniv des_generic libdes cmac usb_storage uleds input_leds ehci_pci sd_mod scsi_mod scsi_common ext4 mbcache jbd2 mux_gpio mux_core gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl tpm_i2c_atmel ehci_hcd button_hotplug(O)
[  598.268313]  input_core usbcore usb_common tpm crc32c_generic
[  599.412063] CPU: 1 PID: 3428 Comm: gpioget Tainted: G        W  O       6.6.73 #0
[  599.501671] Hardware name: Aerohive HiveAP-330 e500v2 0x80212051 P1020 RDB
[  599.583978] NIP:  d58920d0 LR: c0469cec CTR: d5914528
[  599.644409] REGS: c5105be0 TRAP: 0700   Tainted: G        W  O        (6.6.73)
[  599.730882] MSR:  00029000 <CE,EE,ME>  CR: 20222202  XER: 20000000
[  599.804887]
[  599.804887] GPR00: c046d340 c5105cd0 c2320760 c3758018 00000009 00000000 c327c5a4 00000009
[  599.804887] GPR08: c5105d30 00000000 00000200 00000004 20000202 00000000 10020000 10020000
[  599.804887] GPR16: 40000202 c3362a24 00000cc0 c5105d30 c5105d70 00000000 c327c5a4 00000001
[  599.804887] GPR24: 00000001 c5105d70 c5105d30 00000001 c5105d30 c5105d70 c3362a24 00000009
[  600.222824] Call Trace:
[  600.252009] [c5105cf0] [00000000] 0x0
[  600.295787] [c5105d20] [c046d340] 0xc046d340
[  600.346851] [c5105e00] [c0474bb4] 0xc0474bb4
[  600.397916] [c5105e60] [c0216ca0] 0xc0216ca0
[  600.448980] [c5105ee0] [c000dffc] 0xc000dffc
[  600.500045] [c5105f00] [c00110e8] 0xc00110e8
[  600.551109] --- interrupt: c00 at 0xb78e33a8
[  600.602167] NIP:  b78e33a8 LR: b78e334c CTR: b78e4b58
[  600.662599] REGS: c5105f10 TRAP: 0c00   Tainted: G        W  O        (6.6.73)
[  600.749071] MSR:  0002d000 <CE,EE,PR,ME>  CR: 20000202  XER: 00000000
[  600.826208]
[  600.826208] GPR00: 00000036 bfeb5c80 b79730c0 00000004 c010b40e bfeb5e10 b796cd90 00000000
[  600.826208] GPR08: 00000002 00000000 00000000 b78e4b58 bfeb5ad8 00000000 10020000 10020000
[  600.826208] GPR16: b796a280 10020000 10020000 10020000 10020000 10020000 b796a6f8 b796c940
[  600.826208] GPR24: b796cda0 b796cd90 b796c944 bfeb5e00 bfeb5e10 00000004 b79715e8 c010b40e
[  601.244145] --- interrupt: c00
[  601.280620] Code: 7d2903a6 4e800421 80010024 7c7ff838 307fffff 7c63f910 7c0803a6 4800001c 812303c4 7d29fc30 71290001 4082006c <0fe00000> 38600001 83e1001c 38210020
[  601.456781] ---[ end trace 0000000000000000 ]---

root@OpenWrt:~# gpioget -c gpiochip1 11
"11"=active

root@OpenWrt:~# [  654.140886] ------------[ cut here ]------------
[  654.196130] WARNING: CPU: 0 PID: 3431 at backports-6.12.6/drivers/net/wireless/ath/ath9k/hw.c:2841 0xd5891c6c [ath9k_hw@e6425440+0x2b000]
[  654.344087] Modules linked in: ath9k(O) ath9k_common(O) pppoe ppp_async nft_fib_inet nf_flow_table_inet ath9k_hw(O) ath(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211(O) cfg80211(O) usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lm70 libcrc32c hwmon hid_generic crc_ccitt compat(O) hid evdev ledtrig_usbport ledtrig_tty oid_registry sha512_generic seqiv sha3_generic jitterentropy_rng drbg talitos hmac geniv des_generic libdes cmac usb_storage uleds input_leds ehci_pci sd_mod scsi_mod scsi_common ext4 mbcache jbd2 mux_gpio mux_core gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl tpm_i2c_atmel ehci_hcd button_hotplug(O)
[  654.344760]  input_core usbcore usb_common tpm crc32c_generic
[  655.488507] CPU: 0 PID: 3431 Comm: gpioget Tainted: G        W  O       6.6.73 #0
[  655.578115] Hardware name: Aerohive HiveAP-330 e500v2 0x80212051 P1020 RDB
[  655.660423] NIP:  d5891c6c LR: d591455c CTR: d591453c
[  655.720853] REGS: c50899f0 TRAP: 0700   Tainted: G        W  O        (6.6.73)
[  655.807332] MSR:  00029000 <CE,EE,ME>  CR: 84000202  XER: 00000000
[  655.881338]
[  655.881338] GPR00: c046ac04 c5089ae0 c2236740 c3758018 0000000b 00000000 d592f7fc 00000000
[  655.881338] GPR08: d5914528 000001c0 000000c0 ffffffff 48000208 00000000 10020000 10020000
[  655.881338] GPR16: 00000004 00000000 00000000 00000000 bf80fba8 fffff000 00000001 c3362600
[  655.881338] GPR24: c5089b48 c3b12658 00000000 c3b12600 00000000 00000000 0000000b c3758018
[  656.299275] Call Trace:
[  656.328458] [c5089ae0] [c046baec] 0xc046baec (unreliable)
[  656.393070] [c5089b00] [c32f3738] 0xc32f3738
[  656.444134] [c5089b10] [c046ac04] 0xc046ac04
[  656.495199] [c5089b30] [c0473d80] 0xc0473d80
[  656.546263] [c5089de0] [c0473f24] 0xc0473f24
[  656.597328] [c5089e60] [c0216ca0] 0xc0216ca0
[  656.648392] [c5089ee0] [c000dffc] 0xc000dffc
[  656.699457] [c5089f00] [c00110e8] 0xc00110e8
[  656.750521] --- interrupt: c00 at 0xb777d3a8
[  656.801578] NIP:  b777d3a8 LR: b777d34c CTR: b777eb58
[  656.862011] REGS: c5089f10 TRAP: 0c00   Tainted: G        W  O        (6.6.73)
[  656.948483] MSR:  0002d000 <CE,EE,PR,ME>  CR: 20000202  XER: 00000000
[  657.025620]
[  657.025620] GPR00: 00000036 bf80f9e0 b780d0c0 00000003 c250b407 bf80fba8 bf80fba4 00000000
[  657.025620] GPR08: 00000002 00000000 00000000 b777eb58 bf80fa88 00000000 10020000 10020000
[  657.025620] GPR16: b7804280 10020000 10020000 10020000 10020000 10020000 b78046f8 00000001
[  657.025620] GPR24: b7806da0 00000000 b7806b60 b7806b60 bf80fba8 00000003 b780b5e8 c250b407
[  657.443556] --- interrupt: c00
[  657.480032] Code: 813f03c0 7d29f430 71290001 4082009c 813f0358 28090300 41820030 552a062c 2c0a0400 41820024 28090600 4182001c <0fe00000> 83a10014 83c10018 83e1001c
[  657.656193] ---[ end trace 0000000000000000 ]---
[  657.714196] ------------[ cut here ]------------
[  657.769443] WARNING: CPU: 0 PID: 3431 at backports-6.12.6/drivers/net/wireless/ath/ath9k/hw.c:2896 0xd58920d0 [ath9k_hw@e6425440+0x2b000]
[  657.917400] Modules linked in: ath9k(O) ath9k_common(O) pppoe ppp_async nft_fib_inet nf_flow_table_inet ath9k_hw(O) ath(O) pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mac80211(O) cfg80211(O) usbhid ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 lm70 libcrc32c hwmon hid_generic crc_ccitt compat(O) hid evdev ledtrig_usbport ledtrig_tty oid_registry sha512_generic seqiv sha3_generic jitterentropy_rng drbg talitos hmac geniv des_generic libdes cmac usb_storage uleds input_leds ehci_pci sd_mod scsi_mod scsi_common ext4 mbcache jbd2 mux_gpio mux_core gpio_keys leds_gpio fsl_mph_dr_of ehci_platform ehci_fsl tpm_i2c_atmel ehci_hcd button_hotplug(O)
[  657.918055]  input_core usbcore usb_common tpm crc32c_generic
[  659.061807] CPU: 0 PID: 3431 Comm: gpioget Tainted: G        W  O       6.6.73 #0
[  659.151415] Hardware name: Aerohive HiveAP-330 e500v2 0x80212051 P1020 RDB
[  659.233722] NIP:  d58920d0 LR: c0469cec CTR: d5914528
[  659.294154] REGS: c5089be0 TRAP: 0700   Tainted: G        W  O        (6.6.73)
[  659.380632] MSR:  00029000 <CE,EE,ME>  CR: 20222202  XER: 20000000
[  659.454637]
[  659.454637] GPR00: c046d340 c5089cd0 c2236740 c3758018 0000000b 00000000 c3b12664 0000000b
[  659.454637] GPR08: c5089d30 00000000 00000800 00000004 20000202 00000000 10020000 10020000
[  659.454637] GPR16: 40000202 c3362a24 00000cc0 c5089d30 c5089d70 00000000 c3b12664 00000001
[  659.454637] GPR24: 00000001 c5089d70 c5089d30 00000001 c5089d30 c5089d70 c3362a24 0000000b
[  659.872575] Call Trace:
[  659.901759] [c5089cf0] [00000000] 0x0
[  659.945538] [c5089d20] [c046d340] 0xc046d340
[  659.996602] [c5089e00] [c0474bb4] 0xc0474bb4
[  660.047667] [c5089e60] [c0216ca0] 0xc0216ca0
[  660.098731] [c5089ee0] [c000dffc] 0xc000dffc
[  660.149795] [c5089f00] [c00110e8] 0xc00110e8
[  660.200860] --- interrupt: c00 at 0xb777d3a8
[  660.251918] NIP:  b777d3a8 LR: b777d34c CTR: b777eb58
[  660.312350] REGS: c5089f10 TRAP: 0c00   Tainted: G        W  O        (6.6.73)
[  660.398822] MSR:  0002d000 <CE,EE,PR,ME>  CR: 20000202  XER: 00000000
[  660.475959]
[  660.475959] GPR00: 00000036 bf80fc30 b780d0c0 00000004 c010b40e bf80fdc0 b7806d90 00000000
[  660.475959] GPR08: 00000002 00000000 00000000 b777eb58 bf80fa88 00000000 10020000 10020000
[  660.475959] GPR16: b7804280 10020000 10020000 10020000 10020000 10020000 b78046f8 b7702a50
[  660.475959] GPR24: b7806da0 b7806d90 b7702a54 bf80fdb0 bf80fdc0 00000004 b780b5e8 c010b40e
[  660.893895] --- interrupt: c00
[  660.930372] Code: 7d2903a6 4e800421 80010024 7c7ff838 307fffff 7c63f910 7c0803a6 4800001c 812303c4 7d29fc30 71290001 4082006c <0fe00000> 38600001 83e1001c 38210020
[  661.106532] ---[ end trace 0000000000000000 ]---

root@OpenWrt:~# gpioget -c gpiochip2 8
"8"=active

root@OpenWrt:~# gpioget -c gpiochip2 9
"9"=active

root@OpenWrt:~# gpioget -c gpiochip2 11
"11"=active

LOGS not included due to space restrictions.

gpio that error with using gpioget

gpiochip1 8
gpiochip1 9
gpiochip1 11

gpiochip2 8
gpiochip2 9
gpiochip2 11