1 * Freescale i.MX7ULP IOMUX Controller 1 * Freescale i.MX7ULP IOMUX Controller 2 2 3 i.MX 7ULP has three IOMUXC instances: IOMUXC0 3 i.MX 7ULP has three IOMUXC instances: IOMUXC0 for M4 ports, IOMUXC1 for A7 4 ports and IOMUXC DDR for DDR interface. 4 ports and IOMUXC DDR for DDR interface. 5 5 6 Note: 6 Note: 7 This binding doc is only for the IOMUXC1 suppo 7 This binding doc is only for the IOMUXC1 support in A7 Domain and it only 8 supports generic pin config. 8 supports generic pin config. 9 9 10 Please refer to fsl,imx-pinctrl.txt in this di 10 Please refer to fsl,imx-pinctrl.txt in this directory for common binding 11 part and usage. 11 part and usage. 12 12 13 Required properties: 13 Required properties: 14 - compatible: "fsl,imx7ulp-iomuxc1". 14 - compatible: "fsl,imx7ulp-iomuxc1". 15 - fsl,pins: Each entry consists of 5 integ 15 - fsl,pins: Each entry consists of 5 integers which represents the mux 16 and config setting for one pin 16 and config setting for one pin. The first 4 integers 17 <mux_conf_reg input_reg mux_mo 17 <mux_conf_reg input_reg mux_mode input_val> are specified 18 using a PIN_FUNC_ID macro, whi 18 using a PIN_FUNC_ID macro, which can be found in 19 imx7ulp-pinfunc.h in the devic 19 imx7ulp-pinfunc.h in the device tree source folder. 20 The last integer CONFIG is the 20 The last integer CONFIG is the pad setting value like 21 pull-up on this pin. 21 pull-up on this pin. 22 22 23 Please refer to i.MX7ULP Refer 23 Please refer to i.MX7ULP Reference Manual for detailed 24 CONFIG settings. 24 CONFIG settings. 25 25 26 CONFIG bits definition: 26 CONFIG bits definition: 27 PAD_CTL_OBE (1 << 17) 27 PAD_CTL_OBE (1 << 17) 28 PAD_CTL_IBE (1 << 16) 28 PAD_CTL_IBE (1 << 16) 29 PAD_CTL_LK (1 << 16) 29 PAD_CTL_LK (1 << 16) 30 PAD_CTL_DSE_HI (1 << 6) 30 PAD_CTL_DSE_HI (1 << 6) 31 PAD_CTL_DSE_STD (0 << 6) 31 PAD_CTL_DSE_STD (0 << 6) 32 PAD_CTL_ODE (1 << 5) 32 PAD_CTL_ODE (1 << 5) 33 PAD_CTL_PUSH_PULL (0 << 5) 33 PAD_CTL_PUSH_PULL (0 << 5) 34 PAD_CTL_SRE_SLOW (1 << 2) 34 PAD_CTL_SRE_SLOW (1 << 2) 35 PAD_CTL_SRE_STD (0 << 2) 35 PAD_CTL_SRE_STD (0 << 2) 36 PAD_CTL_PE (1 << 0) 36 PAD_CTL_PE (1 << 0) 37 37 38 Examples: 38 Examples: 39 #include "imx7ulp-pinfunc.h" 39 #include "imx7ulp-pinfunc.h" 40 40 41 /* Pin Controller Node */ 41 /* Pin Controller Node */ 42 iomuxc1: pinctrl@40ac0000 { 42 iomuxc1: pinctrl@40ac0000 { 43 compatible = "fsl,imx7ulp-iomuxc1"; 43 compatible = "fsl,imx7ulp-iomuxc1"; 44 reg = <0x40ac0000 0x1000>; 44 reg = <0x40ac0000 0x1000>; 45 45 46 /* Pin Configuration Node */ 46 /* Pin Configuration Node */ 47 pinctrl_lpuart4: lpuart4grp { 47 pinctrl_lpuart4: lpuart4grp { 48 fsl,pins = < 48 fsl,pins = < 49 IMX7ULP_PAD_PTC3__LPUA 49 IMX7ULP_PAD_PTC3__LPUART4_RX 0x1 50 IMX7ULP_PAD_PTC2__LPUA 50 IMX7ULP_PAD_PTC2__LPUART4_TX 0x1 51 >; 51 >; 52 }; 52 }; 53 }; 53 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.