adi,tmc2209
Vendor: Analog Devices, Inc.
Note
An implementation of a driver matching this compatible is available in drivers/stepper/adi_tmc/adi_tmc22xx_stepper_controller.c.
Description
Analog Devices TMC2209 stepper motor driver.
Example:
tmc2209: tmc2209 {
compatible = "adi,tmc2209";
enable-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
msx-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>,
<&gpio0 2 GPIO_ACTIVE_HIGH>;
step-gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
dir-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
dual-edge-step;
}
Properties
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
GPIO pins used to control the enable signal of the motor driver.
|
|
|
An array of GPIO pins for configuring the microstep resolution of the driver.
The pins should be listed in the following order:
- MS1
- MS2
|
|
|
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 resolution to be set while initializing the device driver.
Default value: Legal values: |
|
|
The GPIO pins used to send step signals to the stepper motor.
|
|
|
The GPIO pins used to send direction signals to the stepper motor.
Pin will be driven high for forward direction and low for reverse direction.
|
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 “adi,tmc2209” compatible.
(None)