The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/rtc/renesas,sh-rtc.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/rtc/renesas,sh-rtc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Real Time Clock for Renesas SH and ARM SoCs
    8 
    9 maintainers:
   10   - Chris Brandt <chris.brandt@renesas.com>
   11   - Geert Uytterhoeven <geert+renesas@glider.be>
   12 
   13 properties:
   14   compatible:
   15     items:
   16       - const: renesas,r7s72100-rtc  # RZ/A1H
   17       - const: renesas,sh-rtc
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   interrupts:
   23     maxItems: 3
   24 
   25   interrupt-names:
   26     items:
   27       - const: alarm
   28       - const: period
   29       - const: carry
   30 
   31   clocks:
   32     # The functional clock source for the RTC controller must be listed
   33     # first (if it exists). Additionally, potential clock counting sources
   34     # are to be listed.
   35     minItems: 1
   36     maxItems: 4
   37 
   38   clock-names:
   39     # The functional clock must be labeled as "fck". Other clocks
   40     # may be named in accordance to the SoC hardware manuals.
   41     minItems: 1
   42     maxItems: 4
   43     items:
   44       enum: [ fck, rtc_x1, rtc_x3, extal ]
   45 
   46   power-domains:
   47     maxItems: 1
   48 
   49 required:
   50   - compatible
   51   - reg
   52   - interrupts
   53   - interrupt-names
   54   - clocks
   55   - clock-names
   56   - power-domains
   57 
   58 additionalProperties: false
   59 
   60 examples:
   61   - |
   62     #include <dt-bindings/clock/r7s72100-clock.h>
   63     #include <dt-bindings/interrupt-controller/arm-gic.h>
   64     #include <dt-bindings/interrupt-controller/irq.h>
   65 
   66     rtc: rtc@fcff1000 {
   67         compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
   68         reg = <0xfcff1000 0x2e>;
   69         interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING>,
   70                      <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>,
   71                      <GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
   72         interrupt-names = "alarm", "period", "carry";
   73         clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
   74                  <&rtc_x3_clk>, <&extal_clk>;
   75         power-domains = <&cpg_clocks>;
   76         clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
   77     };

Cache object: 6ac4a382216ac3864e8d9810698479b1


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.