How to generate clock from Hikey960?

How I can generate a clock of 24576000 from low speed expansion connector ?

I saw that the high speed has CSI0_MCLK and this also would be ok, but I would prefer to generate clock low speed connector.

If you don’t need a high precise clock, you could write your own driver in kernel with a timer. Each time the timer is triggered, just invert a GPIO pin output level on the low speed expansion connector.