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