public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: u-boot@lists.denx.de, git@xilinx.com
Cc: Harini Katakam <harini.katakam@amd.com>,
	Manikanta Guntupalli <manikanta.guntupalli@amd.com>,
	Neal Frager <neal.frager@amd.com>,
	Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>,
	Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH] arm64: zynqmp: Fix kr260 clock wiring
Date: Tue, 6 Feb 2024 12:36:01 +0100	[thread overview]
Message-ID: <e9d131b1-efe2-48cc-a2bb-9584dbe8bc6c@amd.com> (raw)
In-Reply-To: <e87ae94979c6efc909740bb1a569505042e4f876.1706626255.git.michal.simek@amd.com>



On 1/30/24 15:51, Michal Simek wrote:
> kr260 revA/revA01 is using discrete oscilator for DP (27MHz) and si5332 for
> other clocks but clocks are different compare to kv260 that's why fix it to
> aligned with the latest schematics.
> 
> On the other handle kr260 revB/revA03 also contains 74.25 MHz discrete
> clock chip for SLVC-EC output which is not defined.
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 14 ++++++++++----
>   arch/arm/dts/zynqmp-sck-kr-g-revB.dtso |  6 ++++++
>   2 files changed, 16 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> index 39ca98a9d47f..afcf8a8ee6ba 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> @@ -25,16 +25,22 @@
>   		io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
>   	};
>   
> +	clk_27: clock0 { /* u86 - DP */
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <27000000>;
> +	};
> +
>   	clk_125: si5332-0 { /* u17 - GEM0/1 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <125000000>;
>   	};
>   
> -	clk_27: si5332-1 { /* u17 - DP */
> +	clk_74: si5332-5 { /* u17 - SLVC-EC */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
> -		clock-frequency = <27000000>;
> +		clock-frequency = <74250000>;
>   	};
>   
>   	clk_26: si5332-2 { /* u17 - USB */
> @@ -49,13 +55,13 @@
>   		clock-frequency = <156250000>;
>   	};
>   
> -	clk_25_0: si5332-4 { /* u17 - GEM2 */
> +	clk_25_0: si5332-1 { /* u17 - GEM2 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <25000000>;
>   	};
>   
> -	clk_25_1: si5332-5 { /* u17 - GEM3 */
> +	clk_25_1: si5332-4 { /* u17 - GEM3 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
>   		clock-frequency = <25000000>;
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> index 21187396326b..24be5dd84e19 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> @@ -60,6 +60,12 @@
>   		#clock-cells = <0>;
>   		clock-frequency = <25000000>;
>   	};
> +
> +	clk_74: clock6 { /* u88 - SLVC-EC */
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <74250000>;
> +	};
>   };
>   
>   &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */

Applied.
M

      reply	other threads:[~2024-02-06 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30 14:51 [PATCH] arm64: zynqmp: Fix kr260 clock wiring Michal Simek
2024-02-06 11:36 ` Michal Simek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9d131b1-efe2-48cc-a2bb-9584dbe8bc6c@amd.com \
    --to=michal.simek@amd.com \
    --cc=git@xilinx.com \
    --cc=harini.katakam@amd.com \
    --cc=manikanta.guntupalli@amd.com \
    --cc=neal.frager@amd.com \
    --cc=radhey.shyam.pandey@amd.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox