drivers: rtc: rtc_mc146818: Added RTC driver for Motorola MC146818B
Added RTC driver that supports Motorola MC146818B Enabled RTC set/get time and alarm, alarm callback and update callback. Counter and RTC uses same hardware in case of Motorola MC146818, so they can't be used at a time. Updated stand-alone mc146818 counter dts instances to support rtc and counter with same compatible string of "motorola,mc146818" on ia32, atom, apollo_lake, elhart_lake and raptor_lake platforms. Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
This commit is contained in:
parent
5076476cf5
commit
bfeb5043ac
16 changed files with 642 additions and 12 deletions
9
dts/bindings/rtc/motorola,mc146818.yaml
Normal file
9
dts/bindings/rtc/motorola,mc146818.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2022, Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Motorola MC146818 compatible Real Timer Clock
|
||||
|
||||
compatible: "motorola,mc146818"
|
||||
|
||||
include: rtc-device.yaml
|
Loading…
Add table
Add a link
Reference in a new issue