Commit 87186e50 authored by Kumar Gala's avatar Kumar Gala Committed by Maureen Helm
Browse files

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: default avatarKumar Gala <kumar.gala@linaro.org>
parent 50129f8d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -156,3 +156,7 @@ arduino_i2c: &lpi2c1 {};
		};
	};
};

&flexpwm2_pwm3 {
	status = "okay";
};
+16 −0
Original line number Diff line number Diff line
@@ -373,6 +373,7 @@
				label = "FLEXPWM1_PWM0";
				interrupts = <102 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm1_pwm1: pwm1 {
@@ -381,6 +382,7 @@
				label = "FLEXPWM1_PWM1";
				interrupts = <103 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm1_pwm2: pwm2 {
@@ -389,6 +391,7 @@
				label = "FLEXPWM1_PWM2";
				interrupts = <104 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm1_pwm3: pwm3 {
@@ -397,6 +400,7 @@
				label = "FLEXPWM1_PWM3";
				interrupts = <105 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};
		};

@@ -411,6 +415,7 @@
				label = "FLEXPWM2_PWM0";
				interrupts = <137 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm2_pwm1: pwm1 {
@@ -419,6 +424,7 @@
				label = "FLEXPWM2_PWM1";
				interrupts = <138 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm2_pwm2: pwm2 {
@@ -427,6 +433,7 @@
				label = "FLEXPWM2_PWM2";
				interrupts = <139 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm2_pwm3: pwm3 {
@@ -435,6 +442,7 @@
				label = "FLEXPWM2_PWM3";
				interrupts = <140 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};
		};

@@ -449,6 +457,7 @@
				label = "FLEXPWM3_PWM0";
				interrupts = <142 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm3_pwm1: pwm1 {
@@ -457,6 +466,7 @@
				label = "FLEXPWM3_PWM1";
				interrupts = <143 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm3_pwm2: pwm2 {
@@ -465,6 +475,7 @@
				label = "FLEXPWM3_PWM2";
				interrupts = <144 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm3_pwm3: pwm3 {
@@ -473,6 +484,7 @@
				label = "FLEXPWM3_PWM3";
				interrupts = <145 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};
		};

@@ -487,6 +499,7 @@
				label = "FLEXPWM4_PWM0";
				interrupts = <147 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm4_pwm1: pwm1 {
@@ -495,6 +508,7 @@
				label = "FLEXPWM4_PWM1";
				interrupts = <148 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm4_pwm2: pwm2 {
@@ -503,6 +517,7 @@
				label = "FLEXPWM4_PWM2";
				interrupts = <149 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};

			flexpwm4_pwm3: pwm3 {
@@ -511,6 +526,7 @@
				label = "FLEXPWM4_PWM3";
				interrupts = <150 0>;
				#pwm-cells = <1>;
				status = "disabled";
			};
		};