blob: a73037bb6b9755efe8ff610b9b9aac8cea6343bb [file] [log] [blame]
# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
# SPDX-License-Identifier: Apache-2.0
description: Stepper Controller
properties:
invert-direction:
type: boolean
description: |
Invert motor direction.
micro-step-res:
type: int
default: 1
enum:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
- 256
description: |
micro-step resolution to be set while initializing the device driver.
en-gpios:
type: phandle-array
description: |
GPIO pins used to control the enable signal of the motor driver.
step-gpios:
type: phandle-array
description: |
The GPIO pins used to send step signals to the stepper motor.
dir-gpios:
type: phandle-array
description: |
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:
type: phandle
description: Counter used for generating step-accurate pulse signals.