mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
dt-bindings: rtc: new binding for Raspberry Pi RTC driver
Add binding for the new RTC driver for Raspberry Pi. This platform has an RTC managed by firmware, and this RTC driver provides the simple mailbox interface to access it. Signed-off-by: Dom Cobley <popcornmix@gmail.com> dt: bindings: update rpi-rtc binding Add property for bcm2712 firmware RTC driver charger control Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
This commit is contained in:
22
Documentation/devicetree/bindings/rtc/rtc-rpi.txt
Normal file
22
Documentation/devicetree/bindings/rtc/rtc-rpi.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
* Raspberry Pi RTC
|
||||
|
||||
This is a Linux interface to an RTC managed by firmware, hence it's
|
||||
virtual from a Linux perspective.
|
||||
|
||||
The interface uses the firmware mailbox api to access the RTC registers.
|
||||
|
||||
Required properties:
|
||||
compatible: should be "raspberrypi,rpi-rtc"
|
||||
firmware: Reference to the RPi firmware device node.
|
||||
|
||||
Optional property:
|
||||
trickle-charge-microvolt: specify a trickle charge voltage for the backup
|
||||
battery in microvolts.
|
||||
|
||||
Example:
|
||||
|
||||
rpi_rtc: rpi_rtc {
|
||||
compatible = "raspberrypi,rpi-rtc";
|
||||
firmware = <&firmware>;
|
||||
trickle-charge-microvolt = <3000000>;
|
||||
};
|
||||
Reference in New Issue
Block a user