1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot%YAML 1.2 3b97ee269SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/fsl,scu-pinctrl.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6b97ee269SEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: i.MX SCU Client Device Node - Pinctrl Based on SCU Message Protocol 8b97ee269SEmmanuel Vadot 9b97ee269SEmmanuel Vadotmaintainers: 10b97ee269SEmmanuel Vadot - Dong Aisheng <aisheng.dong@nxp.com> 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel Vadotdescription: i.MX SCU Client Device Node 13b97ee269SEmmanuel Vadot Client nodes are maintained as children of the relevant IMX-SCU device node. 14b97ee269SEmmanuel Vadot This binding uses the i.MX common pinctrl binding. 15b97ee269SEmmanuel Vadot (Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt) 16b97ee269SEmmanuel Vadot 17b97ee269SEmmanuel VadotallOf: 18b97ee269SEmmanuel Vadot - $ref: pinctrl.yaml# 19b97ee269SEmmanuel Vadot 20b97ee269SEmmanuel Vadotproperties: 21b97ee269SEmmanuel Vadot compatible: 22b97ee269SEmmanuel Vadot enum: 23b97ee269SEmmanuel Vadot - fsl,imx8qm-iomuxc 24b97ee269SEmmanuel Vadot - fsl,imx8qxp-iomuxc 25b97ee269SEmmanuel Vadot - fsl,imx8dxl-iomuxc 26b97ee269SEmmanuel Vadot 27b97ee269SEmmanuel VadotpatternProperties: 28b97ee269SEmmanuel Vadot 'grp$': 29b97ee269SEmmanuel Vadot type: object 30b97ee269SEmmanuel Vadot description: 31b97ee269SEmmanuel Vadot Pinctrl node's client devices use subnodes for desired pin configuration. 32b97ee269SEmmanuel Vadot Client device subnodes use below standard properties. 33b97ee269SEmmanuel Vadot 34b97ee269SEmmanuel Vadot properties: 35b97ee269SEmmanuel Vadot fsl,pins: 36b97ee269SEmmanuel Vadot description: 37b97ee269SEmmanuel Vadot each entry consists of 3 integers and represents the pin ID, the mux value 38b97ee269SEmmanuel Vadot and pad setting for the pin. The first 2 integers - pin_id and mux_val - are 39b97ee269SEmmanuel Vadot specified using a PIN_FUNC_ID macro, which can be found in 40b97ee269SEmmanuel Vadot <include/dt-bindings/pinctrl/pads-imx8qxp.h>. The last integer is 41b97ee269SEmmanuel Vadot the pad setting value like pull-up on this pin. Please refer to the 42b97ee269SEmmanuel Vadot appropriate i.MX8 Reference Manual for detailed pad CONFIG settings. 43b97ee269SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-matrix 44b97ee269SEmmanuel Vadot items: 45b97ee269SEmmanuel Vadot items: 46b97ee269SEmmanuel Vadot - description: | 47b97ee269SEmmanuel Vadot "pin_id" indicates the pin ID 48b97ee269SEmmanuel Vadot - description: | 49b97ee269SEmmanuel Vadot "mux_val" indicates the mux value to be applied. 50b97ee269SEmmanuel Vadot - description: | 51b97ee269SEmmanuel Vadot "pad_setting" indicates the pad configuration value to be applied. 52b97ee269SEmmanuel Vadot 53b97ee269SEmmanuel Vadot required: 54b97ee269SEmmanuel Vadot - fsl,pins 55b97ee269SEmmanuel Vadot 56b97ee269SEmmanuel Vadot additionalProperties: false 57b97ee269SEmmanuel Vadot 58b97ee269SEmmanuel Vadotrequired: 59b97ee269SEmmanuel Vadot - compatible 60b97ee269SEmmanuel Vadot 61b97ee269SEmmanuel VadotadditionalProperties: false 62b97ee269SEmmanuel Vadot 63b97ee269SEmmanuel Vadotexamples: 64b97ee269SEmmanuel Vadot - | 65b97ee269SEmmanuel Vadot pinctrl { 66b97ee269SEmmanuel Vadot compatible = "fsl,imx8qxp-iomuxc"; 67b97ee269SEmmanuel Vadot 68b97ee269SEmmanuel Vadot pinctrl_lpuart0: lpuart0grp { 69b97ee269SEmmanuel Vadot fsl,pins = < 70b97ee269SEmmanuel Vadot 111 0 0x06000020 71b97ee269SEmmanuel Vadot 112 0 0x06000020 72b97ee269SEmmanuel Vadot >; 73b97ee269SEmmanuel Vadot }; 74b97ee269SEmmanuel Vadot }; 75