Apart from there not being G5 Apple CPU cards in existence, the G4 and the G5 are incompatible with each other bus wise and (apart from the SoC G4s) need a dedicated northbridge. So it's impossible to have one mainboard design with both G4 and G5 compatibility.