Documentation / devicetree / bindings / power / renesas,rzg2l-sysc.yaml


Based on kernel version 5.18. Page generated on 2022-05-23 11:18 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/power/renesas,rzg2l-sysc.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Renesas RZ/{G2L,V2L} System Controller (SYSC)

maintainers:
  - Geert Uytterhoeven <geert+renesas@glider.be>

description:
  The RZ/{G2L,V2L} System Controller (SYSC) performs system control of the LSI
  and supports following functions,
  - External terminal state capture function
  - 34-bit address space access function
  - Low power consumption control
  - WDT stop control

properties:
  compatible:
    enum:
      - renesas,r9a07g044-sysc # RZ/G2{L,LC}
      - renesas,r9a07g054-sysc # RZ/V2L

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: CA55/CM33 Sleep/Software Standby Mode request interrupt
      - description: CA55 Software Standby Mode release request interrupt
      - description: CM33 Software Standby Mode release request interrupt
      - description: CA55 ACE Asynchronous Bridge Master/Slave interface deny request interrupt

  interrupt-names:
    items:
      - const: lpm_int
      - const: ca55stbydone_int
      - const: cm33stbyr_int
      - const: ca55_deny

required:
  - compatible
  - reg
  - interrupts
  - interrupt-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
 
    sysc: system-controller@11020000 {
            compatible = "renesas,r9a07g044-sysc";
            reg = <0x11020000 0x10000>;
            interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
                         <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
                         <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
                         <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
            interrupt-names = "lpm_int", "ca55stbydone_int", "cm33stbyr_int",
                              "ca55_deny";
    };