Renesas Battery Backup Function (VBATTB)
Schema identifier ($id): "http://devicetree.org/schemas/clock/renesas,r9a08g045-vbattb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Renesas VBATTB is an always on powered module (backed by battery) which controls the RTC clock (VBATTCLK), tamper detection logic and a small general usage memory (128B).
Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,r9a08g045-vbattb"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
tamper detector interrupt
clocks — required here #
Array item rules (items) #
Item 1
VBATTB module clock
Item 2
RTC input clock (crystal or external clock device)
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bclk"
Item 2
Exact value (
const):"rtx"
#clock-cells — required here #
Exact value (const): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
VBATTB module reset
quartz-load-femtofarads — not listed as required here #
load capacitance of the on board crystal
Allowed values (enum): 4000, 7000, 9000, 12500
Default value (default): 4000
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "#clock-cells", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a08g045-cpg.h>
#include <dt-bindings/clock/renesas,r9a08g045-vbattb.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
clock-controller@1005c000 {
compatible = "renesas,r9a08g045-vbattb";
reg = <0x1005c000 0x1000>;
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>, <&vbattb_xtal>;
clock-names = "bclk", "rtx";
assigned-clocks = <&vbattb VBATTB_MUX>;
assigned-clock-parents = <&vbattb VBATTB_XC>;
#clock-cells = <1>;
power-domains = <&cpg>;
resets = <&cpg R9A08G045_VBAT_BRESETN>;
quartz-load-femtofarads = <12500>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)