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/s3c-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/s3c-rtc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Samsung S3C, S5P and Exynos Real Time Clock controller
    8 
    9 maintainers:
   10   - Krzysztof Kozlowski <krzk@kernel.org>
   11 
   12 properties:
   13   compatible:
   14     oneOf:
   15       - enum:
   16           - samsung,s3c2410-rtc
   17           - samsung,s3c2416-rtc
   18           - samsung,s3c2443-rtc
   19           - samsung,s3c6410-rtc
   20       - const: samsung,exynos3250-rtc
   21         deprecated: true
   22 
   23   reg:
   24     maxItems: 1
   25 
   26   clocks:
   27     description:
   28       Must contain a list of phandle and clock specifier for the rtc
   29       clock and in the case of a s3c6410 compatible controller, also
   30       a source clock.
   31     minItems: 1
   32     maxItems: 2
   33 
   34   clock-names:
   35     description:
   36       Must contain "rtc" and for a s3c6410 compatible controller
   37       also "rtc_src".
   38     minItems: 1
   39     maxItems: 2
   40 
   41   interrupts:
   42     description:
   43       Two interrupt numbers to the cpu should be specified. First
   44       interrupt number is the rtc alarm interrupt and second interrupt number
   45       is the rtc tick interrupt. The number of cells representing a interrupt
   46       depends on the parent interrupt controller.
   47     minItems: 2
   48     maxItems: 2
   49 
   50 allOf:
   51   - $ref: rtc.yaml#
   52   - if:
   53       properties:
   54         compatible:
   55           contains:
   56             enum:
   57               - samsung,s3c6410-rtc
   58               - samsung,exynos3250-rtc
   59     then:
   60       properties:
   61         clocks:
   62           minItems: 2
   63           maxItems: 2
   64         clock-names:
   65           items:
   66             - const: rtc
   67             - const: rtc_src
   68     else:
   69       properties:
   70         clocks:
   71           minItems: 1
   72           maxItems: 1
   73         clock-names:
   74           items:
   75             - const: rtc
   76 
   77 unevaluatedProperties: false
   78 
   79 examples:
   80   - |
   81     #include <dt-bindings/clock/exynos5420.h>
   82     #include <dt-bindings/clock/samsung,s2mps11.h>
   83 
   84     rtc@10070000 {
   85         compatible = "samsung,s3c6410-rtc";
   86         reg = <0x10070000 0x100>;
   87         interrupts = <0 44 4>, <0 45 4>;
   88         clocks = <&clock CLK_RTC>,
   89                  <&s2mps11_osc S2MPS11_CLK_AP>;
   90         clock-names = "rtc", "rtc_src";
   91     };

Cache object: 6fe1600378a3c82b65ab1f1e92905643


[ 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.