M.2: Adjust board tests build option GPIOs.
- Correct the number of gpios and gpio controller's base address in dts.
- Loopback the gpios outputs to the inputs so that the output values is read back from software (avoids the outputs looking like they are not working).