I am trying to get i2c working on the 8148 with a custom driver. My understanding of most of the code out there that 48Mhz should be getting fed in to the i2c module. You prescale it down to 12Mhz, then set your high and low scaler values to get the desired i2c clk.
My target right now is 100Khz. But I have to use a prescaler value of 17, scll = 60, sclh=60 to get that to work out to 100Khz. That implies that the functional clock feeding the i2c is actually 220Mhz. I'm failing to see the clocking configurations that should lead the SYSCLK10 to be 220Mhz or 48Mhz. I see the sysclk10 register, but it supposed to be zeroed out on reset, or passthrough.
I am using a gel file to initialize the board, so the the rom first stage bootloader normally set this divider to something other than default?