brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · b1c1a0e Raw
59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/faraday,ftrtc010.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Faraday Technology FTRTC010 Real Time Clock8 9maintainers:10  - Linus Walleij <linus.walleij@linaro.org>11 12description: |13  This RTC appears in for example the Storlink Gemini family of SoCs.14 15properties:16  compatible:17    oneOf:18      - const: faraday,ftrtc01019      - items:20          - const: cortina,gemini-rtc21          - const: faraday,ftrtc01022 23  resets:24    maxItems: 125 26  reg:27    maxItems: 128 29  interrupts:30    maxItems: 131 32  clocks:33    items:34      - description: PCLK clocks35      - description: EXTCLK clocks. Faraday calls it CLK1HZ and says the clock36          should be 1 Hz, but implementers actually seem to choose different37          clocks here, like Cortina who chose 32768 Hz (a typical low-power clock).38 39  clock-names:40    items:41      - const: PCLK42      - const: EXTCLK43 44required:45  - compatible46 47additionalProperties: false48 49examples:50  - |51    #include <dt-bindings/interrupt-controller/irq.h>52    rtc@45000000 {53      compatible = "cortina,gemini-rtc", "faraday,ftrtc010";54      reg = <0x45000000 0x100>;55      interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;56      clocks = <&foo 0>, <&foo 1>;57      clock-names = "PCLK", "EXTCLK";58    };59