]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: add missing PTP reference clocks on stm32mp13x SoCs
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Mon, 1 Sep 2025 09:16:29 +0000 (11:16 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 15 Sep 2025 15:51:31 +0000 (17:51 +0200)
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 <gatien.chevallier@foss.st.com>
Link: https://lore.kernel.org/r/20250901-relative_flex_pps-v4-3-b874971dfe85@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp131.dtsi
arch/arm/boot/dts/st/stm32mp133.dtsi

index 151ffd0bdef9aa1d898fb8670af0a1503ac8d2fa..fd730aa37c22e02ec2fd8171f569ab681f47d737 100644 (file)
                                              "mac-clk-tx",
                                              "mac-clk-rx",
                                              "ethstp",
+                                             "ptp_ref",
                                              "eth-ck";
                                clocks = <&rcc ETH1MAC>,
                                         <&rcc ETH1TX>,
                                         <&rcc ETH1RX>,
                                         <&rcc ETH1STP>,
+                                        <&rcc ETH1PTP_K>,
                                         <&rcc ETH1CK_K>;
                                st,syscon = <&syscfg 0x4 0xff0000>;
                                snps,mixed-burst;
index 49583137b5972572d1feaa699c0c3a822a1b6f6d..053fc669120513c7d2812a0aabe8186fe1f4fe58 100644 (file)
                              "mac-clk-tx",
                              "mac-clk-rx",
                              "ethstp",
+                             "ptp_ref",
                              "eth-ck";
                clocks = <&rcc ETH2MAC>,
                         <&rcc ETH2TX>,
                         <&rcc ETH2RX>,
                         <&rcc ETH2STP>,
+                        <&rcc ETH2PTP_K>,
                         <&rcc ETH2CK_K>;
                st,syscon = <&syscfg 0x4 0xff000000>;
                snps,mixed-burst;