| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/pinctrl/fsl,vf610-iomuxc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Freescale Vybrid VF610 IOMUX Controller |
| 8 |
|
| 9 |
description: |
| 10 |
Please refer to fsl,imx-pinctrl.txt in this directory for common binding part |
| 11 |
and usage. |
| 12 |
|
| 13 |
maintainers: |
| 14 |
- Frank Li <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: fsl,vf610-iomuxc |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
patternProperties: |
| 24 |
'grp$': |
| 25 |
type: object |
| 26 |
description: |
| 27 |
Pinctrl node's client devices use subnodes for desired pin configuration. |
| 28 |
Client device subnodes use below standard properties. |
| 29 |
|
| 30 |
properties: |
| 31 |
fsl,pins: |
| 32 |
description: |
| 33 |
two integers array, represents a group of pins mux and config setting. |
| 34 |
The format is fsl,pins = <PIN_FUNC_ID CONFIG>, PIN_FUNC_ID is a pin |
| 35 |
working on a specific function, CONFIG is the pad setting value such |
| 36 |
as pull-up, speed, ode for this pin. Please refer to Vybrid VF610 |
| 37 |
datasheet for the valid pad config settings. |
| 38 |
$ref: /schemas/types.yaml#/definitions/uint32-matrix |
| 39 |
items: |
| 40 |
items: |
| 41 |
- description: |
| 42 |
PIN_FUN_ID refer to vf610-pinfunc.h in device tree source folder |
| 43 |
for all available PIN_FUNC_ID for Vybrid VF610. |
| 44 |
- description: | |
| 45 |
CONFIG bits definition is |
| 46 |
PAD_CTL_SPEED_LOW (1 << 12) |
| 47 |
PAD_CTL_SPEED_MED (2 << 12) |
| 48 |
PAD_CTL_SPEED_HIGH (3 << 12) |
| 49 |
PAD_CTL_SRE_FAST (1 << 11) |
| 50 |
PAD_CTL_SRE_SLOW (0 << 11) |
| 51 |
PAD_CTL_ODE (1 << 10) |
| 52 |
PAD_CTL_HYS (1 << 9) |
| 53 |
PAD_CTL_DSE_DISABLE (0 << 6) |
| 54 |
PAD_CTL_DSE_150ohm (1 << 6) |
| 55 |
PAD_CTL_DSE_75ohm (2 << 6) |
| 56 |
PAD_CTL_DSE_50ohm (3 << 6) |
| 57 |
PAD_CTL_DSE_37ohm (4 << 6) |
| 58 |
PAD_CTL_DSE_30ohm (5 << 6) |
| 59 |
PAD_CTL_DSE_25ohm (6 << 6) |
| 60 |
PAD_CTL_DSE_20ohm (7 << 6) |
| 61 |
PAD_CTL_PUS_100K_DOWN (0 << 4) |
| 62 |
PAD_CTL_PUS_47K_UP (1 << 4) |
| 63 |
PAD_CTL_PUS_100K_UP (2 << 4) |
| 64 |
PAD_CTL_PUS_22K_UP (3 << 4) |
| 65 |
PAD_CTL_PKE (1 << 3) |
| 66 |
PAD_CTL_PUE (1 << 2) |
| 67 |
PAD_CTL_OBE_ENABLE (1 << 1) |
| 68 |
PAD_CTL_IBE_ENABLE (1 << 0) |
| 69 |
PAD_CTL_OBE_IBE_ENABLE (3 << 0) |
| 70 |
|
| 71 |
required: |
| 72 |
- fsl,pins |
| 73 |
|
| 74 |
additionalProperties: false |
| 75 |
|
| 76 |
required: |
| 77 |
- compatible |
| 78 |
- reg |
| 79 |
|
| 80 |
allOf: |
| 81 |
- $ref: pinctrl.yaml# |
| 82 |
|
| 83 |
unevaluatedProperties: false |