renesas,rzg-pinctrl
Vendor: Renesas Electronics Corporation
Description
Below generic example shows of supported pinctrl definitions:
#include <zephyr/dt-bindings/pinctrl/renesas/pinctrl_rzg3s.h>
example_pins: device_pin {
device-pinmux {
pinmux = <RZG_PINMUX(PORT_08, 1, 5)>,
<RZG_PINMUX(PORT_08, 2, 5)>;
bias_pull_up;
renesas,filter = RZG_FILTER_SET(RZG_FILNUM_8_STAGE,RZG_FILCLKSEL_DIV_18000);
drive-strength = <1>;
};
device-spins {
pins = <BSP_IO_XSPI_IO0>, <BSP_IO_XSPI_IO4>;
input-enable;
renesas,filter = RZG_FILTER_SET(RZG_FILNUM_8_STAGE,RZG_FILCLKSEL_DIV_18000);
drive-strength = <2>;
};
};
Properties
Top level properties
These property descriptions apply to “renesas,rzg-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 “renesas,rzg-pinctrl” compatible.
Name |
Type |
Details |
---|---|---|
|
|
register space
This property is required. See Important properties for more information. |
|
|
name of each register space
This property is required. |
|
|
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. |
|
|
interrupts for device
See Important properties for more information. |
|
|
extended interrupt specifier for device
|
|
|
name of each interrupt
|
|
|
phandle to interrupt controller node
|
|
|
No description provided for this label
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
|
|
|
Power domain specifiers
|
|
|
Provided names of power domain specifiers
|
|
|
Number of cells in power-domains property
|
|
|
Do not initialize device automatically on boot. Device should be manually
initialized using device_init().
|
|
|
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.
|
|
|
Automatically configure the device for runtime power management after the
init function runs.
|
|
|
List of power states that will disable this device power.
|
Grandchild node properties
Name |
Type |
Details |
---|---|---|
|
|
Pinmux configuration node.
Values are constructed from GPIO port number, pin number, and
alternate function configuration number using the RZG_PINMUX()
helper macro in pinctrl_rzg.h
|
|
|
Special Purpose pins configuration node.
Values are define in pinctrl_rzg.h.
Ex: BSP_IO_XSPI_IO0,BSP_IO_I3C_SCL,...
|
|
|
Maximum sink or source current in mA for pin which shell be selected
depending on device and pin group.
|
|
|
Digital Noise Filter configuration for a pin which shell be defined
using RZG_FILTER_SET() helper macro in pinctrl_rzg.h to specify
FILNUM_m and FILCLKSEL_m. With 24Mhz external clock:
- min debounce time will be 166.666ns for FILNUM_m=0 and FILCLKSEL_m=0
- max debounce time will be 24ms for FILNUM_m=3 and FILCLKSEL_m=3.
This property intentionally redefined to avoid unnecessary conversation from usec to
FILNUM_m and FILCLKSEL_m values depending on external clock value as this configuration
is static.
|
|
|
disable any pin bias
|
|
|
high impedance mode ("third-state", "floating")
|
|
|
enable pull-up resistor
|
|
|
enable pull-down resistor
|
|
|
use pin's default pull state
|
|
|
enable input on pin (e.g. enable an input buffer, no effect on output)
|
|
|
disable input on pin (e.g. disable an input buffer, no effect on output)
|
|
|
select between different power supplies
|
|
|
enable low power mode
|
|
|
disable low power mode
|
|
|
enable output on a pin without actively driving it (e.g. enable an output
buffer)
|