Browse Source

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>
pull/83080/head
Emilio Benavente 5 months ago committed by Benjamin Cabé
parent
commit
e40ad1c901
  1. 2
      boards/nxp/frdm_mcxw71/doc/index.rst
  2. 4
      boards/nxp/frdm_mcxw71/frdm_mcxw71.dts
  3. 4
      boards/nxp/mcxw72_evk/mcxw72_evk_mcxw727c_cpu0.dts
  4. 4
      dts/arm/nxp/nxp_mcxw71.dtsi
  5. 4
      dts/arm/nxp/nxp_mcxw72.dtsi
  6. 9
      dts/arm/nxp/nxp_mcxw7x_common.dtsi

2
boards/nxp/frdm_mcxw71/doc/index.rst

@ -60,6 +60,8 @@ The ``frdm_mcxw71`` board target in Zephyr currently supports the following feat @@ -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 |

4
boards/nxp/frdm_mcxw71/frdm_mcxw71.dts

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

4
boards/nxp/mcxw72_evk/mcxw72_evk_mcxw727c_cpu0.dts

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

4
dts/arm/nxp/nxp_mcxw71.dtsi

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

4
dts/arm/nxp/nxp_mcxw72.dtsi

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

9
dts/arm/nxp/nxp_mcxw7x_common.dtsi

@ -324,6 +324,15 @@ @@ -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 {

Loading…
Cancel
Save