Skip to content

Commit 49af93c

Browse files
neuschaeferlag-linaro
authored andcommitted
dt-bindings: mfd: Convert fsl,mcu-mpc8349emitx binding to YAML
Convert mcu-mpc8349emitx.txt to YAML and list the compatible strings currently in use. Signed-off-by: J. Neuschäfer <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 6b1a65c commit 49af93c

File tree

2 files changed

+53
-17
lines changed

2 files changed

+53
-17
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mfd/fsl,mcu-mpc8349emitx.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU)
8+
9+
maintainers:
10+
- J. Neuschäfer <[email protected]>
11+
12+
properties:
13+
compatible:
14+
oneOf:
15+
- items:
16+
- enum:
17+
- fsl,mc9s08qg8-mpc8315erdb
18+
- fsl,mc9s08qg8-mpc8349emitx
19+
- fsl,mc9s08qg8-mpc8377erdb
20+
- fsl,mc9s08qg8-mpc8378erdb
21+
- fsl,mc9s08qg8-mpc8379erdb
22+
- const: fsl,mcu-mpc8349emitx
23+
24+
reg:
25+
maxItems: 1
26+
27+
"#gpio-cells":
28+
const: 2
29+
30+
gpio-controller: true
31+
32+
required:
33+
- compatible
34+
- reg
35+
- "#gpio-cells"
36+
- gpio-controller
37+
38+
additionalProperties: false
39+
40+
examples:
41+
- |
42+
i2c {
43+
#address-cells = <1>;
44+
#size-cells = <0>;
45+
46+
mcu@a {
47+
#gpio-cells = <2>;
48+
compatible = "fsl,mc9s08qg8-mpc8349emitx",
49+
"fsl,mcu-mpc8349emitx";
50+
reg = <0x0a>;
51+
gpio-controller;
52+
};
53+
};

Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)