I'm trying to enable wake from GPIO on a LS1046AFRWY board.
I modified the config files to enable GPIO driver using make menuconfig:

I went to /build_ls1046afrwy/tmp/work-shared/ls1046afrwy/kernel-source/drivers/gpio and modified gpio-mpc8xxx.c to add these lines at the end of the static int mpc8xxx_probe function:
device_init_wakeup(&pdev->dev, true);
enable_irq_wake(mpc8xxx_gc->irqn);
Then I modified arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi to this line to the end of gpio3: gpio@2320000:
fsl,rcpm-wakeup = <&rcpm 0x40>;
Then I ran:
$ make
$ make modules
$ make mrproper
I copied the generated images onto the boot folder of the SD card that already had the basic ls-image-main deployed and working on it. Then I copied the generated "modules" folder from the "module-ls1046afrwy.tgz" archive onto the "modules" folder on the SD card.
It looks like there are GPIO modules in there:

I booted the LS1046AFRWY board from the SD card. I get not errors and the board boots up, but I don't see the GPIO drivers being installed. The /sys/class/gpio directory does not exist on the target and I can't run any GPIO commands that reference it.
Am I doing something wrong in the process?