Skip to content

Commit

Permalink
dts: arm: nxp: add rtc support for ke17z512
Browse files Browse the repository at this point in the history
Add RTC driver support for NXP frdm_ke17z512, rtc doesn't exist on
frdm_ke17z board, delete rtc node from its dtsi file.

Signed-off-by: Anke Xiao <[email protected]>
  • Loading branch information
ankeXiao authored and fabiobaltieri committed Aug 13, 2024
1 parent 7c7760f commit 20820b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dts/arm/nxp/nxp_ke17z.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@
write-block-size = <8>;
};
};

/* Remove rtc, it doesn't exist on KE17Z */
/delete-node/ rtc@4003d000;
};
};
9 changes: 9 additions & 0 deletions dts/arm/nxp/nxp_ke1xz.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,15 @@
status = "disabled";
};

rtc: rtc@4003d000 {
compatible = "nxp,kinetis-rtc";
reg = <0x4003d000 0x1000>;
interrupts = <20 0>;
clock-frequency = <32768>;
prescaler = <32768>;
status = "disabled";
};

cmp0: cmp@40073000 {
compatible = "nxp,kinetis-acmp";
reg = <0x40073000 0x1000>;
Expand Down

0 comments on commit 20820b4

Please sign in to comment.