dts: mcxw23x: Add dts support for MRT and SCTimer

Add dts support for MRT and SCTimer

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
diff --git a/boards/nxp/frdm_mcxw23/frdm_mcxw23-pinctrl.dtsi b/boards/nxp/frdm_mcxw23/frdm_mcxw23-pinctrl.dtsi
index 91ebe7c..4b1467f 100644
--- a/boards/nxp/frdm_mcxw23/frdm_mcxw23-pinctrl.dtsi
+++ b/boards/nxp/frdm_mcxw23/frdm_mcxw23-pinctrl.dtsi
@@ -25,4 +25,11 @@
 			power-source = "3v3";
 		};
 	};
+
+	pinmux_sctimer_default: pinmux_sctimer_default {
+		group0 {
+			pinmux = <SCT0_OUT0_PIO0_15>;
+			slew-rate = "standard";
+		};
+	};
 };
diff --git a/boards/nxp/frdm_mcxw23/frdm_mcxw23_common.dtsi b/boards/nxp/frdm_mcxw23/frdm_mcxw23_common.dtsi
index 73a9fb1..640a888 100644
--- a/boards/nxp/frdm_mcxw23/frdm_mcxw23_common.dtsi
+++ b/boards/nxp/frdm_mcxw23/frdm_mcxw23_common.dtsi
@@ -32,6 +32,7 @@
 		accel0 = &fxls8974;
 		mcuboot-button0 = &btn_wk;
 		watchdog0 = &wwdt0;
+		pwm-0 = &sc_timer;
 	};
 
 	leds {
@@ -169,6 +170,12 @@
 	status = "okay";
 };
 
+&sc_timer {
+	status = "okay";
+	pinctrl-0 = <&pinmux_sctimer_default>;
+	pinctrl-names = "default";
+};
+
 &wwdt0 {
 	status = "okay";
 };
@@ -177,6 +184,10 @@
 	status = "okay";
 };
 
+&mrt0_channel0 {
+	status = "okay";
+};
+
 &flash0 {
 	partitions {
 		compatible = "fixed-partitions";
diff --git a/boards/nxp/mcxw23_evk/mcxw23_evk-pinctrl.dtsi b/boards/nxp/mcxw23_evk/mcxw23_evk-pinctrl.dtsi
index 91ebe7c..4b1467f 100644
--- a/boards/nxp/mcxw23_evk/mcxw23_evk-pinctrl.dtsi
+++ b/boards/nxp/mcxw23_evk/mcxw23_evk-pinctrl.dtsi
@@ -25,4 +25,11 @@
 			power-source = "3v3";
 		};
 	};
+
+	pinmux_sctimer_default: pinmux_sctimer_default {
+		group0 {
+			pinmux = <SCT0_OUT0_PIO0_15>;
+			slew-rate = "standard";
+		};
+	};
 };
diff --git a/boards/nxp/mcxw23_evk/mcxw23_evk_common.dtsi b/boards/nxp/mcxw23_evk/mcxw23_evk_common.dtsi
index 969d458..09c1ac9 100644
--- a/boards/nxp/mcxw23_evk/mcxw23_evk_common.dtsi
+++ b/boards/nxp/mcxw23_evk/mcxw23_evk_common.dtsi
@@ -30,6 +30,7 @@
 		accel0 = &fxls8974;
 		mcuboot-button0 = &btn_wk;
 		watchdog0 = &wwdt0;
+		pwm-0 = &sc_timer;
 	};
 
 	leds {
@@ -149,6 +150,12 @@
 	status = "okay";
 };
 
+&sc_timer {
+	status = "okay";
+	pinctrl-0 = <&pinmux_sctimer_default>;
+	pinctrl-names = "default";
+};
+
 &wwdt0 {
 	status = "okay";
 };
@@ -157,6 +164,10 @@
 	status = "okay";
 };
 
+&mrt0_channel0 {
+	status = "okay";
+};
+
 &flash0 {
 	partitions {
 		compatible = "fixed-partitions";
diff --git a/dts/arm/nxp/nxp_mcxw23x_common.dtsi b/dts/arm/nxp/nxp_mcxw23x_common.dtsi
index 7381362..a1adcff 100644
--- a/dts/arm/nxp/nxp_mcxw23x_common.dtsi
+++ b/dts/arm/nxp/nxp_mcxw23x_common.dtsi
@@ -221,6 +221,16 @@
 		prescale = <0>;
 	};
 
+	sc_timer: pwm@85000 {
+		compatible = "nxp,sctimer-pwm";
+		reg = <0x85000 0x1000>;
+		interrupts = <12 1>;
+		status = "disabled";
+		clocks = <&syscon MCUX_SCTIMER_CLK>;
+		prescaler = <2>;
+		#pwm-cells = <3>;
+	};
+
 	flexcomm0: flexcomm@86000 {
 		compatible = "nxp,lpc-flexcomm";
 		reg = <0x86000 0x1000>;
@@ -290,6 +300,42 @@
 		interrupts = <22 0>;
 		interrupt-names = "nbu_rx_int";
 	};
+
+	mrt0: mrt@d000 {
+		compatible = "nxp,mrt";
+		reg = <0xd000 0x100>;
+		interrupts = <9 1>;
+		num-channels = <4>;
+		num-bits = <24>;
+		clocks = <&syscon MCUX_MRT_CLK>;
+		resets = <&reset NXP_SYSCON_RESET(1, 0)>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		mrt0_channel0: mrt0_channel@0 {
+			compatible = "nxp,mrt-channel";
+			reg = <0>;
+			status = "disabled";
+		};
+
+		mrt0_channel1: mrt0_channel@1 {
+			compatible = "nxp,mrt-channel";
+			reg = <1>;
+			status = "disabled";
+		};
+
+		mrt0_channel2: mrt0_channel@2 {
+			compatible = "nxp,mrt-channel";
+			reg = <2>;
+			status = "disabled";
+		};
+
+		mrt0_channel3: mrt0_channel@3 {
+			compatible = "nxp,mrt-channel";
+			reg = <3>;
+			status = "disabled";
+		};
+	};
 };
 
 &nvic {