xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/fujitsu,mb86s70-gpio.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/gpio/fujitsu,mb86s70-gpio.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Fujitsu MB86S7x GPIO Controller
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Jassi Brar <jaswinder.singh@linaro.org>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotproperties:
13*cb7aa33aSEmmanuel Vadot  compatible:
14*cb7aa33aSEmmanuel Vadot    oneOf:
15*cb7aa33aSEmmanuel Vadot      - items:
16*cb7aa33aSEmmanuel Vadot          - const: socionext,synquacer-gpio
17*cb7aa33aSEmmanuel Vadot          - const: fujitsu,mb86s70-gpio
18*cb7aa33aSEmmanuel Vadot      - const: fujitsu,mb86s70-gpio
19*cb7aa33aSEmmanuel Vadot
20*cb7aa33aSEmmanuel Vadot  reg:
21*cb7aa33aSEmmanuel Vadot    maxItems: 1
22*cb7aa33aSEmmanuel Vadot
23*cb7aa33aSEmmanuel Vadot  '#gpio-cells':
24*cb7aa33aSEmmanuel Vadot    const: 2
25*cb7aa33aSEmmanuel Vadot
26*cb7aa33aSEmmanuel Vadot  gpio-controller: true
27*cb7aa33aSEmmanuel Vadot  gpio-line-names: true
28*cb7aa33aSEmmanuel Vadot
29*cb7aa33aSEmmanuel Vadot  clocks:
30*cb7aa33aSEmmanuel Vadot    maxItems: 1
31*cb7aa33aSEmmanuel Vadot
32*cb7aa33aSEmmanuel Vadotrequired:
33*cb7aa33aSEmmanuel Vadot  - compatible
34*cb7aa33aSEmmanuel Vadot  - reg
35*cb7aa33aSEmmanuel Vadot  - '#gpio-cells'
36*cb7aa33aSEmmanuel Vadot  - gpio-controller
37*cb7aa33aSEmmanuel Vadot  - clocks
38*cb7aa33aSEmmanuel Vadot
39*cb7aa33aSEmmanuel VadotadditionalProperties: false
40*cb7aa33aSEmmanuel Vadot
41*cb7aa33aSEmmanuel Vadotexamples:
42*cb7aa33aSEmmanuel Vadot  - |
43*cb7aa33aSEmmanuel Vadot    gpio@31000000 {
44*cb7aa33aSEmmanuel Vadot        compatible = "fujitsu,mb86s70-gpio";
45*cb7aa33aSEmmanuel Vadot        reg = <0x31000000 0x10000>;
46*cb7aa33aSEmmanuel Vadot        gpio-controller;
47*cb7aa33aSEmmanuel Vadot        #gpio-cells = <2>;
48*cb7aa33aSEmmanuel Vadot        clocks = <&clk 0 2 1>;
49*cb7aa33aSEmmanuel Vadot    };
50*cb7aa33aSEmmanuel Vadot...
51