]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/pinctrl/amlogic,meson-pinctrl-common.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / pinctrl / amlogic,meson-pinctrl-common.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/amlogic,meson-pinctrl-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Amlogic Meson pinmux controller
8
9 maintainers:
10 - Neil Armstrong <neil.armstrong@linaro.org>
11
12 allOf:
13 - $ref: pinctrl.yaml#
14
15 properties:
16 ranges: true
17
18 "#address-cells":
19 enum: [1, 2]
20
21 "#size-cells":
22 enum: [1, 2]
23
24 required:
25 - ranges
26 - "#address-cells"
27 - "#size-cells"
28
29 additionalProperties: true
30
31 $defs:
32 meson-gpio:
33 type: object
34
35 properties:
36 gpio-controller: true
37
38 "#gpio-cells":
39 const: 2
40
41 gpio-ranges:
42 maxItems: 1
43
44 patternProperties:
45 "^.+-hog(-[0-9]+)?$":
46 type: object
47
48 required:
49 - gpio-hog
50
51 required:
52 - reg
53 - reg-names
54 - gpio-controller
55 - "#gpio-cells"
56 - gpio-ranges
57
58 meson-pins:
59 type: object
60 additionalProperties:
61 type: object
62 allOf:
63 - $ref: pincfg-node.yaml#
64 - $ref: pinmux-node.yaml#