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.

AM625: AM625: How to set 333MHz clk for PRUSS

Part Number: AM625

Tool/software:

Hi All,

I want to set clock for PRUSS subsystem for 333MHz, I use AM6254 and currently it is running at 200MHz. I expect that some modification will be needed in device tree in k3-am62-main.dtsi:

        pruss_cfg: cfg@26000 {
            compatible = "ti,pruss-cfg", "syscon";
            reg = <0x26000 0x200>;
            #address-cells = <1>;
            #size-cells = <1>;
            ranges = <0x0 0x26000 0x2000>;

            clocks {
                #address-cells = <1>;
                #size-cells = <0>;

                pruss_coreclk_mux: coreclk-mux@3c {
                    reg = <0x3c>;
                    #clock-cells = <0>;
                    clocks = <&k3_clks 81 0>,  /* pruss_core_clk */
                         <&k3_clks 81 20>; /* pruss_iclk */
                    assigned-clocks = <&pruss_coreclk_mux>;
                    assigned-clock-parents = <&k3_clks 81 20>;
                };

                pruss_iepclk_mux: iepclk-mux@30 {
                    reg = <0x30>;
                    #clock-cells = <0>;
                    clocks = <&k3_clks 81 3>,    /* pruss_iep_clk */
                         <&pruss_coreclk_mux>;    /* pruss_coreclk_mux */
                    assigned-clocks = <&pruss_iepclk_mux>;
                    assigned-clock-parents = <&pruss_coreclk_mux>;
                };
            };
        };

Thanks