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