xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/fsl,imx6ul-pinctrl.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Freescale i.MX6 UltraLite IOMUX Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotPlease refer to fsl,imx-pinctrl.txt in this directory for common binding part
4*c66ec88fSEmmanuel Vadotand usage.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible: "fsl,imx6ul-iomuxc" for main IOMUX controller or
8*c66ec88fSEmmanuel Vadot  "fsl,imx6ull-iomuxc-snvs" for i.MX 6ULL's SNVS IOMUX controller.
9*c66ec88fSEmmanuel Vadot- fsl,pins: each entry consists of 6 integers and represents the mux and config
10*c66ec88fSEmmanuel Vadot  setting for one pin.  The first 5 integers <mux_reg conf_reg input_reg mux_val
11*c66ec88fSEmmanuel Vadot  input_val> are specified using a PIN_FUNC_ID macro, which can be found in
12*c66ec88fSEmmanuel Vadot  imx6ul-pinfunc.h under device tree source folder.  The last integer CONFIG is
13*c66ec88fSEmmanuel Vadot  the pad setting value like pull-up on this pin.  Please refer to i.MX6 UltraLite
14*c66ec88fSEmmanuel Vadot  Reference Manual for detailed CONFIG settings.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotCONFIG bits definition:
17*c66ec88fSEmmanuel VadotPAD_CTL_HYS                     (1 << 16)
18*c66ec88fSEmmanuel VadotPAD_CTL_PUS_100K_DOWN           (0 << 14)
19*c66ec88fSEmmanuel VadotPAD_CTL_PUS_47K_UP              (1 << 14)
20*c66ec88fSEmmanuel VadotPAD_CTL_PUS_100K_UP             (2 << 14)
21*c66ec88fSEmmanuel VadotPAD_CTL_PUS_22K_UP              (3 << 14)
22*c66ec88fSEmmanuel VadotPAD_CTL_PUE                     (1 << 13)
23*c66ec88fSEmmanuel VadotPAD_CTL_PKE                     (1 << 12)
24*c66ec88fSEmmanuel VadotPAD_CTL_ODE                     (1 << 11)
25*c66ec88fSEmmanuel VadotPAD_CTL_SPEED_LOW               (0 << 6)
26*c66ec88fSEmmanuel VadotPAD_CTL_SPEED_MED               (1 << 6)
27*c66ec88fSEmmanuel VadotPAD_CTL_SPEED_HIGH              (3 << 6)
28*c66ec88fSEmmanuel VadotPAD_CTL_DSE_DISABLE             (0 << 3)
29*c66ec88fSEmmanuel VadotPAD_CTL_DSE_260ohm              (1 << 3)
30*c66ec88fSEmmanuel VadotPAD_CTL_DSE_130ohm              (2 << 3)
31*c66ec88fSEmmanuel VadotPAD_CTL_DSE_87ohm               (3 << 3)
32*c66ec88fSEmmanuel VadotPAD_CTL_DSE_65ohm               (4 << 3)
33*c66ec88fSEmmanuel VadotPAD_CTL_DSE_52ohm               (5 << 3)
34*c66ec88fSEmmanuel VadotPAD_CTL_DSE_43ohm               (6 << 3)
35*c66ec88fSEmmanuel VadotPAD_CTL_DSE_37ohm               (7 << 3)
36*c66ec88fSEmmanuel VadotPAD_CTL_SRE_FAST                (1 << 0)
37*c66ec88fSEmmanuel VadotPAD_CTL_SRE_SLOW                (0 << 0)
38