summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/fsl,mcu-mpc8349emitx.yaml
blob: 8beb2ed9edb745f513deb5755d6802309b069f46 (plain)
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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/fsl,mcu-mpc8349emitx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU)

maintainers:
  - J. Neuschäfer <j.ne@posteo.net>

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - fsl,mc9s08qg8-mpc8315erdb
              - fsl,mc9s08qg8-mpc8349emitx
              - fsl,mc9s08qg8-mpc8377erdb
              - fsl,mc9s08qg8-mpc8378erdb
              - fsl,mc9s08qg8-mpc8379erdb
          - const: fsl,mcu-mpc8349emitx

  reg:
    maxItems: 1

  "#gpio-cells":
    const: 2

  gpio-controller: true

required:
  - compatible
  - reg
  - "#gpio-cells"
  - gpio-controller

additionalProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        mcu@a {
            #gpio-cells = <2>;
            compatible = "fsl,mc9s08qg8-mpc8349emitx",
                         "fsl,mcu-mpc8349emitx";
            reg = <0x0a>;
            gpio-controller;
        };
    };