xref: /linux/Documentation/devicetree/bindings/gpio/fujitsu,mb86s70-gpio.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpio/fujitsu,mb86s70-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Fujitsu MB86S7x GPIO Controller
8
9maintainers:
10  - Jassi Brar <jaswinder.singh@linaro.org>
11
12properties:
13  compatible:
14    oneOf:
15      - items:
16          - const: socionext,synquacer-gpio
17          - const: fujitsu,mb86s70-gpio
18      - const: fujitsu,mb86s70-gpio
19
20  reg:
21    maxItems: 1
22
23  '#gpio-cells':
24    const: 2
25
26  gpio-controller: true
27  gpio-line-names: true
28
29  clocks:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35  - '#gpio-cells'
36  - gpio-controller
37  - clocks
38
39additionalProperties: false
40
41examples:
42  - |
43    gpio@31000000 {
44        compatible = "fujitsu,mb86s70-gpio";
45        reg = <0x31000000 0x10000>;
46        gpio-controller;
47        #gpio-cells = <2>;
48        clocks = <&clk 0 2 1>;
49    };
50...
51