cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sunplus,sp7021-rtc.yaml (1023B)


      1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
      2# Copyright (C) Sunplus Co., Ltd. 2021
      3%YAML 1.2
      4---
      5$id: http://devicetree.org/schemas/rtc/sunplus,sp7021-rtc.yaml#
      6$schema: http://devicetree.org/meta-schemas/core.yaml#
      7
      8title: Sunplus SP7021 Real Time Clock controller
      9
     10maintainers:
     11  - Vincent Shih <vincent.sunplus@gmail.com>
     12
     13properties:
     14  compatible:
     15    const: sunplus,sp7021-rtc
     16
     17  reg:
     18    maxItems: 1
     19
     20  reg-names:
     21    items:
     22      - const: rtc
     23
     24  clocks:
     25    maxItems: 1
     26
     27  resets:
     28    maxItems: 1
     29
     30  interrupts:
     31    maxItems: 1
     32
     33required:
     34  - compatible
     35  - reg
     36  - reg-names
     37  - clocks
     38  - resets
     39  - interrupts
     40
     41additionalProperties: false
     42
     43examples:
     44  - |
     45    #include <dt-bindings/interrupt-controller/irq.h>
     46
     47    rtc: serial@9c003a00 {
     48        compatible = "sunplus,sp7021-rtc";
     49        reg = <0x9c003a00 0x80>;
     50        reg-names = "rtc";
     51        clocks = <&clkc 0x12>;
     52        resets = <&rstc 0x02>;
     53        interrupt-parent = <&intc>;
     54        interrupts = <163 IRQ_TYPE_EDGE_RISING>;
     55    };
     56...