From: Nikita Shubin Date: Mon, 21 Nov 2022 09:49:09 +0000 (+0300) Subject: dt-bindings: rtc: Add DT binding m48t86 rtc X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dc0627fd5622a66e811a25fba7f7285a9ab9f5e9;p=linux.git dt-bindings: rtc: Add DT binding m48t86 rtc Add YAML bindings for ST M48T86 / Dallas DS12887 RTC. Signed-off-by: Nikita Shubin --- diff --git a/Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml b/Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml new file mode 100644 index 0000000000000..51f98bdbc3850 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/dallas,rtc-m48t86.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/dallas,rtc-m48t86.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST M48T86 / Dallas DS12887 RTC bindings + +maintainers: + - Alessandro Zummo + +properties: + compatible: + const: dallas,rtc-m48t86 + + reg: + maxItems: 2 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rtc1: rtc@10800000 { + compatible = "dallas,rtc-m48t86"; + reg = <0x10800000 0x1>, <0x11700000 0x1>; + }; + +... +