diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2021-09-29 18:25:14 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-10-25 12:14:54 +0000 |
commit | aff3ebd2cc9be3205da7d50fd4e8114d061bed6b (patch) | |
tree | 2df00e5e9de380283f0daa9fcc1d291fbfc9bb82 /arch/arm64/boot/dts | |
parent | 76f3fe59f24e19a646fb28bad9bd094fb57d9999 (diff) |
ARM: dts: apalis-imx8: depend wifi clock on sata clock
&pcie_sata_refclk_gate is used to drive the clock to the PCIe internal IP
which is in turn needed to communicate with the Wi-fi module. Hence if
&pcie_wifi_refclk_gate is being needed also &pcie_sata_refclk_gate should be
enabled to prevent a situation where the SoC input is left without a clock.
This was reintroduced with
(Revert "ARM64: dts: apalis-imx8: leave pcie/sata clk enabled")
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | 9 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8qm-apalis.dtsi | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi index 892f9d8092b9..b29414e70d2f 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi @@ -55,19 +55,12 @@ enable-gpios = <&lsio_gpio4 11 GPIO_ACTIVE_HIGH>; }; - - pcie_wifi_refclk: wifi-clock-generator { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <100000000>; - }; - pcie_wifi_refclk_gate: wifi-ref-clock { compatible = "gpio-gate-clock"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie_wifi_refclk>; #clock-cells = <0>; - clocks = <&pcie_wifi_refclk>; + clocks = <&pcie_sata_refclk_gate>; enable-gpios = <&lsio_gpio2 11 GPIO_ACTIVE_HIGH>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8qm-apalis.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-apalis.dtsi index b77bc4dc0450..84262cd19125 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-apalis.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm-apalis.dtsi @@ -11,7 +11,6 @@ "fsl,imx8qm"; }; -/delete-node/ &pcie_wifi_refclk; /delete-node/ &pcie_wifi_refclk_gate; ðphy0 { |