Post Go back to editing

change ref clk in adrv9361-z7035

Hello,

I am using adrv9361-z7035 and change the internal clock in your devicetree

to an external one of 26 MHz and frecuency accuracy 1ppm.

Changes made:

clocks {

        clock@0 {
            #clock-cells = <0x00>;
            compatible = "adjustable-clock";
        clock-frequency = <0x18cba80>;
        clock-accuracy = <0x1a>;
        clock-output-names = "TCXO_26MHz";
            linux,phandle = <0x0b>;
            phandle = <0x0b>;
        };

        clock@2 {
            #clock-cells = <0x00>;
            compatible = "fixed-clock";
            clock-frequency = <0x16e3600>;
            clock-output-names = "24MHz";
            linux,phandle = <0x0c>;
            phandle = <0x0c>;
        };

        clock@3 {
            #clock-cells = <0x00>;
            compatible = "fixed-clock";
            clock-frequency = <0x17d7840>;
            clock-output-names = "ad9517_refclk";
            linux,phandle = <0x07>;
            phandle = <0x07>;
        };

        audio_clock {
            compatible = "fixed-clock";
            #clock-cells = <0x00>;
            clock-frequency = <0xbb8000>;
            linux,phandle = <0x0e>;
            phandle = <0x0e>;
        };
    };

    ad9361-refclk-gpio-gate@0 {
        #clock-cells = <0x00>;
        compatible = "gpio-gate-clock";
        clocks = <0x0b>;
       enable-gpios = <0x06 0x69 0x01>;
        clk-set-rate-parent-enable;
        clock-output-names = "ad9361_ext_refclk";
        linux,phandle = <0x05>;
        phandle = <0x05>;
    };

First I would like to know if this change is correct.

Second, I would like to know how I can confirm that my board is using the new oscillator. I use Linux.


Thanks a lot,
Nicole.

Parents Reply Children
No Data