allegro,a4979

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>;
    en-gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
    m0-gpios = <&gpiod 13 0>;
    m1-gpios = <&gpiod 12 0>;
};

Properties

Node specific 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: 1000

m0-gpios

phandle-array

Microstep configuration pin 0.

This property is required.

m1-gpios

phandle-array

Microstep configuration pin 1.

This property is required.

reset-gpios

phandle-array

Reset pin

This property is required.

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.

Deprecated node specific properties

Deprecated properties not inherited from the base binding file.

(None)

Base properties

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)