If you need urgent consulting help click here
nxp,kinetis-pinctrl
Vendor: NXP Semiconductors
Description
Kinetis pinctrl node. This node will define pin configurations in pin groups,
and has the 'pinctrl' node identifier in the SOC's devicetree. Each group
within the pin configuration defines the pin configuration for a peripheral,
and each numbered subgroup in the pin group defines all the pins for that
peripheral with the same configuration properties. The 'pins' property in
a group selects the pins to be configured, and the remaining properties set
configuration values for those pins. Here is an example group for UART0 pins:
uart0_default: uart0_default {
group0 {
pins = <UART0_RX_PTB16
UART0_TX_PTB17>;
drive-strength = "low";
slew-rate = "fast";
};
};
If only the required properties are supplied, the pin configuration register
will be assigned the following values:
PCR_PS=0,
PCR_PE=0,
PCR_ODE=0,
PCR_SRE=<slew-rate selection>,
PCR_DSE=<drive-strength selection>,
PCR_PFE=0
Properties
Top level properties
These property descriptions apply to “nxp,kinetis-pinctrl” nodes themselves. This page also describes child node properties in the following sections.
Properties not inherited from the base binding file.
(None)
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “nxp,kinetis-pinctrl” compatible.
Name |
Type |
Details |
---|---|---|
|
|
indicates the operational status of a device
Legal values: See Important properties for more information. |
|
|
compatible strings
This property is required. See Important properties for more information. |
|
|
register space
See Important properties for more information. |
|
|
name of each register space
|
|
|
interrupts for device
See Important properties for more information. |
|
|
extended interrupt specifier for device
|
|
|
name of each interrupt
|
|
|
phandle to interrupt controller node
|
|
|
Human readable string describing the device (used as device_get_binding() argument)
See Important properties for more information. |
|
|
Clock gate information
|
|
|
name of each clock
|
|
|
number of address cells in reg property
|
|
|
number of size cells in reg property
|
|
|
DMA channels specifiers
|
|
|
Provided names of DMA channel specifiers
|
|
|
IO channels specifiers
|
|
|
Provided names of IO channel specifiers
|
|
|
mailbox / IPM channels specifiers
|
|
|
Provided names of mailbox / IPM channel specifiers
|
|
|
Property to identify that a device can be used as wake up source.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
|
|
|
Power domain the device belongs to.
The device will be notified when the power domain it belongs to is either
suspended or resumed.
|
Grandchild node properties
Name |
Type |
Details |
---|---|---|
|
|
Pin mux selections for this group. See the soc level pinctrl DTSI file
in NXP's HAL for a defined list of these options
This property is required. |
|
|
Pin output drive strength. Sets the DSE field in the PORTx_PCRn register.
0 DSE_0- low drive strength when pin is configured as output
1 DSE_1- high drive strength when pin is configured as output
This property is required. Legal values: |
|
|
Pin output slew rate. Sets the SRE field in the PORTx_PCRn register.
0 SRE_0_fast- fast slew rate when pin is configured as output
1 SRE_1_slow- slow slew rate when pin is configured as output
This property is required. Legal values: |
|
|
Enable passive filter on pin. Sets the PFE field in the PORTx_PCRn register.
|
|
|
enable pull-up resistor
|
|
|
enable pull-down resistor
|
|
|
drive with open drain (hardware AND)
|