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,pcf8523.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: NXP PCF8523 Real Time Clock |
| 8 | |
| 9 | maintainers: |
| 10 | - Sam Ravnborg <sam@ravnborg.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: rtc.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: nxp,pcf8523 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | quartz-load-femtofarads: |
| 23 | description: |
| 24 | The capacitive load of the crystal, expressed in femto Farad (fF). |
| 25 | enum: [ 7000, 12500 ] |
| 26 | default: 12500 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | i2c { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | rtc@68 { |
| 41 | compatible = "nxp,pcf8523"; |
| 42 | reg = <0x68>; |
| 43 | quartz-load-femtofarads = <7000>; |
| 44 | }; |
| 45 | }; |