arm64: dts: imx8mp: Describe PCIe clock generator on DH electronics i.MX8M Plus DHCOM...
authorMarek Vasut <marex@denx.de>
Mon, 15 May 2023 15:51:02 +0000 (17:51 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 27 May 2023 08:23:26 +0000 (16:23 +0800)
The PDK3 carrier board contains a PCIe clock generator which is used to
supply the PCIe clock lanes. This generator is always on, unless external
CLKREQ signal toggles an output off, but this is handled in hardware. The
generator does however have I2C interface, describe it in DT.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts

index b5e76b992a103351f3ff9f1e43b8c19059c94bcb..24dc58b3404fb8e20e445158fc5c9f4c72b43e47 100644 (file)
                stdout-path = &uart1;
        };
 
-       clk_pcie: clock-pcie {
+       clk_xtal25: clock-xtal25 {
                compatible = "fixed-clock";
                #clock-cells = <0>;
-               clock-frequency = <100000000>;
+               clock-frequency = <25000000>;
        };
 
        connector {
                                pagesize = <16>;
                                reg = <0x54>;
                        };
+
+                       pcieclk: clock@6b {
+                               compatible = "skyworks,si52144";
+                               reg = <0x6b>;
+                               clocks = <&clk_xtal25>;
+                               #clock-cells = <1>;
+                       };
                };
 
                i2cmuxed1: i2c@1 {      /* HDMI DDC I2C */
 };
 
 &pcie_phy {
-       clocks = <&clk_pcie>;
+       clocks = <&pcieclk 1>;
        clock-names = "ref";
        fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
        status = "okay";