configs: update config files for P31xx and P51xx