dts: arm: ambiq: ap4 kxr rtc driver
add rtc to kxr Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
This commit is contained in:
parent
0adef5efe9
commit
828e47cc78
2 changed files with 14 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
|||
led2 = &led2;
|
||||
sw0 = &button0;
|
||||
sw1 = &button1;
|
||||
rtc = &rtc0;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
@ -79,6 +80,11 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&rtc0 {
|
||||
status = "okay";
|
||||
clock = "XTAL";
|
||||
};
|
||||
|
||||
&wdt0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -331,6 +331,14 @@
|
|||
ambiq,pwrcfg = <&pwrcfg 0x4 0x400000>;
|
||||
};
|
||||
|
||||
rtc0: rtc@40004800 {
|
||||
compatible = "ambiq,rtc";
|
||||
reg = <0x40004800 0x210>;
|
||||
interrupts = <2 0>;
|
||||
alarms-count = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pinctrl: pin-controller@40010000 {
|
||||
compatible = "ambiq,apollo4-pinctrl";
|
||||
reg = <0x40010000 0x800>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue