Commit c1d1189e authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon
Browse files

arm64: dts: ti: k3-am65: Enable ECAP nodes at the board level



ECAP nodes defined in the top-level AM65x 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: default avatarAndrew Davis <afd@ti.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Tested-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221028142417.10642-6-afd@ti.com
parent 5780cf09
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -550,6 +550,7 @@ &mcu_cpsw {
};

&ecap0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&ecap0_pins_default>;
};
+1 −0
Original line number Diff line number Diff line
@@ -205,6 +205,7 @@ ecap0: pwm@3100000 {
		power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
		clocks = <&k3_clks 39 0>;
		clock-names = "fck";
		status = "disabled";
	};

	main_spi0: spi@2100000 {
+1 −0
Original line number Diff line number Diff line
@@ -337,6 +337,7 @@ &main_i2c2 {
};

&ecap0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&ecap0_pins_default>;
};