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