Skip to content

Commit

Permalink
dts: nxp: Add support for 1Kz RTC counter
Browse files Browse the repository at this point in the history
A 1KHz counter is present in the LPC RTC.
Add support for this counter to get better
resolution for certain applications.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
  • Loading branch information
mmahadevan108 authored and carlescufi committed Jan 12, 2024
1 parent 08705f5 commit 008b502
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dts/arm/nxp/nxp_rt5xx_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@
reg = <0x30000 0x1000>;
interrupts = <32 0>;
status = "disabled";
rtc_highres: rtc_highres {
compatible = "nxp,lpc-rtc-highres";
status = "disabled";
};
};

trng: random@138000 {
Expand Down
4 changes: 4 additions & 0 deletions dts/arm/nxp/nxp_rt6xx_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@
reg = <0x30000 0x1000>;
interrupts = <32 0>;
status = "disabled";
rtc_highres: rtc_highres {
compatible = "nxp,lpc-rtc-highres";
status = "disabled";
};
};

trng: random@138000 {
Expand Down

0 comments on commit 008b502

Please sign in to comment.