Commit 6e547482 authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon

arm64: dts: ti: k3-am62: Enable EPWM nodes at the board level

EPWM nodes defined in the top-level AM62x SoC dtsi files are incomplete
and will not be functional unless they are extended with pinmux
information.

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

Disable the EPWM 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>
Reviewed-by: default avatarBryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221018211533.21335-5-afd@ti.com
parent 361e8b71
...@@ -612,6 +612,7 @@ epwm0: pwm@23000000 { ...@@ -612,6 +612,7 @@ epwm0: pwm@23000000 {
power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>;
clocks = <&epwm_tbclk 0>, <&k3_clks 86 0>; clocks = <&epwm_tbclk 0>, <&k3_clks 86 0>;
clock-names = "tbclk", "fck"; clock-names = "tbclk", "fck";
status = "disabled";
}; };
epwm1: pwm@23010000 { epwm1: pwm@23010000 {
...@@ -621,6 +622,7 @@ epwm1: pwm@23010000 { ...@@ -621,6 +622,7 @@ epwm1: pwm@23010000 {
power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>;
clocks = <&epwm_tbclk 1>, <&k3_clks 87 0>; clocks = <&epwm_tbclk 1>, <&k3_clks 87 0>;
clock-names = "tbclk", "fck"; clock-names = "tbclk", "fck";
status = "disabled";
}; };
epwm2: pwm@23020000 { epwm2: pwm@23020000 {
...@@ -630,5 +632,6 @@ epwm2: pwm@23020000 { ...@@ -630,5 +632,6 @@ epwm2: pwm@23020000 {
power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>;
clocks = <&epwm_tbclk 2>, <&k3_clks 88 0>; clocks = <&epwm_tbclk 2>, <&k3_clks 88 0>;
clock-names = "tbclk", "fck"; clock-names = "tbclk", "fck";
status = "disabled";
}; };
}; };
...@@ -465,15 +465,3 @@ &ecap2 { ...@@ -465,15 +465,3 @@ &ecap2 {
&main_mcan0 { &main_mcan0 {
status = "disabled"; status = "disabled";
}; };
&epwm0 {
status = "disabled";
};
&epwm1 {
status = "disabled";
};
&epwm2 {
status = "disabled";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment