Skip to content

Commit cce7070

Browse files
GseoCNipaLocal
authored andcommitted
ARM: dts: stm32: add missing PTP reference clocks on stm32mp13x SoCs
ETH1/2 miss their PTP reference clock in the SoC device tree. Add them as the fallback is not correctly handled for PPS generation and it seems there's no reason to not add them. Signed-off-by: Gatien Chevallier <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 058c4cd commit cce7070

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/arm/boot/dts/st/stm32mp131.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,11 +1602,13 @@
16021602
"mac-clk-tx",
16031603
"mac-clk-rx",
16041604
"ethstp",
1605+
"ptp_ref",
16051606
"eth-ck";
16061607
clocks = <&rcc ETH1MAC>,
16071608
<&rcc ETH1TX>,
16081609
<&rcc ETH1RX>,
16091610
<&rcc ETH1STP>,
1611+
<&rcc ETH1PTP_K>,
16101612
<&rcc ETH1CK_K>;
16111613
st,syscon = <&syscfg 0x4 0xff0000>;
16121614
snps,mixed-burst;

arch/arm/boot/dts/st/stm32mp133.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,13 @@
8181
"mac-clk-tx",
8282
"mac-clk-rx",
8383
"ethstp",
84+
"ptp_ref",
8485
"eth-ck";
8586
clocks = <&rcc ETH2MAC>,
8687
<&rcc ETH2TX>,
8788
<&rcc ETH2RX>,
8889
<&rcc ETH2STP>,
90+
<&rcc ETH2PTP_K>,
8991
<&rcc ETH2CK_K>;
9092
st,syscon = <&syscfg 0x4 0xff000000>;
9193
snps,mixed-burst;

0 commit comments

Comments
 (0)