Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/rtc/sophgo,cv1800b-rtc.yaml
Extension
.yaml
Size
2230 bytes
Lines
87
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Real Time Clock of the Sophgo CV1800 SoC

description:
  The RTC (Real Time Clock) is an independently powered module in the chip. It
  contains a 32KHz oscillator and a Power-On-Reset (POR) sub-module, which can
  be used for time display and scheduled alarm produce. In addition, the
  hardware state machine provides triggering and timing control for chip
  power-on, power-off and reset.

  Furthermore, the 8051 subsystem is located within RTCSYS and is independently
  powered. System software can use the 8051 to manage wake conditions and wake
  the system while the system is asleep, and communicate with external devices
  through peripheral controllers.

  Technical Reference Manual available at
    https://github.com/sophgo/sophgo-doc/tree/main/SG200X/TRM

maintainers:
  - sophgo@lists.linux.dev

allOf:
  - $ref: /schemas/rtc/rtc.yaml#

properties:
  compatible:
    items:
      - const: sophgo,cv1800b-rtc
      - const: syscon

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: RTC Alarm
      - description: RTC Longpress
      - description: VBAT DET

  interrupt-names:
    items:
      - const: alarm
      - const: longpress
      - const: vbat

  clocks:
    items:
      - description: RTC clock source
      - description: DW8051 MCU clock source

  clock-names:
    items:
      - const: rtc
      - const: mcu

required:
  - compatible
  - reg
  - interrupts
  - interrupt-names
  - clocks
  - clock-names

unevaluatedProperties: false

Annotation

Implementation Notes