Skip to content

Commit ae354aa

Browse files
EmilioCBendleach02
authored andcommitted
dts: arm: nxp_mcxn947: Add MRT DTS
Updated the MCXN94x DTS with the MRT node. Signed-off-by: Emilio Benavente <[email protected]>
1 parent 0502189 commit ae354aa

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

dts/arm/nxp/nxp_mcxn94x_common.dtsi

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <mem.h>
88
#include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
9+
#include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h>
910
#include <zephyr/dt-bindings/gpio/gpio.h>
1011
#include <arm/armv8-m.dtsi>
1112
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
@@ -72,6 +73,10 @@
7273
compatible = "nxp,lpc-syscon";
7374
reg = <0x0 0x4000>;
7475
#clock-cells = <1>;
76+
reset: reset {
77+
compatible = "nxp,lpc-syscon-reset";
78+
#reset-cells = <1>;
79+
};
7580
};
7681

7782
porta: pinmux@116000 {
@@ -938,6 +943,39 @@
938943
status = "disabled";
939944
};
940945
};
946+
947+
mrt0: mrt@13000 {
948+
compatible = "nxp,mrt";
949+
reg = <0x13000 0x1000>;
950+
interrupts = <30 0>;
951+
num-channels = <4>;
952+
num-bits = <24>;
953+
clocks = <&syscon MCUX_MRT_CLK>;
954+
resets = <&reset NXP_SYSCON_RESET(1, 0)>;
955+
#address-cells = <1>;
956+
#size-cells = <0>;
957+
958+
mrt0_channel0: mrt0_channel@0 {
959+
compatible = "nxp,mrt-channel";
960+
reg = <0>;
961+
status = "disabled";
962+
};
963+
mrt0_channel1: mrt0_channel@1 {
964+
compatible = "nxp,mrt-channel";
965+
reg = <1>;
966+
status = "disabled";
967+
};
968+
mrt0_channel2: mrt0_channel@2 {
969+
compatible = "nxp,mrt-channel";
970+
reg = <2>;
971+
status = "disabled";
972+
};
973+
mrt0_channel3: mrt0_channel@3 {
974+
compatible = "nxp,mrt-channel";
975+
reg = <3>;
976+
status = "disabled";
977+
};
978+
};
941979
};
942980

943981
&systick {

0 commit comments

Comments
 (0)