Pavel,
I'm able to turn on CLKOUT1 and measure it, by doing
devmem2 0x48180100 w 0x80 # CM_CLKOUT_CTRL: enable CLKOUT1
However, I cannot change the mux source to SGX:
# devmem2 0x481C52e4 w 0x9000
/dev/mem opened.
Memory mapped at address 0x400f4000.
Value at address 0x481C52E4 (0x400f42e4): 0x0
Written 0x9000; readback 0x9000
# devmem2 0x481C52e4
/dev/mem opened.
Memory mapped at address 0x40262000.
Value at address 0x481C52E4 (0x402622e4): 0x0
I tried adding a write to u-boot, but I still got 0 in CLKOUT_MUX.
Where can I change CLKOUT_MUX to measure actual value of SGX clock rate?
Dan -