arm64: dts: ti: k3-am62: Enable ECAP nodes at the board level
authorAndrew Davis <afd@ti.com>
Tue, 18 Oct 2022 21:15:28 +0000 (16:15 -0500)
committerNishanth Menon <nm@ti.com>
Fri, 28 Oct 2022 13:15:12 +0000 (08:15 -0500)
commitffd61c16fe8facf56b6fb06e29ba5bd150f01bd9
treecfc023bd06e76cdcabe82b8b009cff8ce7644898
parent6e5474826606a783dd969467f93b0c6a56c39780
arm64: dts: ti: k3-am62: Enable ECAP nodes at the board level

ECAP nodes defined in the top-level AM62x SoC dtsi files are incomplete
and will not be functional unless they are extended with pinmux
information. (These and the EPWM nodes could be used to trigger internal
actions but they are not used like that currently)

As the pinmux is only known at the board integration level, these
nodes should only be enabled when provided with this information.

Disable the ECAP nodes in the dtsi files and only enable the ones that
are actually pinned out on a given board.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221018211533.21335-6-afd@ti.com
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
arch/arm64/boot/dts/ti/k3-am625-sk.dts