Renesas RZ/G2L Port Output Enable for GPT (POEG)

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/renesas,rzg2l-poeg.yaml#"

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

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"

The output pins(GTIOCxA and GTIOCxB) of the general PWM timer (GPT) can be disabled by using the port output enabling function for the GPT (POEG). Specifically, either of the following ways can be used. * Input level detection of the GTETRGA to GTETRGD pins. * Output-disable request from the GPT. * SSF bit setting(ie, by setting POEGGn.SSF to 1)

The state of the GTIOCxA and the GTIOCxB pins when the output is disabled, are controlled by the GPT module.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a07g044-poeg", "renesas,r9a07g054-poeg"

Item 2

Exact value (const): "renesas,rzg2l-poeg"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

renesas,gpt — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to gpt instance that serves the pwm operation.

renesas,poeg-id — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

POEG group index. Valid values are:
  <0> : POEG group A
  <1> : POEG group B
  <2> : POEG group C
  <3> : POEG group D

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets", "renesas,poeg-id", "renesas,gpt"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

poeggd: poeg@10049400 {
    compatible = "renesas,r9a07g044-poeg", "renesas,rzg2l-poeg";
    reg = <0x10049400 0x400>;
    interrupts = <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD R9A07G044_POEG_D_CLKP>;
    power-domains = <&cpg>;
    resets = <&cpg R9A07G044_POEG_D_RST>;
    renesas,poeg-id = <3>;
    renesas,gpt = <&gpt>;
};

Source notes #

Annotations retained from the schema source

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

Line 27: RZ/G2{L,LC}

Line 28: RZ/V2L

Edit this page