Add YAML bindings for NXP's PCF85053A RTC chip. Signed-off-by: Carlos Menin <menin@xxxxxxxxxxxxxxxxx> Reviewed-by: Sergio Prado <sergio.prado@xxxxxxxxxxxxxx> --- .../bindings/rtc/nxp,pcf85053a.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nxp,pcf85053a.yaml diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf85053a.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf85053a.yaml new file mode 100644 index 000000000000..80980377e27f --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf85053a.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nxp,pcf85053a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PCF85053A Real Time Clock + +maintainers: + - Carlos Menin <menin@xxxxxxxxxxxxxxxxx> + +properties: + compatible: + enum: + - nxp,pcf85053a + + reg: + maxItems: 1 + + quartz-load-femtofarads: + description: + The quartz oscillator load capacitance. + enum: [6000, 7000, 12500] + default: 6000 + + quartz-drive-control: + description: + The quartz oscillator drive control. + enum: [low, normal, high] + default: normal + + low-jitter: + description: + Low jitter mode. + type: boolean + default: false + +allOf: + - $ref: rtc.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@6f { + compatible = "nxp,pcf85053a"; + reg = <0x6f>; + }; + }; -- 2.34.1