NXP LPC32xx SoC Real-time Clock

Schema identifier ($id): "http://devicetree.org/schemas/rtc/nxp,lpc3220-rtc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,lpc3220-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/lpc32xx-clock.h>

rtc@40024000 {
    compatible = "nxp,lpc3220-rtc";
    reg = <0x40024000 0x1000>;
    interrupt-parent = <&sic1>;
    interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk LPC32XX_CLK_RTC>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page