@@ -1865,6 +1865,25 @@ static const struct bcm2835_clk_desc clk_desc_array[] = {
.div_reg = CM_TECDIV,
.int_bits = 6,
.frac_bits = 0),
+ /*
+ * testdebug clocks
+ * these may possibly require PM_DEBUG to be set as well
+ * for now we assume these are using the osc parent mux
+ * (note that testdebugX is in this mux as well,
+ * so it may produce issues)
+ */
+ [BCM2835_CLOCK_TESTDEBUG0] = REGISTER_OSC_CLK(
+ .name = "testdebug0",
+ .ctl_reg = CM_TD0CTL,
+ .div_reg = CM_TD0DIV,
+ .int_bits = 12,
+ .frac_bits = 12),
+ [BCM2835_CLOCK_TESTDEBUG0] = REGISTER_OSC_CLK(
+ .name = "testdebug1",
+ .ctl_reg = CM_TD1CTL,
+ .div_reg = CM_TD1DIV,
+ .int_bits = 12,
+ .frac_bits = 12),
/* clocks with vpu parent mux */
[BCM2835_CLOCK_H264] = REGISTER_VPU_CLK(
@@ -73,3 +73,5 @@
#define BCM2835_CLOCK_ARM 55
#define BCM2835_CLOCK_PERA 56
#define BCM2835_CLOCK_SYS 57
+#define BCM2835_CLOCK_TESTDEBUG0 58
+#define BCM2835_CLOCK_TESTDEBUG1 59