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)

Grandchild node properties

Name

Type

Details

pinmux

array

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

pins

array

Special Purpose pins configuration node.
Values are define in pinctrl_rzg.h.
Ex: BSP_IO_XSPI_IO0,BSP_IO_I3C_SCL,...

drive-strength

int

Maximum sink or source current in mA for pin which shell be selected
depending on device and pin group.

renesas,filter

int

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.

bias-disable

boolean

disable any pin bias

bias-high-impedance

boolean

high impedance mode ("third-state", "floating")

bias-pull-up

boolean

enable pull-up resistor

bias-pull-down

boolean

enable pull-down resistor

bias-pull-pin-default

boolean

use pin's default pull state

input-enable

boolean

enable input on pin (e.g. enable an input buffer, no effect on output)

input-disable

boolean

disable input on pin (e.g. disable an input buffer, no effect on output)

power-source

int

select between different power supplies

low-power-enable

boolean

enable low power mode

low-power-disable

boolean

disable low power mode

output-enable

boolean

enable output on a pin without actively driving it (e.g. enable an output
buffer)