162306a36Sopenharmony_ci* Freescale i.MX7ULP IOMUX Controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_cii.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7 462306a36Sopenharmony_ciports and IOMUXC DDR for DDR interface. 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciNote: 762306a36Sopenharmony_ciThis binding doc is only for the IOMUXC1 support in A7 Domain and it only 862306a36Sopenharmony_cisupports generic pin config. 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciPlease refer to fsl,imx-pinctrl.txt in this directory for common binding 1162306a36Sopenharmony_cipart and usage. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciRequired properties: 1462306a36Sopenharmony_ci- compatible: "fsl,imx7ulp-iomuxc1". 1562306a36Sopenharmony_ci- fsl,pins: Each entry consists of 5 integers which represents the mux 1662306a36Sopenharmony_ci and config setting for one pin. The first 4 integers 1762306a36Sopenharmony_ci <mux_conf_reg input_reg mux_mode input_val> are specified 1862306a36Sopenharmony_ci using a PIN_FUNC_ID macro, which can be found in 1962306a36Sopenharmony_ci imx7ulp-pinfunc.h in the device tree source folder. 2062306a36Sopenharmony_ci The last integer CONFIG is the pad setting value like 2162306a36Sopenharmony_ci pull-up on this pin. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci Please refer to i.MX7ULP Reference Manual for detailed 2462306a36Sopenharmony_ci CONFIG settings. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciCONFIG bits definition: 2762306a36Sopenharmony_ciPAD_CTL_OBE (1 << 17) 2862306a36Sopenharmony_ciPAD_CTL_IBE (1 << 16) 2962306a36Sopenharmony_ciPAD_CTL_LK (1 << 16) 3062306a36Sopenharmony_ciPAD_CTL_DSE_HI (1 << 6) 3162306a36Sopenharmony_ciPAD_CTL_DSE_STD (0 << 6) 3262306a36Sopenharmony_ciPAD_CTL_ODE (1 << 5) 3362306a36Sopenharmony_ciPAD_CTL_PUSH_PULL (0 << 5) 3462306a36Sopenharmony_ciPAD_CTL_SRE_SLOW (1 << 2) 3562306a36Sopenharmony_ciPAD_CTL_SRE_STD (0 << 2) 3662306a36Sopenharmony_ciPAD_CTL_PE (1 << 0) 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ciExamples: 3962306a36Sopenharmony_ci#include "imx7ulp-pinfunc.h" 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci/* Pin Controller Node */ 4262306a36Sopenharmony_ciiomuxc1: pinctrl@40ac0000 { 4362306a36Sopenharmony_ci compatible = "fsl,imx7ulp-iomuxc1"; 4462306a36Sopenharmony_ci reg = <0x40ac0000 0x1000>; 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci /* Pin Configuration Node */ 4762306a36Sopenharmony_ci pinctrl_lpuart4: lpuart4grp { 4862306a36Sopenharmony_ci fsl,pins = < 4962306a36Sopenharmony_ci IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 5062306a36Sopenharmony_ci IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 5162306a36Sopenharmony_ci >; 5262306a36Sopenharmony_ci }; 5362306a36Sopenharmony_ci}; 54