xref: /freebsd/sys/contrib/device-tree/Bindings/soc/renesas/renesas,rzv2m-pwc.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/soc/renesas/renesas,rzv2m-pwc.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Renesas RZ/V2M External Power Sequence Controller (PWC)
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotdescription: |+
10*cb7aa33aSEmmanuel Vadot  The PWC IP found in the RZ/V2M family of chips comes with the below
11*cb7aa33aSEmmanuel Vadot  capabilities
12*cb7aa33aSEmmanuel Vadot    - external power supply on/off sequence generation
13*cb7aa33aSEmmanuel Vadot    - on/off signal generation for the LPDDR4 core power supply (LPVDD)
14*cb7aa33aSEmmanuel Vadot    - key input signals processing
15*cb7aa33aSEmmanuel Vadot    - general-purpose output pins
16*cb7aa33aSEmmanuel Vadot
17*cb7aa33aSEmmanuel Vadotmaintainers:
18*cb7aa33aSEmmanuel Vadot  - Fabrizio Castro <fabrizio.castro.jz@renesas.com>
19*cb7aa33aSEmmanuel Vadot
20*cb7aa33aSEmmanuel Vadotproperties:
21*cb7aa33aSEmmanuel Vadot  compatible:
22*cb7aa33aSEmmanuel Vadot    items:
23*cb7aa33aSEmmanuel Vadot      - enum:
24*cb7aa33aSEmmanuel Vadot          - renesas,r9a09g011-pwc # RZ/V2M
25*cb7aa33aSEmmanuel Vadot          - renesas,r9a09g055-pwc # RZ/V2MA
26*cb7aa33aSEmmanuel Vadot      - const: renesas,rzv2m-pwc
27*cb7aa33aSEmmanuel Vadot
28*cb7aa33aSEmmanuel Vadot  reg:
29*cb7aa33aSEmmanuel Vadot    maxItems: 1
30*cb7aa33aSEmmanuel Vadot
31*cb7aa33aSEmmanuel Vadot  gpio-controller: true
32*cb7aa33aSEmmanuel Vadot
33*cb7aa33aSEmmanuel Vadot  '#gpio-cells':
34*cb7aa33aSEmmanuel Vadot    const: 2
35*cb7aa33aSEmmanuel Vadot
36*cb7aa33aSEmmanuel Vadot  renesas,rzv2m-pwc-power:
37*cb7aa33aSEmmanuel Vadot    description: The PWC is used to control the system power supplies.
38*cb7aa33aSEmmanuel Vadot    type: boolean
39*cb7aa33aSEmmanuel Vadot
40*cb7aa33aSEmmanuel Vadotrequired:
41*cb7aa33aSEmmanuel Vadot  - compatible
42*cb7aa33aSEmmanuel Vadot  - reg
43*cb7aa33aSEmmanuel Vadot  - gpio-controller
44*cb7aa33aSEmmanuel Vadot  - '#gpio-cells'
45*cb7aa33aSEmmanuel Vadot
46*cb7aa33aSEmmanuel VadotadditionalProperties: false
47*cb7aa33aSEmmanuel Vadot
48*cb7aa33aSEmmanuel Vadotexamples:
49*cb7aa33aSEmmanuel Vadot  - |
50*cb7aa33aSEmmanuel Vadot    pwc: pwc@a3700000 {
51*cb7aa33aSEmmanuel Vadot      compatible = "renesas,r9a09g011-pwc", "renesas,rzv2m-pwc";
52*cb7aa33aSEmmanuel Vadot      reg = <0xa3700000 0x800>;
53*cb7aa33aSEmmanuel Vadot      gpio-controller;
54*cb7aa33aSEmmanuel Vadot      #gpio-cells = <2>;
55*cb7aa33aSEmmanuel Vadot      renesas,rzv2m-pwc-power;
56*cb7aa33aSEmmanuel Vadot    };
57