Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: Add ST M48T86

Add YAML bindings for ST M48T86 / Dallas DS12887 RTC.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/lkml/61b9e036-7864-65c6-d43b-463fff896ddc@linaro.org/
Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Link: https://lore.kernel.org/r/20230823-m48t86_device_tree-v2-1-21ff275f949d@maquefel.me
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Nikita Shubin and committed by
Alexandre Belloni
a5aeccab eeeb7771

+38
+38
Documentation/devicetree/bindings/rtc/st,m48t86.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/rtc/st,m48t86.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ST M48T86 / Dallas DS12887 RTC with SRAM 8 + 9 + maintainers: 10 + - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 + 12 + allOf: 13 + - $ref: rtc.yaml 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - st,m48t86 19 + 20 + reg: 21 + items: 22 + - description: index register 23 + - description: data register 24 + 25 + required: 26 + - compatible 27 + - reg 28 + 29 + unevaluatedProperties: false 30 + 31 + examples: 32 + - | 33 + rtc@10800000 { 34 + compatible = "st,m48t86"; 35 + reg = <0x10800000 0x1>, <0x11700000 0x1>; 36 + }; 37 + 38 + ...