mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
Add devicetree bindings snapshot to the devicetree project Change-Id: Ic48a6fa76bbc126bd8f6bafc7678e7afbc3f18cf
22 lines
689 B
Plaintext
22 lines
689 B
Plaintext
Device-Tree bindings for MediaTek SoC based RTC
|
|
|
|
Required properties:
|
|
- compatible : Should be
|
|
"mediatek,mt7622-rtc", "mediatek,soc-rtc" : for MT7622 SoC
|
|
- reg : Specifies base physical address and size of the registers;
|
|
- interrupts : Should contain the interrupt for RTC alarm;
|
|
- clocks : Specifies list of clock specifiers, corresponding to
|
|
entries in clock-names property;
|
|
- clock-names : Should contain "rtc" entries
|
|
|
|
Example:
|
|
|
|
rtc: rtc@10212800 {
|
|
compatible = "mediatek,mt7622-rtc",
|
|
"mediatek,soc-rtc";
|
|
reg = <0 0x10212800 0 0x200>;
|
|
interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
|
|
clocks = <&topckgen CLK_TOP_RTC>;
|
|
clock-names = "rtc";
|
|
};
|