Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / rtc / rtc-meson.txt
1 * Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC
2
3 Required properties:
4 - compatible: should be one of the following describing the hardware:
5         * "amlogic,meson6-rtc"
6         * "amlogic,meson8-rtc"
7         * "amlogic,meson8b-rtc"
8         * "amlogic,meson8m2-rtc"
9
10 - reg: physical register space for the controller's memory mapped registers.
11 - interrupts: the interrupt line of the RTC block.
12 - clocks: reference to the external 32.768kHz crystal oscillator.
13 - vdd-supply: reference to the power supply of the RTC block.
14 - resets: reset controller reference to allow reset of the controller
15
16 Optional properties for the battery-backed non-volatile memory:
17 - #address-cells: should be 1 to address the battery-backed non-volatile memory
18 - #size-cells: should be 1 to reference the battery-backed non-volatile memory
19
20 Optional child nodes:
21 - see ../nvmem/nvmem.txt
22
23 Example:
24
25         rtc: rtc@740 {
26                 compatible = "amlogic,meson6-rtc";
27                 reg = <0x740 0x14>;
28                 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
29                 clocks = <&rtc32k_xtal>;
30                 vdd-supply = <&rtc_vdd>;
31                 resets = <&reset RESET_RTC>;
32
33                 #address-cells = <1>;
34                 #size-cells = <1>;
35         };