[powerdebug 6/7] plug the gpio subsys with the main function