dts: arm: adi: Add counter RTC instance to MAX32xxx
This commit instantiates counter RTC on MAX32xxx MCUs. Co-authored-by: Sadik Ozer <sadik.ozer@analog.com> Signed-off-by: Okan Sahin <okan.sahin@analog.com>
This commit is contained in:
parent
fd96edcd28
commit
b4d1076ab2
2 changed files with 16 additions and 0 deletions
|
|
@ -294,6 +294,13 @@
|
|||
#pwm-cells = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
rtc_counter: rtc_counter@40006000 {
|
||||
compatible = "adi,max32-rtc-counter";
|
||||
reg = <0x40006000 0x400>;
|
||||
interrupts = <3 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
9
dts/bindings/counter/adi,max32-rtc-counter.yaml
Normal file
9
dts/bindings/counter/adi,max32-rtc-counter.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2024 Analog Devices, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: ADI MAX32 compatible Counter RTC
|
||||
|
||||
compatible: "adi,max32-rtc-counter"
|
||||
|
||||
include: [base.yaml]
|
||||
Loading…
Reference in a new issue