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/maxim,ds3231.txt

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 * Maxim DS3231 Real Time Clock
    2 
    3 Required properties:
    4 - compatible: Should contain "maxim,ds3231".
    5 - reg: I2C address for chip.
    6 
    7 Optional property:
    8 - #clock-cells: Should be 1.
    9 - clock-output-names:
   10   overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz".
   11 
   12 Each clock is assigned an identifier and client nodes can use this identifier
   13 to specify the clock which they consume. Following indices are allowed:
   14     - 0: square-wave output on the SQW pin
   15     - 1: square-wave output on the 32kHz pin
   16 
   17 - interrupts: rtc alarm/event interrupt. When this property is selected,
   18   clock on the SQW pin cannot be used.
   19 
   20 Example:
   21 
   22 ds3231: ds3231@51 {
   23         compatible = "maxim,ds3231";
   24         reg = <0x68>;
   25         #clock-cells = <1>;
   26 };
   27 
   28 device1 {
   29 ...
   30         clocks = <&ds3231 0>;
   31 ...
   32 };
   33 
   34 device2 {
   35 ...
   36         clocks = <&ds3231 1>;
   37 ...
   38 };

Cache object: 981eb186055a3c31cf200b5084bc4a32


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