Skip to content

Commit e30cf00

Browse files
Farsin-Nasar-Microchipnashif
authored andcommitted
boards: microchip: sam: Add RTC node and enable RTC G1 support
Add RTC node in sam_e54_xpro.dts Update sam_e54_xpro.yaml to reflect RTC G1 support on the board. Signed-off-by: farsin NASAR V A <[email protected]>
1 parent e7b40ae commit e30cf00

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

boards/microchip/sam/sam_e54_xpro/sam_e54_xpro.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
led0 = &led0;
2929
pwm-led0 = &pwm_led0;
3030
sw0 = &button0;
31+
rtc = &rtc;
3132
};
3233

3334
leds {
@@ -59,6 +60,11 @@
5960
};
6061
};
6162

63+
&rtc {
64+
prescaler = <1024>;
65+
status = "okay";
66+
};
67+
6268
&flash0 {
6369
partitions {
6470
compatible = "fixed-partitions";

boards/microchip/sam/sam_e54_xpro/sam_e54_xpro.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ supported:
2121
- pinctrl
2222
- pwm
2323
- reset
24+
- rtc
2425
- shell
2526
- uart
2627
vendor: microchip

0 commit comments

Comments
 (0)