Documentation / devicetree / bindings / rtc / epson,rx6110.yaml


Based on kernel version 7.2. Page generated on 2026-08-20 08:41 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/epson,rx6110.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Epson RX6110 Real Time Clock

description:
  The Epson RX6110 can be used with SPI or I2C busses. The kind of bus depends
  on the SPISEL pin and cannot be configured via software.

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

allOf:
  - $ref: rtc.yaml#
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

properties:
  compatible:
    const: epson,rx6110

  reg:
    maxItems: 1

  spi-cs-high: true
  spi-cpha: true
  spi-cpol: true

required:
  - compatible
  - reg

dependencies:
  spi-cs-high: [ spi-cpha, spi-cpol ]
  spi-cpha: [ spi-cs-high, spi-cpol ]
  spi-cpol: [ spi-cs-high, spi-cpha ]

unevaluatedProperties: false

examples:
  # I2C mode
  - |
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;
 
      rtc@32 {
        compatible = "epson,rx6110";
        reg = <0x32>;
      };
    };

  # SPI mode
  - |
    spi {
      #address-cells = <1>;
      #size-cells = <0>;
 
      rtc@3 {
        compatible = "epson,rx6110";
        reg = <3>;
        spi-cs-high;
        spi-cpha;
        spi-cpol;
      };
    };