arm64: dts: st: Enable COMBOPHY on the stm32mp257f-ev1 board
authorChristian Bruel <christian.bruel@foss.st.com>
Mon, 30 Sep 2024 17:08:47 +0000 (19:08 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 9 Dec 2024 16:19:55 +0000 (17:19 +0100)
Enable the COMBOPHY with external pad clock on stm32mp257f-ev1
board, to be used for the PCIe clock provider.

Signed-off-by: Christian Bruel <christian.bruel@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts

index 6f393b082789144936ec0d4a406ea4069700e269..753df49dbcb5196bc758497779070cadf98b6a23 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       clocks {
+               pad_clk: pad-clk {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+                       clock-frequency = <100000000>;
+               };
+       };
+
        memory@80000000 {
                device_type = "memory";
                reg = <0x0 0x80000000 0x1 0x0>;
        status = "okay";
 };
 
+&combophy {
+       clocks = <&rcc CK_BUS_USB3PCIEPHY>, <&rcc CK_KER_USB3PCIEPHY>, <&pad_clk>;
+       clock-names = "apb", "ker", "pad";
+       status = "okay";
+};
+
 &ethernet2 {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&eth2_rgmii_pins_a>;