Skip to content

Commit

Permalink
dt-bindings: rtc: Add on-chip ASPEED RTC documentation
Browse files Browse the repository at this point in the history
Describe the RTC as used in the ASPEED BMC SoCs.

Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
shenki authored and alexandrebelloni committed Apr 4, 2019
1 parent 9a8f2d1 commit e3b3711
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/rtc/rtc-aspeed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ASPEED BMC RTC
==============

Required properties:
- compatible: should be one of the following
* aspeed,ast2400-rtc for the ast2400
* aspeed,ast2500-rtc for the ast2500
* aspeed,ast2600-rtc for the ast2600

- reg: physical base address of the controller and length of memory mapped
region

- interrupts: The interrupt number

Example:

rtc@1e781000 {
compatible = "aspeed,ast2400-rtc";
reg = <0x1e781000 0x18>;
interrupts = <22>;
status = "disabled";
};

0 comments on commit e3b3711

Please sign in to comment.