75 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pinctrl/fsl,scu-pinctrl.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: i.MX SCU Client Device Node - Pinctrl Based on SCU Message Protocol8 9maintainers:10 - Dong Aisheng <aisheng.dong@nxp.com>11 12description: i.MX SCU Client Device Node13 Client nodes are maintained as children of the relevant IMX-SCU device node.14 This binding uses the i.MX common pinctrl binding.15 (Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt)16 17allOf:18 - $ref: pinctrl.yaml#19 20properties:21 compatible:22 enum:23 - fsl,imx8qm-iomuxc24 - fsl,imx8qxp-iomuxc25 - fsl,imx8dxl-iomuxc26 27patternProperties:28 'grp$':29 type: object30 description:31 Pinctrl node's client devices use subnodes for desired pin configuration.32 Client device subnodes use below standard properties.33 34 properties:35 fsl,pins:36 description:37 each entry consists of 3 integers and represents the pin ID, the mux value38 and pad setting for the pin. The first 2 integers - pin_id and mux_val - are39 specified using a PIN_FUNC_ID macro, which can be found in40 <include/dt-bindings/pinctrl/pads-imx8qxp.h>. The last integer is41 the pad setting value like pull-up on this pin. Please refer to the42 appropriate i.MX8 Reference Manual for detailed pad CONFIG settings.43 $ref: /schemas/types.yaml#/definitions/uint32-matrix44 items:45 items:46 - description: |47 "pin_id" indicates the pin ID48 - description: |49 "mux_val" indicates the mux value to be applied.50 - description: |51 "pad_setting" indicates the pad configuration value to be applied.52 53 required:54 - fsl,pins55 56 additionalProperties: false57 58required:59 - compatible60 61additionalProperties: false62 63examples:64 - |65 pinctrl {66 compatible = "fsl,imx8qxp-iomuxc";67 68 pinctrl_lpuart0: lpuart0grp {69 fsl,pins = <70 111 0 0x0600002071 112 0 0x0600002072 >;73 };74 };75