From aff3ebd2cc9be3205da7d50fd4e8114d061bed6b Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 29 Sep 2021 18:25:14 +0200 Subject: 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 --- arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi') 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>; }; -- cgit v1.2.3