]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Assign TSU clock frequency for KR260
authorHarini Katakam <harini.katakam@amd.com>
Mon, 10 Jul 2023 12:37:30 +0000 (14:37 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 21 Jul 2023 07:00:38 +0000 (09:00 +0200)
Set TSU clock frequency as 250MHz (minimum when running at 1G) on
KR260 CC to allow PTP functionality.

Signed-off-by: Harini Katakam <harini.katakam@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d065b5c2c6450910bf57d104d65946111493caaa.1688992653.git.michal.simek@amd.com
arch/arm/dts/zynqmp-clk-ccf.dtsi
arch/arm/dts/zynqmp-sck-kr-g-revA.dts
arch/arm/dts/zynqmp-sck-kr-g-revB.dts

index 4d44924f6633089711b3435c1ed4348bbea8e627..a21dca87d248726d65958024c9238a1c5f7be12f 100644 (file)
        clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM0_REF>,
                 <&zynqmp_clk GEM0_TX>, <&zynqmp_clk GEM0_RX>,
                 <&zynqmp_clk GEM_TSU>;
+       assigned-clocks = <&zynqmp_clk GEM_TSU>;
 };
 
 &gem1 {
        clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM1_REF>,
                 <&zynqmp_clk GEM1_TX>, <&zynqmp_clk GEM1_RX>,
                 <&zynqmp_clk GEM_TSU>;
+       assigned-clocks = <&zynqmp_clk GEM_TSU>;
 };
 
 &gem2 {
        clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM2_REF>,
                 <&zynqmp_clk GEM2_TX>, <&zynqmp_clk GEM2_RX>,
                 <&zynqmp_clk GEM_TSU>;
+       assigned-clocks = <&zynqmp_clk GEM_TSU>;
 };
 
 &gem3 {
        clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM3_REF>,
                 <&zynqmp_clk GEM3_TX>, <&zynqmp_clk GEM3_RX>,
                 <&zynqmp_clk GEM_TSU>;
+       assigned-clocks = <&zynqmp_clk GEM_TSU>;
 };
 
 &gpio {
index 5ac66bc1ec5fe8ae525e48190acfc5861a95fd02..caaf71d729e4c918f2bfb76288261229e4bd68dc 100644 (file)
        phy-handle = <&phy0>;
        phy-mode = "sgmii";
        is-internal-pcspma;
+       assigned-clock-rates = <250000000>;
 };
 
 &gem1 { /* mdio mio50/51, gem mio38 - mio49 */
        pinctrl-0 = <&pinctrl_gem1_default>;
        phy-handle = <&phy1>;
        phy-mode = "rgmii-id";
+       assigned-clock-rates = <250000000>;
 
        mdio: mdio {
                #address-cells = <1>;
index 401de9efb913f29c55b690f7126205b373a7c6a6..f9d87559a719af12c1f8dcb7ef30e5ff630449b9 100644 (file)
        phy-handle = <&phy0>;
        phy-mode = "sgmii";
        is-internal-pcspma;
+       assigned-clock-rates = <250000000>;
 };
 
 &gem1 { /* mdio mio50/51, gem mio38 - mio49 */
        pinctrl-0 = <&pinctrl_gem1_default>;
        phy-handle = <&phy1>;
        phy-mode = "rgmii-id";
+       assigned-clock-rates = <250000000>;
 
        mdio: mdio {
                #address-cells = <1>;