:orphan: .. raw:: html .. dtcompatible:: allegro,a4979 .. _dtbinding_allegro_a4979: allegro,a4979 ############# .. sidebar:: Overview :Name: ``allegro,a4979`` :Vendor: :ref:`Allegro DVT ` :Used in: :zephyr:board-catalog:`List of boards <#compatibles=allegro,a4979>` using this compatible :Driver: :zephyr_file:`drivers/stepper/allegro/a4979.c` Description *********** .. code-block:: none 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. Examples ******** .. code-block:: dts 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 ********** .. tabs:: .. group-tab:: Node specific properties Properties not inherited from the base binding file. .. list-table:: :widths: 1 1 4 :header-rows: 1 * - Name - Type - Details * - ``step-width-ns`` - ``int`` - .. code-block:: none Minimum pulse width in nanoseconds for the step signal. Default value: ``1000`` * - ``reset-gpios`` - ``phandle-array`` - .. code-block:: none Reset pin This property is **required**. * - ``micro-step-res`` - ``int`` - .. code-block:: none 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`` - .. code-block:: none GPIO pins used to control the enable signal of the motor driver. * - ``m0-gpios`` - ``phandle-array`` - .. code-block:: none Microstep configuration pin 0. * - ``m1-gpios`` - ``phandle-array`` - .. code-block:: none Microstep configuration pin 1. .. group-tab:: Deprecated node specific properties Deprecated properties not inherited from the base binding file. (None) .. group-tab:: 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)