Hi
You can simply create a text file with the port configuraiton for the 2nd port of the HP525. Upload the configuraiton text file into the controller either via FTP or just upload using the controller web gui under file management.
Once the mapconfiguration text file is uploaded to the controller, simply map the file name to the AP template whichever you want to modify.
Sample config file content:
525_map_config.txt <save the below into a notepad and upload to controller>
vlan 10
name PC-network
interface gig 1/0/2
port access vlan 10
Then login to the controller to map the above file name to one of the AP template, so that the port 2 can be used as an access port of vlan 10:
wlan ap <AP-NAME>
map-configuration 525_map_config.txt
After you mapped the configuration. Save the controller configuraiton and Reboot the AP for the configuration to take effect.