Add NXP pcf2131 fdt bindings.. Signed-off-by: Angelo Dureghello <angelo.dureghello@xxxxxxxxxxx> --- .../devicetree/bindings/rtc/nxp,pcf2131.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nxp,pcf2131.yaml diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2131.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2131.yaml new file mode 100644 index 000000000000..5e0e040a2631 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2131.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nxp,pcf2131.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PCF2131 Real Time Clock + +allOf: + - $ref: "rtc.yaml#" + +maintainers: + - Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> + +properties: + compatible: + const: nxp,pcf2131 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + start-year: true + + reset-source: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@53 { + compatible = "nxp,pcf2131"; + reg = <0x53>; + pinctrl-0 = <&rtc_nint_pins>; + }; + }; + +... -- 2.38.1