rv40: split off data into separate module for the upcoming encoder