]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/pinctrl/fsl,scu-pinctrl.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / pinctrl / fsl,scu-pinctrl.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/fsl,scu-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: i.MX SCU Client Device Node - Pinctrl Based on SCU Message Protocol
8
9 maintainers:
10 - Dong Aisheng <aisheng.dong@nxp.com>
11
12 description: i.MX SCU Client Device Node
13 Client nodes are maintained as children of the relevant IMX-SCU device node.
14 This binding uses the i.MX common pinctrl binding.
15 (Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt)
16
17 allOf:
18 - $ref: pinctrl.yaml#
19
20 properties:
21 compatible:
22 enum:
23 - fsl,imx8qm-iomuxc
24 - fsl,imx8qxp-iomuxc
25 - fsl,imx8dxl-iomuxc
26
27 patternProperties:
28 'grp$':
29 type: object
30 description:
31 Pinctrl node's client devices use subnodes for desired pin configuration.
32 Client device subnodes use below standard properties.
33
34 properties:
35 fsl,pins:
36 description:
37 each entry consists of 3 integers and represents the pin ID, the mux value
38 and pad setting for the pin. The first 2 integers - pin_id and mux_val - are
39 specified using a PIN_FUNC_ID macro, which can be found in
40 <include/dt-bindings/pinctrl/pads-imx8qxp.h>. The last integer is
41 the pad setting value like pull-up on this pin. Please refer to the
42 appropriate i.MX8 Reference Manual for detailed pad CONFIG settings.
43 $ref: /schemas/types.yaml#/definitions/uint32-matrix
44 items:
45 items:
46 - description: |
47 "pin_id" indicates the pin ID
48 - description: |
49 "mux_val" indicates the mux value to be applied.
50 - description: |
51 "pad_setting" indicates the pad configuration value to be applied.
52
53 required:
54 - fsl,pins
55
56 additionalProperties: false
57
58 required:
59 - compatible
60
61 additionalProperties: false
62
63 examples:
64 - |
65 pinctrl {
66 compatible = "fsl,imx8qxp-iomuxc";
67
68 pinctrl_lpuart0: lpuart0grp {
69 fsl,pins = <
70 111 0 0x06000020
71 112 0 0x06000020
72 >;
73 };
74 };