From c4f044ed8139aa7b22caf09a8794f482aa2bcdc3 Mon Sep 17 00:00:00 2001 From: Jilay Pandya Date: Mon, 2 Dec 2024 17:20:01 +0100 Subject: [PATCH] test: drivers: build_all: stepper: fix gpio stepper fixes gpio stepper in build_all tests for stepper drivers Signed-off-by: Jilay Pandya --- tests/drivers/build_all/stepper/gpio.dtsi | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/tests/drivers/build_all/stepper/gpio.dtsi b/tests/drivers/build_all/stepper/gpio.dtsi index 4f9e2fbad6b..78e697347b9 100644 --- a/tests/drivers/build_all/stepper/gpio.dtsi +++ b/tests/drivers/build_all/stepper/gpio.dtsi @@ -3,21 +3,12 @@ * SPDX-License-Identifier: Apache-2.0 */ -test_uln2003_motor_cluster: uln2003_motor_cluster { - compatible = "gpio-steppers"; +test_gpio_stepper: test_gpio_stepper { + compatible = "zephyr,gpio-stepper"; status = "okay"; - motor_1: motor_1 { - micro-step-res = <1>; - gpios = <&test_gpio 0 0>, - <&test_gpio 0 0>, - <&test_gpio 0 0>, - <&test_gpio 0 0>; - }; - motor_2: motor_2 { - micro-step-res = <2>; - gpios = <&test_gpio 0 0>, - <&test_gpio 0 0>, - <&test_gpio 0 0>, - <&test_gpio 0 0>; - }; + micro-step-res = <1>; + gpios = <&test_gpio 0 0>, + <&test_gpio 0 0>, + <&test_gpio 0 0>, + <&test_gpio 0 0>; };