Orin nx 8G module modifies i2c-7 clock frequency in jetpack6.2 system

I recently upgraded the system of the orin nx 8gb module to jetpack6.2. I want to change the i2c clock frequency, but I don’t know how to do it.

Does anybody know how to set this up?

In Jetpack 5.x, I can modify it with the following command. However, in Jetpack 6.2, I cannot modify it using this method.There is no bus_clk_rate file in the jetpack6.2 system

echo 100000 > /sys/class/i2c-adapter/i2c-7/bus_clk_rate

Modify the clock-frequency in device tree to try.

        i2c@31e0000 {
                        iommus = <0x04 0x04>;
                        #address-cells = <0x01>;
                        dma-coherent;
                        clock-names = "div-clk\0parent";
                        assigned-clocks = <0x03 0x37>;
                        assigned-clock-parents = <0x03 0x66>;
                        resets = <0x03 0x23>;
                        interrupts = <0x00 0x21 0x04>;
                        clocks = <0x03 0x37 0x03 0x66>;
                        #size-cells = <0x00>;
                        clock-frequency = <0x186a0>;
                        dma-names = "rx\0tx";
                        compatible = "nvidia,tegra194-i2c";
                        status = "disabled";
                        reg = <0x00 0x31e0000 0x00 0x100>;
                        phandle = <0x227>;
                        dmas = <0xed 0x1f 0xed 0x1f>;
                        reset-names = "i2c";

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.