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