Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/rtc/nxp,pcf85363.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Philips PCF85263/PCF85363 Real Time Clock |
| 8 | |
| 9 | maintainers: |
| 10 | - Alexandre Belloni <alexandre.belloni@bootlin.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: rtc.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - nxp,pcf85263 |
| 19 | - nxp,pcf85363 |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | "#clock-cells": |
| 25 | const: 0 |
| 26 | |
| 27 | clock-output-names: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | interrupts: |
| 31 | maxItems: 1 |
| 32 | |
| 33 | quartz-load-femtofarads: |
| 34 | description: |
| 35 | The capacitive load of the quartz(x-tal). |
| 36 | enum: [6000, 7000, 12500] |
| 37 | default: 7000 |
| 38 | |
| 39 | start-year: true |
| 40 | wakeup-source: true |
| 41 | |
| 42 | required: |
| 43 | - compatible |
| 44 | - reg |
| 45 | |
| 46 | additionalProperties: false |
| 47 | |
| 48 | examples: |
| 49 | - | |
| 50 | i2c { |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <0>; |
| 53 | |
| 54 | rtc@51 { |
| 55 | compatible = "nxp,pcf85363"; |
| 56 | reg = <0x51>; |
| 57 | #clock-cells = <0>; |
| 58 | quartz-load-femtofarads = <12500>; |
| 59 | }; |
| 60 | }; |