This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: k3-am64-main.dtsi icssg0_mdio clock

Part Number: AM6442

Hi,

I am seeing the following warning when booting AM6442:

[0.423412] ti-sci-clk 44043000.system-controller:clock-controller: recalc-rate failed for dev=62, clk=3, ret=-19
[0.654172] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=62, clk=3, ret=-19

From ti-linux-kernel branch ti-linux-6.12.y arch/arm64/boot/dts/ti/k3-am64-main.dtsi:

 icssg0_mdio: mdio@32400 {
            compatible = "ti,davinci_mdio";
            reg = <0x32400 0x100>;
            clocks = <&k3_clks 62 3>;
            clock-names = "fck";
            #address-cells = <1>;
            #size-cells = <0>;
            bus_freq = <1000000>;
            status = "disabled";
  };

As far as I can tell, the `clocks = <&k3_clks 62 3>` is incorrect. I am basing this off the TI SCI clocks documentation and the icssg1_mdio node (which seems correct):

icssg1_mdio: mdio@32400 {
            compatible = "ti,davinci_mdio";
            reg = <0x32400 0x100>;
            #address-cells = <1>;
            #size-cells = <0>;
            clocks = <&k3_clks 82 0>;
            clock-names = "fck";
            bus_freq = <1000000>;
            status = "disabled";
 };

Based off these to sources, it seems like the following change should be made:

clocks = <&k3_clks 62 3>;

 clocks = <&k3_clks 81 0>;

Am I missing something here?

Thanks,

Jared