1*b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*b97ee269SEmmanuel Vadot%YAML 1.2 3*b97ee269SEmmanuel Vadot--- 4*b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/nxp,pcf85063.yaml# 5*b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*b97ee269SEmmanuel Vadot 7*b97ee269SEmmanuel Vadottitle: NXP PCF85063 Real Time Clock 8*b97ee269SEmmanuel Vadot 9*b97ee269SEmmanuel Vadotmaintainers: 10*b97ee269SEmmanuel Vadot - Alexander Stein <alexander.stein@ew.tq-group.com> 11*b97ee269SEmmanuel Vadot 12*b97ee269SEmmanuel Vadotproperties: 13*b97ee269SEmmanuel Vadot compatible: 14*b97ee269SEmmanuel Vadot enum: 15*b97ee269SEmmanuel Vadot - microcrystal,rv8263 16*b97ee269SEmmanuel Vadot - nxp,pcf85063 17*b97ee269SEmmanuel Vadot - nxp,pcf85063a 18*b97ee269SEmmanuel Vadot - nxp,pcf85063tp 19*b97ee269SEmmanuel Vadot - nxp,pca85073a 20*b97ee269SEmmanuel Vadot 21*b97ee269SEmmanuel Vadot reg: 22*b97ee269SEmmanuel Vadot maxItems: 1 23*b97ee269SEmmanuel Vadot 24*b97ee269SEmmanuel Vadot "#clock-cells": 25*b97ee269SEmmanuel Vadot const: 0 26*b97ee269SEmmanuel Vadot 27*b97ee269SEmmanuel Vadot clock-output-names: 28*b97ee269SEmmanuel Vadot maxItems: 1 29*b97ee269SEmmanuel Vadot 30*b97ee269SEmmanuel Vadot interrupts: 31*b97ee269SEmmanuel Vadot maxItems: 1 32*b97ee269SEmmanuel Vadot 33*b97ee269SEmmanuel Vadot quartz-load-femtofarads: 34*b97ee269SEmmanuel Vadot description: 35*b97ee269SEmmanuel Vadot The capacitive load of the quartz(x-tal). 36*b97ee269SEmmanuel Vadot enum: [7000, 12500] 37*b97ee269SEmmanuel Vadot default: 7000 38*b97ee269SEmmanuel Vadot 39*b97ee269SEmmanuel Vadot clock: 40*b97ee269SEmmanuel Vadot $ref: /schemas/clock/fixed-clock.yaml 41*b97ee269SEmmanuel Vadot description: 42*b97ee269SEmmanuel Vadot Provide this if the square wave pin is used as boot-enabled 43*b97ee269SEmmanuel Vadot fixed clock. 44*b97ee269SEmmanuel Vadot 45*b97ee269SEmmanuel Vadot wakeup-source: true 46*b97ee269SEmmanuel Vadot 47*b97ee269SEmmanuel VadotallOf: 48*b97ee269SEmmanuel Vadot - $ref: rtc.yaml# 49*b97ee269SEmmanuel Vadot - if: 50*b97ee269SEmmanuel Vadot properties: 51*b97ee269SEmmanuel Vadot compatible: 52*b97ee269SEmmanuel Vadot contains: 53*b97ee269SEmmanuel Vadot enum: 54*b97ee269SEmmanuel Vadot - microcrystal,rv8263 55*b97ee269SEmmanuel Vadot then: 56*b97ee269SEmmanuel Vadot properties: 57*b97ee269SEmmanuel Vadot quartz-load-femtofarads: false 58*b97ee269SEmmanuel Vadot - if: 59*b97ee269SEmmanuel Vadot properties: 60*b97ee269SEmmanuel Vadot compatible: 61*b97ee269SEmmanuel Vadot contains: 62*b97ee269SEmmanuel Vadot enum: 63*b97ee269SEmmanuel Vadot - nxp,pcf85063 64*b97ee269SEmmanuel Vadot then: 65*b97ee269SEmmanuel Vadot properties: 66*b97ee269SEmmanuel Vadot quartz-load-femtofarads: 67*b97ee269SEmmanuel Vadot const: 7000 68*b97ee269SEmmanuel Vadot 69*b97ee269SEmmanuel Vadotrequired: 70*b97ee269SEmmanuel Vadot - compatible 71*b97ee269SEmmanuel Vadot - reg 72*b97ee269SEmmanuel Vadot 73*b97ee269SEmmanuel VadotadditionalProperties: false 74*b97ee269SEmmanuel Vadot 75*b97ee269SEmmanuel Vadotexamples: 76*b97ee269SEmmanuel Vadot - | 77*b97ee269SEmmanuel Vadot i2c { 78*b97ee269SEmmanuel Vadot #address-cells = <1>; 79*b97ee269SEmmanuel Vadot #size-cells = <0>; 80*b97ee269SEmmanuel Vadot 81*b97ee269SEmmanuel Vadot rtc@51 { 82*b97ee269SEmmanuel Vadot compatible = "nxp,pcf85063a"; 83*b97ee269SEmmanuel Vadot reg = <0x51>; 84*b97ee269SEmmanuel Vadot quartz-load-femtofarads = <12500>; 85*b97ee269SEmmanuel Vadot 86*b97ee269SEmmanuel Vadot clock { 87*b97ee269SEmmanuel Vadot compatible = "fixed-clock"; 88*b97ee269SEmmanuel Vadot #clock-cells = <0>; 89*b97ee269SEmmanuel Vadot clock-frequency = <32768>; 90*b97ee269SEmmanuel Vadot }; 91*b97ee269SEmmanuel Vadot }; 92*b97ee269SEmmanuel Vadot }; 93