18c2ecf20Sopenharmony_ci* Freescale i.MX7ULP IOMUX Controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_cii.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7 48c2ecf20Sopenharmony_ciports and IOMUXC DDR for DDR interface. 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciNote: 78c2ecf20Sopenharmony_ciThis binding doc is only for the IOMUXC1 support in A7 Domain and it only 88c2ecf20Sopenharmony_cisupports generic pin config. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciPlease refer to fsl,imx-pinctrl.txt in this directory for common binding 118c2ecf20Sopenharmony_cipart and usage. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciRequired properties: 148c2ecf20Sopenharmony_ci- compatible: "fsl,imx7ulp-iomuxc1". 158c2ecf20Sopenharmony_ci- fsl,pins: Each entry consists of 5 integers which represents the mux 168c2ecf20Sopenharmony_ci and config setting for one pin. The first 4 integers 178c2ecf20Sopenharmony_ci <mux_conf_reg input_reg mux_mode input_val> are specified 188c2ecf20Sopenharmony_ci using a PIN_FUNC_ID macro, which can be found in 198c2ecf20Sopenharmony_ci imx7ulp-pinfunc.h in the device tree source folder. 208c2ecf20Sopenharmony_ci The last integer CONFIG is the pad setting value like 218c2ecf20Sopenharmony_ci pull-up on this pin. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci Please refer to i.MX7ULP Reference Manual for detailed 248c2ecf20Sopenharmony_ci CONFIG settings. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciCONFIG bits definition: 278c2ecf20Sopenharmony_ciPAD_CTL_OBE (1 << 17) 288c2ecf20Sopenharmony_ciPAD_CTL_IBE (1 << 16) 298c2ecf20Sopenharmony_ciPAD_CTL_LK (1 << 16) 308c2ecf20Sopenharmony_ciPAD_CTL_DSE_HI (1 << 6) 318c2ecf20Sopenharmony_ciPAD_CTL_DSE_STD (0 << 6) 328c2ecf20Sopenharmony_ciPAD_CTL_ODE (1 << 5) 338c2ecf20Sopenharmony_ciPAD_CTL_PUSH_PULL (0 << 5) 348c2ecf20Sopenharmony_ciPAD_CTL_SRE_SLOW (1 << 2) 358c2ecf20Sopenharmony_ciPAD_CTL_SRE_STD (0 << 2) 368c2ecf20Sopenharmony_ciPAD_CTL_PE (1 << 0) 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ciExamples: 398c2ecf20Sopenharmony_ci#include "imx7ulp-pinfunc.h" 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci/* Pin Controller Node */ 428c2ecf20Sopenharmony_ciiomuxc1: pinctrl@40ac0000 { 438c2ecf20Sopenharmony_ci compatible = "fsl,imx7ulp-iomuxc1"; 448c2ecf20Sopenharmony_ci reg = <0x40ac0000 0x1000>; 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci /* Pin Configuration Node */ 478c2ecf20Sopenharmony_ci pinctrl_lpuart4: lpuart4grp { 488c2ecf20Sopenharmony_ci fsl,pins = < 498c2ecf20Sopenharmony_ci IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 508c2ecf20Sopenharmony_ci IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 518c2ecf20Sopenharmony_ci >; 528c2ecf20Sopenharmony_ci }; 538c2ecf20Sopenharmony_ci}; 54