arm64: dts: imx8mm-venice-gw7902: fix pcie bindings
authorTim Harvey <tharvey@gateworks.com>
Fri, 29 Apr 2022 16:13:47 +0000 (09:13 -0700)
committerShawn Guo <shawnguo@kernel.org>
Thu, 5 May 2022 07:00:34 +0000 (15:00 +0800)
Update the pcie bindings to the correct dt bindings:
 pcie_phy:
  - use pcie0_refclk
  - add required clock-names
 pcie:
  - remove pcie_phy clock as it comes from phy driver

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts

index 1b03aa1..f0eccc5 100644 (file)
 &pcie_phy {
        fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
        fsl,clkreq-unsupported;
-       clocks = <&clk IMX8MM_CLK_DUMMY>;
+       clocks = <&pcie0_refclk>;
+       clock-names = "ref";
        status = "okay";
 };
 
        pinctrl-0 = <&pinctrl_pcie0>;
        reset-gpio = <&gpio4 5 GPIO_ACTIVE_LOW>;
        clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&clk IMX8MM_CLK_PCIE1_AUX>,
-                <&clk IMX8MM_CLK_DUMMY>, <&pcie0_refclk>;
-       clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
+                <&pcie0_refclk>;
+       clock-names = "pcie", "pcie_aux", "pcie_bus";
        assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
                          <&clk IMX8MM_CLK_PCIE1_CTRL>;
        assigned-clock-rates = <10000000>, <250000000>;