1# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2# SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 3# SPDX-License-Identifier: Apache-2.0 4 5description: | 6 GPIO Stepper Controller for darlington transistor arrays or dual H-bridge 7 8 Example: 9 /* Lead A is connected Lead C and Lead B is connected to Lead D*/ 10 stepper: stepper { 11 compatible = "zephyr,gpio-stepper"; 12 gpios = <&gpioa 9 GPIO_ACTIVE_HIGH>, /* Lead A1/A */ 13 <&gpioc 7 GPIO_ACTIVE_HIGH>, /* Lead B1/B */ 14 <&gpiob 0 GPIO_ACTIVE_HIGH>, /* Lead A2/C */ 15 <&gpioa 7 GPIO_ACTIVE_HIGH>; /* Lead B2/D */ 16 }; 17 18compatible: "zephyr,gpio-stepper" 19 20include: stepper-controller.yaml 21 22properties: 23 gpios: 24 type: phandle-array 25 required: true 26 description: | 27 The gpio pin array on which the stepper inputs are to be connected 28