Indeed this is the ROM test mode on the rerelease P1/2 models :) as I recall, the versions are as follows:
Ver 0 - P1, Japan
Ver 1 - P2, Japan
Ver 3 - P1, International
Ver 5 - P2, International
The frequency is, I think, likely related to the frequency the Crystal oscillator is...