Related to https://reviews.freebsd.org/D25118
clknode_default_ofw_map():
Ti SoC has "ti,clkctrl" that i deal with as a common clock. ti,clkctrl has two cells (offset and index) described in
Documentation/devicetree/bindings/clock/ti-clkctrl.txt
the new function clk_mux():
To handle the index I use the clknode_set_mux interface see D25118 sys/arm/ti/clk/ti_clk_clkctrl.c.
Example usage are in sys/gnu/dts/arm/am33xx-l4.dtsi to enable gdbclk field (bit 18) see TRM 8.1.12.1.30 CM_PER_GPIO2_CLKCTRL
1302 clocks = <&l4ls_clkctrl AM3_L4LS_GPIO2_CLKCTRL 0>,
1303 <&l4ls_clkctrl AM3_L4LS_GPIO2_CLKCTRL 18>;