Skip to content

Commit

Permalink
dt-bindings: rtc: Add ST M48T86
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nikita Shubin authored and Alexandre Belloni committed Aug 27, 2023
1 parent eeeb777 commit a5aecca
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Documentation/devicetree/bindings/rtc/st,m48t86.yaml
Original file line number Diff line number Diff line change
@@ -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.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ST M48T86 / Dallas DS12887 RTC with SRAM

maintainers:
- Alexandre Belloni <alexandre.belloni@bootlin.com>

allOf:
- $ref: rtc.yaml

properties:
compatible:
enum:
- st,m48t86

reg:
items:
- description: index register
- description: data register

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
rtc@10800000 {
compatible = "st,m48t86";
reg = <0x10800000 0x1>, <0x11700000 0x1>;
};
...

0 comments on commit a5aecca

Please sign in to comment.