Subset of universal cape disables WiFi on BBBW

I have a few overlays that conflict with the universal cape, but I want a subset of that functionality so I can enable pruout on pins P8.39-46. I pulled out the code sections of the universal cape that deal with these pins to create a custom cape, and this works quite well on the BBB and BBGW but disables WiFi on the BBBW. Not sure what the problem is, because these same pins get enabled just fine when I load the universal cape.

Thanks for any suggestions for avenues to try!

dmesg | grep wl

[ 31.720981] wlan-en-regulator: disabling

ifconfig wlan0

wlan0: error fetching interface information: Device not found

Here’s the code for the overlay (BB-EGPIO): https://pastebin.com/49NJgyBC

Here’s the output of version.sh, after loading this custom cape:

/opt/scripts/tools/version.sh

git:/opt/scripts/:[66b9438a789ce79859aa5489de9d952b6242d526]

eeprom:[A335BNLTBWA51650BBWG1379]

model:[TI_AM335x_BeagleBone_Black_Wireless]

dogtag:[BeagleBoard.org Debian Image 2019-12-16]

bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g31a8ae0206]:[location: dd MBR]

UBOOT: Booted Device-Tree:[am335x-boneblack-uboot.dts]

UBOOT: Loaded Overlay:[AM335X-PRU-UIO-00A0]

UBOOT: Loaded Overlay:[BB-BBBW-WL1835-00A0]

UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0]

kernel:[4.19.94-ti-r43]

/boot/uEnv.txt Settings:

uboot_overlay_options:[enable_uboot_overlays=1]

uboot_overlay_options:[uboot_overlay_addr6=/lib/firmware/CT-EGPIO-00A0.dtbo]

uboot_overlay_options:[disable_uboot_overlay_video=1]

uboot_overlay_options:[disable_uboot_overlay_audio=1]

uboot_overlay_options:[disable_uboot_overlay_adc=1]

uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]

pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]

pkg:[bb-cape-overlays]:[4.14.20200430.0-0~buster+20200430]

pkg:[bb-wl18xx-firmware]:[1.20200420.1-0~buster+20200424]

pkg:[kmod]:[26-1]

pkg:[librobotcontrol]:[1.0.4-git20190227.1-0rcnee0~buster+20190327]

pkg:[firmware-ti-connectivity]:[20190717-2rcnee1~buster+20200305]

groups: ‘debian’: no such user

groups:[]

cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet]

dmesg | grep remote

[ 25.178784] remoteproc remoteproc0: wkup_m3 is available

[ 25.277178] remoteproc remoteproc0: powering up wkup_m3

[ 25.277212] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168

[ 25.277483] remoteproc remoteproc0: remote processor wkup_m3 is now up

dmesg | grep pru

dmesg | grep pinctrl-single

[ 0.518830] pinctrl-single 44e10800.pinmux: 142 pins, size 568

dmesg | grep gpio-of-helper

[ 0.521242] gpio-of-helper ocp:BB-EGPIO: ready

[ 0.522031] gpio-of-helper ocp:cape-universal: ready

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

END