Skip to content

Commit 4a1739c

Browse files
committed
riscv: dts: microchip: add tsu clock to macb on mpfs
In increment mode, the tsu clock for the macb is provided separately to the pck, usually the same clock as the reference to the rtc provided by an off-chip oscillator. pclk is 150 MHz typically, and the reference is either 100 MHz or 125 MHz, so having the tsu clock is required for correct rate selection. Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent feb5dba commit 4a1739c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/riscv/boot/dts/microchip/mpfs.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,8 @@
464464
interrupt-parent = <&plic>;
465465
interrupts = <64>, <65>, <66>, <67>, <68>, <69>;
466466
local-mac-address = [00 00 00 00 00 00];
467-
clocks = <&clkcfg CLK_MAC0>, <&clkcfg CLK_AHB>;
468-
clock-names = "pclk", "hclk";
467+
clocks = <&clkcfg CLK_MAC0>, <&clkcfg CLK_AHB>, <&refclk>;
468+
clock-names = "pclk", "hclk", "tsu_clk";
469469
resets = <&mss_top_sysreg CLK_MAC0>;
470470
status = "disabled";
471471
};
@@ -478,8 +478,8 @@
478478
interrupt-parent = <&plic>;
479479
interrupts = <70>, <71>, <72>, <73>, <74>, <75>;
480480
local-mac-address = [00 00 00 00 00 00];
481-
clocks = <&clkcfg CLK_MAC1>, <&clkcfg CLK_AHB>;
482-
clock-names = "pclk", "hclk";
481+
clocks = <&clkcfg CLK_MAC1>, <&clkcfg CLK_AHB>, <&refclk>;
482+
clock-names = "pclk", "hclk", "tsu_clk";
483483
resets = <&mss_top_sysreg CLK_MAC1>;
484484
status = "disabled";
485485
};

0 commit comments

Comments
 (0)