Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Fujitsu MB86S7x GPIO Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Jassi Brar <jaswinder.singh@linaro.org> |
| 11 | |
| 12 | properties: |
| 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 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - reg |
| 35 | - '#gpio-cells' |
| 36 | - gpio-controller |
| 37 | - clocks |
| 38 | |
| 39 | additionalProperties: false |
| 40 | |
| 41 | examples: |
| 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 | ... |