ARM: dts: imx7d-pico: Describe the Wifi clock
authorFabio Estevam <festevam@gmail.com>
Fri, 30 Nov 2018 10:31:29 +0000 (08:31 -0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 5 Dec 2018 04:07:16 +0000 (12:07 +0800)
commitc3b9ab5db11d8098ca7674175f12ab21cdce1bbb
tree5c726fef4a11f6f1955f7ceeee15b7dff21fff1c
parent512cab3e7e0be11234f965d9898936dce2325382
ARM: dts: imx7d-pico: Describe the Wifi clock

The Wifi chip should be clocked by a 32kHz clock coming from i.MX7D
CLKO2 output pin, so describe the pinmux and clock hierarchy in the
device tree to allow the Wifi chip to be properly clocked.

Managed to successfully test Wifi with such change. Used the standard
nvram.txt file provided by TechNexion, which selects an external 32kHz
clock for the Wifi chip by default.

Fixes: 99a52450c707 ("ARM: dts: imx7d-pico: Add Wifi support")
Suggested-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Tested-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d-pico.dtsi