arm: nxp: imx-rt: default to PWMs being disabled in dts

Mark all the individual PWMs as disabled in dts and enable the one
explicitly used on the mimxrt1064_evk.dts in the board dts file.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-04-15 11:59:15 -05:00 committed by Maureen Helm
commit 87186e5039
2 changed files with 20 additions and 0 deletions

View file

@ -156,3 +156,7 @@ arduino_i2c: &lpi2c1 {};
}; };
}; };
}; };
&flexpwm2_pwm3 {
status = "okay";
};

View file

@ -373,6 +373,7 @@
label = "FLEXPWM1_PWM0"; label = "FLEXPWM1_PWM0";
interrupts = <102 0>; interrupts = <102 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm1_pwm1: pwm1 { flexpwm1_pwm1: pwm1 {
@ -381,6 +382,7 @@
label = "FLEXPWM1_PWM1"; label = "FLEXPWM1_PWM1";
interrupts = <103 0>; interrupts = <103 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm1_pwm2: pwm2 { flexpwm1_pwm2: pwm2 {
@ -389,6 +391,7 @@
label = "FLEXPWM1_PWM2"; label = "FLEXPWM1_PWM2";
interrupts = <104 0>; interrupts = <104 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm1_pwm3: pwm3 { flexpwm1_pwm3: pwm3 {
@ -397,6 +400,7 @@
label = "FLEXPWM1_PWM3"; label = "FLEXPWM1_PWM3";
interrupts = <105 0>; interrupts = <105 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
}; };
@ -411,6 +415,7 @@
label = "FLEXPWM2_PWM0"; label = "FLEXPWM2_PWM0";
interrupts = <137 0>; interrupts = <137 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm2_pwm1: pwm1 { flexpwm2_pwm1: pwm1 {
@ -419,6 +424,7 @@
label = "FLEXPWM2_PWM1"; label = "FLEXPWM2_PWM1";
interrupts = <138 0>; interrupts = <138 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm2_pwm2: pwm2 { flexpwm2_pwm2: pwm2 {
@ -427,6 +433,7 @@
label = "FLEXPWM2_PWM2"; label = "FLEXPWM2_PWM2";
interrupts = <139 0>; interrupts = <139 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm2_pwm3: pwm3 { flexpwm2_pwm3: pwm3 {
@ -435,6 +442,7 @@
label = "FLEXPWM2_PWM3"; label = "FLEXPWM2_PWM3";
interrupts = <140 0>; interrupts = <140 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
}; };
@ -449,6 +457,7 @@
label = "FLEXPWM3_PWM0"; label = "FLEXPWM3_PWM0";
interrupts = <142 0>; interrupts = <142 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm3_pwm1: pwm1 { flexpwm3_pwm1: pwm1 {
@ -457,6 +466,7 @@
label = "FLEXPWM3_PWM1"; label = "FLEXPWM3_PWM1";
interrupts = <143 0>; interrupts = <143 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm3_pwm2: pwm2 { flexpwm3_pwm2: pwm2 {
@ -465,6 +475,7 @@
label = "FLEXPWM3_PWM2"; label = "FLEXPWM3_PWM2";
interrupts = <144 0>; interrupts = <144 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm3_pwm3: pwm3 { flexpwm3_pwm3: pwm3 {
@ -473,6 +484,7 @@
label = "FLEXPWM3_PWM3"; label = "FLEXPWM3_PWM3";
interrupts = <145 0>; interrupts = <145 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
}; };
@ -487,6 +499,7 @@
label = "FLEXPWM4_PWM0"; label = "FLEXPWM4_PWM0";
interrupts = <147 0>; interrupts = <147 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm4_pwm1: pwm1 { flexpwm4_pwm1: pwm1 {
@ -495,6 +508,7 @@
label = "FLEXPWM4_PWM1"; label = "FLEXPWM4_PWM1";
interrupts = <148 0>; interrupts = <148 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm4_pwm2: pwm2 { flexpwm4_pwm2: pwm2 {
@ -503,6 +517,7 @@
label = "FLEXPWM4_PWM2"; label = "FLEXPWM4_PWM2";
interrupts = <149 0>; interrupts = <149 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
flexpwm4_pwm3: pwm3 { flexpwm4_pwm3: pwm3 {
@ -511,6 +526,7 @@
label = "FLEXPWM4_PWM3"; label = "FLEXPWM4_PWM3";
interrupts = <150 0>; interrupts = <150 0>;
#pwm-cells = <1>; #pwm-cells = <1>;
status = "disabled";
}; };
}; };