Skip to content

Commit 528153e

Browse files
KhanhNguyen-RVCkartben
authored andcommitted
dts: arm: renesas: Add ULPT and power state nodes for Renesas RA8
ULPT nodes: - Added `ulpt0` at 0x40220000 (channel 0). - Added `ulpt1` at 0x40220100 (channel 1). - Included timer sub-nodes with `renesas,ra-ulpt-timer` compatibility. Power state nodes: - `stop0`: Runtime idle state mapped to LPM sleep mode. - `stop1`: Standby state mapped to LPM software standby mode. Signed-off-by: Khanh Nguyen <[email protected]>
1 parent 7ae800a commit 528153e

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

dts/arm/renesas/ra/ra8/ra8x1.dtsi

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,28 @@
2222
reg = <0>;
2323
#address-cells = <1>;
2424
#size-cells = <1>;
25+
cpu-power-states = <&stop0 &stop1>;
2526

2627
mpu: mpu@e000ed90 {
2728
compatible = "arm,armv8.1m-mpu";
2829
reg = <0xe000ed90 0x40>;
2930
};
3031
};
32+
33+
power-states {
34+
stop0: state0 {
35+
compatible = "zephyr,power-state";
36+
power-state-name = "runtime-idle";
37+
min-residency-us = <450>;
38+
};
39+
40+
stop1: state1 {
41+
compatible = "zephyr,power-state";
42+
power-state-name = "standby";
43+
min-residency-us = <5000>;
44+
exit-latency-us = <3000>;
45+
};
46+
};
3147
};
3248

3349
soc {
@@ -544,6 +560,32 @@
544560
status = "disabled";
545561
};
546562

563+
ulpt0: ulpt@40220000 {
564+
compatible = "renesas,ra-ulpt";
565+
reg = <0x40220000 0x100>;
566+
channel = <0>;
567+
interrupt-names = "ulpti";
568+
interrupts = <36 1>;
569+
status = "disabled";
570+
571+
timer {
572+
compatible = "renesas,ra-ulpt-timer";
573+
status = "disabled";
574+
};
575+
};
576+
577+
ulpt1: ulpt@40220100 {
578+
compatible = "renesas,ra-ulpt";
579+
reg = <0x40220100 0x100>;
580+
channel = <1>;
581+
status = "disabled";
582+
583+
timer {
584+
compatible = "renesas,ra-ulpt-timer";
585+
status = "disabled";
586+
};
587+
};
588+
547589
option_setting_ofs: option_setting_ofs@300a100 {
548590
compatible = "zephyr,memory-region";
549591
reg = <0x0300a100 0x18>;

0 commit comments

Comments
 (0)