dts: arm: nxp: Enable RTC Counter for MCXW7X

Enabled the RTC Counter for the MCXW71 and MCXW72.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2025-01-29 16:40:21 -06:00 committed by Benjamin Cabé
commit e40ad1c901
6 changed files with 27 additions and 0 deletions

View file

@ -60,6 +60,8 @@ The ``frdm_mcxw71`` board target in Zephyr currently supports the following feat
+-----------+------------+-------------------------------------+
| LPTMR | on-chip | counter |
+-----------+------------+-------------------------------------+
| RTC | on-chip | counter |
+-----------+------------+-------------------------------------+
| BLE | on-chip | Bluetooth |
+-----------+------------+-------------------------------------+
| FLEXCAN | on-chip | can |

View file

@ -176,3 +176,7 @@
status = "okay";
wakeup-source;
};
&rtc {
status = "okay";
};

View file

@ -134,3 +134,7 @@
pinctrl-0 = <&pinmux_lpi2c1>;
pinctrl-names = "default";
};
&rtc {
status = "okay";
};

View file

@ -60,3 +60,7 @@
&smu2 {
ranges = <0x0 0x1c0000 DT_SIZE_K(40)>;
};
&rtc {
reg = <0x4002c000 0x50>;
};

View file

@ -53,3 +53,7 @@
&smu2 {
ranges = <0x0 0x1c0000 DT_SIZE_K(80)>;
};
&rtc {
reg = <0x4002c000 0x60>;
};

View file

@ -324,6 +324,15 @@
nxp,current-compensation-en;
status = "disabled";
};
rtc: rtc@4002c000 {
compatible = "nxp,rtc";
status = "disabled";
interrupts = <32 0>, <33 0>;
interrupt-names = "alarm", "seconds";
clock-frequency = <32768>;
prescaler = <32768>;
};
};
&fast_peripheral0 {