From: Nikita Shubin Date: Mon, 21 Nov 2022 09:49:09 +0000 (+0300) Subject: dt-bindings: rtc: Add ST M48T86 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6e16741d6f942a6fe8ecd48a38e4eddddf1b8493;p=linux.git dt-bindings: rtc: Add ST M48T86 Add YAML bindings for ST M48T86 / Dallas DS12887 RTC. Signed-off-by: Nikita Shubin --- diff --git a/Documentation/devicetree/bindings/rtc/st,m48t86-rtc.yaml b/Documentation/devicetree/bindings/rtc/st,m48t86-rtc.yaml new file mode 100644 index 0000000000000..eb8e6451d7c88 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/st,m48t86-rtc.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/st,m48t86-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST M48T86 / Dallas DS12887 RTC wirh SRAM + +maintainers: + - Alexandre Belloni + +properties: + compatible: + enum: + - st,m48t86 + + reg: + items: + - description: index register + - description: data register + +allOf: + - $ref: rtc.yaml + +unevaluatedProperties: false + +required: + - compatible + - reg + +examples: + - | + rtc@10800000 { + compatible = "st,m48t86"; + reg = <0x10800000 0x1>, <0x11700000 0x1>; + }; + +...