Microchip PolarFire Soc (MPFS) RTC
Schema identifier ($id): "http://devicetree.org/schemas/rtc/microchip,mpfs-rtc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rtc.yaml#
Maintainers (maintainers): "Daire McNamara <daire.mcnamara@microchip.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"microchip,pic64gx-rtc"Item 2
Exact value (
const):"microchip,mpfs-rtc"
Rule 2
Exact value (
const):"microchip,mpfs-rtc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
RTC_WAKEUP interrupt
Item 2
RTC_MATCH, asserted when the content of the Alarm register is equal to that of the RTC's count register.
clocks — required here #
Array item rules (items) #
Item 1
AHB clock
Item 2
Reference clock: divided by the prescaler to create a time-based strobe (typically 1 Hz) for the calendar counter. By default, the rtc on the PolarFire SoC shares it's reference with MTIMER so this will be a 1 MHz clock.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rtc"
Item 2
Exact value (
const):"rtcref"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include "dt-bindings/clock/microchip,mpfs-clock.h"
rtc@20124000 {
compatible = "microchip,mpfs-rtc";
reg = <0x20124000 0x1000>;
clocks = <&clkcfg CLK_RTC>, <&clkcfg CLK_RTCREF>;
clock-names = "rtc", "rtcref";
interrupts = <80>, <81>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)