14ad8b50dSPeng Fan# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
24ad8b50dSPeng Fan%YAML 1.2
34ad8b50dSPeng Fan---
44ad8b50dSPeng Fan$id: http://devicetree.org/schemas/pinctrl/fsl,imx93-pinctrl.yaml#
54ad8b50dSPeng Fan$schema: http://devicetree.org/meta-schemas/core.yaml#
64ad8b50dSPeng Fan
74ad8b50dSPeng Fantitle: Freescale IMX93 IOMUX Controller
84ad8b50dSPeng Fan
94ad8b50dSPeng Fanmaintainers:
104ad8b50dSPeng Fan  - Peng Fan <peng.fan@nxp.com>
114ad8b50dSPeng Fan
124ad8b50dSPeng Fandescription:
134ad8b50dSPeng Fan  Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory
144ad8b50dSPeng Fan  for common binding part and usage.
154ad8b50dSPeng Fan
164ad8b50dSPeng FanallOf:
17*49cd1dd1SRob Herring  - $ref: pinctrl.yaml#
184ad8b50dSPeng Fan
194ad8b50dSPeng Fanproperties:
204ad8b50dSPeng Fan  compatible:
214ad8b50dSPeng Fan    const: fsl,imx93-iomuxc
224ad8b50dSPeng Fan
234ad8b50dSPeng Fan  reg:
244ad8b50dSPeng Fan    maxItems: 1
254ad8b50dSPeng Fan
264ad8b50dSPeng Fan# Client device subnode's properties
274ad8b50dSPeng FanpatternProperties:
284ad8b50dSPeng Fan  'grp$':
294ad8b50dSPeng Fan    type: object
304ad8b50dSPeng Fan    description:
314ad8b50dSPeng Fan      Pinctrl node's client devices use subnodes for desired pin configuration.
324ad8b50dSPeng Fan      Client device subnodes use below standard properties.
334ad8b50dSPeng Fan
344ad8b50dSPeng Fan    properties:
354ad8b50dSPeng Fan      fsl,pins:
364ad8b50dSPeng Fan        description:
374ad8b50dSPeng Fan          each entry consists of 6 integers and represents the mux and config
384ad8b50dSPeng Fan          setting for one pin. The first 5 integers <mux_reg conf_reg input_reg
394ad8b50dSPeng Fan          mux_val input_val> are specified using a PIN_FUNC_ID macro, which can
404ad8b50dSPeng Fan          be found in <arch/arm64/boot/dts/freescale/imx8mp-pinfunc.h>. The last
414ad8b50dSPeng Fan          integer CONFIG is the pad setting value like pull-up on this pin. Please
424ad8b50dSPeng Fan          refer to i.MX8M Plus Reference Manual for detailed CONFIG settings.
434ad8b50dSPeng Fan        $ref: /schemas/types.yaml#/definitions/uint32-matrix
444ad8b50dSPeng Fan        items:
454ad8b50dSPeng Fan          items:
464ad8b50dSPeng Fan            - description: |
474ad8b50dSPeng Fan                "mux_reg" indicates the offset of mux register.
484ad8b50dSPeng Fan            - description: |
494ad8b50dSPeng Fan                "conf_reg" indicates the offset of pad configuration register.
504ad8b50dSPeng Fan            - description: |
514ad8b50dSPeng Fan                "input_reg" indicates the offset of select input register.
524ad8b50dSPeng Fan            - description: |
534ad8b50dSPeng Fan                "mux_val" indicates the mux value to be applied.
544ad8b50dSPeng Fan            - description: |
554ad8b50dSPeng Fan                "input_val" indicates the select input value to be applied.
564ad8b50dSPeng Fan            - description: |
574ad8b50dSPeng Fan                "pad_setting" indicates the pad configuration value to be applied.
584ad8b50dSPeng Fan
594ad8b50dSPeng Fan
604ad8b50dSPeng Fan    required:
614ad8b50dSPeng Fan      - fsl,pins
624ad8b50dSPeng Fan
634ad8b50dSPeng Fan    additionalProperties: false
644ad8b50dSPeng Fan
654ad8b50dSPeng Fanrequired:
664ad8b50dSPeng Fan  - compatible
674ad8b50dSPeng Fan  - reg
684ad8b50dSPeng Fan
694ad8b50dSPeng FanadditionalProperties: false
704ad8b50dSPeng Fan
714ad8b50dSPeng Fanexamples:
724ad8b50dSPeng Fan  # Pinmux controller node
734ad8b50dSPeng Fan  - |
744ad8b50dSPeng Fan    iomuxc: pinctrl@443c0000 {
754ad8b50dSPeng Fan        compatible = "fsl,imx93-iomuxc";
764ad8b50dSPeng Fan        reg = <0x30330000 0x10000>;
774ad8b50dSPeng Fan
784ad8b50dSPeng Fan        pinctrl_uart3: uart3grp {
794ad8b50dSPeng Fan            fsl,pins =
804ad8b50dSPeng Fan                <0x48 0x1f8 0x41c 0x1 0x0	0x49>,
814ad8b50dSPeng Fan                <0x4c 0x1fc 0x418 0x1 0x0	0x49>;
824ad8b50dSPeng Fan        };
834ad8b50dSPeng Fan    };
844ad8b50dSPeng Fan
854ad8b50dSPeng Fan...
86