ARM: dts: imx51-babbage: Fix the 26MHz clock modelling
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 21 Dec 2017 15:23:52 +0000 (13:23 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:48:48 +0000 (16:48 +0800)
commitcb790819ade1d27e3c984f5357baab1ee353ec8f
tree4b4e316cb143b4f1070a5182aa6f7005a3e8f330
parent7bb83f6d08ae3de40353832bbf783511ea1e8680
ARM: dts: imx51-babbage: Fix the 26MHz clock modelling

On imx51-babbage there is a 26MHz oscillator that is gated by GPIO3_1.

The output of this clock feeds audio codec clock and USB PHY clocks,
which are gated by GPIO4_26 and GPIO2_1 respectively.

Fix the clock representation by properly using gpio-gate-clock.

The clock nodes can be moved out of the 'clocks' node.

Based on a commit from Lucas Stach for imx51-zii-rdu1 board.

This also fixes the following build warning with W=1:

arch/arm/boot/dts/imx51-babbage.dtb: Warning (unit_address_vs_reg): Node /clocks/codec_clock has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-babbage.dts