xref: /linux/Documentation/devicetree/bindings/pinctrl/fsl,imxrt1170.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*0dfd7fc0SJesse Taube# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0dfd7fc0SJesse Taube%YAML 1.2
3*0dfd7fc0SJesse Taube---
4*0dfd7fc0SJesse Taube$id: http://devicetree.org/schemas/pinctrl/fsl,imxrt1170.yaml#
5*0dfd7fc0SJesse Taube$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0dfd7fc0SJesse Taube
7*0dfd7fc0SJesse Taubetitle: Freescale i.MXRT1170 IOMUX Controller
8*0dfd7fc0SJesse Taube
9*0dfd7fc0SJesse Taubemaintainers:
10*0dfd7fc0SJesse Taube  - Giulio Benetti <giulio.benetti@benettiengineering.com>
11*0dfd7fc0SJesse Taube  - Jesse Taube <Mr.Bossman075@gmail.com>
12*0dfd7fc0SJesse Taube
13*0dfd7fc0SJesse Taubedescription:
14*0dfd7fc0SJesse Taube  Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory
15*0dfd7fc0SJesse Taube  for common binding part and usage.
16*0dfd7fc0SJesse Taube
17*0dfd7fc0SJesse Taubeproperties:
18*0dfd7fc0SJesse Taube  compatible:
19*0dfd7fc0SJesse Taube    const: fsl,imxrt1170-iomuxc
20*0dfd7fc0SJesse Taube
21*0dfd7fc0SJesse Taube  reg:
22*0dfd7fc0SJesse Taube    maxItems: 1
23*0dfd7fc0SJesse Taube
24*0dfd7fc0SJesse Taube# Client device subnode's properties
25*0dfd7fc0SJesse TaubepatternProperties:
26*0dfd7fc0SJesse Taube  'grp$':
27*0dfd7fc0SJesse Taube    type: object
28*0dfd7fc0SJesse Taube    description:
29*0dfd7fc0SJesse Taube      Pinctrl node's client devices use subnodes for desired pin configuration.
30*0dfd7fc0SJesse Taube      Client device subnodes use below standard properties.
31*0dfd7fc0SJesse Taube
32*0dfd7fc0SJesse Taube    properties:
33*0dfd7fc0SJesse Taube      fsl,pins:
34*0dfd7fc0SJesse Taube        description:
35*0dfd7fc0SJesse Taube          each entry consists of 6 integers and represents the mux and config
36*0dfd7fc0SJesse Taube          setting for one pin. The first 5 integers <mux_reg conf_reg input_reg
37*0dfd7fc0SJesse Taube          mux_val input_val> are specified using a PIN_FUNC_ID macro, which can
38*0dfd7fc0SJesse Taube          be found in <arch/arm/boot/dts/imxrt1170-pinfunc.h>. The last
39*0dfd7fc0SJesse Taube          integer CONFIG is the pad setting value like pull-up on this pin. Please
40*0dfd7fc0SJesse Taube          refer to i.MXRT1170 Reference Manual for detailed CONFIG settings.
41*0dfd7fc0SJesse Taube        $ref: /schemas/types.yaml#/definitions/uint32-matrix
42*0dfd7fc0SJesse Taube        items:
43*0dfd7fc0SJesse Taube          items:
44*0dfd7fc0SJesse Taube            - description: |
45*0dfd7fc0SJesse Taube                "mux_reg" indicates the offset of mux register.
46*0dfd7fc0SJesse Taube            - description: |
47*0dfd7fc0SJesse Taube                "conf_reg" indicates the offset of pad configuration register.
48*0dfd7fc0SJesse Taube            - description: |
49*0dfd7fc0SJesse Taube                "input_reg" indicates the offset of select input register.
50*0dfd7fc0SJesse Taube            - description: |
51*0dfd7fc0SJesse Taube                "mux_val" indicates the mux value to be applied.
52*0dfd7fc0SJesse Taube            - description: |
53*0dfd7fc0SJesse Taube                "input_val" indicates the select input value to be applied.
54*0dfd7fc0SJesse Taube            - description: |
55*0dfd7fc0SJesse Taube                "pad_setting" indicates the pad configuration value to be applied.
56*0dfd7fc0SJesse Taube    required:
57*0dfd7fc0SJesse Taube      - fsl,pins
58*0dfd7fc0SJesse Taube
59*0dfd7fc0SJesse Taube    additionalProperties: false
60*0dfd7fc0SJesse Taube
61*0dfd7fc0SJesse Tauberequired:
62*0dfd7fc0SJesse Taube  - compatible
63*0dfd7fc0SJesse Taube  - reg
64*0dfd7fc0SJesse Taube
65*0dfd7fc0SJesse TaubeadditionalProperties: false
66*0dfd7fc0SJesse Taube
67*0dfd7fc0SJesse Taubeexamples:
68*0dfd7fc0SJesse Taube  - |
69*0dfd7fc0SJesse Taube    iomuxc: iomuxc@400e8000 {
70*0dfd7fc0SJesse Taube        compatible = "fsl,imxrt1170-iomuxc";
71*0dfd7fc0SJesse Taube        reg = <0x400e8000 0x4000>;
72*0dfd7fc0SJesse Taube        pinctrl_lpuart1: lpuart1grp {
73*0dfd7fc0SJesse Taube            fsl,pins =
74*0dfd7fc0SJesse Taube              <0x16C 0x3B0 0x620 0x0 0x0  0xf1>,
75*0dfd7fc0SJesse Taube              <0x170 0x3B4 0x61C 0x0 0x0	0xf1>;
76*0dfd7fc0SJesse Taube        };
77*0dfd7fc0SJesse Taube    };
78