1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/rtc/nxp,lpc1788-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: NXP LPC1788 real-time clock 8 9 description: 10 The LPC1788 RTC provides calendar and clock functionality 11 together with periodic tick and alarm interrupt support. 12 13 maintainers: 14 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 15 16 allOf: 17 - $ref: rtc.yaml# 18 19 properties: 20 compatible: 21 const: nxp,lpc1788-rtc 22 23 reg: 24 maxItems: 1 25 26 clocks: 27 items: 28 - description: RTC clock 29 - description: Register clock 30 31 clock-names: 32 items: 33 - const: rtc 34 - const: reg 35 36 interrupts: 37 maxItems: 1 38 39 required: 40 - compatible 41 - reg 42 - clocks 43 - clock-names 44 - interrupts 45 46 unevaluatedProperties: false 47 48 examples: 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 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.