xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/armada-380-rtc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Real Time Clock of the Armada 38x/7K/8K SoCs
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRTC controller for the Armada 38x, 7K and 8K SoCs
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot- compatible : Should be one of the following:
7*c66ec88fSEmmanuel Vadot	"marvell,armada-380-rtc" for Armada 38x SoC
8*c66ec88fSEmmanuel Vadot	"marvell,armada-8k-rtc" for Aramda 7K/8K SoCs
9*c66ec88fSEmmanuel Vadot- reg: a list of base address and size pairs, one for each entry in
10*c66ec88fSEmmanuel Vadot  reg-names
11*c66ec88fSEmmanuel Vadot- reg names: should contain:
12*c66ec88fSEmmanuel Vadot  * "rtc" for the RTC registers
13*c66ec88fSEmmanuel Vadot  * "rtc-soc" for the SoC related registers and among them the one
14*c66ec88fSEmmanuel Vadot    related to the interrupt.
15*c66ec88fSEmmanuel Vadot- interrupts: IRQ line for the RTC.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadotrtc@a3800 {
20*c66ec88fSEmmanuel Vadot	compatible = "marvell,armada-380-rtc";
21*c66ec88fSEmmanuel Vadot	reg = <0xa3800 0x20>, <0x184a0 0x0c>;
22*c66ec88fSEmmanuel Vadot	reg-names = "rtc", "rtc-soc";
23*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
24*c66ec88fSEmmanuel Vadot};
25