Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: move nxp,lpc3220-rtc to separated file from trivial-rtc.yaml

nxp,lpc3220-rtc have clocks property, so move it from trivial-rtc.yaml.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250624201733.2515971-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Frank Li and committed by
Alexandre Belloni
d754e2c4 590951f9

+49 -2
+49
Documentation/devicetree/bindings/rtc/nxp,lpc3220-rtc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/rtc/nxp,lpc3220-rtc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP LPC32xx SoC Real-time Clock 8 + 9 + maintainers: 10 + - Frank Li <Frank.Li@nxp.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - nxp,lpc3220-rtc 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + clocks: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + start-year: true 27 + 28 + required: 29 + - compatible 30 + - reg 31 + 32 + allOf: 33 + - $ref: rtc.yaml# 34 + 35 + unevaluatedProperties: false 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/interrupt-controller/irq.h> 40 + #include <dt-bindings/clock/lpc32xx-clock.h> 41 + 42 + rtc@40024000 { 43 + compatible = "nxp,lpc3220-rtc"; 44 + reg = <0x40024000 0x1000>; 45 + interrupt-parent = <&sic1>; 46 + interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; 47 + clocks = <&clk LPC32XX_CLK_RTC>; 48 + }; 49 +
-2
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
··· 63 63 - microcrystal,rv3029 64 64 # Real Time Clock 65 65 - microcrystal,rv8523 66 - # NXP LPC32xx SoC Real-time Clock 67 - - nxp,lpc3220-rtc 68 66 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC 69 67 - ricoh,r2025sd 70 68 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC