allegro,a4979
Vendor: Allegro DVT
Note
An implementation of a driver matching this compatible is available in drivers/stepper/allegro/a4979.c.
Description
Allegro A4979 microstepping stepper motor driver.
A4979 is a flexible microstepping motor driver with built-in translator for easy operation.
It is designed to operate bipolar stepper motors in full-, half-, quarter-, and sixteenth-step
modes.
Example:
a4979: a4979 {
status = "okay";
compatible = "allegro,a4979";
micro-step-res = <2>;
reset-gpios = <&gpiod 10 GPIO_ACTIVE_HIGH>;
dir-gpios = <&gpiod 14 GPIO_ACTIVE_HIGH>;
step-gpios = <&gpiod 15 GPIO_ACTIVE_HIGH>;
en-gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
m0-gpios = <&gpiod 13 0>;
m1-gpios = <&gpiod 12 0>;
counter = <&counter5>;
};
Properties
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
Microstep configuration pin 0.
This property is required. |
|
|
Microstep configuration pin 1.
This property is required. |
|
|
Reset pin
This property is required. |
|
|
Invert motor direction.
|
|
|
micro-step resolution to be set while initializing the device driver.
Default value: Legal values: |
|
|
GPIO pins used to control the enable signal of the motor driver.
|
|
|
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.
|
|
|
Counter used for generating step-accurate pulse signals.
|
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 “allegro,a4979” compatible.
(None)