1354d7675SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/fsl,imx8ulp-pinctrl.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 7354d7675SEmmanuel Vadottitle: Freescale IMX8ULP IOMUX Controller 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Jacky Bai <ping.bai@nxp.com> 11354d7675SEmmanuel Vadot 12354d7675SEmmanuel Vadotdescription: 13354d7675SEmmanuel Vadot Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory 14354d7675SEmmanuel Vadot for common binding part and usage. 15354d7675SEmmanuel Vadot 16354d7675SEmmanuel Vadotproperties: 17354d7675SEmmanuel Vadot compatible: 18354d7675SEmmanuel Vadot const: fsl,imx8ulp-iomuxc1 19354d7675SEmmanuel Vadot 20354d7675SEmmanuel Vadot reg: 21354d7675SEmmanuel Vadot maxItems: 1 22354d7675SEmmanuel Vadot 23354d7675SEmmanuel Vadot# Client device subnode's properties 24354d7675SEmmanuel VadotpatternProperties: 25354d7675SEmmanuel Vadot 'grp$': 26354d7675SEmmanuel Vadot type: object 27354d7675SEmmanuel Vadot description: 28354d7675SEmmanuel Vadot Pinctrl node's client devices use subnodes for desired pin configuration. 29354d7675SEmmanuel Vadot Client device subnodes use below standard properties. 30354d7675SEmmanuel Vadot 31354d7675SEmmanuel Vadot properties: 32354d7675SEmmanuel Vadot fsl,pins: 33354d7675SEmmanuel Vadot description: 34354d7675SEmmanuel Vadot each entry consists of 5 integers and represents the mux and config 35354d7675SEmmanuel Vadot setting for one pin. The first 4 integers <mux_config_reg input_reg 36354d7675SEmmanuel Vadot mux_mode input_val> are specified using a PIN_FUNC_ID macro, which can 37354d7675SEmmanuel Vadot be found in <arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h>. The last 38354d7675SEmmanuel Vadot integer CONFIG is the pad setting value like pull-up on this pin. Please 39354d7675SEmmanuel Vadot refer to i.MX8ULP Reference Manual for detailed CONFIG settings. 40354d7675SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-matrix 41354d7675SEmmanuel Vadot items: 42354d7675SEmmanuel Vadot items: 43354d7675SEmmanuel Vadot - description: | 44354d7675SEmmanuel Vadot "mux_config_reg" indicates the offset of mux register. 45354d7675SEmmanuel Vadot - description: | 46354d7675SEmmanuel Vadot "input_reg" indicates the offset of select input register. 47354d7675SEmmanuel Vadot - description: | 48354d7675SEmmanuel Vadot "mux_mode" indicates the mux value to be applied. 49354d7675SEmmanuel Vadot - description: | 50354d7675SEmmanuel Vadot "input_val" indicates the select input value to be applied. 51354d7675SEmmanuel Vadot - description: | 52354d7675SEmmanuel Vadot "pad_setting" indicates the pad configuration value to be applied. 53354d7675SEmmanuel Vadot 54354d7675SEmmanuel Vadot required: 55354d7675SEmmanuel Vadot - fsl,pins 56354d7675SEmmanuel Vadot 57354d7675SEmmanuel Vadot additionalProperties: false 58354d7675SEmmanuel Vadot 59e67e8565SEmmanuel VadotallOf: 60*fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 61e67e8565SEmmanuel Vadot 62354d7675SEmmanuel Vadotrequired: 63354d7675SEmmanuel Vadot - compatible 64354d7675SEmmanuel Vadot - reg 65354d7675SEmmanuel Vadot 66354d7675SEmmanuel VadotadditionalProperties: false 67354d7675SEmmanuel Vadot 68354d7675SEmmanuel Vadotexamples: 69354d7675SEmmanuel Vadot # Pinmux controller node 70354d7675SEmmanuel Vadot - | 71354d7675SEmmanuel Vadot iomuxc: pinctrl@298c0000 { 72354d7675SEmmanuel Vadot compatible = "fsl,imx8ulp-iomuxc1"; 73354d7675SEmmanuel Vadot reg = <0x298c0000 0x10000>; 74354d7675SEmmanuel Vadot 75354d7675SEmmanuel Vadot pinctrl_lpuart5: lpuart5grp { 76354d7675SEmmanuel Vadot fsl,pins = 77354d7675SEmmanuel Vadot <0x0138 0x08F0 0x4 0x3 0x3>, 78354d7675SEmmanuel Vadot <0x013C 0x08EC 0x4 0x3 0x3>; 79354d7675SEmmanuel Vadot }; 80354d7675SEmmanuel Vadot }; 81354d7675SEmmanuel Vadot 82354d7675SEmmanuel Vadot... 83