59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/rtc/nxp,lpc1788-rtc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP LPC1788 real-time clock8 9description:10 The LPC1788 RTC provides calendar and clock functionality11 together with periodic tick and alarm interrupt support.12 13maintainers:14 - Javier Carrasco <javier.carrasco.cruz@gmail.com>15 16allOf:17 - $ref: rtc.yaml#18 19properties:20 compatible:21 const: nxp,lpc1788-rtc22 23 reg:24 maxItems: 125 26 clocks:27 items:28 - description: RTC clock29 - description: Register clock30 31 clock-names:32 items:33 - const: rtc34 - const: reg35 36 interrupts:37 maxItems: 138 39required:40 - compatible41 - reg42 - clocks43 - clock-names44 - interrupts45 46unevaluatedProperties: false47 48examples:49 - |50 #include <dt-bindings/clock/lpc18xx-ccu.h>51 52 rtc@40046000 {53 compatible = "nxp,lpc1788-rtc";54 reg = <0x40046000 0x1000>;55 clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>;56 clock-names = "rtc", "reg";57 interrupts = <47>;58 };59