adi,tmc2209

Description

Analog Devices TMC2209 stepper motor driver.

Example:
tmc2209: tmc2209 {
    compatible = "adi,tmc2209";
    enable-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
    m0-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
    m1-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
}

Properties

Properties not inherited from the base binding file.

Name

Type

Details

step-width-ns

int

Minimum pulse width in nanoseconds for the step signal.

Default value: 100

m0-gpios

phandle-array

Microstep configuration pin MS1.

m1-gpios

phandle-array

Microstep configuration pin MS2.

dual-edge-step

boolean

If present, the stepper motor controller supports dual edge step signals.
This means that the step signal can be toggled on both the rising and falling edge.

micro-step-res

int

micro-step resolution to be set while initializing the device driver.

Default value: 1

Legal values: 1, 2, 4, 8, 16, 32, 64, 128, 256

en-gpios

phandle-array

GPIO pins used to control the enable signal of the motor driver.