93 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/nxp,pcf85063.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP PCF85063 Real Time Clock8 9maintainers:10 - Alexander Stein <alexander.stein@ew.tq-group.com>11 12properties:13 compatible:14 enum:15 - microcrystal,rv826316 - nxp,pcf8506317 - nxp,pcf85063a18 - nxp,pcf85063tp19 - nxp,pca85073a20 21 reg:22 maxItems: 123 24 "#clock-cells":25 const: 026 27 clock-output-names:28 maxItems: 129 30 interrupts:31 maxItems: 132 33 quartz-load-femtofarads:34 description:35 The capacitive load of the quartz(x-tal).36 enum: [7000, 12500]37 default: 700038 39 clock:40 $ref: /schemas/clock/fixed-clock.yaml41 description:42 Provide this if the square wave pin is used as boot-enabled43 fixed clock.44 45 wakeup-source: true46 47allOf:48 - $ref: rtc.yaml#49 - if:50 properties:51 compatible:52 contains:53 enum:54 - microcrystal,rv826355 then:56 properties:57 quartz-load-femtofarads: false58 - if:59 properties:60 compatible:61 contains:62 enum:63 - nxp,pcf8506364 then:65 properties:66 quartz-load-femtofarads:67 const: 700068 69required:70 - compatible71 - reg72 73additionalProperties: false74 75examples:76 - |77 i2c {78 #address-cells = <1>;79 #size-cells = <0>;80 81 rtc@51 {82 compatible = "nxp,pcf85063a";83 reg = <0x51>;84 quartz-load-femtofarads = <12500>;85 86 clock {87 compatible = "fixed-clock";88 #clock-cells = <0>;89 clock-frequency = <32768>;90 };91 };92 };93